aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2001-04-09 19:09:33 +0800
committerroam <roam@FreeBSD.org>2001-04-09 19:09:33 +0800
commit0cd24f7b4ac00a423e1cd4cf48461385707ca5f0 (patch)
tree1ff6006026e082a33060c54337909033315280fb /security
parentcc722c0238c9189a6835ed90ec4eae8a6c71fccc (diff)
downloadfreebsd-ports-gnome-0cd24f7b4ac00a423e1cd4cf48461385707ca5f0.tar.gz
freebsd-ports-gnome-0cd24f7b4ac00a423e1cd4cf48461385707ca5f0.tar.zst
freebsd-ports-gnome-0cd24f7b4ac00a423e1cd4cf48461385707ca5f0.zip
Update to 1.2.13, fix a fennerism along the way ;)
Diffstat (limited to 'security')
-rw-r--r--security/apg/Makefile2
-rw-r--r--security/apg/distinfo2
-rw-r--r--security/apg/files/patch-aa24
-rw-r--r--security/apg/files/patch-ab15
4 files changed, 17 insertions, 26 deletions
diff --git a/security/apg/Makefile b/security/apg/Makefile
index 2fee45d79cab..cc8272907af5 100644
--- a/security/apg/Makefile
+++ b/security/apg/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= apg
-PORTVERSION= 1.1.61b
+PORTVERSION= 1.2.13
CATEGORIES= security
MASTER_SITES= http://www.adel.nursat.kz/apg/download/
diff --git a/security/apg/distinfo b/security/apg/distinfo
index 89d8eb85d244..d79abaa5ba30 100644
--- a/security/apg/distinfo
+++ b/security/apg/distinfo
@@ -1 +1 @@
-MD5 (apg-1.1.61b.tar.gz) = 44301e3c689985a16aceb5ffc1afe245
+MD5 (apg-1.2.13.tar.gz) = 4c6a5d15afd620a78df9f68070215427
diff --git a/security/apg/files/patch-aa b/security/apg/files/patch-aa
index 9cda39ff5e78..2d1bcbb54e33 100644
--- a/security/apg/files/patch-aa
+++ b/security/apg/files/patch-aa
@@ -1,23 +1,29 @@
---- Makefile 2000/09/30 14:55:17 1.1.1.1
-+++ Makefile 2001/01/17 14:12:15 1.3
-@@ -1,12 +1,13 @@
+--- Makefile Tue Feb 27 08:24:14 2001
++++ Makefile Mon Apr 9 14:05:45 2001
+@@ -1,10 +1,10 @@
# You can modify CC variable if you have compiler other than GCC
# But the code was designed and tested with GCC
-CC = gcc
-+CC ?= gcc
++CC?= gcc
# compilation flags
+ # You should comment the line below for AIX+native cc
-FLAGS = -Wall
-+CFLAGS ?= -Wall
++CFLAGS?= -Wall
+
+ # libraries
+ LIBS = -lcrypt
+@@ -15,7 +15,8 @@
+ CRYPTED_PASS = APG_USE_CRYPT
# Install dirs
-INSTALL_PREFIX = /usr/local
-+PREFIX ?= /usr/local
++PREFIX?= /usr/local
+INSTALL_PREFIX = ${PREFIX}
APG_BIN_DIR = /bin
APG_MAN_DIR = /man/man1
APGD_BIN_DIR = /sbin
-@@ -41,10 +42,10 @@
+@@ -50,10 +51,10 @@
cygwin: standalone
cliserv: ${SOURCES} ${HEADERS}
@@ -25,8 +31,8 @@
+ ${CC} ${CFLAGS} ${CS_LIBS} -DCLISERV -o ${CS_PROGNAME} ${SOURCES}
standalone: ${SOURCES} ${HEADERS}
-- ${CC} ${FLAGS} -o ${PROGNAME} ${SOURCES}
-+ ${CC} ${CFLAGS} -o ${PROGNAME} ${SOURCES}
+- ${CC} ${FLAGS} ${LIBS} -D${CRYPTED_PASS} -o ${PROGNAME} ${SOURCES}
++ ${CC} ${CFLAGS} ${LIBS} -D${CRYPTED_PASS} -o ${PROGNAME} ${SOURCES}
strip:
strip ${PROGNAME}
diff --git a/security/apg/files/patch-ab b/security/apg/files/patch-ab
deleted file mode 100644
index d09733b34ef3..000000000000
--- a/security/apg/files/patch-ab
+++ /dev/null
@@ -1,15 +0,0 @@
---- apg.c 2001/01/17 09:01:19 1.1.1.3
-+++ apg.c 2001/01/15 11:33:01 1.2
-@@ -342,9 +342,10 @@
- char * seq;
- UINT32 prom = 0L;
-
-- printf ("\nPlease enter some random data (only first 4 are significant)\n");
-+ printf ("\nPlease enter some random data (only the first %d characters "
-+ "are significant)\n", sizeof(prom));
- seq = (char *)getpass("(eg. your old password):>");
-- if (strlen(seq) < 4)
-+ if (strlen(seq) < sizeof(prom))
- bcopy((void *)seq, (void *)&prom, (int)strlen(seq));
- else
- bcopy((void *)seq, (void *)&prom, sizeof(prom));