Skip to content

Commit

Permalink
import APG v2.2.0 from Wayback Machine
Browse files Browse the repository at this point in the history
  • Loading branch information
jabenninghoff committed Oct 13, 2019
1 parent e6c3fd9 commit 490b995
Show file tree
Hide file tree
Showing 33 changed files with 1,655 additions and 386 deletions.
13 changes: 13 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
apg-2.2.0
Added polish translation for APG PHP frontend.
Added option -p (see apg(1) apgd(8)).
Added option -t (see apg(1) apgd(8)).
Added option -l (see apg(1)).
Changed format of the bloom-filter file. Added
converter utility to convert old format to the
new one (bfconvert).
Added option -i (see apgbfm(1)).
Fixed some bugs.
Some compatibility changes.
Changed default apg options.

apg-2.1.0
Some code cleanup.

Expand Down
24 changes: 16 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ FLAGS = -Wall
##################################################################
# Libraries
#
# You should comment the line below for OpenBSD 2.8 and above
# You should comment the line below ('LIBS= -lcrypt')for QNX RTP
# 6.1.0, OpenBSD 2.8 and above, WIN32 (+MinGW)
LIBS = -lcrypt
LIBM = -lm
# Use lines below for cygwin
Expand All @@ -24,6 +25,7 @@ LIBM = -lm
# DO NOT EDIT THE LINE BELOW !!!
CRYPTED_PASS = APG_DONOTUSE_CRYPT
# Coment this if you do not want to use crypted passwords output
# or trying to build programm for win32
CRYPTED_PASS = APG_USE_CRYPT

##################################################################
Expand Down Expand Up @@ -65,26 +67,32 @@ APGD_MAN_DIR = /man/man8
# Uncoment line below for Solaris
#CS_LIBS = -lnsl -lsocket

####################################################################
# QNX RTP 6.1.0
#
# Uncoment line below for QNX RTP 6.1.0
#CS_LIBS = -lsocket

# ====== YOU DO NOT NEED TO MODIFY ANYTHING BELOW THIS LINE ======
# Find group ID for user root
FIND_GROUP = `grep '^root:' /etc/passwd | awk -F: '{ print $$4 }'`

PROGNAME = apg
CS_PROGNAME = apgd
BFM_PROGNAME = apgbfm
BFM_SOURCES = apgbfm.c bloom.c sha/sha.c errors.c getopt.c
BFM_SOURCES = apgbfm.c bloom.c sha/sha.c errors.c getopt.c convert.c
SOURCES = bloom.c ./sha/sha.c ./cast/cast.c rnd.c pronpass.c \
randpass.c restrict.c errors.c apg.c getopt.c
randpass.c restrict.c errors.c apg.c getopt.c convert.c
HEADERS = owntypes.h pronpass.h randpass.h restrict.h errs.h rnd.h \
./cast/cast.h ./cast/cast_sboxes.h getopt.h
./cast/cast.h ./cast/cast_sboxes.h getopt.h convert.h
OBJECTS = rnd.o ./cast/cast.o pronpass.o randpass.o restrict.o apg.o errors.o

standalone: apg apgbfm

all: cliserv standalone

cliserv: apgd apgbfm

standalone: apg apgbfm

cygwin: standalone

apg:
Expand All @@ -94,7 +102,7 @@ apgd:
${CC} ${FLAGS} -DCLISERV -D${USE_SHA} -o ${CS_PROGNAME} ${SOURCES} ${CS_LIBS} ${LIBM}

apgbfm:
${CC} ${FLAGS} -o ${BFM_PROGNAME} ${BFM_SOURCES} ${LIBM}
${CC} ${FLAGS} -DAPGBFM -o ${BFM_PROGNAME} ${BFM_SOURCES} ${LIBM}

strip:
strip ${PROGNAME}
Expand Down Expand Up @@ -136,4 +144,4 @@ fi
fi

clean:
rm -f ${CS_PROGNAME} ${PROGNAME} ${BFM_PROGNAME} ${OBJECTS} core*
rm -f ${CS_PROGNAME} ${PROGNAME} ${BFM_PROGNAME} ${OBJECTS} *core*
28 changes: 6 additions & 22 deletions README
Original file line number Diff line number Diff line change
@@ -1,30 +1,14 @@
APG v2.1.0 was tested and found working on:
APG v2.2.0 was tested and found working on:

i386 FreeBSD 4.6-RELEASE
i386 FreeBSD 5.0-RELEASE
Intel Solaris 8 gcc-2.95.2
SPARC Solaris 8 gcc-2.95.2
QNX PRP 6.0
RedHat Linux 7.2

APG v1.2.13 was tested and found working on:

i386 FreeBSD 4.0-RELEASE
NetBSD (reported by Tomasz Luchowski <[email protected]>)
OpenBSD (reported by Rick VanNorman <[email protected]>)
i386 Linux-Mandrake 6.0
i386 Linux-Redhat 7.0
i386 Linux-Mandrake 7.2 (reported by Andrew J. Caird <[email protected]>)
Intel Solaris 8 gcc-2.95.2
SPARC Solaris 8 gcc-2.95.2
Intel Windows 2000+CYGWIN v1.1.4
HP-UX 10.20 HP ANSI C Compilier (reported by Alexander J Pierce <[email protected]>)
HP-UX 11.00 HP ANSI C Compilier (reported by Alexander J Pierce <[email protected]>)
HP-UX 11.00 gcc-2.95.2 (reported by Andrew J. Caird <[email protected]>)
IRIX 6.5.8 gcc-2.95.2 (reported by Andrew J. Caird <[email protected]>)
AIX 4.3.3+native cc (reported by Philip Le Riche <[email protected]>)
AIX 4.3.3+gcc (reported by Philip Le Riche <[email protected]>)
Mandrake Linux 9.1
Win 2000 Pro

NOTE:
This release (APG v2.1.0b1) is NOT yet compatible with TkAPG (Tcl/Tk frontend for APG)
This release (APG v2.2.0) is NOT compatible with TkAPG (Tcl/Tk frontend for APG)

Any compatibility reports are welcome

Expand Down
4 changes: 4 additions & 0 deletions THANKS
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,7 @@ Joseph P. Crotty <[email protected]>
Schlies, Peter <[email protected]>
Eugene Podkopaev <[email protected]>
Bill Plesko <[email protected]>
Bartosz Sobolewski - Worthy <[email protected]>
James Mancini <[email protected]>
Arno Wilhelm <[email protected]>
Michael Matthews <[email protected]>
Loading

0 comments on commit 490b995

Please sign in to comment.