aboutsummaryrefslogtreecommitdiff
path: root/security/crank
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-08-09 09:00:57 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-08-09 09:00:57 +0000
commitea90d3c5c5f0f34543921e37afffe21a6ffce43c (patch)
treeb3b0ad4fb1a18b6913f3a7162999ec6f2306e2bd /security/crank
parented1ea6cfd97b82bd4dd40054e929c0347fab75fd (diff)
downloadports-ea90d3c5c5f0f34543921e37afffe21a6ffce43c.tar.gz
ports-ea90d3c5c5f0f34543921e37afffe21a6ffce43c.zip
upgrade to 0.1.4
drop maintainership
Notes
Notes: svn path=/head/; revision=46008
Diffstat (limited to 'security/crank')
-rw-r--r--security/crank/Makefile17
-rw-r--r--security/crank/distinfo2
-rw-r--r--security/crank/files/patch-Makefile30
-rw-r--r--security/crank/files/patch-plugin-src::Makefile20
-rw-r--r--security/crank/files/patch-plugins.c11
-rw-r--r--security/crank/pkg-plist17
6 files changed, 14 insertions, 83 deletions
diff --git a/security/crank/Makefile b/security/crank/Makefile
index ba804eaede12..cb725c14bb75 100644
--- a/security/crank/Makefile
+++ b/security/crank/Makefile
@@ -7,26 +7,15 @@
#
PORTNAME= crank
-PORTVERSION= 0.1.3
+PORTVERSION= 0.1.4
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= ijliao@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
USE_GTK= yes
+GNU_CONFIGURE= yes
USE_GMAKE= yes
-post-patch:
-.for file in Makefile plugin-src/Makefile
- @${PERL} -pi -e "s,gtk-config,${GTK_CONFIG},g" ${WRKSRC}/${file}
-.endfor
- @${PERL} -pi -e "s,plugins,${PREFIX}/lib/crank,g" ${WRKSRC}/crank.h
- @${PERL} -pi -e "s, -g , ,g" ${WRKSRC}/plugin-src/Makefile
-
-do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/crank ${PREFIX}/bin
- @${MKDIR} ${PREFIX}/lib/crank
- @${CP} ${WRKSRC}/plugin-src/*.so ${PREFIX}/lib/crank
-
.include <bsd.port.mk>
diff --git a/security/crank/distinfo b/security/crank/distinfo
index b075fea81428..bad2f9bcb6be 100644
--- a/security/crank/distinfo
+++ b/security/crank/distinfo
@@ -1 +1 @@
-MD5 (crank-0.1.3.tar.gz) = a4ab2ac35b326c97f78f6b7abdb7249b
+MD5 (crank-0.1.4.tar.gz) = 5fb4464f22a2efcedbd336ee6ab3fbce
diff --git a/security/crank/files/patch-Makefile b/security/crank/files/patch-Makefile
deleted file mode 100644
index 385446fb44d1..000000000000
--- a/security/crank/files/patch-Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
---- Makefile.orig Sun Apr 22 22:33:28 2001
-+++ Makefile Mon Jul 16 11:35:51 2001
-@@ -5,8 +5,7 @@
- # See LICENSE for more info
-
- VERSION = $(shell cat VERSION)
--CC = gcc
--CFLAGS = -g -Wall -pedantic `gtk-config --cflags`
-+CFLAGS += `gtk-config --cflags`
- LIBS = `gtk-config --libs`
- OBJFILES = $(patsubst %.c,%.o,$(wildcard *.c))
- PLUGIN-SRC = plugin-src
-@@ -15,7 +14,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 \
-@@ -36,7 +35,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
deleted file mode 100644
index f39248563bc7..000000000000
--- a/security/crank/files/patch-plugin-src::Makefile
+++ /dev/null
@@ -1,20 +0,0 @@
---- 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$(CRANK_DIR)
-+CFLAGS += -fPIC `gtk-config --cflags` -I$(CRANK_DIR)
-
-
- 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
-+ $(CC) $(CFLAGS) -g -shared -o $@ $< common.monoalphabetic.o
-
- statistics.n-grams.so: statistics.n-grams.o common.statistics.n-grams.o
- $(CC) $(CFLAGS) -g -shared -o $@ $< common.statistics.n-grams.o
diff --git a/security/crank/files/patch-plugins.c b/security/crank/files/patch-plugins.c
deleted file mode 100644
index 7c62c16d935c..000000000000
--- a/security/crank/files/patch-plugins.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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 39f62eaa2b2f..0816265fa8d7 100644
--- a/security/crank/pkg-plist
+++ b/security/crank/pkg-plist
@@ -1,9 +1,12 @@
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
+lib/crank/plugins/fitness.word-count.so
+lib/crank/plugins/monoalphabetic.hillclimb-cracker.so
+lib/crank/plugins/monoalphabetic.key-controls.so
+lib/crank/plugins/statistics.n-grams.so
+lib/crank/plugins/steganalysis.word-gaps.so
+lib/crank/plugins/text.simple-filters.so
+lib/crank/plugins/transpositions.grid-brute-force.so
+lib/crank/plugins/transpositions.grid-controls.so
+lib/crank/plugins/utilities.notepad.so
+@dirrm lib/crank/plugins
@dirrm lib/crank