diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-03-26 16:45:33 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-03-26 16:45:33 +0000 |
commit | 1def4fc73d9b18fddb812ce50084ac63615228ad (patch) | |
tree | 6271f1b932b50e283a623f82a8fd564aa0638763 /mail/qpopper | |
parent | Update to release 2002-03-17. (diff) |
- Restore POLA previous to rev 1.35 of this file
* Install qpopauth setuid to pop user unless WITHOUT_QPOPAUTH_SETUID
is set
- bump PORTREVISION
Prompted by: obrien
Notes
Notes:
svn path=/head/; revision=56703
Diffstat (limited to 'mail/qpopper')
-rw-r--r-- | mail/qpopper/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mail/qpopper/Makefile b/mail/qpopper/Makefile index b82abd851fec..51f4dcb8d431 100644 --- a/mail/qpopper/Makefile +++ b/mail/qpopper/Makefile @@ -7,7 +7,7 @@ PORTNAME= qpopper PORTVERSION= 4.0.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.qualcomm.com/eudora/servers/unix/popper/%SUBDIR%/ \ ftp://sunsite.doc.ic.ac.uk/Mirrors/ftp.qualcomm.com/eudora/servers/unix/popper/%SUBDIR%/ @@ -72,6 +72,7 @@ pre-everything:: @${ECHO_MSG} " Control support" @${ECHO_MSG} "WITH_FULL_POPD_DEBUG=yes buils with more verbose debugging" @${ECHO_MSG} "WITH_POPPASSD=yes builds the poppassd daemon" + @${ECHO_MSG} "WITHOUT_QPOPAUTH_SETUID=yes does not install qpopauth setuid to pop user" @${ECHO_MSG} "WITH_SAMPLE_POPUSERS_FILE=yes builds a default (otherwise," @${ECHO_MSG} " use an empty file) reject file" @@ -129,6 +130,13 @@ pre-configure: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/popper/popauth ${PREFIX}/bin/qpopauth +# If WITHOUT_QPOPAUTH_SETUID variable present in the environment, +# qpopper does not install qpopauth setuid to pop user so that +# anyone can access the pop.auth database. +.if !defined(WITHOUT_QPOPAUTH_SETUID) + @${CHOWN} pop ${PREFIX}/bin/qpopauth + @${CHMOD} u+s ${PREFIX}/bin/qpopauth +.endif ${INSTALL_PROGRAM} ${WRKSRC}/popper/popper ${PREFIX}/libexec/qpopper ${INSTALL_MAN} ${WRKSRC}/man/popauth.8 ${MANPREFIX}/man/man8/qpopauth.8 ${INSTALL_MAN} ${WRKSRC}/man/popper.8 ${MANPREFIX}/man/man8/qpopper.8 |