1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

- Update to 0.8.5

PR:		ports/81829
Submitted by:	Janos Mohacsi <janos.mohacsi@bsd.hu> (maintainer)
This commit is contained in:
Pav Lucistnik 2005-06-04 00:43:20 +00:00
parent 52197dd1b7
commit 937b77e48d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136774
3 changed files with 7 additions and 8 deletions

View File

@ -6,8 +6,7 @@
# #
PORTNAME= flowd PORTNAME= flowd
PORTVERSION= 0.8 PORTVERSION= 0.8.5
PORTREVISION= 1
CATEGORIES= net-mgmt ipv6 CATEGORIES= net-mgmt ipv6
MASTER_SITES= http://www2.mindrot.org/files/flowd/ MASTER_SITES= http://www2.mindrot.org/files/flowd/
@ -67,7 +66,7 @@ post-install:
.endif .endif
.if defined(WITH_PERL) .if defined(WITH_PERL)
cd ${WRKSRC}/Flowd && \ cd ${WRKSRC}/Flowd-perl && \
${PERL} Makefile.PL && \ ${PERL} Makefile.PL && \
${GMAKE} && \ ${GMAKE} && \
${GMAKE} install ${GMAKE} install
@ -79,6 +78,6 @@ post-install:
${PYTHON_CMD} setup.py install ${PYTHON_CMD} setup.py install
.endif .endif
@FLOWD_USER=${FLOWD_USER} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL FLOWD_USER=${FLOWD_USER} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
MD5 (flowd-0.8.tar.gz) = bbd8b245cc3482a92de67c804cd30646 MD5 (flowd-0.8.5.tar.gz) = b747abad67db7da2e0ce903ba4f61905
SIZE (flowd-0.8.tar.gz) = 154305 SIZE (flowd-0.8.5.tar.gz) = 159157

View File

@ -19,10 +19,10 @@ create_user() {
else else
shell=/nonexistent shell=/nonexistent
fi fi
uhome="/nonexistent" uhome="/var/empty"
if ! ${PW} show user ${USER} -q >/dev/null; then if ! ${PW} show user ${USER} -q >/dev/null; then
if ! ${PW} add user ${USER} -g ${gid} -d "${uhome}" \ if ! ${PW} add user ${USER} -g ${GROUP} -d "${uhome}" \
-c "flowd privilege separation user" -s "${shell}" -p "*" \ -c "flowd privilege separation user" -s "${shell}" -p "*" \
; then ; then
e=$? e=$?