r20002 - in /trunk/libapache-dbi-perl: debian/changelog debian/control debian/patches/ debian/patches/debian-perl-path.patch debian/patches/series debian/rules eg/startup.pl

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Fri May 16 13:26:20 UTC 2008


Author: gregoa
Date: Fri May 16 13:26:19 2008
New Revision: 20002

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=20002
Log:
Add patch debian-perl-path.patch: fix the hashbang line in an example
script, previously done directly; add quilt framework.

Added:
    trunk/libapache-dbi-perl/debian/patches/
    trunk/libapache-dbi-perl/debian/patches/debian-perl-path.patch
    trunk/libapache-dbi-perl/debian/patches/series
Modified:
    trunk/libapache-dbi-perl/debian/changelog
    trunk/libapache-dbi-perl/debian/control
    trunk/libapache-dbi-perl/debian/rules
    trunk/libapache-dbi-perl/eg/startup.pl

Modified: trunk/libapache-dbi-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-dbi-perl/debian/changelog?rev=20002&op=diff
==============================================================================
--- trunk/libapache-dbi-perl/debian/changelog (original)
+++ trunk/libapache-dbi-perl/debian/changelog Fri May 16 13:26:19 2008
@@ -5,6 +5,8 @@
   * Refresh debian/rules, no functional changes.
   * debian/copyright: slightly rephrase copyright statement to make lintian
     happy.
+  * Add patch debian-perl-path.patch: fix the hashbang line in an example
+    script, previously done directly; add quilt framework.
 
  -- gregor herrmann <gregoa at debian.org>  Fri, 16 May 2008 15:10:07 +0200
 

Modified: trunk/libapache-dbi-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-dbi-perl/debian/control?rev=20002&op=diff
==============================================================================
--- trunk/libapache-dbi-perl/debian/control (original)
+++ trunk/libapache-dbi-perl/debian/control Fri May 16 13:26:19 2008
@@ -7,7 +7,7 @@
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-dbi-perl/
 Priority: optional
 Section: perl
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 5), quilt (>= 0.40)
 Build-Depends-Indep: perl (>= 5.6.0-17), libdbi-perl, libdigest-sha1-perl
 
 Package: libapache-dbi-perl

Added: trunk/libapache-dbi-perl/debian/patches/debian-perl-path.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-dbi-perl/debian/patches/debian-perl-path.patch?rev=20002&op=file
==============================================================================
--- trunk/libapache-dbi-perl/debian/patches/debian-perl-path.patch (added)
+++ trunk/libapache-dbi-perl/debian/patches/debian-perl-path.patch Fri May 16 13:26:19 2008
@@ -1,0 +1,8 @@
+--- libapache-dbi-perl.orig/eg/startup.pl
++++ libapache-dbi-perl/eg/startup.pl
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl -w
++#!/usr/bin/perl -w
+ 
+ # to load this file when the server starts, add this to httpd.conf:
+ # PerlRequire /path/to/startup.pl

Added: trunk/libapache-dbi-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-dbi-perl/debian/patches/series?rev=20002&op=file
==============================================================================
--- trunk/libapache-dbi-perl/debian/patches/series (added)
+++ trunk/libapache-dbi-perl/debian/patches/series Fri May 16 13:26:19 2008
@@ -1,0 +1,1 @@
+debian-perl-path.patch

Modified: trunk/libapache-dbi-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-dbi-perl/debian/rules?rev=20002&op=diff
==============================================================================
--- trunk/libapache-dbi-perl/debian/rules (original)
+++ trunk/libapache-dbi-perl/debian/rules Fri May 16 13:26:19 2008
@@ -11,12 +11,14 @@
 # always return the default without waiting for user input.
 export PERL_MM_USE_DEFAULT=1
 
+include /usr/share/quilt/quilt.make
+
 PERL   ?= /usr/bin/perl
 PACKAGE = $(shell dh_listpackages)
 TMP     = $(CURDIR)/debian/$(PACKAGE)
 
 build: build-stamp
-build-stamp:
+build-stamp: $(QUILT_STAMPN)
 	dh_testdir
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
 	$(MAKE)
@@ -26,7 +28,7 @@
 	$(MAKE) test
 	touch $@
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
 	dh_clean build-stamp install-stamp

Modified: trunk/libapache-dbi-perl/eg/startup.pl
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libapache-dbi-perl/eg/startup.pl?rev=20002&op=diff
==============================================================================
--- trunk/libapache-dbi-perl/eg/startup.pl (original)
+++ trunk/libapache-dbi-perl/eg/startup.pl Fri May 16 13:26:19 2008
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/local/bin/perl -w
 
 # to load this file when the server starts, add this to httpd.conf:
 # PerlRequire /path/to/startup.pl




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