1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

upgrade to 0.1.3

This commit is contained in:
Ying-Chieh Liao 2001-04-23 06:26:56 +00:00
parent 7ca4add1a6
commit 56893991f5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=41820
6 changed files with 42 additions and 33 deletions

View File

@ -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}

View File

@ -1 +1 @@
MD5 (crank-0.1.2.tar.gz) = 660ea31d16038246850cc99438f2f1f2
MD5 (crank-0.1.3.tar.gz) = a4ab2ac35b326c97f78f6b7abdb7249b

View File

@ -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

View File

@ -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 @@
CC = gcc
-CFLAGS = -Wall -pedantic -fPIC -g `gtk-config --cflags` -I..
+CFLAGS += -fPIC `gtk-config --cflags` -I..
--- 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 = ..
all: monoalphabetic.key-controls.so statistics.n-grams.so monoalphabetic.hillclimb-cracker.so text.simple-filters.so utilities.notepad.so
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

View File

@ -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;
}

View File

@ -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