diff options
author | wiz <wiz@pkgsrc.org> | 2001-03-10 14:16:52 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2001-03-10 14:16:52 +0000 |
commit | e595a716ffa290c886f7ba93625727d9bed6d237 (patch) | |
tree | 07d746846447e205a1cc500a1a1f9b3fe993f330 /security/p5-SSLeay | |
parent | 5400d3e57799c242ff74567192d92e425ae89def (diff) | |
download | pkgsrc-e595a716ffa290c886f7ba93625727d9bed6d237.tar.gz |
Initial import of p5-SSLeay. Package by Damon Brodie in pkg/11600.
OpenSSL glue for perl that provides https support.
Diffstat (limited to 'security/p5-SSLeay')
-rw-r--r-- | security/p5-SSLeay/Makefile | 24 | ||||
-rw-r--r-- | security/p5-SSLeay/files/md5 | 3 | ||||
-rw-r--r-- | security/p5-SSLeay/files/patch-sum | 3 | ||||
-rw-r--r-- | security/p5-SSLeay/patches/patch-aa | 22 | ||||
-rw-r--r-- | security/p5-SSLeay/pkg/DESCR | 15 | ||||
-rw-r--r-- | security/p5-SSLeay/pkg/PLIST | 1 |
6 files changed, 68 insertions, 0 deletions
diff --git a/security/p5-SSLeay/Makefile b/security/p5-SSLeay/Makefile new file mode 100644 index 00000000000..2599dd6e1dd --- /dev/null +++ b/security/p5-SSLeay/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/03/10 14:16:52 wiz Exp $ +# + +DISTNAME= Crypt-SSLeay-0.22 +PKGNAME= p5-${DISTNAME} +CATEGORIES= security perl5 www +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Crypt/} + +MAINTAINER= damon@brodiefamily.org +COMMENT= Crypt::SSLeay - OpenSSL glue that provides LWP https support + +DEPENDS+= p5-libwww>=5.48:../../www/p5-libwww + +USE_PERL5= # defined +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Crypt/SSLeay/.packlist + +USE_SSL= yes + +do-configure: + @cd ${WRKSRC} && ${SED} "s|@SSLBASE@|${SSLBASE}|" Makefile.PL \ + > Makefile.PL.tmp && ${MV} Makefile.PL.tmp Makefile.PL + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL + +.include "../../mk/bsd.pkg.mk" diff --git a/security/p5-SSLeay/files/md5 b/security/p5-SSLeay/files/md5 new file mode 100644 index 00000000000..d41f44b42cf --- /dev/null +++ b/security/p5-SSLeay/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2001/03/10 14:16:52 wiz Exp $ + +SHA1 (Crypt-SSLeay-0.22.tar.gz) = 036620791d4783a326de201991afaa3c80e91f89 diff --git a/security/p5-SSLeay/files/patch-sum b/security/p5-SSLeay/files/patch-sum new file mode 100644 index 00000000000..f7497abf5ba --- /dev/null +++ b/security/p5-SSLeay/files/patch-sum @@ -0,0 +1,3 @@ +$NetBSD: patch-sum,v 1.1.1.1 2001/03/10 14:16:52 wiz Exp $ + +SHA1 (patch-aa) = b06750bcbde0c8836a9908ba4732b7614dc52f53 diff --git a/security/p5-SSLeay/patches/patch-aa b/security/p5-SSLeay/patches/patch-aa new file mode 100644 index 00000000000..cb38da4fcf2 --- /dev/null +++ b/security/p5-SSLeay/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/03/10 14:16:52 wiz Exp $ + +--- Makefile.PL.orig Sat Nov 25 18:22:32 2000 ++++ Makefile.PL +@@ -8,7 +8,7 @@ + chdir($currdir) || die("can't change to $currdir: $!"); + + # FIND POSSIBLE SSL INSTALLATIONS +-my @POSSIBLE_SSL_DIRS = qw(/usr/local/openssl /usr/local/ssl /local/ssl /opt/ssl /usr/local /local /usr); ++my @POSSIBLE_SSL_DIRS = qw(@SSLBASE@); + my @CANDIDATE; + my $open_ssl = 0; + my $dir; +@@ -38,7 +38,7 @@ + unless($CANDIDATE[0][0]) { + print "No OpenSSL installation found, usually in $POSSIBLE_SSL_DIRS[0]\n"; + } +- $SSL_DIR = prompt "Which OpenSSL build path do you want to link against?", $CANDIDATE[0][0]; ++ $SSL_DIR = $CANDIDATE[0][0]; + } + my $candidate = &Candidate($SSL_DIR); + unless($candidate) { diff --git a/security/p5-SSLeay/pkg/DESCR b/security/p5-SSLeay/pkg/DESCR new file mode 100644 index 00000000000..4d0b2084a66 --- /dev/null +++ b/security/p5-SSLeay/pkg/DESCR @@ -0,0 +1,15 @@ +This perl module provides support for the https protocol under LWP, so +that a LWP::UserAgent can make https GET & HEAD & POST requests. Please +see perldoc LWP for more information on POST requests. + +The Crypt::SSLeay package contains Net::SSL, which is automatically +loaded by LWP::Protocol::https on https requests, and provides the +necessary SSL glue for that module to work via these deprecated modules: + + Crypt::SSLeay::CTX + Crypt::SSLeay::Conn + Crypt::SSLeay::X509 + +Work on Crypt::SSLeay has been continued only to provide https support +for the LWP - libwww perl libraries. If you want access to the OpenSSL +API via perl, check out Sampo's Net::SSLeay. diff --git a/security/p5-SSLeay/pkg/PLIST b/security/p5-SSLeay/pkg/PLIST new file mode 100644 index 00000000000..d8dabc42c27 --- /dev/null +++ b/security/p5-SSLeay/pkg/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/10 14:16:52 wiz Exp $ |