update to new naming schema

bump PKGNAME

Srebrenko Sehic ok
This commit is contained in:
sturm 2003-06-22 17:08:08 +00:00
parent 3eb9e5230d
commit d1c14e1132
3 changed files with 13 additions and 6 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.4 2003/06/09 07:19:30 sturm Exp $
# $OpenBSD: Makefile,v 1.5 2003/06/22 17:08:08 sturm Exp $
COMMENT= "Cisco AAA protocol daemon"
DISTNAME= tac_plus.F4.0.4.alpha
PKGNAME= tacacs+-4.0.4a
PKGNAME= tacacs+-4.0.4ap0
CATEGORIES= net security
HOMEPAGE= http://www.gazi.edu.tr/tacacs/
@ -21,7 +21,7 @@ MASTER_SITES= ftp://ftpeng.cisco.com/pub/tacacs/ \
EXTRACT_SUFX= .tar.Z
TACACSUSER= tacacs
TACACSUSER= _tacacs
TACACSGROUP= ${TACACSUSER}
ALL_TARGET= tac_plus

View File

@ -1,10 +1,11 @@
#!/bin/sh
# $OpenBSD: INSTALL,v 1.1 2003/06/09 07:19:31 sturm Exp $
# $OpenBSD: INSTALL,v 1.2 2003/06/22 17:08:08 sturm Exp $
#
# Pre/post-installation setup of tacacs
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
ID=511
do_usergroup_install()
{
@ -14,7 +15,7 @@ do_usergroup_install()
echo "===> Using ${TACACSGROUP} group for tacacs"
else
echo "===> Creating ${TACACSGROUP} group for tacacs"
groupadd ${TACACSGROUP}
groupadd -g ${ID} ${TACACSGROUP}
fi
userinfo -e ${TACACSUSER}
if [ $? -eq 0 ]; then
@ -22,7 +23,7 @@ do_usergroup_install()
else
echo "===> Creating ${TACACSUSER} user for tacacs"
useradd -g ${TACACSGROUP} -d /nonexistent -c 'TACACS+ user' \
-s /sbin/nologin ${TACACSUSER}
-s /sbin/nologin -u ${ID} ${TACACSUSER}
fi
}

View File

@ -8,3 +8,9 @@
| tacacs+ 49/tcp
|
+------------
| WARNING!
|
| This port has changed its user/group from 'tacacs' to '_tacacs'. If you
| installed this port before, ensure all permissions are set correctly and
| then "rmuser tacacs".
+------------