aboutsummaryrefslogtreecommitdiffstats
path: root/security/crank
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-04-23 14:26:56 +0800
committerijliao <ijliao@FreeBSD.org>2001-04-23 14:26:56 +0800
commitfc6cf11279b1a73b6fe3f984609d94ab61cca691 (patch)
tree3576e88f2c499ed7edb5bb3663c93c2839863175 /security/crank
parent344c0bc9fdf015b8e1e48cf861757efb3b466375 (diff)
downloadfreebsd-ports-gnome-fc6cf11279b1a73b6fe3f984609d94ab61cca691.tar.gz
freebsd-ports-gnome-fc6cf11279b1a73b6fe3f984609d94ab61cca691.tar.zst
freebsd-ports-gnome-fc6cf11279b1a73b6fe3f984609d94ab61cca691.zip
upgrade to 0.1.3
Diffstat (limited to 'security/crank')
-rw-r--r--security/crank/Makefile2
-rw-r--r--security/crank/distinfo2
-rw-r--r--security/crank/files/patch-Makefile28
-rw-r--r--security/crank/files/patch-plugin-src::Makefile17
-rw-r--r--security/crank/files/patch-plugins.c22
-rw-r--r--security/crank/pkg-plist2
6 files changed, 41 insertions, 32 deletions
diff --git a/security/crank/Makefile b/security/crank/Makefile
index 8d34a529e7ef..ba804eaede12 100644
--- a/security/crank/Makefile
+++ b/security/crank/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= crank
-PORTVERSION= 0.1.2
+PORTVERSION= 0.1.3
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/security/crank/distinfo b/security/crank/distinfo
index 50370b1f47a5..b075fea81428 100644
--- a/security/crank/distinfo
+++ b/security/crank/distinfo
@@ -1 +1 @@
-MD5 (crank-0.1.2.tar.gz) = 660ea31d16038246850cc99438f2f1f2
+MD5 (crank-0.1.3.tar.gz) = a4ab2ac35b326c97f78f6b7abdb7249b
diff --git a/security/crank/files/patch-Makefile b/security/crank/files/patch-Makefile
index a1f871980ed8..f30e257a56c2 100644
--- a/security/crank/files/patch-Makefile
+++ b/security/crank/files/patch-Makefile
@@ -1,29 +1,31 @@
---- Makefile.orig Tue Apr 17 08:42:25 2001
-+++ Makefile Wed Apr 18 23:57:16 2001
-@@ -1,7 +1,7 @@
+--- Makefile.orig Sun Apr 22 22:33:28 2001
++++ Makefile Mon Apr 23 14:21:00 2001
+@@ -6,8 +6,8 @@
+
VERSION = $(shell cat VERSION)
CC = gcc
- DYNAMICGDB = -Wl,--dynamic-linker,/lib/ld-linux.so.2
-CFLAGS = -g -Wall -pedantic `gtk-config --cflags`
-+CFLAGS += `gtk-config --cflags`
- LIBS = `gtk-config --libs`
+-LIBS = `gtk-config --libs`
++CFLAGS += `/usr/X11R6/bin/gtk12-config --cflags`
++LIBS = `/usr/X11R6/bin/gtk12-config --libs`
OBJFILES = $(patsubst %.c,%.o,$(wildcard *.c))
PLUGIN-SRC = plugin-src
-@@ -10,7 +10,7 @@
+ PLUGINS = $(PLUGIN-SRC)/monoalphabetic.hillclimb-cracker.so \
+@@ -15,7 +15,7 @@
$(PLUGIN-SRC)/statistics.n-grams.so \
$(PLUGIN-SRC)/text.simple-filters.so \
$(PLUGIN-SRC)/utilities.notepad.so
-TMPDIR = /usr/tmp
+TMPDIR = /tmp
+
+ # Files for source distribution
DISTFILES = *.[ch] Makefile Makefile.mingw README BUGS VERSION \
- HISTORY LICENSE TODO ciphertext.txt
- DISTFILES_DATA = data/*.dat
-@@ -19,7 +19,7 @@
+@@ -36,7 +36,7 @@
all: crank plugin
-
+
crank: $(OBJFILES)
- $(CC) $(CFLAGS) $(LIBDIR) -o crank $(OBJFILES) $(LIBS)
+ $(CC) $(CFLAGS) -o crank $(OBJFILES) $(LIBS)
-
+
$(OBJFILES) : crank.h
-
+
diff --git a/security/crank/files/patch-plugin-src::Makefile b/security/crank/files/patch-plugin-src::Makefile
index e0f4f1a188aa..f39248563bc7 100644
--- a/security/crank/files/patch-plugin-src::Makefile
+++ b/security/crank/files/patch-plugin-src::Makefile
@@ -1,11 +1,16 @@
---- plugin-src/Makefile.orig Wed Apr 18 23:52:38 2001
-+++ plugin-src/Makefile Wed Apr 18 23:56:10 2001
-@@ -1,10 +1,10 @@
+--- plugin-src/Makefile.orig Mon Apr 23 14:17:40 2001
++++ plugin-src/Makefile Mon Apr 23 14:18:15 2001
+@@ -8,7 +8,7 @@
+ INSTALL_DIR = ..
+
CC = gcc
--CFLAGS = -Wall -pedantic -fPIC -g `gtk-config --cflags` -I..
-+CFLAGS += -fPIC `gtk-config --cflags` -I..
+-CFLAGS = -Wall -pedantic -fPIC -g `gtk-config --cflags` -I$(CRANK_DIR)
++CFLAGS += -fPIC `gtk-config --cflags` -I$(CRANK_DIR)
+
- all: monoalphabetic.key-controls.so statistics.n-grams.so monoalphabetic.hillclimb-cracker.so text.simple-filters.so utilities.notepad.so
+ all: monoalphabetic.key-controls.so \
+@@ -21,7 +21,7 @@
+ # transpositions.grid-brute-force.so
monoalphabetic.key-controls.so: monoalphabetic.key-controls.o common.monoalphabetic.o
- $(CC) $(CFLAGS) -g -shared -o $@ $< common.monoalphabetic.o -lc
diff --git a/security/crank/files/patch-plugins.c b/security/crank/files/patch-plugins.c
index b114ad9d0ff9..7c62c16d935c 100644
--- a/security/crank/files/patch-plugins.c
+++ b/security/crank/files/patch-plugins.c
@@ -1,11 +1,11 @@
---- plugins.c.orig Thu Apr 19 03:34:39 2001
-+++ plugins.c Thu Apr 19 03:35:01 2001
-@@ -60,7 +60,7 @@
- if (!g_module_supported())
- g_error("Plugins not supported on this platform.");
-
-- if (!(plugin_dir = opendir("plugins")))
-+ if (!(plugin_dir = opendir(PLUGIN_DIR)))
- g_error("Could not open plugin directory - %s", PLUGIN_DIR);
-
- /* Loop over each file in the plugin directory */
+--- plugins.c.orig Mon Apr 23 14:14:51 2001
++++ plugins.c Mon Apr 23 14:16:13 2001
+@@ -61,7 +61,7 @@
+ g_warning("Plugins not supported on this platform.");
+ return;
+ }
+- if (!(plugin_dir = opendir("plugins"))) {
++ if (!(plugin_dir = opendir(PLUGIN_DIR))) {
+ g_warning("Could not open plugin directory - %s", PLUGIN_DIR);
+ return;
+ }
diff --git a/security/crank/pkg-plist b/security/crank/pkg-plist
index 5b6cf3dd7723..39f62eaa2b2f 100644
--- a/security/crank/pkg-plist
+++ b/security/crank/pkg-plist
@@ -2,6 +2,8 @@ bin/crank
lib/crank/monoalphabetic.hillclimb-cracker.so
lib/crank/monoalphabetic.key-controls.so
lib/crank/statistics.n-grams.so
+lib/crank/steganalysis.word-gaps.so
lib/crank/text.simple-filters.so
+lib/crank/transpositions.grid-controls.so
lib/crank/utilities.notepad.so
@dirrm lib/crank