aboutsummaryrefslogtreecommitdiffstats
path: root/security/apg
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2002-05-21 18:25:17 +0800
committerroam <roam@FreeBSD.org>2002-05-21 18:25:17 +0800
commitcca4f38a981a5a076d8d8db00fa635816e24c47b (patch)
treed5ad8e0e6562e0277544617b80a304d220f62132 /security/apg
parentb5214cbec9b21c9ec7deca96abf6ad579db38f8e (diff)
downloadfreebsd-ports-gnome-cca4f38a981a5a076d8d8db00fa635816e24c47b.tar.gz
freebsd-ports-gnome-cca4f38a981a5a076d8d8db00fa635816e24c47b.tar.zst
freebsd-ports-gnome-cca4f38a981a5a076d8d8db00fa635816e24c47b.zip
Update to apg-2.0.0final.
PR: 38311 Submitted by: Dominic Marks <dominic_marks@btinternet.com>
Diffstat (limited to 'security/apg')
-rw-r--r--security/apg/Makefile8
-rw-r--r--security/apg/distinfo2
-rw-r--r--security/apg/files/patch-aa44
-rw-r--r--security/apg/pkg-plist1
4 files changed, 31 insertions, 24 deletions
diff --git a/security/apg/Makefile b/security/apg/Makefile
index cc8272907af5..bd880a4ecd89 100644
--- a/security/apg/Makefile
+++ b/security/apg/Makefile
@@ -6,15 +6,15 @@
#
PORTNAME= apg
-PORTVERSION= 1.2.13
+PORTVERSION= 2.0.0
CATEGORIES= security
MASTER_SITES= http://www.adel.nursat.kz/apg/download/
+DISTRELTAG= final
+DISTNAME= ${PORTNAME}-${PORTVERSION}${DISTRELTAG}
MAINTAINER= roam@FreeBSD.org
-USE_GMAKE= yes
-
-MAN1= apg.1
+MAN1= apg.1 apgbfm.1
MAN8= apgd.8
.include <bsd.port.mk>
diff --git a/security/apg/distinfo b/security/apg/distinfo
index d79abaa5ba30..743b33a66e2f 100644
--- a/security/apg/distinfo
+++ b/security/apg/distinfo
@@ -1 +1 @@
-MD5 (apg-1.2.13.tar.gz) = 4c6a5d15afd620a78df9f68070215427
+MD5 (apg-2.0.0final.tar.gz) = e7d9faaa9d815037681ee75fc0198c46
diff --git a/security/apg/files/patch-aa b/security/apg/files/patch-aa
index 2d1bcbb54e33..303b4ddcd1b4 100644
--- a/security/apg/files/patch-aa
+++ b/security/apg/files/patch-aa
@@ -1,38 +1,44 @@
---- Makefile Tue Feb 27 08:24:14 2001
-+++ Makefile Mon Apr 9 14:05:45 2001
-@@ -1,10 +1,10 @@
+--- Makefile 21 May 2002 10:01:23 -0000 1.1.1.3
++++ Makefile 21 May 2002 10:07:25 -0000 1.5
+@@ -1,12 +1,12 @@
+ ##################################################################
# 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
+ ##################################################################
+ # Compilation flags
# You should comment the line below for AIX+native cc
-FLAGS = -Wall
-+CFLAGS?= -Wall
-
- # libraries
- LIBS = -lcrypt
-@@ -15,7 +15,8 @@
- CRYPTED_PASS = APG_USE_CRYPT
++CFLAGS ?= -Wall
+ ##################################################################
+ # Libraries
+@@ -37,7 +37,8 @@
+ ##################################################################
+ # Directories
# 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
-@@ -50,10 +51,10 @@
+@@ -88,13 +89,13 @@
cygwin: standalone
- cliserv: ${SOURCES} ${HEADERS}
-- ${CC} ${FLAGS} ${CS_LIBS} -DCLISERV -o ${CS_PROGNAME} ${SOURCES}
-+ ${CC} ${CFLAGS} ${CS_LIBS} -DCLISERV -o ${CS_PROGNAME} ${SOURCES}
+ apg:
+- ${CC} ${FLAGS} ${LIBS} ${LIBM} -D${CRYPTED_PASS} -D${USE_SHA} -o ${PROGNAME} ${SOURCES}
++ ${CC} ${CFLAGS} ${LIBS} ${LIBM} -D${CRYPTED_PASS} -D${USE_SHA} -o ${PROGNAME} ${SOURCES}
+
+ apgd:
+- ${CC} ${FLAGS} ${CS_LIBS} ${LIBM} -DCLISERV -D${USE_SHA} -o ${CS_PROGNAME} ${SOURCES}
++ ${CC} ${CFLAGS} ${CS_LIBS} ${LIBM} -DCLISERV -D${USE_SHA} -o ${CS_PROGNAME} ${SOURCES}
- standalone: ${SOURCES} ${HEADERS}
-- ${CC} ${FLAGS} ${LIBS} -D${CRYPTED_PASS} -o ${PROGNAME} ${SOURCES}
-+ ${CC} ${CFLAGS} ${LIBS} -D${CRYPTED_PASS} -o ${PROGNAME} ${SOURCES}
+ apgbfm:
+- ${CC} ${FLAGS} ${LIBM} -o ${BFM_PROGNAME} ${BFM_SOURCES}
++ ${CC} ${CFLAGS} ${LIBM} -o ${BFM_PROGNAME} ${BFM_SOURCES}
strip:
strip ${PROGNAME}
diff --git a/security/apg/pkg-plist b/security/apg/pkg-plist
index 9b3f0158f995..87f7236ac1a6 100644
--- a/security/apg/pkg-plist
+++ b/security/apg/pkg-plist
@@ -1,2 +1,3 @@
bin/apg
+bin/apgbfm
sbin/apgd