pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Add $HOME/.pinepwd support by default; bump PKGREVISIO...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/45899eb68fbd
branches:  trunk
changeset: 534088:45899eb68fbd
user:      tv <tv%pkgsrc.org@localhost>
date:      Thu Oct 11 13:14:48 2007 +0000

description:
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.

diffstat:

 mail/alpine/Makefile            |  14 ++++++++++++--
 mail/pine/Makefile              |  11 ++++++++---
 mk/defaults/options.description |   1 +
 3 files changed, 21 insertions(+), 5 deletions(-)

diffs (77 lines):

diff -r 7581d92f82da -r 45899eb68fbd mail/alpine/Makefile
--- a/mail/alpine/Makefile      Thu Oct 11 13:09:10 2007 +0000
+++ b/mail/alpine/Makefile      Thu Oct 11 13:14:48 2007 +0000
@@ -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 @@
 
 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 -r 7581d92f82da -r 45899eb68fbd mail/pine/Makefile
--- a/mail/pine/Makefile        Thu Oct 11 13:09:10 2007 +0000
+++ b/mail/pine/Makefile        Thu Oct 11 13:14:48 2007 +0000
@@ -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 @@
 .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 @@
 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 -r 7581d92f82da -r 45899eb68fbd mk/defaults/options.description
--- a/mk/defaults/options.description   Thu Oct 11 13:09:10 2007 +0000
+++ b/mk/defaults/options.description   Thu Oct 11 13:14:48 2007 +0000
@@ -270,6 +270,7 @@
 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.



Home | Main Index | Thread Index | Old Index