aboutsummaryrefslogtreecommitdiff
path: root/security/apg
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2002-05-21 10:25:17 +0000
committerPeter Pentchev <roam@FreeBSD.org>2002-05-21 10:25:17 +0000
commitd33b7956a4f49bd95d7f08e1882ca858913db1bc (patch)
tree780444e23acee50cc20c66b2de30894a9378cc4a /security/apg
parent1466dc0c5a9a2f1f91d751cbf1f90bbf5ff3f93b (diff)
downloadports-d33b7956a4f49bd95d7f08e1882ca858913db1bc.tar.gz
ports-d33b7956a4f49bd95d7f08e1882ca858913db1bc.zip
Update to apg-2.0.0final.
PR: 38311 Submitted by: Dominic Marks <dominic_marks@btinternet.com>
Notes
Notes: svn path=/head/; revision=59614
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