View | Details | Raw Unified | Return to bug 200307
Collapse All | Expand All

(-)security/ncrypt/Makefile (-5 / +10 lines)
Lines 2-9 Link Here
2
# $FreeBSD: head/security/ncrypt/Makefile 386455 2015-05-15 18:04:58Z sunpoet $
2
# $FreeBSD: head/security/ncrypt/Makefile 386455 2015-05-15 18:04:58Z sunpoet $
3
3
4
PORTNAME=	ncrypt
4
PORTNAME=	ncrypt
5
PORTVERSION=	0.7.0
5
PORTVERSION=	0.8.0
6
PORTREVISION=	3
7
CATEGORIES=	security
6
CATEGORIES=	security
8
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}/${PORTNAME}-${PORTVERSION}
7
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}/${PORTNAME}-${PORTVERSION}
9
8
Lines 12-24 Link Here
12
11
13
LICENSE=	GPLv2
12
LICENSE=	GPLv2
14
13
14
USES=		autoreconf tar:tgz
15
GNU_CONFIGURE=	yes
15
GNU_CONFIGURE=	yes
16
INSTALL_TARGET=	install-strip
17
USES=		tar:tgz
18
16
19
PLIST_FILES=	bin/ncrypt bin/nrm
17
PLIST_FILES=	bin/ncrypt bin/nrm
20
18
19
pre-patch:
20
	@${RM} ${WRKSRC}/*.m4
21
21
post-patch:
22
post-patch:
22
	@${REINPLACE_CMD} -E 's,^(CC|CFLAGS) =,\1 \?=,g' ${WRKSRC}/Makefile.in
23
	@${REINPLACE_CMD} -e \
24
		's| getopt.c getopt1.c||' ${WRKSRC}/Makefile.am
25
	@${REINPLACE_CMD} -e \
26
		's|-O0|| ; \
27
		 s|"\($$CCOPTS\)"|"\1 $$CFLAGS"|' ${WRKSRC}/configure.ac
23
28
24
.include <bsd.port.mk>
29
.include <bsd.port.mk>
(-)security/ncrypt/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (ncrypt-0.7.0.tgz) = 3b6182775bc82a889140b4847b5d30e561093c6ab772440323e4856b157ccc87
1
SHA256 (ncrypt-0.8.0.tgz) = 771267940226bb570dea2a5b2300e542a78285fa38c45d6f74903931c15633ab
2
SIZE (ncrypt-0.7.0.tgz) = 172283
2
SIZE (ncrypt-0.8.0.tgz) = 785474
(-)security/ncrypt/files/patch-getopt.c (-10 lines)
Lines 1-10 Link Here
1
--- getopt.c.orig	Tue Aug 30 11:15:09 2005
2
+++ getopt.c	Tue Aug 30 11:15:23 2005
3
@@ -46,6 +46,7 @@
4
 #endif
5
 
6
 #include <stdio.h>
7
+#include <string.h>
8
 
9
 /* Comment out all this code if we are using the GNU C Library, and are not
10
    actually compiling the library itself.  This code is part of the GNU C
(-)security/ncrypt/files/patch-ncrypt.c (-2 / +2 lines)
Lines 1-5 Link Here
1
--- ncrypt.c.orig	Tue Aug 30 10:57:04 2005
1
--- ncrypt.c.orig	2015-05-11 20:36:52 UTC
2
+++ ncrypt.c	Tue Aug 30 10:57:30 2005
2
+++ ncrypt.c
3
@@ -17,6 +17,7 @@
3
@@ -17,6 +17,7 @@
4
 #include <sys/stat.h>
4
 #include <sys/stat.h>
5
 #include <sys/mman.h>
5
 #include <sys/mman.h>
(-)security/ncrypt/pkg-descr (-10 / +5 lines)
Lines 1-12 Link Here
1
NCrypt is intended to give you security in an insecure environment. If you are
1
NCrypt is intended to give you security in an insecure environment.
2
wanting to encrypt files (particularly on a multi-user system where you don't
2
If you are wanting to encrypt files (particularly on a multi-user
3
have root), wishing to hide your activites from prying eyes, and want to "cover
3
system where you don't have root), wishing to hide your activites
4
your tracks", then NCrypt is for you. It is a symmetrical file
4
from prying eyes, and want to "cover your tracks", then NCrypt is
5
encryptor/decryptor that gives you the choice of the top three candidates for
5
for you.
6
AES as the encryption algorithm (Rijndael, Serpent, Twofish), tries to minimize
7
exposure of the plaintext password in memory, and can safely erase the plaintext
8
version from the hard drive. It compiles without any extra crypto libraries,
9
making it ideal for systems where you just have a compiler and basic libraries
10
(such as an ISP's shell server).
11
6
12
WWW: http://ncrypt.sourceforge.net/
7
WWW: http://ncrypt.sourceforge.net/

Return to bug 200307