- update to p5-Net-SSLeay 1.34
- take maintainership ok sturm
This commit is contained in:
parent
0b00d63311
commit
e191d3b541
@ -1,13 +1,15 @@
|
||||
# $OpenBSD: Makefile,v 1.26 2008/04/26 16:37:33 bluhm Exp $
|
||||
# $OpenBSD: Makefile,v 1.27 2008/07/26 10:51:16 bluhm Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= perl module for using OpenSSL
|
||||
|
||||
DISTNAME= Net-SSLeay-1.32
|
||||
DISTNAME= Net-SSLeay-1.34
|
||||
|
||||
CATEGORIES= security
|
||||
|
||||
MAINTAINER= Alexander Bluhm <bluhm@openbsd.org>
|
||||
|
||||
# same terms as OpenSSL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
@ -23,12 +25,12 @@ REGRESS_DEPENDS= ::devel/p5-Test-Exception \
|
||||
::devel/p5-Test-Pod \
|
||||
::devel/p5-Test-Pod-Coverage
|
||||
|
||||
PLDIR= ${PREFIX}/share/examples/p5-Net-SSLeay
|
||||
SRCDIR= ${WRKSRC}/examples
|
||||
DSTDIR= ${PREFIX}/share/examples/p5-Net-SSLeay
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PLDIR}
|
||||
${INSTALL_SCRIPT} ${SRCDIR}/*.pl ${PLDIR}/
|
||||
${INSTALL_DATA} ${SRCDIR}/req.conf ${PLDIR}/req.conf
|
||||
${INSTALL_DATA_DIR} ${DSTDIR}
|
||||
${INSTALL_SCRIPT} ${SRCDIR}/*.pl ${DSTDIR}/
|
||||
${INSTALL_DATA} ${SRCDIR}/*.conf ${SRCDIR}/*.pem ${DSTDIR}/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (Net-SSLeay-1.32.tar.gz) = PgkYpxAWM/Bs/k98oAWRfg==
|
||||
RMD160 (Net-SSLeay-1.32.tar.gz) = YUA6dSlib2xWJ5DANGWa+YyeKeE=
|
||||
SHA1 (Net-SSLeay-1.32.tar.gz) = 5XxsNvDfe/IRxDWjgzDeLpPRQbs=
|
||||
SHA256 (Net-SSLeay-1.32.tar.gz) = jnwexo6joKxBeA7xUL24qLmC9GBmxUKpo5/jlaiDRPo=
|
||||
SIZE (Net-SSLeay-1.32.tar.gz) = 130187
|
||||
MD5 (Net-SSLeay-1.34.tar.gz) = qUf9uuOFjMG8rT8/IUcunQ==
|
||||
RMD160 (Net-SSLeay-1.34.tar.gz) = dEribtwN219tJq9ru8xZKpnjU3E=
|
||||
SHA1 (Net-SSLeay-1.34.tar.gz) = PbVWgktwo6xPSZCAWqXUuXRnM3E=
|
||||
SHA256 (Net-SSLeay-1.34.tar.gz) = Q8duuTWDFNXzkdNasiwfaslBCuFPXrIu9m1BOJDCai0=
|
||||
SIZE (Net-SSLeay-1.34.tar.gz) = 132125
|
||||
|
@ -1,15 +0,0 @@
|
||||
$OpenBSD: patch-Makefile_PL,v 1.5 2008/04/26 16:37:33 bluhm Exp $
|
||||
--- Makefile.PL.orig Sat Jul 14 22:01:26 2007
|
||||
+++ Makefile.PL Mon Apr 21 21:26:26 2008
|
||||
@@ -10,11 +10,6 @@ all_from('lib/Net/SSLeay.pm');
|
||||
|
||||
ssleay();
|
||||
|
||||
-build_requires('Sub::Uplevel');
|
||||
-build_requires('Test::Exception');
|
||||
-build_requires('Array::Compare');
|
||||
-build_requires('Tree::DAG_Node');
|
||||
-build_requires('Test::Warn');
|
||||
requires('MIME::Base64');
|
||||
|
||||
clean_files(map { fixpath($_) } qw(
|
@ -1,47 +0,0 @@
|
||||
$OpenBSD: patch-t_handle_external_10_destroy_t,v 1.1 2008/04/26 16:37:33 bluhm Exp $
|
||||
--- t/handle/external/10_destroy.t.orig Tue Jul 3 15:53:43 2007
|
||||
+++ t/handle/external/10_destroy.t Sat Sep 29 13:41:51 2007
|
||||
@@ -10,7 +10,7 @@ my @uris = qw(
|
||||
perldition.org
|
||||
);
|
||||
|
||||
-plan tests => scalar @uris * 2;
|
||||
+plan tests => scalar @uris * 3;
|
||||
|
||||
use File::Spec;
|
||||
use Symbol qw(gensym);
|
||||
@@ -27,17 +27,25 @@ for my $uri (@uris) {
|
||||
my $fdcount_start = count_fds();
|
||||
|
||||
for my $uri (@uris) {
|
||||
- {
|
||||
- my $ssl = gensym();
|
||||
- tie(*$ssl, "Net::SSLeay::Handle", $uri, 443);
|
||||
- print $ssl "GET / HTTP/1.0\r\n\r\n";
|
||||
+ SKIP: {
|
||||
+ {
|
||||
+ my $ssl = gensym();
|
||||
+ eval {
|
||||
+ tie(*$ssl, "Net::SSLeay::Handle", $uri, 443);
|
||||
+ };
|
||||
|
||||
- my $response = do { local $/ = undef; <$ssl> };
|
||||
- like( $response, qr/^HTTP\/1/s, 'correct response' );
|
||||
- }
|
||||
+ skip('could not connect', 3) if $@;
|
||||
+ pass('connection');
|
||||
|
||||
- my $fdcount_end = count_fds();
|
||||
- is ($fdcount_end, $fdcount_start, 'handle gets destroyed when it goes out of scope');
|
||||
+ print $ssl "GET / HTTP/1.0\r\n\r\n";
|
||||
+
|
||||
+ my $response = do { local $/ = undef; <$ssl> };
|
||||
+ like( $response, qr/^HTTP\/1/s, 'correct response' );
|
||||
+ }
|
||||
+
|
||||
+ my $fdcount_end = count_fds();
|
||||
+ is ($fdcount_end, $fdcount_start, 'handle gets destroyed when it goes out of scope');
|
||||
+ }
|
||||
}
|
||||
|
||||
sub count_fds {
|
@ -1,15 +0,0 @@
|
||||
$OpenBSD: patch-t_handle_external_50_external_t,v 1.1 2008/04/26 16:37:33 bluhm Exp $
|
||||
--- t/handle/external/50_external.t.orig Tue Jul 3 15:53:43 2007
|
||||
+++ t/handle/external/50_external.t Sat Sep 29 13:41:51 2007
|
||||
@@ -49,8 +49,10 @@ for my $site (@sites) {
|
||||
}
|
||||
}
|
||||
|
||||
- for my $sock (@sock) {
|
||||
+ for (my $i = 0; $i < scalar @sites; $i++) {
|
||||
SKIP : {
|
||||
+ my $sock = $sock[$i];
|
||||
+
|
||||
skip('not connected', 2) unless defined $sock;
|
||||
pass('connected');
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.12 2008/04/26 16:37:34 bluhm Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.13 2008/07/26 10:51:16 bluhm Exp $
|
||||
${P5ARCH}/
|
||||
${P5ARCH}/Net/
|
||||
${P5ARCH}/Net/SSLeay/
|
||||
@ -101,6 +101,7 @@ share/examples/p5-Net-SSLeay/makecert.pl
|
||||
share/examples/p5-Net-SSLeay/minicli.pl
|
||||
share/examples/p5-Net-SSLeay/passwd-cb.pl
|
||||
share/examples/p5-Net-SSLeay/req.conf
|
||||
share/examples/p5-Net-SSLeay/server_key.pem
|
||||
share/examples/p5-Net-SSLeay/ssl-inetd-serv.pl
|
||||
share/examples/p5-Net-SSLeay/ssl_diff.pl
|
||||
share/examples/p5-Net-SSLeay/sslcat.pl
|
||||
|
Loading…
Reference in New Issue
Block a user