From da42f1d094e268d8bab29e2bf9be6dc0905593ca Mon Sep 17 00:00:00 2001 From: hubertf Date: Mon, 5 Mar 2001 23:21:03 +0000 Subject: Add apg-1.2.12: Tool set for random password generation An automated password generator, using several strong algorithms for random and/or pronounceable password generation, and a built-in pseudo-random number generator. Package contributed by Tomasz Luchowski in PR 12010 --- security/apg/Makefile | 23 +++++++++++++++++++++++ security/apg/files/md5 | 3 +++ security/apg/files/patch-sum | 4 ++++ security/apg/patches/patch-aa | 23 +++++++++++++++++++++++ security/apg/patches/patch-ab | 14 ++++++++++++++ security/apg/pkg/DESCR | 3 +++ security/apg/pkg/MESSAGE | 1 + security/apg/pkg/PLIST | 6 ++++++ 8 files changed, 77 insertions(+) create mode 100644 security/apg/Makefile create mode 100644 security/apg/files/md5 create mode 100644 security/apg/files/patch-sum create mode 100644 security/apg/patches/patch-aa create mode 100644 security/apg/patches/patch-ab create mode 100644 security/apg/pkg/DESCR create mode 100644 security/apg/pkg/MESSAGE create mode 100644 security/apg/pkg/PLIST (limited to 'security') diff --git a/security/apg/Makefile b/security/apg/Makefile new file mode 100644 index 00000000000..c30ebb568cf --- /dev/null +++ b/security/apg/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/03/05 23:21:03 hubertf Exp $ +# + +DISTNAME= apg-1.2.12 +CATEGORIES= security +MASTER_SITES= http://www.adel.nursat.kz/apg/download/ + +MAINTAINER= zuntum@eik.pl +HOMEPAGE= http://www.adel.nursat.kz/apg/ +COMMENT= Tool set for random password generation + +MAKE_ENV+= "CC=${CC}" \ + "FLAGS=${CFLAGS}" \ + "INSTALL_PREFIX=${PREFIX}" + +post-patch: + ${SED} "s|/usr/bin/perl|${LOCALBASE}/bin/perl|g" \ + ${WRKSRC}/perl/apgcli.pl > ${WRKDIR}/apgcli.pl + +post-install: + ${INSTALL_SCRIPT} ${WRKDIR}/apgcli.pl ${PREFIX}/bin/apgcli + +.include "../../mk/bsd.pkg.mk" diff --git a/security/apg/files/md5 b/security/apg/files/md5 new file mode 100644 index 00000000000..27b8f3db1b3 --- /dev/null +++ b/security/apg/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2001/03/05 23:21:03 hubertf Exp $ + +MD5 (apg-1.2.12.tar.gz) = 02f183cd1170aef922e90c75e81e041d diff --git a/security/apg/files/patch-sum b/security/apg/files/patch-sum new file mode 100644 index 00000000000..e457ac3aab7 --- /dev/null +++ b/security/apg/files/patch-sum @@ -0,0 +1,4 @@ +$NetBSD: patch-sum,v 1.1.1.1 2001/03/05 23:21:03 hubertf Exp $ + +MD5 (patch-aa) = b7b4403483a8c7f9f38bcee2736fbb9a +MD5 (patch-ab) = 6dea5f12ef3b1f42a5b3a04bdfe814e9 diff --git a/security/apg/patches/patch-aa b/security/apg/patches/patch-aa new file mode 100644 index 00000000000..3daae35129c --- /dev/null +++ b/security/apg/patches/patch-aa @@ -0,0 +1,23 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/03/05 23:21:03 hubertf Exp $ + +--- Makefile.orig Thu Feb 22 12:00:10 2001 ++++ Makefile +@@ -1,10 +1,8 @@ + # You can modify CC variable if you have compiler other than GCC + # But the code was designed and tested with GCC +-CC = gcc + + # compilation flags + # You should comment the line below for AIX+native cc +-FLAGS = -Wall + + # libraries + LIBS = -lcrypt +@@ -15,7 +13,6 @@ + CRYPTED_PASS = APG_USE_CRYPT + + # Install dirs +-INSTALL_PREFIX = /usr/local + APG_BIN_DIR = /bin + APG_MAN_DIR = /man/man1 + APGD_BIN_DIR = /sbin diff --git a/security/apg/patches/patch-ab b/security/apg/patches/patch-ab new file mode 100644 index 00000000000..74aae0965ca --- /dev/null +++ b/security/apg/patches/patch-ab @@ -0,0 +1,14 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/03/05 23:21:03 hubertf Exp $ + +--- apg.c.orig Thu Feb 22 12:00:10 2001 ++++ apg.c +@@ -35,6 +35,9 @@ + #include + #include + #include ++#ifdef __NetBSD__ ++#include ++#endif + #define MAX_MODE_LENGTH 5 + + #ifndef _XOPEN_SOURCE diff --git a/security/apg/pkg/DESCR b/security/apg/pkg/DESCR new file mode 100644 index 00000000000..f60a0c92f42 --- /dev/null +++ b/security/apg/pkg/DESCR @@ -0,0 +1,3 @@ +An automated password generator, using several strong algorithms +for random and/or pronounceable password generation, and a built-in +pseudo-random number generator. diff --git a/security/apg/pkg/MESSAGE b/security/apg/pkg/MESSAGE new file mode 100644 index 00000000000..9974e07766b --- /dev/null +++ b/security/apg/pkg/MESSAGE @@ -0,0 +1 @@ +You will need perl to use ${PREFIX}/bin/apgcli diff --git a/security/apg/pkg/PLIST b/security/apg/pkg/PLIST new file mode 100644 index 00000000000..5acfdc63449 --- /dev/null +++ b/security/apg/pkg/PLIST @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/05 23:21:03 hubertf Exp $ +bin/apg +bin/apgcli +sbin/apgd +man/man1/apg.1 +man/man8/apgd.8 -- cgit v1.2.3