summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2007-10-11 13:14:48 +0000
committertv <tv@pkgsrc.org>2007-10-11 13:14:48 +0000
commitacf643f5a5be4f9cd7242dd000094e3fa5c91d47 (patch)
tree0842817de26718c688f016cb8543ffeeef99851f
parent9ed99eff62022df51e30c8065252d4e9a7617c9c (diff)
downloadpkgsrc-acf643f5a5be4f9cd7242dd000094e3fa5c91d47.tar.gz
Add $HOME/.pinepwd support by default; bump PKGREVISION. Option "pinepwd"
can be disabled to remove the behavior again. In spite of UW's "recommendations" against enabling this, it should be up to the sysadmin and user whether to use the rope to build a bridge or hang him/herself. PC-Pine has it enabled by default; there's no reason besides FUD to make the Un*x build any different.
-rw-r--r--mail/alpine/Makefile14
-rw-r--r--mail/pine/Makefile11
-rw-r--r--mk/defaults/options.description1
3 files changed, 21 insertions, 5 deletions
diff --git a/mail/alpine/Makefile b/mail/alpine/Makefile
index a398dba23d6..b06f8315d95 100644
--- a/mail/alpine/Makefile
+++ b/mail/alpine/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2007/08/08 16:05:57 abs Exp $
+# $NetBSD: Makefile,v 1.6 2007/10/11 13:14:48 tv Exp $
#
DISTNAME= alpine-0.999
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= mail
MASTER_SITES= ftp://ftp.cac.washington.edu/alpine/
EXTRACT_SUFX= .tar.bz2
@@ -22,6 +22,16 @@ USE_LIBTOOL= yes
INSTALLATION_DIRS= bin ${PKMANDIR}/man1
+PKG_OPTIONS_VAR= PKG_OPTIONS.alpine
+PKG_SUPPORTED_OPTIONS= pinepwd
+PKG_SUGGESTED_OPTIONS= pinepwd
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mpinepwd)
+CONFIGURE_ARGS+= --with-passfile=.pinepwd
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/alpine/alpine ${DESTDIR}${PREFIX}/bin/alpine
${INSTALL_MAN} ${WRKSRC}/doc/alpine.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/alpine.1
diff --git a/mail/pine/Makefile b/mail/pine/Makefile
index 303417bd1f4..74bc3107c26 100644
--- a/mail/pine/Makefile
+++ b/mail/pine/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.115 2007/10/07 15:49:17 obache Exp $
+# $NetBSD: Makefile,v 1.116 2007/10/11 13:14:48 tv Exp $
DISTNAME= pine4.64
PKGNAME= pine-4.64
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= mail news
MASTER_SITES= ftp://ftp.cac.washington.edu/pine/ \
ftp://ftp.fu-berlin.de/unix/mail/pine/
@@ -46,7 +46,8 @@ UNLIMIT_RESOURCES+= datasize
.endif
PKG_OPTIONS_VAR= PKG_OPTIONS.pine
-PKG_SUPPORTED_OPTIONS= ldap fancythreads
+PKG_SUPPORTED_OPTIONS= ldap fancythreads pinepwd
+PKG_SUGGESTED_OPTIONS= pinepwd
.include "../../mk/bsd.options.mk"
@@ -62,6 +63,10 @@ PATCHFILES+= fancy.patch.gz
PATCH_DIST_STRIP= -p1
.endif
+.if !empty(PKG_OPTIONS:Mpinepwd)
+CFLAGS+= -DPASSFILE=\\\".pinepwd\\\"
+.endif
+
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
# Make sure the imap lib that comes with pine isn't
diff --git a/mk/defaults/options.description b/mk/defaults/options.description
index a204604f69b..f385c4534d6 100644
--- a/mk/defaults/options.description
+++ b/mk/defaults/options.description
@@ -270,6 +270,7 @@ perf-tuning
perl
pf
pgsql Enable PostgreSQL support.
+pinepwd Enable $HOME/.pinepwd stored IMAP password file.
pinfo-native-curses Use NetBSD native curses rather than ncurses.
plplot
png Enable PNG support.