ports/77320: [update request] The ccrypt port is old.

Roland Smith rsmith at xs4all.nl
Wed Feb 9 18:10:24 UTC 2005


>Number:         77320
>Category:       ports
>Synopsis:       [update request] The ccrypt port is old.
>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:   Wed Feb 09 18:10:22 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Roland Smith
>Release:        FreeBSD 5.3-RELEASE-p4 amd64
>Organization:
none
>Environment:
System: FreeBSD slackbox.xs4all.nl 5.3-RELEASE-p4 FreeBSD 5.3-RELEASE-p4 #5: Thu Jan 6 21:18:14 CET 2005 root at slackbox.xs4all.nl:/usr/obj/usr/src/sys/RFS_1 amd64


>Description:
	The security/ccrypt port is quite old. Version 1.3 is in ports,
	while 1.7 is current. 
>How-To-Repeat:
	look at the port's makefile and http://quasar.mathstat.uottawa.ca/~selinger/ccrypt/
>Fix:

	The patch below brings the port up to version 1.7.:

diff -ruN ccrypt.orig/Makefile ccrypt/Makefile
--- ccrypt.orig/Makefile	Sun Jan 23 09:48:45 2005
+++ ccrypt/Makefile	Sun Jan 23 10:25:36 2005
@@ -7,8 +7,7 @@
 #
 
 PORTNAME=	ccrypt
-PORTVERSION=	1.3
-PORTREVISION=	2
+PORTVERSION=	1.7
 CATEGORIES=	security
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
 		http://quasar.mathstat.uottawa.ca/~selinger/ccrypt/download/
diff -ruN ccrypt.orig/distinfo ccrypt/distinfo
--- ccrypt.orig/distinfo	Sun Jan 23 09:48:45 2005
+++ ccrypt/distinfo	Sun Jan 23 10:22:34 2005
@@ -1,2 +1,2 @@
-MD5 (ccrypt-1.3.tar.gz) = 5dc4646f684273e8fa9f152286b54256
-SIZE (ccrypt-1.3.tar.gz) = 162255
+MD5 (ccrypt-1.7.tar.gz) = 19526e31a7d234e29d54dbcc876605d5
+SIZE (ccrypt-1.7.tar.gz) = 214189
diff -ruN ccrypt.orig/files/patch-Makefile.in ccrypt/files/patch-Makefile.in
--- ccrypt.orig/files/patch-Makefile.in	Sun Jan 23 09:48:45 2005
+++ ccrypt/files/patch-Makefile.in	Sun Jan 23 09:56:12 2005
@@ -1,11 +1,11 @@
---- Makefile.in.orig	Thu Feb  7 09:08:04 2002
-+++ Makefile.in	Thu Feb  7 09:08:12 2002
-@@ -72,7 +72,7 @@
- VERSION = @VERSION@
- lispdir = @lispdir@
- 
+--- Makefile.in.orig	Mon Mar 29 06:58:19 2004
++++ Makefile.in	Sun Jan 23 09:55:14 2005
+@@ -150,7 +150,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
diff -ruN ccrypt.orig/files/patch-doc::Makefile.in ccrypt/files/patch-doc::Makefile.in
--- ccrypt.orig/files/patch-doc::Makefile.in	Sun Jan 23 09:48:45 2005
+++ ccrypt/files/patch-doc::Makefile.in	Sun Jan 23 10:11:31 2005
@@ -1,20 +1,20 @@
---- doc/Makefile.in.orig	Wed Jan 30 14:15:42 2002
-+++ doc/Makefile.in	Sun Sep 15 09:24:14 2002
-@@ -195,7 +195,7 @@
- install-exec-am:
+--- 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-man install-htmlDATA
-+install-data-am: install-man # install-htmlDATA
+-install-data-am: install-htmlDATA install-man
++install-data-am: install-man
  	@$(NORMAL_INSTALL)
  	$(MAKE) $(AM_MAKEFLAGS) install-data-hook
- install-data: install-data-am
-@@ -210,7 +210,7 @@
- install-strip:
- 	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
- installdirs:
--	$(mkinstalldirs)  $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(htmldir)
-+	$(mkinstalldirs)  $(DESTDIR)$(mandir)/man1 # $(DESTDIR)$(htmldir)
- 
  
- mostlyclean-generic:
diff -ruN ccrypt.orig/files/patch-src::Makefile.in ccrypt/files/patch-src::Makefile.in
--- ccrypt.orig/files/patch-src::Makefile.in	Sun Jan 23 09:48:45 2005
+++ ccrypt/files/patch-src::Makefile.in	Thu Jan  1 01:00:00 1970
@@ -1,11 +0,0 @@
---- src/Makefile.in.orig	Wed Jan 30 14:15:42 2002
-+++ src/Makefile.in	Sun Sep 15 09:26:45 2002
-@@ -76,7 +76,7 @@
- VERSION = @VERSION@
- lispdir = @lispdir@
- 
--CFLAGS = -O3
-+CFLAGS = @CFLAGS@
- 
- bin_PROGRAMS = ccrypt
- noinst_PROGRAMS = maketables
diff -ruN ccrypt.orig/files/patch-src::main.c ccrypt/files/patch-src::main.c
--- ccrypt.orig/files/patch-src::main.c	Sun Jan 23 09:48:45 2005
+++ ccrypt/files/patch-src::main.c	Thu Jan  1 01:00:00 1970
@@ -1,81 +0,0 @@
---- src/main.c.orig	Wed Oct 15 06:33:06 2003
-+++ src/main.c	Wed Oct 15 06:33:46 2003
-@@ -37,42 +37,42 @@
- 
- void usage(FILE *fout) {
-   fprintf(fout, "\
--"NAME" "VERSION". Secure encryption and decryption of files and streams.
--
--Usage: "NAME" [mode] [options] [file...]
--       "NAMEENCRYPT" [options] [file...]
--       "NAMEDECRYPT" [options] [file...]
--       "NAMECAT" [options] file...
--
--Modes:
--    -e, --encrypt          encrypt
--    -d, --decrypt          decrypt
--    -c, --cat              cat; decrypt files to stdout
--    -x, --keychange        change key
--    -u, --unixcrypt        decrypt old unix crypt files
--
--Options:
--    -h, --help             print this help message and exit
--    -V, --version          print version info and exit
--    -L, --license          print license info and exit
--    -v, --verbose          print progress information to stderr
--    -q, --quiet            run quietly; suppress warnings
--    -f, --force            overwrite existing files without asking
--    -m, --mismatch         allow decryption with non-matching key
--    -E, --envvar var       read keyword from environment variable (unsafe)
--    -K, --key key          give keyword on command line (unsafe)
--    -k, --keyfile file     read keyword(s) as first line(s) from file
--    -P, --prompt prompt    use this prompt instead of default
--    -S, --suffix .suf      use suffix .suf instead of default "SUF"
--    -s, --strictsuffix     refuse to encrypt files which already have suffix
--    -F, --envvar2 var      as -E for second keyword (for keychange mode)
--    -H, --key2 key         as -H for second keyword (for keychange mode)
--    -Q, --prompt2 prompt   as -P for second keyword (for keychange mode)
--    -t, --timid            prompt twice for destructive encryption keys
--    -r, --recursive        recurse through directories
--    -R, --rec-symlinks     follow symbolic links as subdirectories
--    -l, --symlinks         dereference symbolic links
--    --                     end of options, filenames follow
-+"NAME" "VERSION". Secure encryption and decryption of files and streams. \n\
-+ \n\
-+Usage: "NAME" [mode] [options] [file...] \n\
-+       "NAMEENCRYPT" [options] [file...] \n\
-+       "NAMEDECRYPT" [options] [file...] \n\
-+       "NAMECAT" [options] file... \n\
-+ \n\
-+Modes: \n\
-+    -e, --encrypt          encrypt \n\
-+    -d, --decrypt          decrypt \n\
-+    -c, --cat              cat; decrypt files to stdout \n\
-+    -x, --keychange        change key \n\
-+    -u, --unixcrypt        decrypt old unix crypt files \n\
-+\n\
-+Options:\n\
-+    -h, --help             print this help message and exit\n\
-+    -V, --version          print version info and exit\n\
-+    -L, --license          print license info and exit\n\
-+    -v, --verbose          print progress information to stderr\n\
-+    -q, --quiet            run quietly; suppress warnings\n\
-+    -f, --force            overwrite existing files without asking\n\
-+    -m, --mismatch         allow decryption with non-matching key\n\
-+    -E, --envvar var       read keyword from environment variable (unsafe)\n\
-+    -K, --key key          give keyword on command line (unsafe)\n\
-+    -k, --keyfile file     read keyword(s) as first line(s) from file\n\
-+    -P, --prompt prompt    use this prompt instead of default\n\
-+    -S, --suffix .suf      use suffix .suf instead of default "SUF"\n\
-+    -s, --strictsuffix     refuse to encrypt files which already have suffix\n\
-+    -F, --envvar2 var      as -E for second keyword (for keychange mode)\n\
-+    -H, --key2 key         as -H for second keyword (for keychange mode)\n\
-+    -Q, --prompt2 prompt   as -P for second keyword (for keychange mode)\n\
-+    -t, --timid            prompt twice for destructive encryption keys\n\
-+    -r, --recursive        recurse through directories\n\
-+    -R, --rec-symlinks     follow symbolic links as subdirectories\n\
-+    -l, --symlinks         dereference symbolic links\n\
-+    --                     end of options, filenames follow\n\
- ");
- }
- 



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list