diff options
author | heinz <heinz@pkgsrc.org> | 2004-03-07 03:28:44 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2004-03-07 03:28:44 +0000 |
commit | 0b6104e7e573ee5ba985930acdb058338224eda8 (patch) | |
tree | ca9ea0ee877e047b64cd098ef1f894aed4dbc463 /security/p5-Crypt-OpenPGP | |
parent | f47c4248ab8aa8c0a5f5cae38ae098c958e4d2b7 (diff) | |
download | pkgsrc-0b6104e7e573ee5ba985930acdb058338224eda8.tar.gz |
Updated to version 1.03
Adapted to buildlink3
No INTERACTIVE_STAGE anymore
Changes sinces 0.17
===================
1.03 2002.12.09
- Makefile.PL now uses ExtUtils::AutoInstall. Thanks to Autrijus Tang
for the note.
- SIGNATURE file now included with distribution.
- Added --version to bin/pgplet, which lists supported ciphers, digests,
etc., along with version information.
- Added Crypt::OpenPGP::KeyBlock::save_armoured, to save an armoured
version of the keyblock (useful for exporting public keys).
- encrypt and verify no longer fail if there are no public keyrings,
in case lookup in a keyserver is desired.
- Added Crypt::OpenPGP::Digest::supported and
Crypt::OpenPGP::Cipher::supported.
- Fixed bug where signed cleartext has \r characters in the header.
1.02 2002.10.12
- encrypt and verify now support auto-retrieval of public keys from
an HKP keyserver, if the keys are not found in the local keyring.
- Added support for the SHA-1 integrity checks on secret keys used
by gnupg 1.0.7. Thanks to Chip Turner for the spot.
- Added a --local-user|-u option to bin/pgplet to support using a
different secret key for signing. Thanks to Joseph Pepin for the
patch.
- new() now accepts Crypt::OpenPGP::KeyRing objects for the PubRing
and SecRing parameters.
- Fixed a bug in decrypt where passing in a "Key" param to decrypt a
message encrypted to multiple recipients did not work. Thanks to
rdailey for the spot.
- ElGamal self-signatures no longer cause an error.
- Added LWP::UserAgent and URI::Escape to prereqs, for keyserver.
- Added Crypt::OpenPGP::Signature::digest accessor. Thanks to Bob
Mathews for the patch.
1.01 2002.07.15
- Added Crypt::OpenPGP::handle, a DWIM wrapper around the other
high-level interface methods. Given data, it determines whether the
data needs to be decrypted, verified, or both. And then it does what
it's supposed to do.
- Added Crypt::OpenPGP::Signature::timestamp to return the created-on
time for a signature. Also, Crypt::OpenPGP::decrypt and
Crypt::OpenPGP::verify now return the Crypt::OpenPGP::Signature object
if called in list context (and, in the case of decrypt, if there is
a signature). Thanks to Erik Arneson for the patches.
- Fixed a bug in decrypt with uncompressed encrypted signed data.
Thanks to Erik Arneson for the spot.
- Fixed a bug in Crypt::OpenPGP::Message with clearsigned messages, if
the text and signature were contained in a block of text containing
more PGP messages/signatures.
- Fixed a nasty, evil, stupid compatibility bug with canonical text.
Namely, pgp2 and pgp5 do not trim trailing whitespace from "canonical
text" signatures, only from cleartext signatures. This was causing
invalid signatures which should not have been invalid. Thanks to
Erik Arneson for the spot.
- Added Crypt::OpenPGP::KeyServer, which does lookups against an HKP
keyserver.
1.00 2002.02.26
- CAST5 is now supported thanks to Crypt::CAST5_PP from Bob Mathews.
- bin/pgplet now supports encrypting and decrypting symmetrically-
encrypted messages.
- The PassphraseCallback argument to Crypt::OpenPGP::decrypt can now
be used to supply a callback for symmetrically-encrypted packets,
as well as public-key-encrypted packets.
- Fix a bug with encrypted, signed text--the signature was being
armoured, which led to errors from the process trying to decrypt and
verify.
- Fix a bug with symmetric-encrypted session keys w/r/t generation for
PGP2--PGP2 doesn't understand symmetric-encrypted session keys, so we
need to leave them out when Compat is PGP2. Also, we need to use the
'Simple' S2k rather than the default, 'Salt_Iter'.
- Fix a key generation bug where GnuPG will not import generated public
keys, because the self-signature is invalid; signature needs to be on
key data *and* user ID. Thanks to Joel Rowles for the spot.
- Fix bug in ElGamal encryption and k generation.
0.18 2002.01.29
- Added IsPacketStream parameter to Crypt::OpenPGP::Message; this turns
off armour detection when initializing the message, and can be used
when you *know* that the message is a stream of packets, and not an
ASCII-armoured stream of packets.
- When unarmouring, remove \r characters from the armoured text end
of lines.
- Added Crypt::OpenPGP::KeyRing::save method. Thanks to Ben Xain for
the idea and a patch.
- Added compatibility with symmetric-key-encrypted files that do not
have a symmetric-key session key packet. The assumption with these
encrypted messages is that they are PGP2-encrypted, using the IDEA
cipher, MD5 digests, and a Simple s2k. So that is how the fix has
been implemented. Thanks to Ben Xain for the bug report.
- Win32 fixes: use binmode when reading files that might be binary.
- Added --symmetric and --digest options to Makefile.PL to set
symmetric and digest algorithms when using --sdk.
- Fixed subkey IDs in list-keys with bin/pgplet.
- Check for errors when reading keyring.
Diffstat (limited to 'security/p5-Crypt-OpenPGP')
-rw-r--r-- | security/p5-Crypt-OpenPGP/Makefile | 35 | ||||
-rw-r--r-- | security/p5-Crypt-OpenPGP/distinfo | 7 | ||||
-rw-r--r-- | security/p5-Crypt-OpenPGP/patches/patch-aa | 22 |
3 files changed, 24 insertions, 40 deletions
diff --git a/security/p5-Crypt-OpenPGP/Makefile b/security/p5-Crypt-OpenPGP/Makefile index 870e083df72..dfccab8ee01 100644 --- a/security/p5-Crypt-OpenPGP/Makefile +++ b/security/p5-Crypt-OpenPGP/Makefile @@ -1,36 +1,43 @@ -# $NetBSD: Makefile,v 1.9 2003/07/21 17:20:15 martti Exp $ +# $NetBSD: Makefile,v 1.10 2004/03/07 03:28:44 heinz Exp $ # -DISTNAME= Crypt-OpenPGP-0.17 +DISTNAME= Crypt-OpenPGP-1.03 PKGNAME= p5-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= # empty SVR4_PKGNAME= p5pgp CATEGORIES= security perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Crypt/} -MAINTAINER= tech-pkg@NetBSD.org -#HOMEPAGE= +MAINTAINER= heinz@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/Crypt-OpenPGP/ COMMENT= Perl5 module for OpenPGP support -DEPENDS+= p5-MIME-Base64-[0-9]*:../../converters/p5-MIME-Base64 DEPENDS+= p5-Compress-Zlib-[0-9]*:../../devel/p5-Compress-Zlib +DEPENDS+= p5-Crypt-Blowfish-[0-9]*:../../security/p5-Crypt-Blowfish +DEPENDS+= p5-Crypt-CAST5_PP-[0-9]*:../../security/p5-Crypt-CAST5_PP DEPENDS+= p5-Crypt-DES-[0-9]*:../../security/p5-Crypt-DES DEPENDS+= p5-Crypt-DES_EDE3-[0-9]*:../../security/p5-Crypt-DES_EDE3 -DEPENDS+= p5-Crypt-Blowfish-[0-9]*:../../security/p5-Crypt-Blowfish -DEPENDS+= p5-Data-Buffer-[0-9]*:../../devel/p5-Data-Buffer -DEPENDS+= p5-Math-Pari-[0-9]*:../../math/p5-Math-Pari -DEPENDS+= p5-Crypt-Twofish-[0-9]*:../../security/p5-Crypt-Twofish +DEPENDS+= p5-Crypt-DSA-[0-9]*:../../security/p5-Crypt-DSA DEPENDS+= p5-Crypt-Rijndael-[0-9]*:../../security/p5-Crypt-Rijndael DEPENDS+= p5-Crypt-RIPEMD160-[0-9]*:../../security/p5-Crypt-RIPEMD160 DEPENDS+= p5-Crypt-RSA-[0-9]*:../../security/p5-Crypt-RSA -DEPENDS+= p5-Crypt-DSA-[0-9]*:../../security/p5-Crypt-DSA +DEPENDS+= p5-Crypt-Twofish>=2.00:../../security/p5-Crypt-Twofish +DEPENDS+= p5-Data-Buffer>=0.04:../../devel/p5-Data-Buffer +DEPENDS+= p5-Digest-MD5-[0-9]*:../../security/p5-Digest-MD5 +DEPENDS+= p5-Digest-SHA1-[0-9]*:../../security/p5-Digest-SHA1 +# contains LWP::UserAgent +DEPENDS+= p5-libwww>=5.10:../../www/p5-libwww +DEPENDS+= p5-Math-Pari-[0-9]*:../../math/p5-Math-Pari +DEPENDS+= p5-MIME-Base64-[0-9]*:../../converters/p5-MIME-Base64 +DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI # hmmm #DEPENDS+= p5-Crypt-IDEA-[0-9]*:../../security/p5-Crypt-IDEA -INTERACTIVE_STAGE= configure # need to select ciphers and digests +PKG_INSTALLATION_TYPES= overwrite pkgviews -USE_BUILDLINK2= YES -# more than one? +MAKE_ENV+= PERL_EXTUTILS_AUTOINSTALL=--skipdeps +USE_BUILDLINK3= YES +USE_LANGUAGES= # empty PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Crypt/OpenPGP/.packlist .include "../../lang/perl5/module.mk" diff --git a/security/p5-Crypt-OpenPGP/distinfo b/security/p5-Crypt-OpenPGP/distinfo index 99aa0afe6a3..8d8f26c32f8 100644 --- a/security/p5-Crypt-OpenPGP/distinfo +++ b/security/p5-Crypt-OpenPGP/distinfo @@ -1,5 +1,4 @@ -$NetBSD: distinfo,v 1.2 2001/10/21 11:11:23 wiz Exp $ +$NetBSD: distinfo,v 1.3 2004/03/07 03:28:44 heinz Exp $ -SHA1 (Crypt-OpenPGP-0.17.tar.gz) = e3f65291b63f3666980de8aee29e701b1814d622 -Size (Crypt-OpenPGP-0.17.tar.gz) = 70872 bytes -SHA1 (patch-aa) = 40dd13adaf7a740d2f9681fe78d1e0765e876890 +SHA1 (Crypt-OpenPGP-1.03.tar.gz) = 5f3f744d2a44f415e057f2ceef0f026c79d3d0b7 +Size (Crypt-OpenPGP-1.03.tar.gz) = 96872 bytes diff --git a/security/p5-Crypt-OpenPGP/patches/patch-aa b/security/p5-Crypt-OpenPGP/patches/patch-aa deleted file mode 100644 index 733f7c5080b..00000000000 --- a/security/p5-Crypt-OpenPGP/patches/patch-aa +++ /dev/null @@ -1,22 +0,0 @@ -$NetBSD: patch-aa,v 1.1 2001/10/21 11:11:23 wiz Exp $ - ---- Makefile.PL.orig Wed Oct 3 16:20:14 2001 -+++ Makefile.PL Wed Oct 3 16:22:04 2001 -@@ -65,7 +65,7 @@ - for my $ciph (@cryptmod) { - printf " [%d] %s\n", $i++, $ciph->[0]; - } -- my $c = prompt("\nEnter your choices, separated by spaces:", 1); -+ my $c = prompt("\nEnter your choices, separated by spaces:", "1 3 4 5"); - print "\n"; - - for my $id (split /\s+/, $c) { -@@ -86,7 +86,7 @@ - for my $ciph (@dgstmod) { - printf " [%d] %s\n", $i++, $ciph->[0]; - } -- my $c = prompt("\nEnter your choices, separated by spaces:", 2); -+ my $c = prompt("\nEnter your choices, separated by spaces:", "1 2 3"); - print "\n"; - - for my $id (split /\s+/, $c) { |