ports/135463: security/ccrypt - update to 1.8
Charlie Kester
corky1951 at comcast.net
Thu Jun 11 02:40:02 UTC 2009
>Number: 135463
>Category: ports
>Synopsis: security/ccrypt - update to 1.8
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Jun 11 02:40:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Charlie Kester
>Release: FreeBSD 7.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD atom.local 7.2-RELEASE FreeBSD 7.2-RELEASE #1: Mon May 4 15:50:49 PDT 2009 root at atom.local:/usr/obj/usr/src/sys/ATOM i386
>Description:
Update port to version 1.8
I can be the maintainer, since there currently is none.
>How-To-Repeat:
>Fix:
Attached patchfile has the updates
--- ccrypt-1.8.diff begins here ---
diff -ruN /usr/ports/security/ccrypt/Makefile ./ccrypt/Makefile
--- /usr/ports/security/ccrypt/Makefile 2008-03-20 03:03:39.000000000 -0700
+++ ./ccrypt/Makefile 2009-06-10 15:27:07.000000000 -0700
@@ -7,13 +7,13 @@
#
PORTNAME= ccrypt
-PORTVERSION= 1.7
+PORTVERSION= 1.8
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://quasar.mathstat.uottawa.ca/~selinger/ccrypt/download/
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= corky1951 at comcast.net
COMMENT= A command-line utility for encrypting and decrypting files and streams
GNU_CONFIGURE= yes
diff -ruN /usr/ports/security/ccrypt/distinfo ./ccrypt/distinfo
--- /usr/ports/security/ccrypt/distinfo 2006-01-23 17:02:56.000000000 -0800
+++ ./ccrypt/distinfo 2009-06-10 15:29:23.000000000 -0700
@@ -1,3 +1,3 @@
-MD5 (ccrypt-1.7.tar.gz) = 19526e31a7d234e29d54dbcc876605d5
-SHA256 (ccrypt-1.7.tar.gz) = 1bf974c9ee5f20332f0117c5b80784825f505f1a24eb57a10c8195c3ad16540e
-SIZE (ccrypt-1.7.tar.gz) = 214189
+MD5 (ccrypt-1.8.tar.gz) = c8be3f35b8dddf3310ca043cd9817620
+SHA256 (ccrypt-1.8.tar.gz) = efd0487ebd21b7aee5c0d6c205d638c29880f3c4163d4bdfa9477c7838f61677
+SIZE (ccrypt-1.8.tar.gz) = 665596
diff -ruN /usr/ports/security/ccrypt/files/patch-Makefile.in ./ccrypt/files/patch-Makefile.in
--- /usr/ports/security/ccrypt/files/patch-Makefile.in 2005-02-13 10:38:47.000000000 -0800
+++ ./ccrypt/files/patch-Makefile.in 2009-06-10 18:08:50.000000000 -0700
@@ -1,11 +1,11 @@
---- Makefile.in.orig Mon Mar 29 06:58:19 2004
-+++ Makefile.in Sun Jan 23 09:55:14 2005
-@@ -150,7 +150,7 @@
+--- Makefile.in.orig 2009-06-05 07:59:43.000000000 -0700
++++ Makefile.in 2009-06-10 18:06:23.000000000 -0700
+@@ -251,7 +251,7 @@
sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
--SUBDIRS = src emacs doc check
-+SUBDIRS = src doc check
- EXTRA_DIST = README.win
- all: config.h
- $(MAKE) $(AM_MAKEFLAGS) all-recursive
+-SUBDIRS = m4 po intl src emacs doc check
++SUBDIRS = m4 po intl src doc check
+ EXTRA_DIST = m4/ChangeLog config.rpath README-WIN intltool-extract.in \
+ intltool-merge.in intltool-update.in
+
diff -ruN /usr/ports/security/ccrypt/files/patch-doc::Makefile.in ./ccrypt/files/patch-doc::Makefile.in
--- /usr/ports/security/ccrypt/files/patch-doc::Makefile.in 2005-02-13 10:38:47.000000000 -0800
+++ ./ccrypt/files/patch-doc::Makefile.in 1969-12-31 16:00:00.000000000 -0800
@@ -1,20 +0,0 @@
---- doc/Makefile.in.orig Mon Mar 29 06:58:19 2004
-+++ doc/Makefile.in Sun Jan 23 09:59:41 2005
-@@ -274,7 +274,7 @@
- check: check-am
- all-am: Makefile $(MANS) $(DATA)
- installdirs:
-- $(mkdir_p) $(DESTDIR)$(man1dir) $(DESTDIR)$(htmldir)
-+ $(mkdir_p) $(DESTDIR)$(man1dir)
- install: install-am
- install-exec: install-exec-am
- install-data: install-data-am
-@@ -316,7 +316,7 @@
-
- info-am:
-
--install-data-am: install-htmlDATA install-man
-+install-data-am: install-man
- @$(NORMAL_INSTALL)
- $(MAKE) $(AM_MAKEFLAGS) install-data-hook
-
diff -ruN /usr/ports/security/ccrypt/files/patch-src-main.c ./ccrypt/files/patch-src-main.c
--- /usr/ports/security/ccrypt/files/patch-src-main.c 1969-12-31 16:00:00.000000000 -0800
+++ ./ccrypt/files/patch-src-main.c 2009-06-10 17:08:33.000000000 -0700
@@ -0,0 +1,13 @@
+--- src/main.c.orig 2009-06-05 07:58:59.000000000 -0700
++++ src/main.c 2009-06-10 16:56:56.000000000 -0700
+@@ -519,10 +519,6 @@
+ }
+ }
+
+- /* reset stdin/stdout to binary mode under Windows */
+- setmode(0,O_BINARY);
+- setmode(1,O_BINARY);
+-
+ /* if --keyref given, check encryption keys against named file */
+ if (cmd.keyref && (cmd.mode == ENCRYPT || cmd.mode == KEYCHANGE)) {
+ f = fopen(cmd.keyref, "rb");
diff -ruN /usr/ports/security/ccrypt/files/patch-src-platform.h ./ccrypt/files/patch-src-platform.h
--- /usr/ports/security/ccrypt/files/patch-src-platform.h 1969-12-31 16:00:00.000000000 -0800
+++ ./ccrypt/files/patch-src-platform.h 2009-06-10 17:20:00.000000000 -0700
@@ -0,0 +1,12 @@
+--- src/platform.h.orig 2009-06-05 07:39:49.000000000 -0700
++++ src/platform.h 2009-06-10 17:18:40.000000000 -0700
+@@ -78,9 +78,6 @@
+
+ #else /* on a POSIX system, map these to no-ops */
+
+-static inline void setmode(int fd, int mode) {
+- return;
+-}
+ #ifndef O_BINARY
+ #define O_BINARY 0
+ #endif /* O_BINARY */
--- ccrypt-1.8.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list