r20815 - in /trunk/libcrypt-openssl-x509-perl: Changes Makefile.PL README X509.pm debian/changelog debian/copyright

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Sat Jun 7 13:10:40 UTC 2008


Author: dmn
Date: Sat Jun  7 13:10:40 2008
New Revision: 20815

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=20815
Log:
* New upstream release
* update years of copyright

Modified:
    trunk/libcrypt-openssl-x509-perl/Changes
    trunk/libcrypt-openssl-x509-perl/Makefile.PL
    trunk/libcrypt-openssl-x509-perl/README
    trunk/libcrypt-openssl-x509-perl/X509.pm
    trunk/libcrypt-openssl-x509-perl/debian/changelog
    trunk/libcrypt-openssl-x509-perl/debian/copyright

Modified: trunk/libcrypt-openssl-x509-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcrypt-openssl-x509-perl/Changes?rev=20815&op=diff
==============================================================================
--- trunk/libcrypt-openssl-x509-perl/Changes (original)
+++ trunk/libcrypt-openssl-x509-perl/Changes Sat Jun  7 13:10:40 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: trunk/libcrypt-openssl-x509-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcrypt-openssl-x509-perl/Makefile.PL?rev=20815&op=diff
==============================================================================
--- trunk/libcrypt-openssl-x509-perl/Makefile.PL (original)
+++ trunk/libcrypt-openssl-x509-perl/Makefile.PL Sat Jun  7 13:10:40 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: trunk/libcrypt-openssl-x509-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcrypt-openssl-x509-perl/README?rev=20815&op=diff
==============================================================================
--- trunk/libcrypt-openssl-x509-perl/README (original)
+++ trunk/libcrypt-openssl-x509-perl/README Sat Jun  7 13:10:40 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: trunk/libcrypt-openssl-x509-perl/X509.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcrypt-openssl-x509-perl/X509.pm?rev=20815&op=diff
==============================================================================
--- trunk/libcrypt-openssl-x509-perl/X509.pm (original)
+++ trunk/libcrypt-openssl-x509-perl/X509.pm Sat Jun  7 13:10:40 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. 

Modified: trunk/libcrypt-openssl-x509-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcrypt-openssl-x509-perl/debian/changelog?rev=20815&op=diff
==============================================================================
--- trunk/libcrypt-openssl-x509-perl/debian/changelog (original)
+++ trunk/libcrypt-openssl-x509-perl/debian/changelog Sat Jun  7 13:10:40 2008
@@ -1,3 +1,10 @@
+libcrypt-openssl-x509-perl (0.7-1) UNRELEASED; urgency=low
+
+  * New upstream release
+  * update years of copyright
+
+ -- Damyan Ivanov <dmn at debian.org>  Sat, 07 Jun 2008 16:09:19 +0300
+
 libcrypt-openssl-x509-perl (0.6-1) unstable; urgency=low
 
   * New upstream release.

Modified: trunk/libcrypt-openssl-x509-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcrypt-openssl-x509-perl/debian/copyright?rev=20815&op=diff
==============================================================================
--- trunk/libcrypt-openssl-x509-perl/debian/copyright (original)
+++ trunk/libcrypt-openssl-x509-perl/debian/copyright Sat Jun  7 13:10:40 2008
@@ -7,7 +7,7 @@
 
 License:
 	
-	Copyright 2004-2007 by Dan Sully
+	Copyright 2004-2008 by Dan Sully
 
 	This module is free software; you may redistribute it and/or modify it
 	under the same terms as Perl itself.




More information about the Pkg-perl-cvs-commits mailing list