summaryrefslogtreecommitdiff
path: root/security/p5-Crypt-SSLeay
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-01-20 20:08:53 +0000
committerwiz <wiz@pkgsrc.org>2006-01-20 20:08:53 +0000
commit1ca4593f2ed348b6f13d09d2a46ebaf0102ab252 (patch)
tree72c6626a1404995f1554840da00e587bb3e0618c /security/p5-Crypt-SSLeay
parente9396cdb62b40d521bec06be22b05393d0265e18 (diff)
downloadpkgsrc-1ca4593f2ed348b6f13d09d2a46ebaf0102ab252.tar.gz
Re-import security/p5-SSLeay as security/p5-Crypt-SSLeay, to
make the directory name match PKGNAME.
Diffstat (limited to 'security/p5-Crypt-SSLeay')
-rw-r--r--security/p5-Crypt-SSLeay/DESCR16
-rw-r--r--security/p5-Crypt-SSLeay/Makefile26
-rw-r--r--security/p5-Crypt-SSLeay/PLIST1
-rw-r--r--security/p5-Crypt-SSLeay/distinfo6
-rw-r--r--security/p5-Crypt-SSLeay/patches/patch-aa35
5 files changed, 84 insertions, 0 deletions
diff --git a/security/p5-Crypt-SSLeay/DESCR b/security/p5-Crypt-SSLeay/DESCR
new file mode 100644
index 00000000000..3e45d700a90
--- /dev/null
+++ b/security/p5-Crypt-SSLeay/DESCR
@@ -0,0 +1,16 @@
+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-Crypt-SSLeay/Makefile b/security/p5-Crypt-SSLeay/Makefile
new file mode 100644
index 00000000000..662bc279617
--- /dev/null
+++ b/security/p5-Crypt-SSLeay/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/01/20 20:08:53 wiz Exp $
+#
+
+DISTNAME= Crypt-SSLeay-0.51
+PKGNAME= p5-${DISTNAME}
+PKGREVISION= 5
+SVR4_PKGNAME= p5csl
+CATEGORIES= security perl5 www
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Crypt/}
+
+MAINTAINER= shell@NetBSD.org
+COMMENT= Crypt::SSLeay - OpenSSL glue that provides LWP https support
+
+DEPENDS+= p5-libwww>=5.48:../../www/p5-libwww
+
+PERL5_PACKLIST= auto/Crypt/SSLeay/.packlist
+
+SUBST_CLASSES+= openssl
+SUBST_STAGE.openssl= pre-configure
+SUBST_MESSAGE.openssl= "Fixing path to OpenSSL."
+SUBST_FILES.openssl= Makefile.PL
+SUBST_SED.openssl= -e 's|%%SSLBASE%%|${BUILDLINK_PREFIX.openssl}|g'
+
+.include "../../lang/perl5/module.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/p5-Crypt-SSLeay/PLIST b/security/p5-Crypt-SSLeay/PLIST
new file mode 100644
index 00000000000..26e61aecb3f
--- /dev/null
+++ b/security/p5-Crypt-SSLeay/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/01/20 20:08:53 wiz Exp $
diff --git a/security/p5-Crypt-SSLeay/distinfo b/security/p5-Crypt-SSLeay/distinfo
new file mode 100644
index 00000000000..f8d1132306e
--- /dev/null
+++ b/security/p5-Crypt-SSLeay/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/01/20 20:08:53 wiz Exp $
+
+SHA1 (Crypt-SSLeay-0.51.tar.gz) = dea8e37e2430e351688125f5a641d76f55dbe25c
+RMD160 (Crypt-SSLeay-0.51.tar.gz) = 963ee2616742b3983a06eaee3059aafa9b866e0a
+Size (Crypt-SSLeay-0.51.tar.gz) = 117555 bytes
+SHA1 (patch-aa) = f79576ad49381a5fef228537502770f22ae00e41
diff --git a/security/p5-Crypt-SSLeay/patches/patch-aa b/security/p5-Crypt-SSLeay/patches/patch-aa
new file mode 100644
index 00000000000..b0b46dd075a
--- /dev/null
+++ b/security/p5-Crypt-SSLeay/patches/patch-aa
@@ -0,0 +1,35 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/01/20 20:08:53 wiz Exp $
+
+--- Makefile.PL.orig Sun Feb 9 14:08:27 2003
++++ Makefile.PL
+@@ -13,7 +13,7 @@ my $currdir = dirname($0) || '.';
+ 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%%);
+ if($^O eq 'MSWin32') {
+ unshift(@POSSIBLE_SSL_DIRS, 'c:/openssl');
+ }
+@@ -40,7 +40,8 @@ if (@CANDIDATE == 1) {
+ }
+ }
+
+-my $SSL_DIR;
++my $SSL_DIR = $CANDIDATE[0][0];
++<<__SKIP__;
+ if($opt_default && (@CANDIDATE == 1) && $CANDIDATE[0][0]) {
+ $SSL_DIR = $CANDIDATE[0][0];
+ print "Using --default OpenSSL candidate found at $SSL_DIR\n";
+@@ -51,9 +52,10 @@ if($opt_default && (@CANDIDATE == 1) &&
+ 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];
+ }
+ }
++__SKIP__
+
+ my $candidate = &Candidate($SSL_DIR);
+ unless($candidate) {