mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
SIZEify distinfo
make portlint happier
This commit is contained in:
parent
9ad2b45ab8
commit
23a4d970cb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=100259
@ -18,13 +18,14 @@ COMMENT= A transparent POP3-Proxy with virus-scanning capabilities
|
||||
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
|
||||
|
||||
.if !defined(WITHOUT_UVSCAN)
|
||||
RUN_DEPENDS= uvscan:${PORTSDIR}/security/vscan
|
||||
RUN_DEPENDS+= uvscan:${PORTSDIR}/security/vscan
|
||||
.endif
|
||||
|
||||
USE_REINPLACE= yes
|
||||
USE_GMAKE= yes
|
||||
USE_GETOPT_LONG=yes
|
||||
MAKE_ENV= _LDFLAGS="${LDFLAGS}"
|
||||
SCRIPTS_ENV= PKG_PREFIX=${PREFIX} NONEXISTENT=${NONEXISTENT} PASSWD=/etc/passwd
|
||||
|
||||
pre-fetch:
|
||||
.if !defined(WITHOUT_UVSCAN)
|
||||
@ -50,7 +51,7 @@ do-install:
|
||||
${INSTALL_SCRIPT} ${FILESDIR}/pop3vscan.sh ${PREFIX}/etc/rc.d/
|
||||
|
||||
post-install:
|
||||
@${SETENV} ${SCRIPTS_ENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
||||
@${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
||||
@${SED} -e 's,PREFIX,${PREFIX},g' ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1,2 @@
|
||||
MD5 (pop3vscan-0.4.tar.gz) = 48783c81cf70590637993aa0082fa467
|
||||
SIZE (pop3vscan-0.4.tar.gz) = 134583
|
||||
|
@ -48,7 +48,7 @@ make_account() {
|
||||
echo "Done."
|
||||
else
|
||||
echo "Please create it, and try again."
|
||||
if ! grep -q "^${u}:" /etc/passwd; then
|
||||
if ! grep -q "^${u}:" ${PASSWD}; then
|
||||
echo "While you're at it, please create a user \"${u}\" too,"
|
||||
echo "with a default group of \"${g}\"."
|
||||
fi
|
||||
@ -62,7 +62,7 @@ make_account() {
|
||||
echo "You need a user \"${u}\"."
|
||||
if which -s pw && yesno "Would you like me to create it" y; then
|
||||
pw useradd ${u} -g ${g} -h - ${homeopt} \
|
||||
-s /nonexistent -c "${gcos}" || exit
|
||||
-s ${NONEXISTENT} -c "${gcos}" || exit
|
||||
echo "Done."
|
||||
else
|
||||
echo "Please create it, and try again."
|
||||
|
Loading…
Reference in New Issue
Block a user