aboutsummaryrefslogtreecommitdiff
path: root/news/cnews
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2017-09-17 14:41:35 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2017-09-17 14:41:35 +0000
commit466b8f8bbdc83dfbb9595a29956d1dd1acc2ae9f (patch)
tree72c8500536e36ea9d0c20b8c9fc0b40e5c9df20c /news/cnews
parent3120239fe044bac5d74b9c1fc1a0b1175bcf655b (diff)
downloadports-466b8f8bbdc83dfbb9595a29956d1dd1acc2ae9f.tar.gz
ports-466b8f8bbdc83dfbb9595a29956d1dd1acc2ae9f.zip
- update to pgpverify-1.29
- new option GPGPV
Notes
Notes: svn path=/head/; revision=450004
Diffstat (limited to 'news/cnews')
-rw-r--r--news/cnews/Makefile19
-rw-r--r--news/cnews/distinfo6
2 files changed, 16 insertions, 9 deletions
diff --git a/news/cnews/Makefile b/news/cnews/Makefile
index 1ec5d87cef67..d3d9497bc569 100644
--- a/news/cnews/Makefile
+++ b/news/cnews/Makefile
@@ -3,7 +3,7 @@
PORTNAME= cnews
PORTVERSION= cr.g
-PORTREVISION= 17
+PORTREVISION= 18
CATEGORIES= news
MASTER_SITES= ftp://ftp.cs.toronto.edu/pub/c-news/ \
ftp://ftp.funet.fi/pub/unix/news/cnews/ \
@@ -12,7 +12,7 @@ MASTER_SITES= ftp://ftp.cs.toronto.edu/pub/c-news/ \
ftp://ftp.dinoex.org/pub/c-news/:pgp
DISTNAME= c-news
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
- pgpverify-1.12:pgp
+ pgpverify-1.29:pgp
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
PATCH_SITES= ftp://ftp.dinoex.org/pub/c-news/
@@ -26,8 +26,7 @@ PATCHFILES= c-news-patch-fileart.c c-news-patch-namelen \
c-news-patch-y2k-2 \
c-news-patch-inews-path \
c-news-patch-gawk3 \
- c-news-patch-ansi \
- c-news-patch-pgpverify-1.12-perl4
+ c-news-patch-ansi
MAINTAINER= dinoex@FreeBSD.org
COMMENT= News server
@@ -71,17 +70,21 @@ PLIST_SUB+= NEWSCTL_FILES="${NEWSCTL_FILES}"
OPTIONS_DEFINE= SENDMAIL EXAMPLES
OPTIONS_DEFAULT=PGPGPG
OPTIONS_SINGLE= VERIFY
-OPTIONS_SINGLE_VERIFY= PGPIN PGPGPG
+OPTIONS_SINGLE_VERIFY= PGPIN PGPGPG GPGPV
SENDMAIL_DESC= use sendmail instead of /bin/mail
PGPIN_DESC= use pgp-2.6.3in for control messages
PGPGPG_DESC= use pgpgpg for control messages
+GPGPV_DESC= use gpgv from gnupg1 for control messages
+PGPIN_RUN_DEPENDS= pgpin:security/pgpin
+PGPGPG_RUN_DEPENDS= pgpgpg:security/pgpgpg
+GPGPV_RUN_DEPENDS= gpgv:security/gnupg1
VARBASE?= /var
NEWSBIN?= ${PREFIX}/libexec/cnews
NEWSCTL?= ${VARBASE}/lib/news
NEWSARTS?= ${VARBASE}/news
NEWSOV?= ${VARBASE}/news/over.view
-PGPVERIFY?= pgpverify-1.12
+PGPVERIFY?= pgpverify-1.29
.include <bsd.port.options.mk>
@@ -117,6 +120,10 @@ pre-configure:
${REINPLACE_CMD} -e "s|'/usr/local/bin/pgp'|'/usr/local/bin/pgpgpg'|" \
${WRKSRC}/${PGPVERIFY}
.endif
+.if ${PORT_OPTIONS:MGPGPV}
+ ${REINPLACE_CMD} -e "s|^# $$gpgv|$$gpgv|" \
+ ${WRKSRC}/${PGPVERIFY}
+.endif
do-install:
${INSTALL_DATA} ${WRKSRC}/libdbz/dbz.h ${STAGEDIR}${PREFIX}/include/
diff --git a/news/cnews/distinfo b/news/cnews/distinfo
index 0d5f29557d1d..a1f56bb119a6 100644
--- a/news/cnews/distinfo
+++ b/news/cnews/distinfo
@@ -1,8 +1,8 @@
-TIMESTAMP = 1478588176
+TIMESTAMP = 1505201300
SHA256 (c-news/c-news.tar.Z) = 897ffa8e05bcf3fe8734cf83c893ca78416266665e06106ff52b733d319835d3
SIZE (c-news/c-news.tar.Z) = 676481
-SHA256 (c-news/pgpverify-1.12) = 8c96efad40f06ffd520eb41bc5fd84233718b92b55c3e140c9b9e6e1d22d0a88
-SIZE (c-news/pgpverify-1.12) = 16510
+SHA256 (c-news/pgpverify-1.29) = 457ee3c3439a9b3a5d3eee76e6342b8c56334b12a88221b053c19c4add0f04f9
+SIZE (c-news/pgpverify-1.29) = 33835
SHA256 (c-news/c-news-patch-fileart.c) = fd45eadc39af53dc7c7aef60446e27ef110cfe53d0a6ae17131aa793869317bc
SIZE (c-news/c-news-patch-fileart.c) = 841
SHA256 (c-news/c-news-patch-namelen) = e247c5c4e003dbf03b1f3a1d725097883a02b26b2bf445d7fb777d4395bd23b6