diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2000-04-21 22:11:47 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2000-04-21 22:11:47 +0000 |
commit | 44de293c274fc36fc4e37c2b42071196052f439b (patch) | |
tree | d2f67cfd520de4d4486cf0e615827c8be62d099a /mail/imap-uw | |
parent | ed14606656c69ae8137e8ce086ed5a1f27fe7ed8 (diff) | |
download | ports-44de293c274fc36fc4e37c2b42071196052f439b.tar.gz ports-44de293c274fc36fc4e37c2b42071196052f439b.zip |
Notes
Diffstat (limited to 'mail/imap-uw')
-rw-r--r-- | mail/imap-uw/Makefile | 5 | ||||
-rw-r--r-- | mail/imap-uw/pkg-install | 20 |
2 files changed, 25 insertions, 0 deletions
diff --git a/mail/imap-uw/Makefile b/mail/imap-uw/Makefile index e534ffb9c213..3ce0ce60309b 100644 --- a/mail/imap-uw/Makefile +++ b/mail/imap-uw/Makefile @@ -41,6 +41,11 @@ PLIST_SUB= SHLIBNAME=${SHLIBNAME} SHLIBBASE=${SHLIBBASE} SHLIBNAME= lib${SHLIBBASE}.so.${SHLIBMAJ}.0 .endif +pre-extract: +.if !defined(BATCH) && !defined(PACKAGE_BUILDING) + @${SH} ${PKGDIR}/INSTALL foo PRE-INSTALL || ${FALSE} +.endif + post-configure: @${ECHO_MSG} ">> The c-client shared library will be named ${SHLIBNAME}" .if ${PAMAUTH} != "no" diff --git a/mail/imap-uw/pkg-install b/mail/imap-uw/pkg-install new file mode 100644 index 000000000000..05200dccd71d --- /dev/null +++ b/mail/imap-uw/pkg-install @@ -0,0 +1,20 @@ +#!/bin/sh +TTY=/dev/tty + +case $2 in + POST-INSTALL) + ;; + PRE-INSTALL) + if dialog --yesno "This port is not safe to use on a system which does not\nprovide shell access to users who can retrieve mail via IMAP.\nimapd contains buffer overflows which a user can exploit\nafter they have logged into imap to get access to their\naccount on the machine. If your imap users have shell access\nanyway, this is not a significant vulnerability.\n\nDo you wish to proceed with the build?" 13 65 < ${TTY} >${TTY} 2>&1; then + exit 0 + else + exit 1 + fi + ;; + *) + echo "Unexpected argument $2!" + exit 1 + ;; +esac +exit 0 + |