Skip to content

Commit

Permalink
- Update to 1.8
Browse files Browse the repository at this point in the history
- Pass maintainership to submitter

PR:		135463
Submitted by:	Charlie Kester <corky1951@comcast.net>
  • Loading branch information
miwi-fbsd committed Jun 19, 2009
1 parent 188b896 commit dc12538
Show file tree
Hide file tree
Showing 7 changed files with 52 additions and 34 deletions.
16 changes: 13 additions & 3 deletions security/ccrypt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,25 @@
#

PORTNAME= ccrypt
PORTVERSION= 1.7
PORTVERSION= 1.8
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://quasar.mathstat.uottawa.ca/~selinger/ccrypt/download/
http://www.mathstat.dal.ca/~selinger/ccrypt/download/
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
MAINTAINER= corky1951@comcast.net
COMMENT= A command-line utility for encrypting and decrypting files and streams

.if !defined(WITHOUT_NLS)
USE_GNOME= intltool
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
USE_PERL5_BUILD= yes
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif

GNU_CONFIGURE= yes

MAN1= ccrypt.1
Expand Down
6 changes: 3 additions & 3 deletions security/ccrypt/distinfo
Original file line number Diff line number Diff line change
@@ -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
16 changes: 8 additions & 8 deletions security/ccrypt/files/patch-Makefile.in
Original file line number Diff line number Diff line change
@@ -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

20 changes: 0 additions & 20 deletions security/ccrypt/files/patch-doc::Makefile.in

This file was deleted.

13 changes: 13 additions & 0 deletions security/ccrypt/files/patch-src-main.c
Original file line number Diff line number Diff line change
@@ -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");
12 changes: 12 additions & 0 deletions security/ccrypt/files/patch-src-platform.h
Original file line number Diff line number Diff line change
@@ -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 */
3 changes: 3 additions & 0 deletions security/ccrypt/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ bin/ccat
bin/ccdecrypt
bin/ccencrypt
bin/ccrypt
%%NLS%%share/locale/de/LC_MESSAGES/ccrypt.mo
%%NLS%%share/locale/fr/LC_MESSAGES/ccrypt.mo
%%PORTDOCS%%share/doc/ccrypt/README
%%PORTDOCS%%share/doc/ccrypt/ccrypt.html
%%PORTDOCS%%share/doc/ccrypt/cypfaq01.txt
%%PORTDOCS%%@dirrm share/doc/ccrypt

0 comments on commit dc12538

Please sign in to comment.