--- libapp-control-perl-1.02.orig/debian/rules +++ libapp-control-perl-1.02/debian/rules @@ -0,0 +1,79 @@ +#!/usr/bin/make -f +# This debian/rules file is provided as a template for normal perl +# packages. It was created by Marc Brockschmidt for +# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may +# be used freely wherever it is useful. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# If set to a true value then MakeMaker's prompt function will +# always return the default without waiting for user input. +export PERL_MM_USE_DEFAULT=1 + +PACKAGE=$(shell dh_listpackages) + +ifndef PERL +PERL = /usr/bin/perl +endif + +TMP =$(CURDIR)/debian/$(PACKAGE) + +build: build-stamp +build-stamp: + dh_testdir + + # Add commands to compile the package here + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) + $(MAKE) test + touch build-stamp + +clean: + dh_testdir + dh_testroot + + dh_clean build-stamp install-stamp + + # Add commands to clean up after the build process here + [ ! -f Makefile ] || $(MAKE) realclean + + + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + + # Add commands to install the package into debian/$PACKAGE_NAME here + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + + # As this is a architecture independent package, we are not + # supposed to install stuff to /usr/lib. MakeMaker creates + # the dirs, we delete them from the deb: + [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5 + + touch install-stamp + +binary-arch: +# We have nothing to do by default. + +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installchangelogs Changes + dh_perl + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary --- libapp-control-perl-1.02.orig/debian/watch +++ libapp-control-perl-1.02/debian/watch @@ -0,0 +1,3 @@ +# format version number, currently 3; this line is compulsory! +version=3 +http://search.cpan.org/dist/App-Control/ .*/App-Control-([[:digit:]].*)\.tar\.gz --- libapp-control-perl-1.02.orig/debian/compat +++ libapp-control-perl-1.02/debian/compat @@ -0,0 +1 @@ +5 --- libapp-control-perl-1.02.orig/debian/copyright +++ libapp-control-perl-1.02/debian/copyright @@ -0,0 +1,27 @@ +This is the debian package for the App::Control perl module. + +The original source was retrieved from: + + http://search.cpan.org/dist/App-Control/ + +Upstream authors: + Ave Wrigley + +Files: * +Copyright: © 2001 Ave Wrigley . +License: GPL-1+ | Artistic + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + . + Perl is distributed under your choice of the GNU General Public + License or the Artistic License. + +Files: debian/* +Copyright: © 2007 David Bremner +License: GPL-2+ + The Debian packaging is licensed under version 2 of the GNU General + Public License, or at your option, any later version. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL' and +the Artistic Licence in `/usr/share/common-licenses/Artistic'. --- libapp-control-perl-1.02.orig/debian/changelog +++ libapp-control-perl-1.02/debian/changelog @@ -0,0 +1,13 @@ +libapp-control-perl (1.02-2) unstable; urgency=low + + [ gregor herrmann ] + * debian/rules: delete /usr/lib/perl5 only if it exists (closes: #467659). + + -- Damyan Ivanov Wed, 27 Feb 2008 16:11:57 +0200 + +libapp-control-perl (1.02-1) unstable; urgency=low + + [ David Bremner ] + * Initial Release (Closes: #430686). + + -- Damyan Ivanov Tue, 11 Dec 2007 13:46:27 +0200 --- libapp-control-perl-1.02.orig/debian/control +++ libapp-control-perl-1.02/debian/control @@ -0,0 +1,24 @@ +Source: libapp-control-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 5.0.0) +Build-Depends-Indep: perl (>= 5.8.8-7) +Maintainer: Debian Perl Group +Uploaders: Damyan Ivanov +Standards-Version: 3.7.3 +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libapp-control-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libapp-control-perl/ +Homepage: http://search.cpan.org/dist/App-Control + +Package: libapp-control-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends} +Description: Perl module for apachectl style control of another executable + App::Control is a simple module to replicate the kind of functionality you get + with apachectl to control apache, but for any script or executable. There is a + very simple OO interface, where the constructor is used to specify the + executable, command line arguments, and pidfile, and various methods (start, + stop, etc.) are used to control the executable in the obvious way. The module + is intended to be used in a simple wrapper control script. Currently the + module does a fork and exec to start the executable, and sets the signal + handler for SIGCHLD to 'IGNORE' to avoid zombie processes.