Date: Sun, 29 Dec 2013 08:00:22 +0000 (UTC) From: Dirk Meyer <dinoex@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337942 - head/news/cnews Message-ID: <201312290800.rBT80MJc015128@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312290800.rBT80MJc015128>