- Update to 0.8.0

PR:		200307
Submitted by:	tkato432@yahoo.com
This commit is contained in:
Dmitry Marakasov 2015-05-21 17:14:49 +00:00
parent e9baa3931b
commit c8ec1e9635
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=386946
5 changed files with 26 additions and 29 deletions

View file

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= ncrypt
PORTVERSION= 0.7.0
PORTREVISION= 3
PORTVERSION= 0.8.0
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}/${PORTNAME}-${PORTVERSION}
@ -11,14 +10,21 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Advanced AES file encryption tool
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= autoreconf tar:tgz
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USES= tar:tgz
PLIST_FILES= bin/ncrypt bin/nrm
pre-patch:
@${RM} ${WRKSRC}/*.m4
post-patch:
@${REINPLACE_CMD} -E 's,^(CC|CFLAGS) =,\1 \?=,g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e \
's| getopt.c getopt1.c||' ${WRKSRC}/Makefile.am
@${REINPLACE_CMD} -e \
's|-O0|| ; \
s|"\($$CCOPTS\)"|"\1 $$CFLAGS"|' ${WRKSRC}/configure.ac
.include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
SHA256 (ncrypt-0.7.0.tgz) = 3b6182775bc82a889140b4847b5d30e561093c6ab772440323e4856b157ccc87
SIZE (ncrypt-0.7.0.tgz) = 172283
SHA256 (ncrypt-0.8.0.tgz) = 771267940226bb570dea2a5b2300e542a78285fa38c45d6f74903931c15633ab
SIZE (ncrypt-0.8.0.tgz) = 785474

View file

@ -1,10 +0,0 @@
--- getopt.c.orig Tue Aug 30 11:15:09 2005
+++ getopt.c Tue Aug 30 11:15:23 2005
@@ -46,6 +46,7 @@
#endif
#include <stdio.h>
+#include <string.h>
/* Comment out all this code if we are using the GNU C Library, and are not
actually compiling the library itself. This code is part of the GNU C

View file

@ -1,5 +1,5 @@
--- ncrypt.c.orig Tue Aug 30 10:57:04 2005
+++ ncrypt.c Tue Aug 30 10:57:30 2005
--- ncrypt.c.orig 2015-05-11 20:36:52 UTC
+++ ncrypt.c
@@ -17,6 +17,7 @@
#include <sys/stat.h>
#include <sys/mman.h>

View file

@ -1,12 +1,13 @@
NCrypt is intended to give you security in an insecure environment. If you are
wanting to encrypt files (particularly on a multi-user system where you don't
have root), wishing to hide your activites from prying eyes, and want to "cover
your tracks", then NCrypt is for you. It is a symmetrical file
encryptor/decryptor that gives you the choice of the top three candidates for
AES as the encryption algorithm (Rijndael, Serpent, Twofish), tries to minimize
exposure of the plaintext password in memory, and can safely erase the plaintext
version from the hard drive. It compiles without any extra crypto libraries,
making it ideal for systems where you just have a compiler and basic libraries
(such as an ISP's shell server).
NCrypt is intended to give you security in an insecure environment.
If you are wanting to encrypt files (particularly on a multi-user
system where you don't have root), wishing to hide your activites
from prying eyes, and want to "cover your tracks", then NCrypt is
for you. It is a symmetrical file encryptor/decryptor that gives
you the choice of the top three candidates for AES as the encryption
algorithm (Rijndael, Serpent, Twofish), tries to minimize exposure
of the plaintext password in memory, and can safely erase the
plaintext version from the hard drive. It compiles without any extra
crypto libraries, making it ideal for systems where you just have
a compiler and basic libraries (such as an ISP's shell server).
WWW: http://ncrypt.sourceforge.net/