r20813 - in /branches/upstream/libcrypt-openssl-x509-perl/current: Changes META.yml Makefile.PL README X509.pm
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Sat Jun 7 13:09:06 UTC 2008
Author: dmn
Date: Sat Jun 7 13:09:06 2008
New Revision: 20813
URL: http://svn.debian.org/wsvn/?sc=1&rev=20813
Log:
[svn-upgrade] Integrating new upstream version, libcrypt-openssl-x509-perl (0.7)
Modified:
branches/upstream/libcrypt-openssl-x509-perl/current/Changes
branches/upstream/libcrypt-openssl-x509-perl/current/META.yml
branches/upstream/libcrypt-openssl-x509-perl/current/Makefile.PL
branches/upstream/libcrypt-openssl-x509-perl/current/README
branches/upstream/libcrypt-openssl-x509-perl/current/X509.pm
Modified: branches/upstream/libcrypt-openssl-x509-perl/current/Changes
URL: http://svn.debian.org/wsvn/branches/upstream/libcrypt-openssl-x509-perl/current/Changes?rev=20813&op=diff
==============================================================================
--- branches/upstream/libcrypt-openssl-x509-perl/current/Changes (original)
+++ branches/upstream/libcrypt-openssl-x509-perl/current/Changes Sat Jun 7 13:09:06 2008
@@ -1,4 +1,7 @@
Revision history for Perl extension Crypt::OpenSSL::X509.
+
+0.7 Sat May 17 00:49:28 PDT 2008
+ - Stop cpansmoke if libcrypto isn't installed.
0.6 Sat Feb 23 14:18:30 PST 2008
- RT #28684: Failed test 'use Crypt::OpenSSL::X509;'
Modified: branches/upstream/libcrypt-openssl-x509-perl/current/META.yml
URL: http://svn.debian.org/wsvn/branches/upstream/libcrypt-openssl-x509-perl/current/META.yml?rev=20813&op=diff
==============================================================================
--- branches/upstream/libcrypt-openssl-x509-perl/current/META.yml (original)
+++ branches/upstream/libcrypt-openssl-x509-perl/current/META.yml Sat Jun 7 13:09:06 2008
@@ -14,4 +14,4 @@
- t
requires:
perl: 5.005
-version: 0.6
+version: 0.7
Modified: branches/upstream/libcrypt-openssl-x509-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/branches/upstream/libcrypt-openssl-x509-perl/current/Makefile.PL?rev=20813&op=diff
==============================================================================
--- branches/upstream/libcrypt-openssl-x509-perl/current/Makefile.PL (original)
+++ branches/upstream/libcrypt-openssl-x509-perl/current/Makefile.PL Sat Jun 7 13:09:06 2008
@@ -1,4 +1,33 @@
# $Id: Makefile.PL 10 1998-12-16 23:02:45Z daniel $
+
+use Config;
+
+sub search_lib {
+ my ($lib) = @_;
+ unless ($lib =~ /^-l/) {
+ warn "search_lib: illegal arguments, \`$lib\'.\n";
+ return undef;
+ }
+ my $libbase = 'lib' . substr($lib, 2) . $Config{lib_ext};
+ my $libbase_so = 'lib' . substr($lib, 2) . "." . $Config{so};
+ for my $path (split(' ', $Config{libpth})) {
+ if (-f $path . '/' . $libbase) {
+ print "$path/$libbase\n";
+ print "Found '$path/$libbase'.\n";
+ return $lib;
+ } elsif (-f $path . '/' . $libbase_so) {
+ print "$path/$libbase_so\n";
+ print "Found `$_/$libbase_so'.\n";
+ return $lib;
+ }
+ }
+ return undef;
+}
+
+if (!defined search_lib('-lcrypto')) {
+ warn "* libcrypto is not installed or not in the default lib path. Aborting.\n";
+ exit;
+}
use inc::Module::Install;
Modified: branches/upstream/libcrypt-openssl-x509-perl/current/README
URL: http://svn.debian.org/wsvn/branches/upstream/libcrypt-openssl-x509-perl/current/README?rev=20813&op=diff
==============================================================================
--- branches/upstream/libcrypt-openssl-x509-perl/current/README (original)
+++ branches/upstream/libcrypt-openssl-x509-perl/current/README Sat Jun 7 13:09:06 2008
@@ -1,4 +1,4 @@
-Crypt/OpenSSL/X509 version 0.6
+Crypt/OpenSSL/X509 version 0.7
===============================
The README is used to introduce the module and provide instructions on
@@ -31,7 +31,7 @@
Put the correct copyright and licence information here.
-Copyright (C) 2004-2007 Dan Sully
+Copyright (C) 2004-2008 Dan Sully
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
Modified: branches/upstream/libcrypt-openssl-x509-perl/current/X509.pm
URL: http://svn.debian.org/wsvn/branches/upstream/libcrypt-openssl-x509-perl/current/X509.pm?rev=20813&op=diff
==============================================================================
--- branches/upstream/libcrypt-openssl-x509-perl/current/X509.pm (original)
+++ branches/upstream/libcrypt-openssl-x509-perl/current/X509.pm Sat Jun 7 13:09:06 2008
@@ -5,7 +5,7 @@
use Exporter;
use base qw(Exporter);
-$VERSION = '0.6';
+$VERSION = '0.7';
@EXPORT_OK = qw(
FORMAT_UNDEF FORMAT_ASN1 FORMAT_TEXT FORMAT_PEM FORMAT_NETSCAPE
@@ -77,7 +77,7 @@
=head1 COPYRIGHT AND LICENSE
-Copyright 2004-2007 by Dan Sully
+Copyright 2004-2008 by Dan Sully
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
More information about the Pkg-perl-cvs-commits
mailing list