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.
This commit is contained in:
tv 2007-10-11 13:14:48 +00:00
parent 9ed99eff62
commit acf643f5a5
3 changed files with 21 additions and 5 deletions

View file

@ -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

View file

@ -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

View file

@ -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.