debian/0000755000000000000000000000000012220175141007161 5ustar debian/README.source0000644000000000000000000000274312215332236011352 0ustar This package uses dpatch to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. To get the fully patched source after unpacking the source package, cd to the root level of the source package and run: debian/rules patch Removing a patch is as simple as removing its entry from the debian/patches/00list file, and please also remove the patch file itself. Creating a new patch is done with "dpatch-edit-patch patch XX_patchname" where you should replace XX with a new number and patchname with a descriptive shortname of the patch. You can then simply edit all the files your patch wants to edit, and then simply "exit 0" from the shell to actually create the patch file. To tweak an already existing patch, call "dpatch-edit-patch XX_patchname" and replace XX_patchname with the actual filename from debian/patches you want to use. To clean up afterwards again, "debian/rules unpatch" will do the work for you - or you can of course choose to call "fakeroot debian/rules clean" all together. --- this documentation is part of dpatch package, and may be used by packages using dpatch to comply with policy on README.source. This documentation is meant to be useful to users who are not proficient in dpatch in doing work with dpatch-based packages. Please send any improvements to the BTS of dpatch package. original text by Gerfried Fuchs, edited by Junichi Uekawa 10 Aug 2008. debian/patches/0000755000000000000000000000000012215332523010613 5ustar debian/patches/01-taint0000644000000000000000000000155412215332523012100 0ustar Author: Alexander Zangerl Subject: save and restore path before modifying it (to survive taint checks) diff -urNad libproc-pid-file-perl-1.27~/File.pm libproc-pid-file-perl-1.27/File.pm --- libproc-pid-file-perl-1.27~/File.pm 2010-04-25 14:36:00.000000000 +1000 +++ libproc-pid-file-perl-1.27/File.pm 2010-04-25 15:04:05.011672928 +1000 @@ -253,10 +253,12 @@ } } my $cols = delete($ENV{'COLUMNS'}); # prevents `ps` from wrapping + my $oldpath=$ENV{'PATH'}; + $ENV{'PATH'} = "/usr/bin:/bin"; # to survive the taint checks my @ps = split m|$/|, qx/ps -fp $pid/ || die "ps utility not available: $!"; s/^\s+// for @ps; # leading spaces confuse us - + $ENV{'PATH'}=$oldpath; $ENV{'COLUMNS'} = $cols if defined($cols); no warnings; # hate that deprecated @_ thing my $n = split(/\s+/, $ps[0]); debian/patches/series0000644000000000000000000000001112215332426012022 0ustar 01-taint debian/changelog0000644000000000000000000000377412220173264011052 0ustar libproc-pid-file-perl (1.27-3) unstable; urgency=low * changed long description to include module name -- Alexander Zangerl Tue, 24 Sep 2013 12:19:32 +1000 libproc-pid-file-perl (1.27-2) unstable; urgency=low * lifted standards version, debhelper compat level * changed to 3.0 quilt source format -- Alexander Zangerl Sun, 15 Sep 2013 23:24:18 +1000 libproc-pid-file-perl (1.27-1) unstable; urgency=low * New upstream release * now uses dpatch -- Alexander Zangerl Sun, 25 Apr 2010 14:36:00 +1000 libproc-pid-file-perl (1.24-7) unstable; urgency=low * lifted standards version * fixed perl install DESTDIR/PREFIX issue with 5.10.1 -- Alexander Zangerl Wed, 16 Sep 2009 10:18:44 +1000 libproc-pid-file-perl (1.24-6) unstable; urgency=low * applied patch by Felix C. Stegerman to fix #425467 without messing up the PATH for everything one might execute after proc::pid::file is done (closes: #430629) -- Alexander Zangerl Wed, 27 Jun 2007 18:22:10 +1000 libproc-pid-file-perl (1.24-5) unstable; urgency=low * added some minor sanitising so that taint checks are survivable (closes: #425467) -- Alexander Zangerl Wed, 23 May 2007 18:48:59 +1000 libproc-pid-file-perl (1.24-4) unstable; urgency=low * fixed the bungled section setting -- Alexander Zangerl Tue, 10 Apr 2007 18:40:28 +1000 libproc-pid-file-perl (1.24-3) unstable; urgency=low * fixed the package section. * lifted the standards version, cleaned up dependencies. -- Alexander Zangerl Tue, 10 Apr 2007 18:00:18 +1000 libproc-pid-file-perl (1.24-2) unstable; urgency=low * added build-depends on procps to fix missing ps at build/test (closes: #318545) -- Alexander Zangerl Mon, 18 Jul 2005 10:43:21 +1000 libproc-pid-file-perl (1.24-1) unstable; urgency=low * Initial release -- Alexander Zangerl Mon, 20 Jun 2005 22:43:08 +1000 debian/control0000644000000000000000000000121312220173234010562 0ustar Source: libproc-pid-file-perl Maintainer: Alexander Zangerl Priority: optional Section: perl Build-Depends: debhelper (>=8.0.0) Build-Depends-Indep: perl, procps [!hurd-i386] Standards-Version: 3.9.4 Package: libproc-pid-file-perl Architecture: all Priority: optional Section: perl Depends: perl, ${misc:Depends} Recommends: procps Homepage: http://search.cpan.org/~ecalder/Proc-PID-File/ Description: Perl module for managing process id files Proc::PID::File is useful for writers of daemons and other processes that need to tell whether other instances are running already. The module accomplishes this via Unix-style pidfiles. debian/copyright0000644000000000000000000000067212215332236011125 0ustar This package was debianized by Alexander Zangerl . It was downloaded from http://search.cpan.org/~ecalder/Proc-PID-File/ Upstream Author: Erick Calder Copyright: "Copyright (C) 2001-2003 Erick Calder This utility is free and distributed under GPL, the Gnu Public License." On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. debian/libproc-pid-file-perl.docs0000644000000000000000000000002512215332236014115 0ustar debian/README.source debian/compat0000644000000000000000000000000212215332321010356 0ustar 8 debian/watch0000644000000000000000000000021712215332236010216 0ustar # format version number, currently 3; this line is compulsory! version=3 http://www.cpan.org/authors/id/E/EC/ECALDER/Proc-PID-File-(.*).tar.gz debian/rules0000755000000000000000000000175012215332731010250 0ustar #!/usr/bin/make -f # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. PACKAGE=libproc-pid-file-perl configure: Makefile Makefile: Makefile.PL dh_testdir perl Makefile.PL INSTALLDIRS=vendor build-arch: build build-indep: build build: build-stamp build-stamp: configure dh_testdir $(MAKE) OPTIMIZE="-O2 -g -Wall" touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp [ ! -f Makefile ] || $(MAKE) distclean rm -f Makefile Makefile.old dh_clean # Build architecture-independent files here. binary-indep: build dh_testdir dh_testroot dh_clean dh_installdirs $(MAKE) test $(MAKE) install DESTDIR=$(CURDIR)/debian/$(PACKAGE) dh_install dh_installdocs -n dh_installchangelogs Changes dh_compress dh_fixperms dh_installdeb dh_perl dh_gencontrol dh_md5sums dh_builddeb # Build architecture-dependent files here. binary-arch: build binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary configure debian/source/0000755000000000000000000000000012215332264010466 5ustar debian/source/format0000644000000000000000000000001412215332264011674 0ustar 3.0 (quilt)