- update to 0.24
- CPAN'ify - distributable under the same license terms as perl itself from new maintainer Andreas Voegele <andreas at altroot.de>
This commit is contained in:
parent
07c95766b9
commit
6c2732bdea
@ -1,27 +1,27 @@
|
||||
# $OpenBSD: Makefile,v 1.5 2004/12/27 13:28:34 alek Exp $
|
||||
# $OpenBSD: Makefile,v 1.6 2006/12/29 10:19:52 jasper Exp $
|
||||
|
||||
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= "RSA encoding and decoding using OpenSSL"
|
||||
|
||||
VERSION= 0.19
|
||||
DISTNAME= Crypt-OpenSSL-RSA-${VERSION}
|
||||
PKGNAME= p5-${DISTNAME}
|
||||
CATEGORIES= security perl5
|
||||
MODULES= cpan
|
||||
|
||||
DISTNAME= Crypt-OpenSSL-RSA-0.24
|
||||
CATEGORIES= security
|
||||
HOMEPAGE= http://perl-openssl.sourceforge.net/
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Crypt/}
|
||||
|
||||
MAINTAINER= Wesley Griffin <wgriffin@jtan.com>
|
||||
MAINTAINER= Andreas Voegele <andreas@altroot.de>
|
||||
|
||||
# Perl
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
PERMIT_PACKAGE_CDROM= "No license"
|
||||
PERMIT_PACKAGE_FTP= "No license"
|
||||
PERMIT_DISTFILES_CDROM= "No license"
|
||||
PERMIT_DISTFILES_FTP= "No license"
|
||||
WANTLIB= crypto ssl
|
||||
|
||||
RUN_DEPENDS= :p5-Crypt-OpenSSL-Random->=0.03:security/p5-Crypt-OpenSSL-Random
|
||||
RUN_DEPENDS= :p5-Crypt-OpenSSL-Random->=0.03:security/p5-Crypt-OpenSSL-Random \
|
||||
:p5-Crypt-OpenSSL-Bignum->=0.03:security/p5-Crypt-OpenSSL-Bignum
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
|
||||
CONFIGURE_STYLE= perl
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
MD5 (Crypt-OpenSSL-RSA-0.19.tar.gz) = 87a308bf752ffd74b8034a906184e116
|
||||
RMD160 (Crypt-OpenSSL-RSA-0.19.tar.gz) = 7134b8cdd5f27021b8a70c44893372f0cf7921ce
|
||||
SHA1 (Crypt-OpenSSL-RSA-0.19.tar.gz) = 7633a523588ae95551468ce7aec01fa3317f1ba9
|
||||
SIZE (Crypt-OpenSSL-RSA-0.19.tar.gz) = 11227
|
||||
MD5 (Crypt-OpenSSL-RSA-0.24.tar.gz) = 5760e2678cd9e1aa33b40d5d216899c8
|
||||
RMD160 (Crypt-OpenSSL-RSA-0.24.tar.gz) = 92468e2ae97fce7c1278b25bafd7458e1c32df65
|
||||
SHA1 (Crypt-OpenSSL-RSA-0.24.tar.gz) = d8258622fd50292d0980acd682b6522804a887a5
|
||||
SIZE (Crypt-OpenSSL-RSA-0.24.tar.gz) = 11847
|
||||
|
12
security/p5-Crypt-OpenSSL-RSA/patches/patch-t_rsa_t
Normal file
12
security/p5-Crypt-OpenSSL-RSA/patches/patch-t_rsa_t
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-t_rsa_t,v 1.1 2006/12/29 10:19:52 jasper Exp $
|
||||
--- t/rsa.t.orig Mon Nov 13 01:01:04 2006
|
||||
+++ t/rsa.t Thu Dec 28 13:11:23 2006
|
||||
@@ -4,7 +4,7 @@ use Test;
|
||||
use Crypt::OpenSSL::Random;
|
||||
use Crypt::OpenSSL::RSA;
|
||||
|
||||
-BEGIN { plan tests => 45 + (UNIVERSAL::can("Crypt::OpenSSL::RSA", "use_sha512_hash") ? 3*6 : 0) }
|
||||
+BEGIN { plan tests => 43 + (UNIVERSAL::can("Crypt::OpenSSL::RSA", "use_sha512_hash") ? 4*5 : 0) }
|
||||
|
||||
sub _Test_Encrypt_And_Decrypt
|
||||
{
|
@ -1,14 +1,17 @@
|
||||
This module is an XS perl module designed to provide basic RSA
|
||||
Crypt::OpenSSL::RSA is an XS perl module designed to provide basic RSA
|
||||
functionality. It does this by providing a glue to the RSA functions
|
||||
in the OpenSSL library. In particular, it provides the following
|
||||
functions:
|
||||
in the OpenSSL library. In particular, it provides the following functions:
|
||||
|
||||
loadPublicKey, loadPrivateKey - load a key from a string
|
||||
getPublicKeyString, getPrivateKeyString - save a key to a string
|
||||
generateKey - make a new key
|
||||
encrypt, decrypt, sign, verify,
|
||||
use_pkcs1_oaep_padding, use_pkcs1_padding,
|
||||
use_sslv23_padding, use_no_padding,
|
||||
use_md5_hash, use_sha1_hash, use_ripemd60_hash
|
||||
size - returns the size, in bytes, of the key
|
||||
checkKey - checks the validity of the key
|
||||
new_public_key, new_private_key - create a key from a string
|
||||
generate_key - make a new key
|
||||
get_private_key_string - save key to a string
|
||||
get_public_key_string - save public portion of key to a string
|
||||
get_public_key_x509_string - save public portion of key to a string,
|
||||
using format compatibe with OpenSSL's
|
||||
command-line rsa tool
|
||||
encrypt, decrypt, private_encrypt, public_decrypt, sign, verify,
|
||||
use_pkcs1_oaep_padding, use_pkcs1_padding,
|
||||
use_sslv23_padding, use_no_padding
|
||||
use_md5_hash, use_sha1_hash, use_ripemd160_hash
|
||||
size - Returns the size, in bytes, of the key.
|
||||
check_key - checks the validity of a key.
|
||||
|
@ -1,24 +1,11 @@
|
||||
@comment $OpenBSD: PLIST,v 1.4 2004/09/15 18:36:01 espie Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.5 2006/12/29 10:19:52 jasper Exp $
|
||||
${P5ARCH}/Crypt/OpenSSL/RSA.pm
|
||||
${P5ARCH}/auto/Crypt/OpenSSL/RSA/
|
||||
${P5ARCH}/auto/Crypt/OpenSSL/RSA/DESTROY.al
|
||||
${P5ARCH}/auto/Crypt/OpenSSL/RSA/RSA.bs
|
||||
${P5ARCH}/auto/Crypt/OpenSSL/RSA/RSA.so
|
||||
${P5ARCH}/auto/Crypt/OpenSSL/RSA/_new.al
|
||||
${P5ARCH}/auto/Crypt/OpenSSL/RSA/_set_padding_mode.al
|
||||
${P5ARCH}/auto/Crypt/OpenSSL/RSA/autosplit.ix
|
||||
${P5ARCH}/auto/Crypt/OpenSSL/RSA/generate_key.al
|
||||
${P5ARCH}/auto/Crypt/OpenSSL/RSA/get_key_parameters.al
|
||||
${P5ARCH}/auto/Crypt/OpenSSL/RSA/get_padding_mode.al
|
||||
${P5ARCH}/auto/Crypt/OpenSSL/RSA/get_private_key_string.al
|
||||
${P5ARCH}/auto/Crypt/OpenSSL/RSA/get_public_key_string.al
|
||||
${P5ARCH}/auto/Crypt/OpenSSL/RSA/import_random_seed.al
|
||||
${P5ARCH}/auto/Crypt/OpenSSL/RSA/load_private_key.al
|
||||
${P5ARCH}/auto/Crypt/OpenSSL/RSA/load_public_key.al
|
||||
${P5ARCH}/auto/Crypt/OpenSSL/RSA/new.al
|
||||
${P5ARCH}/auto/Crypt/OpenSSL/RSA/new_key_from_parameters.al
|
||||
${P5ARCH}/auto/Crypt/OpenSSL/RSA/new_private_key.al
|
||||
${P5ARCH}/auto/Crypt/OpenSSL/RSA/new_public_key.al
|
||||
${P5ARCH}/auto/Crypt/OpenSSL/RSA/set_padding_mode.al
|
||||
${P5ARCH}/auto/Crypt/OpenSSL/RSA/use_sslv23_padding.al
|
||||
@man man/man3p/Crypt::OpenSSL::RSA.3p
|
||||
|
Loading…
Reference in New Issue
Block a user