summaryrefslogtreecommitdiff
path: root/security/crank
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-04-23 06:26:56 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-04-23 06:26:56 +0000
commit56893991f5e95e6b4364af3875d7ccda8a5153ff (patch)
treeb89bb68fe310449046b9d49e6f3d71de04c43224 /security/crank
parentupgrade to 3.3.8 (diff)
upgrade to 0.1.3
Notes
Notes: svn path=/head/; revision=41820
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