r13676 - in /trunk/libcrypt-openssl-dsa-perl/debian: changelog control patches/ patches/Makefile.PL-no-ssl-in-LIBS.patch patches/series rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Sun Jan 27 18:56:31 UTC 2008


Author: dmn
Date: Sun Jan 27 18:56:31 2008
New Revision: 13676

URL: http://svn.debian.org/wsvn/?sc=1&rev=13676
Log:
* Remove -lssl from Makefile.PL's LIBS. Add quilt support

Added:
    trunk/libcrypt-openssl-dsa-perl/debian/patches/
    trunk/libcrypt-openssl-dsa-perl/debian/patches/Makefile.PL-no-ssl-in-LIBS.patch
    trunk/libcrypt-openssl-dsa-perl/debian/patches/series
Modified:
    trunk/libcrypt-openssl-dsa-perl/debian/changelog
    trunk/libcrypt-openssl-dsa-perl/debian/control
    trunk/libcrypt-openssl-dsa-perl/debian/rules

Modified: trunk/libcrypt-openssl-dsa-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libcrypt-openssl-dsa-perl/debian/changelog?rev=13676&op=diff
==============================================================================
--- trunk/libcrypt-openssl-dsa-perl/debian/changelog (original)
+++ trunk/libcrypt-openssl-dsa-perl/debian/changelog Sun Jan 27 18:56:31 2008
@@ -13,6 +13,7 @@
   * debian/copyright: update years of copyright; use dist-based upstream URL
   * add libdigest-sha1-perl and openssl to Build-Depends. Needed by the test
     suite
+  * Remove -lssl from Makefile.PL's LIBS. Add quilt support
 
  -- Damyan Ivanov <dmn at debian.org>  Thu, 24 Jan 2008 21:36:44 +0200
 

Modified: trunk/libcrypt-openssl-dsa-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libcrypt-openssl-dsa-perl/debian/control?rev=13676&op=diff
==============================================================================
--- trunk/libcrypt-openssl-dsa-perl/debian/control (original)
+++ trunk/libcrypt-openssl-dsa-perl/debian/control Sun Jan 27 18:56:31 2008
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Damyan Ivanov <dmn at debian.org>
-Build-Depends: debhelper (>= 6), libssl-dev, libdigest-sha1-perl, openssl
+Build-Depends: debhelper (>= 6), libssl-dev, libdigest-sha1-perl, openssl, quilt
 Standards-Version: 3.7.3
 Homepage: http://perl-openssl.sourceforge.net/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libcrypt-openssl-dsa-perl/

Added: trunk/libcrypt-openssl-dsa-perl/debian/patches/Makefile.PL-no-ssl-in-LIBS.patch
URL: http://svn.debian.org/wsvn/trunk/libcrypt-openssl-dsa-perl/debian/patches/Makefile.PL-no-ssl-in-LIBS.patch?rev=13676&op=file
==============================================================================
--- trunk/libcrypt-openssl-dsa-perl/debian/patches/Makefile.PL-no-ssl-in-LIBS.patch (added)
+++ trunk/libcrypt-openssl-dsa-perl/debian/patches/Makefile.PL-no-ssl-in-LIBS.patch Sun Jan 27 18:56:31 2008
@@ -1,0 +1,10 @@
+--- libcrypt-openssl-dsa-perl.orig/Makefile.PL
++++ libcrypt-openssl-dsa-perl/Makefile.PL
+@@ -6,6 +6,6 @@
+     'VERSION_FROM'	=> 'lib/Crypt/OpenSSL/DSA.pm', # finds $VERSION
+     'PREREQ_PM'		=> {}, # e.g., Module::Name => 1.1
+     'AUTHOR'            => 'T.J. Mather',
+-    'LIBS'              => ['-lssl -lcrypto'],
++    'LIBS'              => ['-lcrypto'],
+     'DEFINE'            => '-DPERL5',   # perl-5.8/gcc-3.2 needs this
+ );

Added: trunk/libcrypt-openssl-dsa-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/trunk/libcrypt-openssl-dsa-perl/debian/patches/series?rev=13676&op=file
==============================================================================
--- trunk/libcrypt-openssl-dsa-perl/debian/patches/series (added)
+++ trunk/libcrypt-openssl-dsa-perl/debian/patches/series Sun Jan 27 18:56:31 2008
@@ -1,0 +1,1 @@
+Makefile.PL-no-ssl-in-LIBS.patch

Modified: trunk/libcrypt-openssl-dsa-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libcrypt-openssl-dsa-perl/debian/rules?rev=13676&op=diff
==============================================================================
--- trunk/libcrypt-openssl-dsa-perl/debian/rules (original)
+++ trunk/libcrypt-openssl-dsa-perl/debian/rules Sun Jan 27 18:56:31 2008
@@ -6,6 +6,8 @@
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
+
+include /usr/share/quilt/quilt.make
 
 PACKAGE=$(shell dh_listpackages)
 
@@ -25,7 +27,7 @@
 TMP     =$(CURDIR)/debian/$(PACKAGE)
 
 build: build-stamp
-build-stamp:
+build-stamp: $(QUILT_STAMPFN)
 	dh_testdir
 
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
@@ -34,12 +36,13 @@
 
 	touch $@
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
 	dh_clean build-stamp install-stamp
 
-	[ ! -e Makefile ] || $(MAKE) realclean
+	# Makefile needs to be re-generated here as unpatch changes Makefile.PL
+	[ ! -e Makefile ] || ( $(PERL) Makefile.PL INSTALLDIRS=vendor && $(MAKE) realclean )
 
 install: install-stamp
 install-stamp: build-stamp




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