svn commit: r337942 - head/news/cnews
Dirk Meyer
dinoex at FreeBSD.org
Sun Dec 29 08:00:22 UTC 2013
Author: dinoex
Date: Sun Dec 29 08:00:22 2013
New Revision: 337942
URL: http://svnweb.freebsd.org/changeset/ports/337942
Log:
- new options PGP2 PGPIN PGPGPG
- do not default to security/pgp, which is broken on amd64
Modified:
head/news/cnews/Makefile
Modified: head/news/cnews/Makefile
==============================================================================
--- head/news/cnews/Makefile Sun Dec 29 05:59:02 2013 (r337941)
+++ head/news/cnews/Makefile Sun Dec 29 08:00:22 2013 (r337942)
@@ -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/
More information about the svn-ports-all
mailing list