Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jul 2001 01:54:35 -0400 (EDT)
From:      Pete Fritchman <petef@databits.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/28758: New port: security/apg
Message-ID:  <200107060554.f665sZD83341@electron.databits.net>

next in thread | raw e-mail | index | archive | help

>Number:         28758
>Category:       ports
>Synopsis:       New port: security/apg
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 05 23:00:09 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Pete Fritchman
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
Databits Network Services, Inc.
>Environment:
System: FreeBSD electron.databits.net 4.3-STABLE FreeBSD 4.3-STABLE #7: Mon Jun 11 10:15:45 EDT 2001 root@electron.databits.net:/usr/obj/usr/src/sys/ELECTRON i386

>Description:

apg generates several random passwords.  It  uses  several password
generation  algorithms  (currently  two)  and  a built-in pseudo
random number generator.  This package also also comes with apgd,
a password generation server that follows RFC972.

WWW: http://www.adel.nursat.kz/apg/

>How-To-Repeat:

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	apg
#	apg/pkg-descr
#	apg/pkg-plist
#	apg/Makefile
#	apg/distinfo
#	apg/pkg-comment
#	apg/files
#	apg/files/patch-Makefile
#
echo c - apg
mkdir -p apg > /dev/null 2>&1
echo x - apg/pkg-descr
sed 's/^X//' >apg/pkg-descr << 'END-of-apg/pkg-descr'
Xapg generates several random passwords.  It  uses  several password
Xgeneration  algorithms  (currently  two)  and  a built-in pseudo
Xrandom number generator.  This package also also comes with apgd,
Xa password generation server that follows RFC972.
X
XWWW: http://www.adel.nursat.kz/apg/
X
X- Pete
Xpetef@databits.net
END-of-apg/pkg-descr
echo x - apg/pkg-plist
sed 's/^X//' >apg/pkg-plist << 'END-of-apg/pkg-plist'
Xbin/apg
Xbin/apgbfm
Xsbin/apgd
X%%PORTDOCS%%share/doc/apg/APG_TIPS
X%%PORTDOCS%%share/doc/apg/rfc0972.txt
X%%PORTDOCS%%share/doc/apg/rfc1750.txt
X%%PORTDOCS%%@dirrm share/doc/apg
END-of-apg/pkg-plist
echo x - apg/Makefile
sed 's/^X//' >apg/Makefile << 'END-of-apg/Makefile'
X# New ports collection makefile for:	apg
X# Date Created:				6 July 2001
X# Whom:					Pete Fritchman <petef@databits.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	apg
XPORTVERSION=	2.0.0a3
XCATEGORIES=	security
XMASTER_SITES=	http://www.adel.nursat.kz/apg/download/
X
XMAINTAINER=	petef@databits.net
X
XUSE_PERL5=	yes
X
XMAN1=	apg.1 apgbfm.1
XMAN8=	apgd.8
X
Xpost-patch:
X	@${PERL} -pi -e 's!%%PREFIX%%!${PREFIX}!' ${WRKSRC}/Makefile
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${PREFIX}/share/doc/apg
X	${INSTALL_DATA} ${WRKSRC}/doc/APG_TIPS ${PREFIX}/share/doc/apg
X	${INSTALL_DATA} ${WRKSRC}/doc/rfc0972.txt ${PREFIX}/share/doc/apg
X	${INSTALL_DATA} ${WRKSRC}/doc/rfc1750.txt ${PREFIX}/share/doc/apg
X.endif
X
X.include <bsd.port.mk>
END-of-apg/Makefile
echo x - apg/distinfo
sed 's/^X//' >apg/distinfo << 'END-of-apg/distinfo'
XMD5 (apg-2.0.0a3.tar.gz) = 690d72762468ad437d32f63f49d938cd
END-of-apg/distinfo
echo x - apg/pkg-comment
sed 's/^X//' >apg/pkg-comment << 'END-of-apg/pkg-comment'
XAPG is a toolset for random password generation
END-of-apg/pkg-comment
echo c - apg/files
mkdir -p apg/files > /dev/null 2>&1
echo x - apg/files/patch-Makefile
sed 's/^X//' >apg/files/patch-Makefile << 'END-of-apg/files/patch-Makefile'
X--- Makefile.orig	Fri Jul  6 01:34:10 2001
X+++ Makefile	Fri Jul  6 01:35:33 2001
X@@ -1,12 +1,12 @@
X ##################################################################
X # You can modify CC variable if you have compiler other than GCC
X # But the code was designed and tested with GCC
X-CC = gcc
X+CC ?= gcc
X 
X ##################################################################
X # Compilation flags
X # You should comment the line below for AIX+native cc
X-FLAGS = -Wall
X+FLAGS = ${CFLAGS} -Wall
X 
X ##################################################################
X # Libraries
X@@ -37,7 +37,7 @@
X ##################################################################
X # Directories
X # Install dirs
X-INSTALL_PREFIX = /usr/local
X+INSTALL_PREFIX = %%PREFIX%%
X APG_BIN_DIR = /bin
X APG_MAN_DIR = /man/man1
X APGD_BIN_DIR = /sbin
END-of-apg/files/patch-Makefile
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107060554.f665sZD83341>