r17363 - in /trunk/libproc-background-perl: debian/changelog debian/control debian/patches/ debian/patches/sbuild_sighup.patch debian/patches/series debian/rules t/sleep_exit.pl

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Wed Mar 12 21:13:22 UTC 2008


Author: gregoa-guest
Date: Wed Mar 12 21:13:21 2008
New Revision: 17363

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=17363
Log:
Create patch sbuild_sighup.patch for Niko's changes from 1.08-2; add
  quilt framework.

Added:
    trunk/libproc-background-perl/debian/patches/
    trunk/libproc-background-perl/debian/patches/sbuild_sighup.patch
    trunk/libproc-background-perl/debian/patches/series
Modified:
    trunk/libproc-background-perl/debian/changelog
    trunk/libproc-background-perl/debian/control
    trunk/libproc-background-perl/debian/rules
    trunk/libproc-background-perl/t/sleep_exit.pl

Modified: trunk/libproc-background-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libproc-background-perl/debian/changelog?rev=17363&op=diff
==============================================================================
--- trunk/libproc-background-perl/debian/changelog (original)
+++ trunk/libproc-background-perl/debian/changelog Wed Mar 12 21:13:21 2008
@@ -10,8 +10,10 @@
   * Set debhelper compatibility level to 5.
   * Add /me to Uploaders.
   * debian/copyright: add upstream source location.
+  * Create patch sbuild_sighup.patch for Niko's changes from 1.08-2; add
+    quilt framework.
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Wed, 12 Mar 2008 22:04:09 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Wed, 12 Mar 2008 22:10:15 +0100
 
 libproc-background-perl (1.08-2) unstable; urgency=low
 

Modified: trunk/libproc-background-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libproc-background-perl/debian/control?rev=17363&op=diff
==============================================================================
--- trunk/libproc-background-perl/debian/control (original)
+++ trunk/libproc-background-perl/debian/control Wed Mar 12 21:13:21 2008
@@ -1,7 +1,7 @@
 Source: libproc-background-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 5), quilt (>= 0.40)
 Build-Depends-Indep: perl (>= 5.8.0-7)
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Niko Tyni <ntyni at iki.fi>,

Added: trunk/libproc-background-perl/debian/patches/sbuild_sighup.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libproc-background-perl/debian/patches/sbuild_sighup.patch?rev=17363&op=file
==============================================================================
--- trunk/libproc-background-perl/debian/patches/sbuild_sighup.patch (added)
+++ trunk/libproc-background-perl/debian/patches/sbuild_sighup.patch Wed Mar 12 21:13:21 2008
@@ -1,0 +1,18 @@
+Author: Niko Tyni <ntyni at iki.fi>
+
+Some automatic building tools (sbuild) set $SIG{HUP} = 'IGNORE'.
+Temporarily override that.
+--- libproc-background-perl.orig/t/sleep_exit.pl
++++ libproc-background-perl/t/sleep_exit.pl
+@@ -2,6 +2,11 @@
+ 
+ $| = 1;
+ 
++# Debian-specific modification: some automatic building tools
++# (sbuild) set $SIG{HUP} = 'IGNORE'. Temporarily override that.
++
++local $SIG{HUP} = 'DEFAULT';
++
+ my ($sleep, $exit_status) = @ARGV;
+ $sleep       = 1 unless defined $sleep;
+ $exit_status = 0 unless defined $exit_status;

Added: trunk/libproc-background-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libproc-background-perl/debian/patches/series?rev=17363&op=file
==============================================================================
--- trunk/libproc-background-perl/debian/patches/series (added)
+++ trunk/libproc-background-perl/debian/patches/series Wed Mar 12 21:13:21 2008
@@ -1,0 +1,1 @@
+sbuild_sighup.patch

Modified: trunk/libproc-background-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libproc-background-perl/debian/rules?rev=17363&op=diff
==============================================================================
--- trunk/libproc-background-perl/debian/rules (original)
+++ trunk/libproc-background-perl/debian/rules Wed Mar 12 21:13:21 2008
@@ -6,6 +6,8 @@
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
+
+include /usr/share/quilt/quilt.make
 
 # If set to a true value then MakeMaker's prompt function will
 # always return the default without waiting for user input.
@@ -20,7 +22,7 @@
 TMP     =$(CURDIR)/debian/$(PACKAGE)
 
 build: build-stamp
-build-stamp:
+build-stamp: $(QUILT_STAMPFN)
 	dh_testdir
 
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
@@ -29,7 +31,7 @@
 
 	touch $@
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
 

Modified: trunk/libproc-background-perl/t/sleep_exit.pl
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libproc-background-perl/t/sleep_exit.pl?rev=17363&op=diff
==============================================================================
--- trunk/libproc-background-perl/t/sleep_exit.pl (original)
+++ trunk/libproc-background-perl/t/sleep_exit.pl Wed Mar 12 21:13:21 2008
@@ -1,11 +1,6 @@
 use strict;
 
 $| = 1;
-
-# Debian-specific modification: some automatic building tools
-# (sbuild) set $SIG{HUP} = 'IGNORE'. Temporarily override that.
-
-local $SIG{HUP} = 'DEFAULT';
 
 my ($sleep, $exit_status) = @ARGV;
 $sleep       = 1 unless defined $sleep;




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