From 1d4fbef9a6ee33afd51a85cbe306bde950cc64ae Mon Sep 17 00:00:00 2001 From: frueauf Date: Thu, 31 Dec 1998 14:25:30 +0000 Subject: Initial import of pgp-5.0i, PGP 5i (international version). Based on pr 6684 by Martin J. Laubach with heavy refining/fixing by myself. XXX This package needs still some tweaking to work with rsaref. XXX Maybe some US citizen developer can take over? XXX At least its usefull to non-US ppl. --- security/pgp5/Makefile | 49 ++++++++++++++++++++++++++++++++++ security/pgp5/files/md5 | 3 +++ security/pgp5/patches/patch-aa | 15 +++++++++++ security/pgp5/patches/patch-ab | 30 +++++++++++++++++++++ security/pgp5/patches/patch-ac | 10 +++++++ security/pgp5/patches/patch-ad | 10 +++++++ security/pgp5/patches/patch-ae | 13 +++++++++ security/pgp5/patches/patch-af | 60 ++++++++++++++++++++++++++++++++++++++++++ security/pgp5/pkg/COMMENT | 1 + security/pgp5/pkg/DESCR | 5 ++++ security/pgp5/pkg/MESSAGE | 22 ++++++++++++++++ security/pgp5/pkg/PLIST | 21 +++++++++++++++ 12 files changed, 239 insertions(+) create mode 100644 security/pgp5/Makefile create mode 100644 security/pgp5/files/md5 create mode 100644 security/pgp5/patches/patch-aa create mode 100644 security/pgp5/patches/patch-ab create mode 100644 security/pgp5/patches/patch-ac create mode 100644 security/pgp5/patches/patch-ad create mode 100644 security/pgp5/patches/patch-ae create mode 100644 security/pgp5/patches/patch-af create mode 100644 security/pgp5/pkg/COMMENT create mode 100644 security/pgp5/pkg/DESCR create mode 100644 security/pgp5/pkg/MESSAGE create mode 100644 security/pgp5/pkg/PLIST (limited to 'security/pgp5') diff --git a/security/pgp5/Makefile b/security/pgp5/Makefile new file mode 100644 index 00000000000..44665883ffb --- /dev/null +++ b/security/pgp5/Makefile @@ -0,0 +1,49 @@ +# $NetBSD: Makefile,v 1.1.1.1 1998/12/31 14:25:30 frueauf Exp $ +# + +DISTNAME= pgp50i-unix-src +PKGNAME= pgp-5.0i +WRKSRC= ${WRKDIR}/pgp50i/src +CATEGORIES= security +MASTER_SITES= ftp://ftp.pgpi.com/pub/pgp/5.0/unix/ \ + ftp://ftp.at.pgpi.com/pub/pgpi/5.0/unix/ \ + ftp://ftp.se.pgpi.com/pub/pgp/5.0/unix/ \ + ftp://ftp.ch.pgpi.com/pub/pgp/5.0/unix/ \ + ftp://ftp.au.pgpi.com/pub/pgp/5.0/unix/ + +MAINTAINER= mjl@emsi.priv.at +HOMEPAGE= http://www.pgpi.com/ + +BUILD_DEPENDS= perl:../../lang/perl5 + +RESTRICTED= "Cryptographic software" +MIRROR_DISTFILE=no + +GNU_CONFIGURE= YES + +PGPLIB= ${PREFIX}/share/pgp5 + +.include "../../mk/bsd.prefs.mk" + +.if !defined(USE_RSAREF2) || ${USE_RSAREF2} != YES && ${USE_RSAREF2} != NO +pre-fetch: + @${ECHO} + @${ECHO} The variable USE_RSAREF2 must be set to either YES or NO + @${ECHO} in order to build this package. USA residents that are + @${ECHO} not licensees of the RSA algorithm MUST set this variable + @${ECHO} to YES. Users outside the USA MUST set this variable to + @${ECHO} NO. Licensees may choose -- NO is faster. + @${ECHO} + @${ECHO} On the other hand, this package needs more work to + @${ECHO} actually work with RSAREF. Sorry. + @${FALSE} +.endif + +post-patch: + ${MV} ${WRKSRC}/man/pgp.1 ${WRKSRC}/man/pgp5.1 + +post-install: + -${MKDIR} ${PGPLIB} + ${INSTALL_DATA} ${WRKSRC}/language50.txt ${PGPLIB} + +.include "../../mk/bsd.pkg.mk" diff --git a/security/pgp5/files/md5 b/security/pgp5/files/md5 new file mode 100644 index 00000000000..4837c2efa0c --- /dev/null +++ b/security/pgp5/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 1998/12/31 14:25:30 frueauf Exp $ + +MD5 (pgp50i-unix-src.tar.gz) = 7a01203f0053aa78a781367461d52187 diff --git a/security/pgp5/patches/patch-aa b/security/pgp5/patches/patch-aa new file mode 100644 index 00000000000..7bea531b5ff --- /dev/null +++ b/security/pgp5/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.1.1.1 1998/12/31 14:25:30 frueauf Exp $ + +--- config.h.in.orig Sat Feb 7 20:54:56 1998 ++++ config.h.in Thu Dec 31 14:28:22 1998 +@@ -79,6 +79,10 @@ + #define PGP_FREEWARE 1 + #endif + ++#if defined(__NetBSD__) ++#define unix 1 ++#endif ++ + /* Define "UNIX" if we are on UNIX and "UNIX" is not already defined */ + #if defined(unix) || defined(__unix) || defined (__unix__) + #ifndef UNIX diff --git a/security/pgp5/patches/patch-ab b/security/pgp5/patches/patch-ab new file mode 100644 index 00000000000..bc89fccc553 --- /dev/null +++ b/security/pgp5/patches/patch-ab @@ -0,0 +1,30 @@ +$NetBSD: patch-ab,v 1.1.1.1 1998/12/31 14:25:30 frueauf Exp $ + +--- apps/pgp/Makefile.in.orig Sat Feb 7 20:54:56 1998 ++++ apps/pgp/Makefile.in Tue Dec 29 23:55:51 1998 +@@ -6,7 +6,7 @@ + # $Id: patch-ab,v 1.1.1.1 1998/12/31 14:25:30 frueauf Exp $ + # + +-PROG = pgp ++PROG = pgp5 + INSTALLPROGS = $(PROG) + + COMMON=../common +@@ -21,11 +21,11 @@ + + install:: $(PROG) + ( \ +- $(INSTALL) -m 755 pgp $(DESTDIR)$(bindir); \ ++ $(INSTALL) -m 755 pgp5 $(DESTDIR)$(bindir); \ + cd $(DESTDIR)$(bindir); \ + $(RM) pgpe pgps pgpv pgp_old; \ +- $(LN_S) pgp pgpe; \ +- $(LN_S) pgp pgps; \ +- $(LN_S) pgp pgpv; \ +- $(LN_S) pgp pgp_old \ ++ $(LN_S) pgp5 pgpe; \ ++ $(LN_S) pgp5 pgps; \ ++ $(LN_S) pgp5 pgpv; \ ++ $(LN_S) pgp5 pgp_old \ + ) diff --git a/security/pgp5/patches/patch-ac b/security/pgp5/patches/patch-ac new file mode 100644 index 00000000000..9a41d3fbb79 --- /dev/null +++ b/security/pgp5/patches/patch-ac @@ -0,0 +1,10 @@ +$NetBSD: patch-ac,v 1.1.1.1 1998/12/31 14:25:30 frueauf Exp $ + +--- make-mkhdrs.pl-orig Sat Aug 9 23:45:34 1997 ++++ make-mkhdrs.pl Thu Dec 31 14:17:58 1998 +@@ -1,4 +1,4 @@ +-#!/usr/bin/perl ++#!/usr/bin/env perl + # + # make-mkhdrs - Creates a batch file from the Makefile.in files which + # sets up the header file directories for Windows 95. diff --git a/security/pgp5/patches/patch-ad b/security/pgp5/patches/patch-ad new file mode 100644 index 00000000000..2a682c2e274 --- /dev/null +++ b/security/pgp5/patches/patch-ad @@ -0,0 +1,10 @@ +$NetBSD: patch-ad,v 1.1.1.1 1998/12/31 14:25:30 frueauf Exp $ + +--- mklang.pl-orig Sat Aug 9 23:45:37 1997 ++++ mklang.pl Thu Dec 31 14:17:31 1998 +@@ -1,4 +1,4 @@ +-#!/usr/bin/perl ++#!/usr/bin/env perl + # + #This could probably be sed, but I'm feeling lazy. + # diff --git a/security/pgp5/patches/patch-ae b/security/pgp5/patches/patch-ae new file mode 100644 index 00000000000..c722765fe83 --- /dev/null +++ b/security/pgp5/patches/patch-ae @@ -0,0 +1,13 @@ +$NetBSD: patch-ae,v 1.1.1.1 1998/12/31 14:25:30 frueauf Exp $ + +--- man/Makefile.in-orig Sat Feb 7 20:54:57 1998 ++++ man/Makefile.in Thu Dec 31 14:47:01 1998 +@@ -6,7 +6,7 @@ + # $Id: patch-ae,v 1.1.1.1 1998/12/31 14:25:30 frueauf Exp $ + # + +-MAN1=pgp.1 pgpe.1 pgpk.1 pgps.1 pgpv.1 ++MAN1=pgp5.1 pgpe.1 pgpk.1 pgps.1 pgpv.1 + MAN5=pgp.cfg.5 + MAN7=pgp-integration.7 pgp-intro.7 + diff --git a/security/pgp5/patches/patch-af b/security/pgp5/patches/patch-af new file mode 100644 index 00000000000..83c9232a323 --- /dev/null +++ b/security/pgp5/patches/patch-af @@ -0,0 +1,60 @@ +$NetBSD: patch-af,v 1.1.1.1 1998/12/31 14:25:30 frueauf Exp $ + +--- man/pgp.1.orig Sat Feb 7 21:08:26 1998 ++++ man/pgp.1 Thu Dec 31 15:16:09 1998 +@@ -1,38 +1,38 @@ + .\" +-.\" pgp.1 ++.\" pgp5.1 + .\" + .\" Copyright (C) 1997 Pretty Good Privacy, Inc. All rights reserved. + .\" + .\" $Id: patch-af,v 1.1.1.1 1998/12/31 14:25:30 frueauf Exp $ + .\" + .\" Process this file with +-.\" groff -man -Tascii pgp.1 ++.\" groff -man -Tascii pgp5.1 + .\" +-.TH PGP 1 "JULY 1997 (v5.0)" PGP "User Manual" ++.TH PGP5 1 "JULY 1997 (v5.0)" PGP "User Manual" + .SH NAME +-PGP \- A suite of tools for encrypting, decrypting and verifying ++PGP5 \- A suite of tools for encrypting, decrypting and verifying + messages. + .SH DESCRIPTION + There are two files in this package, but several additional modes of + operation are available via symbolic links: + + .RS +-.BR pgp (1) ++.BR pgp5 (1) + is the main cryptographic engine of the PGP package. However, + invoking it as itself merely prints a usage summary. + + .BR pgpe (1) + is executed to encrypt, or encrypt and sign, files. It is a link to +-.BR pgp (1). ++.BR pgp5 (1). + + .BR pgps (1) + is executed to only sign files. It is a link to +-.BR pgp (1). ++.BR pgp5 (1). + + .BR pgpv (1) + is executed to only verify or decrypt signed or encrypted files. It + is a link to +-.BR pgp (1). ++.BR pgp5 (1). + + .BR pgpk (1) + is the key management application, which is used to generate, +@@ -167,7 +167,7 @@ + There is currently no way to specify just a secret or public keyring + for an operation. + +-.B pgp --version ++.B pgp5 --version + doesn't work. Use + .B pgpk --version + or one of the other commands, instead. diff --git a/security/pgp5/pkg/COMMENT b/security/pgp5/pkg/COMMENT new file mode 100644 index 00000000000..369cabb9bc1 --- /dev/null +++ b/security/pgp5/pkg/COMMENT @@ -0,0 +1 @@ +PGP 5i (international version). diff --git a/security/pgp5/pkg/DESCR b/security/pgp5/pkg/DESCR new file mode 100644 index 00000000000..b298a0bbd92 --- /dev/null +++ b/security/pgp5/pkg/DESCR @@ -0,0 +1,5 @@ +PGP (Pretty Good Privacy) is a public key encryption package to protect +E-mail and data files. It lets you communicate securely with people +you've never met, with no secure channels needed for prior exchange of +keys. It's well featured and fast, with sophisticated key management, +digital signatures, data compression, and good ergonomic design. diff --git a/security/pgp5/pkg/MESSAGE b/security/pgp5/pkg/MESSAGE new file mode 100644 index 00000000000..a7eb9839c07 --- /dev/null +++ b/security/pgp5/pkg/MESSAGE @@ -0,0 +1,22 @@ +---------------------------------------------------------------------- +There are a number of large changes from the 2.6.2 distribution. Most +notable is that the command line has changed substantially. See +the pgp(1) man page for a discussion of how to use the new command +line. + +Also, to allow easy interoperation with older versions on the same +system, a number of filename changes have been made: + +~/.pgp/pubring.pgp is now ~/.pgp/pubring.pkr +~/.pgp/secring.pgp is now ~/.pgp/secring.skr +~/.pgp/config.txt is now ~/.pgp/pgp.cfg +~/.pgp/language.txt is now ~/.pgp/language50.txt + +The application will NOT automatically migrate these files for you; if +you wish to retain your existing keyrings and configuration files, you +should copy them yourself. Note that copying language.txt to +language50.txt is a decidedly bad idea. Also note that language50.txt +is entirely optional; US English is the only language it contains at +this time. + +---------------------------------------------------------------------- diff --git a/security/pgp5/pkg/PLIST b/security/pgp5/pkg/PLIST new file mode 100644 index 00000000000..c946e17b11d --- /dev/null +++ b/security/pgp5/pkg/PLIST @@ -0,0 +1,21 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1998/12/31 14:25:30 frueauf Exp $ +bin/pgp5 +bin/pgpe +bin/pgpk +bin/pgps +bin/pgpv +bin/pgp_old +lib/libbn.a +lib/libpgp.a +lib/libpgptty.a +lib/libsimple.a +man/man1/pgp5.1 +man/man1/pgpe.1 +man/man1/pgpk.1 +man/man1/pgps.1 +man/man1/pgpv.1 +man/man5/pgp.cfg.5 +man/man7/pgp-intro.7 +man/man7/pgp-integration.7 +share/pgp5/language50.txt +@dirrm share/pgp5 -- cgit v1.2.3