aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorfernape <fernape@FreeBSD.org>2018-09-10 04:54:29 +0800
committerfernape <fernape@FreeBSD.org>2018-09-10 04:54:29 +0800
commitad3687b68edb880fdf469aa0c01c00349ee72595 (patch)
tree8dace6b9b32585231d85ebd8974858eb925f3df1 /security
parentcc17aa93a2f1dbf47950c0593f4a8799586a7050 (diff)
downloadfreebsd-ports-gnome-ad3687b68edb880fdf469aa0c01c00349ee72595.tar.gz
freebsd-ports-gnome-ad3687b68edb880fdf469aa0c01c00349ee72595.tar.zst
freebsd-ports-gnome-ad3687b68edb880fdf469aa0c01c00349ee72595.zip
security/ccrypt: update to 1.11
* Fixes a number of minor portability issues and minor bugs PR: 230995 Submitted by: dg@syrec.org Approved by: tcberner (mentor), dev2@heesakkers.info (maintainer) Differential Revision: https://reviews.freebsd.org/D17098
Diffstat (limited to 'security')
-rw-r--r--security/ccrypt/Makefile37
-rw-r--r--security/ccrypt/distinfo5
-rw-r--r--security/ccrypt/pkg-plist1
3 files changed, 15 insertions, 28 deletions
diff --git a/security/ccrypt/Makefile b/security/ccrypt/Makefile
index fc6ed24965ae..0d16cc23641a 100644
--- a/security/ccrypt/Makefile
+++ b/security/ccrypt/Makefile
@@ -2,46 +2,31 @@
# $FreeBSD$
PORTNAME= ccrypt
-PORTVERSION= 1.10
-PORTREVISION= 1
+DISTVERSION= 1.11
CATEGORIES= security
-MASTER_SITES= SF \
- http://www.mathstat.dal.ca/~selinger/ccrypt/download/
+MASTER_SITES= SF/${PORTNAME}/${DISTVERSION}/ \
+ http://www.mathstat.dal.ca/~selinger/ccrypt/download/${DISTVERSION}/
MAINTAINER= dev2@heesakkers.info
COMMENT= Command-line utility for encrypting and decrypting files and streams
-LICENSE= GPLv2
+LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= gmake
+USES= gmake
OPTIONS_DEFINE= DOCS NLS
+OPTIONS_SUB= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-PLIST_SUB+= NLS=""
-USES+= gettext
-.else
-PLIST_SUB+= NLS="@comment "
-USES+= perl5
-USE_PERL5= build
-CONFIGURE_ARGS+= --disable-nls
-.endif
+NLS_USES= gettext-runtime
+NLS_CONFIGURE_ENABLE= nls
GNU_CONFIGURE= yes
-post-patch:
- @${REINPLACE_CMD} -e 's|gtar|tar|g' ${WRKSRC}/configure
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
-.for i in ccrypt.html cypfaq01.txt
- ${INSTALL_DATA} ${WRKSRC}/doc/$i ${STAGEDIR}${DOCSDIR}
+.for i in README doc/ccrypt.html doc/cypfaq01.txt
+ ${INSTALL_DATA} ${WRKSRC}/$i ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>
diff --git a/security/ccrypt/distinfo b/security/ccrypt/distinfo
index 20f38d766437..7985b71b2e83 100644
--- a/security/ccrypt/distinfo
+++ b/security/ccrypt/distinfo
@@ -1,2 +1,3 @@
-SHA256 (ccrypt-1.10.tar.gz) = 87d66da2170facabf6f2fc073586ae2c7320d4689980cfca415c74688e499ba0
-SIZE (ccrypt-1.10.tar.gz) = 669491
+TIMESTAMP = 1535549116
+SHA256 (ccrypt-1.11.tar.gz) = b19c47500a96ee5fbd820f704c912f6efcc42b638c0a6aa7a4e3dc0a6b51a44f
+SIZE (ccrypt-1.11.tar.gz) = 834575
diff --git a/security/ccrypt/pkg-plist b/security/ccrypt/pkg-plist
index 5f91383074da..8464cf57fd13 100644
--- a/security/ccrypt/pkg-plist
+++ b/security/ccrypt/pkg-plist
@@ -9,6 +9,7 @@ man/man1/ccat.1.gz
man/man1/ccrypt.1.gz
man/man1/ccguess.1.gz
%%NLS%%share/locale/de/LC_MESSAGES/ccrypt.mo
+%%NLS%%share/locale/et/LC_MESSAGES/ccrypt.mo
%%NLS%%share/locale/fr/LC_MESSAGES/ccrypt.mo
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/ccrypt.html