Skip to content

Commit

Permalink
import APG v1.2.13 from Wayback Machine
Browse files Browse the repository at this point in the history
  • Loading branch information
jabenninghoff committed Oct 13, 2019
1 parent e3c8f61 commit c0f9807
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 6 deletions.
9 changes: 7 additions & 2 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
apg-1.2.13
Added support for NetBSD.
(Thanks to Tomasz Luchowski <[email protected]>).

apg-1.2.12
Added support for AIX, and some compatibility reports
Added support for AIX, and some compatibility reports.
(Thanks to Philip Le Riche <[email protected]>).

apg-1.2.11
Changed default owner of apg and apgd (now it is root).
Expand All @@ -13,7 +18,7 @@ apg-1.2.1b
before compilation.
Added option -M for new style password modes specification.
(see apg(1) apgd(8)).
Added support for IRIX
Added support for IRIX.
(Thanks to Andrew J. Caird <[email protected]>)

apg-1.2.1a2
Expand Down
3 changes: 2 additions & 1 deletion README
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
APG v1.2.12 was tested and found working on:
APG v1.2.13 was tested and found working on:

i386 FreeBSD 4.0-RELEASE
NetBSD (reported by Tomasz Luchowski <[email protected]>)
i386 Linux-Mandrake 6.0
i386 Linux-Redhat 7.0
i386 Linux-Mandrake 7.2 (reported by Andrew J. Caird <[email protected]>)
Expand Down
3 changes: 2 additions & 1 deletion THANKS
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ Peter Pentchev <[email protected]>
Adrian Ho <[email protected]>
Andrew J. Caird <[email protected]>
Alexander J Pierce <[email protected]>
Philip Le Riche <[email protected]>
Philip Le Riche <[email protected]>
Tomasz Luchowski <[email protected]>
11 changes: 9 additions & 2 deletions apg.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,21 @@
#include <strings.h>
#include <string.h>
#include <time.h>

#ifdef __NetBSD__
#include <unistd.h>
#endif

#define MAX_MODE_LENGTH 5

#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE
#endif

#ifndef __NetBSD__
#include <unistd.h>
/*#include <crypt.h>*/
#endif

#ifdef __CYGWIN__
#include <getopt.h>
#undef APG_USE_CRYPT
Expand Down Expand Up @@ -220,7 +227,7 @@ main (int argc, char *argv[])
#endif /* CLISERV */
case 'v': /* print version */
printf ("APG (Automated Password Generator)");
printf ("\nversion 1.2.11");
printf ("\nversion 1.2.13");
printf ("\nCopyright (c) 1999, 2000, 2001 Adel I. Mirzazhanov\n");
return (0);
default: /* print help end exit */
Expand Down

0 comments on commit c0f9807

Please sign in to comment.