APG v1.2.13

This commit is contained in:
Adel I. Mirzazhanov
2001-02-27 12:24:14 +06:00
committed by skinc
parent c777362a38
commit 8b93e6095b
4 changed files with 20 additions and 6 deletions

View File

@@ -1,5 +1,10 @@
apg-1.2.13
Added support for NetBSD.
(Thanks to Tomasz Luchowski <zuntum@eik.pl>).
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 <pleriche@uk03.bull.co.uk>).
apg-1.2.11
Changed default owner of apg and apgd (now it is root).
@@ -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 <acaird@advance-inc.com>)
apg-1.2.1a2

3
README
View File

@@ -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 <zuntum@eik.pl>)
i386 Linux-Mandrake 6.0
i386 Linux-Redhat 7.0
i386 Linux-Mandrake 7.2 (reported by Andrew J. Caird <acaird@advance-inc.com>)

1
THANKS
View File

@@ -8,3 +8,4 @@ Adrian Ho <lexfiend@usa.net>
Andrew J. Caird <acaird@advance-inc.com>
Alexander J Pierce <apierce@boi.hp.com>
Philip Le Riche <pleriche@uk03.bull.co.uk>
Tomasz Luchowski <zuntum@eik.pl>

11
apg.c
View File

@@ -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
@@ -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 */