aboutsummaryrefslogtreecommitdiff
path: root/news/cnews
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2013-12-29 08:00:22 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2013-12-29 08:00:22 +0000
commit1efbf0ed50157181b6ea4f8dddb9b6c3bb840849 (patch)
tree8fc9dbd908ae53284260834732a886bc1b1ee10e /news/cnews
parent95142eca70fb29407a63dbed25bd0efddb34a8eb (diff)
downloadports-1efbf0ed50157181b6ea4f8dddb9b6c3bb840849.tar.gz
ports-1efbf0ed50157181b6ea4f8dddb9b6c3bb840849.zip
- new options PGP2 PGPIN PGPGPG
- do not default to security/pgp, which is broken on amd64
Notes
Notes: svn path=/head/; revision=337942
Diffstat (limited to 'news/cnews')
-rw-r--r--news/cnews/Makefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/news/cnews/Makefile b/news/cnews/Makefile
index 2627e2bec1aa..25df1c5f8236 100644
--- a/news/cnews/Makefile
+++ b/news/cnews/Makefile
@@ -3,7 +3,7 @@
PORTNAME= cnews
PORTVERSION= cr.g
-PORTREVISION= 11
+PORTREVISION= 12
CATEGORIES= news
MASTER_SITES= ftp://ftp.cs.toronto.edu/pub/c-news/ \
ftp://ftp.funet.fi/pub/unix/news/cnews/ \
@@ -68,7 +68,13 @@ PLIST_SUB+= NEWSOV=${NEWSOV:S=^${VARBASE}/==}
PLIST_SUB+= NEWSCTL_FILES="${NEWSCTL_FILES}"
OPTIONS_DEFINE= SENDMAIL
+OPTIONS_DEFAULT=PGPGPG
+OPTIONS_SINGLE= VERIFY
+OPTIONS_SINGLE_VERIFY= PGP2 PGPIN PGPGPG
SENDMAIL_DESC= use sendmail instead of /bin/mail
+PGP2_DESC= use pgp-2.6.3ia for control messages
+PGPIN_DESC= use pgp-2.6.3in for control messages
+PGPGPG_DESC= use pgpgpg for control messages
VARBASE?= /var
NEWSBIN?= ${PREFIX}/libexec/cnews
@@ -97,6 +103,14 @@ pre-configure:
-e "s=/usr/local/bin=${PREFIX}/bin=" \
${WRKSRC}/${i}
.endfor
+.if ${PORT_OPTIONS:MPGPIN}
+ ${REINPLACE_CMD} -e "s|'/usr/local/bin/pgp'|'/usr/local/bin/pgpin'|" \
+ ${WRKSRC}/${PGPVERIFY}
+.endif
+.if ${PORT_OPTIONS:MPGPGPG}
+ ${REINPLACE_CMD} -e "s|'/usr/local/bin/pgp'|'/usr/local/bin/pgpgpg'|" \
+ ${WRKSRC}/${PGPVERIFY}
+.endif
do-install:
${INSTALL_DATA} ${WRKSRC}/libdbz/dbz.h ${STAGEDIR}${PREFIX}/include/