r67091 - in /branches/upstream/libcrypt-openssl-x509-perl/current: Changes META.yml Makefile.PL README X509.pm X509.xs

carnil at users.alioth.debian.org carnil at users.alioth.debian.org
Thu Jan 6 13:24:07 UTC 2011


Author: carnil
Date: Thu Jan  6 13:23:49 2011
New Revision: 67091

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=67091
Log:
[svn-upgrade] new version libcrypt-openssl-x509-perl (1.6)

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
    branches/upstream/libcrypt-openssl-x509-perl/current/X509.xs

Modified: branches/upstream/libcrypt-openssl-x509-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcrypt-openssl-x509-perl/current/Changes?rev=67091&op=diff
==============================================================================
--- branches/upstream/libcrypt-openssl-x509-perl/current/Changes (original)
+++ branches/upstream/libcrypt-openssl-x509-perl/current/Changes Thu Jan  6 13:23:49 2011
@@ -1,4 +1,8 @@
 Revision history for Perl extension Crypt::OpenSSL::X509.
+
+1.6    Wed Jan  5 10:04:08 PST 2011
+	- Fix from Nicholas Harteau for -Wall error. Exhibited by -O2.
+	- Update home page & bug tracker.
 
 1.5    Fri Dec 24 14:39:20 PST 2010
 	- Fix call to utf_loclen to be compatible with CentOS Perl. (CPAN RT #62339)

Modified: branches/upstream/libcrypt-openssl-x509-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcrypt-openssl-x509-perl/current/META.yml?rev=67091&op=diff
==============================================================================
--- branches/upstream/libcrypt-openssl-x509-perl/current/META.yml (original)
+++ branches/upstream/libcrypt-openssl-x509-perl/current/META.yml Thu Jan  6 13:23:49 2011
@@ -20,5 +20,7 @@
 requires:
   perl: 5.005
 resources:
+  bugtracker: https://github.com/dsully/perl-crypt-openssl-x509/issues
+  homepage: https://github.com/dsully/perl-crypt-openssl-x509
   license: http://dev.perl.org/licenses/
-version: 1.5
+version: 1.6

Modified: branches/upstream/libcrypt-openssl-x509-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcrypt-openssl-x509-perl/current/Makefile.PL?rev=67091&op=diff
==============================================================================
--- branches/upstream/libcrypt-openssl-x509-perl/current/Makefile.PL (original)
+++ branches/upstream/libcrypt-openssl-x509-perl/current/Makefile.PL Thu Jan  6 13:23:49 2011
@@ -1,34 +1,3 @@
-# $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;
 
 name('Crypt-OpenSSL-X509');
@@ -36,21 +5,16 @@
 perl_version('5.005');
 all_from('X509.pm');
 
+homepage 'https://github.com/dsully/perl-crypt-openssl-x509';
+bugtracker 'https://github.com/dsully/perl-crypt-openssl-x509/issues';
+
 requires_external_cc();
 
-if (-d "/usr/include/openssl") {
-	cc_inc_paths('/usr/include/openssl');
-	cc_lib_paths('/usr/lib');
-} elsif (-d "/usr/local/include/ssl") {
-	cc_inc_paths('/usr/local/include/ssl');
-	cc_lib_paths('/usr/local/lib/ssl');
-} elsif (-d "/usr/local/ssl/include") {
-	cc_inc_paths('/usr/local/ssl/include');
-	cc_lib_paths('/usr/local/ssl/lib');
-}
+cc_inc_paths('/usr/include/openssl', '/usr/local/include/ssl', '/usr/local/ssl/include');
+cc_lib_paths('/usr/lib', '/usr/local/lib', '/usr/local/ssl/lib');
 
 cc_lib_links('crypto');
-cc_optimize_flags('-g -Wall -Werror');
+cc_optimize_flags('-O2 -g -Wall -Werror');
 
 auto_install();
 WriteAll();

Modified: branches/upstream/libcrypt-openssl-x509-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcrypt-openssl-x509-perl/current/README?rev=67091&op=diff
==============================================================================
--- branches/upstream/libcrypt-openssl-x509-perl/current/README (original)
+++ branches/upstream/libcrypt-openssl-x509-perl/current/README Thu Jan  6 13:23:49 2011
@@ -1,4 +1,4 @@
-Crypt/OpenSSL/X509 version 1.5
+Crypt/OpenSSL/X509 version 1.6
 ===============================
 
 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-2010 Dan Sully
+Copyright (C) 2004-2011 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/pkg-perl/branches/upstream/libcrypt-openssl-x509-perl/current/X509.pm?rev=67091&op=diff
==============================================================================
--- branches/upstream/libcrypt-openssl-x509-perl/current/X509.pm (original)
+++ branches/upstream/libcrypt-openssl-x509-perl/current/X509.pm Thu Jan  6 13:23:49 2011
@@ -5,7 +5,7 @@
 use Exporter;
 use base qw(Exporter);
 
-$VERSION = '1.5';
+$VERSION = '1.6';
 
 @EXPORT_OK = qw(
   FORMAT_UNDEF FORMAT_ASN1 FORMAT_TEXT FORMAT_PEM FORMAT_NETSCAPE
@@ -398,7 +398,7 @@
 
 =head1 COPYRIGHT AND LICENSE
 
-Copyright 2004-2010 by Dan Sully
+Copyright 2004-2011 by 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.xs
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcrypt-openssl-x509-perl/current/X509.xs?rev=67091&op=diff
==============================================================================
--- branches/upstream/libcrypt-openssl-x509-perl/current/X509.xs (original)
+++ branches/upstream/libcrypt-openssl-x509-perl/current/X509.xs Thu Jan  6 13:23:49 2011
@@ -169,7 +169,7 @@
   X509_EXTENSION *ext;
   int i, c, r;
   size_t len = 128;
-  char* key;
+  char* key = NULL;
   SV* rv;
 
   HV* RETVAL = newHV();
@@ -822,7 +822,7 @@
   PREINIT:
   BASIC_CONSTRAINTS *bs;
   const X509V3_EXT_METHOD *method;
-  int ret;
+  int ret = 0;
 
   CODE:
 




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