pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/p5-Crypt-SSLeay Re-import security/p5-SSLeay ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0f39b04fa4bd
branches:  trunk
changeset: 506688:0f39b04fa4bd
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Jan 20 20:08:53 2006 +0000

description:
Re-import security/p5-SSLeay as security/p5-Crypt-SSLeay, to
make the directory name match PKGNAME.

diffstat:

 security/p5-Crypt-SSLeay/DESCR            |  16 ++++++++++++++
 security/p5-Crypt-SSLeay/Makefile         |  26 +++++++++++++++++++++++
 security/p5-Crypt-SSLeay/PLIST            |   1 +
 security/p5-Crypt-SSLeay/distinfo         |   6 +++++
 security/p5-Crypt-SSLeay/patches/patch-aa |  35 +++++++++++++++++++++++++++++++
 5 files changed, 84 insertions(+), 0 deletions(-)

diffs (104 lines):

diff -r f2a9b71aa6bb -r 0f39b04fa4bd security/p5-Crypt-SSLeay/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/p5-Crypt-SSLeay/DESCR    Fri Jan 20 20:08:53 2006 +0000
@@ -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 -r f2a9b71aa6bb -r 0f39b04fa4bd security/p5-Crypt-SSLeay/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/p5-Crypt-SSLeay/Makefile Fri Jan 20 20:08:53 2006 +0000
@@ -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@localhost
+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 -r f2a9b71aa6bb -r 0f39b04fa4bd security/p5-Crypt-SSLeay/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/p5-Crypt-SSLeay/PLIST    Fri Jan 20 20:08:53 2006 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/01/20 20:08:53 wiz Exp $
diff -r f2a9b71aa6bb -r 0f39b04fa4bd security/p5-Crypt-SSLeay/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/p5-Crypt-SSLeay/distinfo Fri Jan 20 20:08:53 2006 +0000
@@ -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 -r f2a9b71aa6bb -r 0f39b04fa4bd security/p5-Crypt-SSLeay/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/p5-Crypt-SSLeay/patches/patch-aa Fri Jan 20 20:08:53 2006 +0000
@@ -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) {



Home | Main Index | Thread Index | Old Index