diff options
author | lioux <lioux@FreeBSD.org> | 2002-03-27 00:45:33 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2002-03-27 00:45:33 +0800 |
commit | ea5ec80b99dfa6d7b9cf35554fb9dff0e391e01b (patch) | |
tree | bdc9ded5bb530f7b2ccc5d1a8c44a787292ee0ff /mail/qpopper | |
parent | 07f9fc54295225c777e8ef62cf6f7ee322c38d01 (diff) | |
download | freebsd-ports-gnome-ea5ec80b99dfa6d7b9cf35554fb9dff0e391e01b.tar.gz freebsd-ports-gnome-ea5ec80b99dfa6d7b9cf35554fb9dff0e391e01b.tar.zst freebsd-ports-gnome-ea5ec80b99dfa6d7b9cf35554fb9dff0e391e01b.zip |
- 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
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 |