r47147 - in /trunk/libsoap-lite-perl/debian: README.source changelog control patches/ rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sat Nov 14 15:01:04 UTC 2009


Author: gregoa
Date: Sat Nov 14 15:00:55 2009
New Revision: 47147

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=47147
Log:
TODO: check (build) deps as per upstream changes (META.yml and configure
output)
* Put the whole renaming/hashbang-fixing/... stuff into debian/rules (was
  split between a patch and debian/rules); remove remaining patch and quilt
  framework.
* Fix hashbang in examples.

Removed:
    trunk/libsoap-lite-perl/debian/README.source
    trunk/libsoap-lite-perl/debian/patches/
Modified:
    trunk/libsoap-lite-perl/debian/changelog
    trunk/libsoap-lite-perl/debian/control
    trunk/libsoap-lite-perl/debian/rules

Modified: trunk/libsoap-lite-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsoap-lite-perl/debian/changelog?rev=47147&op=diff
==============================================================================
--- trunk/libsoap-lite-perl/debian/changelog (original)
+++ trunk/libsoap-lite-perl/debian/changelog Sat Nov 14 15:00:55 2009
@@ -1,6 +1,7 @@
 libsoap-lite-perl (0.710.10-1) UNRELEASED; urgency=low
 
-  TODO: fix shebang lines & extensions, per old rules
+  TODO: check (build) deps as per upstream changes (META.yml and configure
+  output)
 
   [ Jonathan Yu ]
   * New upstream release
@@ -17,6 +18,10 @@
   * Change source package name to libsoap-lite-perl.
   * debian/control: Changed: (build-)depend on perl instead of perl-
     modules.
+  * Put the whole renaming/hashbang-fixing/... stuff into debian/rules (was
+    split between a patch and debian/rules); remove remaining patch and quilt
+    framework.
+  * Fix hashbang in examples.
 
  -- Jonathan Yu <jawnsy at cpan.org>  Fri, 02 Oct 2009 09:47:59 -0400
 

Modified: trunk/libsoap-lite-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsoap-lite-perl/debian/control?rev=47147&op=diff
==============================================================================
--- trunk/libsoap-lite-perl/debian/control (original)
+++ trunk/libsoap-lite-perl/debian/control Sat Nov 14 15:00:55 2009
@@ -1,7 +1,7 @@
 Source: libsoap-lite-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 7.0.8), quilt (>= 0.46-7)
+Build-Depends: debhelper (>= 7.0.50~)
 Build-Depends-Indep: perl, libossp-uuid-perl, libxml-parser-perl, 
  libwww-perl, libcrypt-ssleay-perl, liburi-perl, libmime-lite-perl, 
  libfcgi-perl, libmime-tools-perl, libnet-jabber-perl, libio-socket-ssl-perl, 

Modified: trunk/libsoap-lite-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsoap-lite-perl/debian/rules?rev=47147&op=diff
==============================================================================
--- trunk/libsoap-lite-perl/debian/rules (original)
+++ trunk/libsoap-lite-perl/debian/rules Sat Nov 14 15:00:55 2009
@@ -1,4 +1,29 @@
 #!/usr/bin/make -f
 
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+SCRIPTS = SOAPsh XMLRPCsh stubmaker
+
+
 %:
-	dh --with quilt $@
+	dh $@
+
+override_dh_auto_install:
+	dh_auto_install
+	# fix extension, hashbang, and script names
+	for F in $(SCRIPTS); do \
+		mv $(TMP)/usr/bin/$$F.pl $(TMP)/usr/bin/$$F ; \
+		mv $(TMP)/usr/share/man/man1/$$F.pl.1p $(TMP)/usr/share/man/man1/$$F.1p ; \
+		sed -i -e '1 s,^#.*perl,#!/usr/bin/perl,' $(TMP)/usr/bin/$$F ; \
+		sed -i -e 's,\.pl,,g' $(TMP)/usr/bin/$$F ; \
+		sed -i -e 's,\.pl,,g' $(TMP)/usr/share/man/man1/$$F.1p ; \
+	done
+
+override_dh_installexamples:
+	dh_installexamples
+	find $(TMP)/usr/share/doc/$(PACKAGE)/examples/ -type f -print0 | \
+		xargs -r0 sed -i -e '1 s,^#.*perl,#!/usr/bin/perl,'
+
+override_dh_fixperms:
+	dh_fixperms
+	chmod 0644 $(TMP)/usr/share/doc/$(PACKAGE)/examples/COM/*.bat




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