--- librunapp-perl-0.13.orig/debian/rules +++ librunapp-perl-0.13/debian/rules @@ -0,0 +1,80 @@ +#!/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 + +include /usr/share/quilt/quilt.make + +PACKAGE=$(shell dh_listpackages) + +ifndef PERL +PERL = /usr/bin/perl +endif + +TMP =$(CURDIR)/debian/$(PACKAGE) + +build: build-stamp +build-stamp: $(QUILT_STAMPFN) + dh_testdir + + # Add commands to compile the package here + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) + $(MAKE) test + touch build-stamp + +clean: unpatch + 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 --- librunapp-perl-0.13.orig/debian/patches/lib-RunApp-Cron.pm-NAME.patch +++ librunapp-perl-0.13/debian/patches/lib-RunApp-Cron.pm-NAME.patch @@ -0,0 +1,12 @@ +Index: librunapp-perl/lib/RunApp/Cron.pm +=================================================================== +--- librunapp-perl.orig/lib/RunApp/Cron.pm 2007-12-13 22:47:47.000000000 +0100 ++++ librunapp-perl/lib/RunApp/Cron.pm 2007-12-13 22:55:44.000000000 +0100 +@@ -1,6 +1,6 @@ + =head1 NAME + +-RunApp::Cron ++RunApp::Cron - build and install/remove a crontab + + =head1 DESCRIPTION + --- librunapp-perl-0.13.orig/debian/patches/series +++ librunapp-perl-0.13/debian/patches/series @@ -0,0 +1 @@ +lib-RunApp-Cron.pm-NAME.patch --- librunapp-perl-0.13.orig/debian/watch +++ librunapp-perl-0.13/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/RunApp/ .*/RunApp-v?(\d[\d.]*)\.tar\.gz --- librunapp-perl-0.13.orig/debian/compat +++ librunapp-perl-0.13/debian/compat @@ -0,0 +1 @@ +5 --- librunapp-perl-0.13.orig/debian/copyright +++ librunapp-perl-0.13/debian/copyright @@ -0,0 +1,98 @@ +This is the debian package for the RunApp module. + +The original source was retrieved from: + + http://search.cpan.org/dist/RunApp + +Upstream authors: + Chia-liang Kao + Refactored from works by Leon Brocard and + Tom Insam . + +Files: * +License: GPL-1+ | Artistic +Copyright: Copyright (C) 2002-5, Fotango Ltd. + This module is free software; you can redistribute it 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: lib/RunApp/Control/ApacheCtl.pm +License: other +Copyryght: Copyright (C) 2002-5, Fotango Ltd. +Copyright: Copyright (c) 2000-2002 The Apache Software Foundation. All rights reserved + This module is free software; you can redistribute it or modify it + under the same terms as Perl itself. + (GPL+|Artistic) + . + The file contains a copy of the apachetcl script, which is under the + following license + . + The Apache Software License, Version 1.1 + . + Copyright (c) 2000-2002 The Apache Software Foundation. All rights + reserved. + . + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + . + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + . + 3. The end-user documentation included with the redistribution, + if any, must include the following acknowledgment: + "This product includes software developed by the + Apache Software Foundation (http://www.apache.org/)." + Alternately, this acknowledgment may appear in the software itself, + if and wherever such third-party acknowledgments normally appear. + . + 4. The names "Apache" and "Apache Software Foundation" must + not be used to endorse or promote products derived from this + software without prior written permission. For written + permission, please contact apache@apache.org. + . + 5. Products derived from this software may not be called "Apache", + nor may "Apache" appear in their name, without prior written + permission of the Apache Software Foundation. + . + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR + ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF + USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + ==================================================================== + . + This software consists of voluntary contributions made by many + individuals on behalf of the Apache Software Foundation. For more + information on the Apache Software Foundation, please see + . + . + Portions of this software are based upon public domain software + originally written at the National Center for Supercomputing Applications, + University of Illinois, Urbana-Champaign. + + +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'. --- librunapp-perl-0.13.orig/debian/changelog +++ librunapp-perl-0.13/debian/changelog @@ -0,0 +1,6 @@ +librunapp-perl (0.13-1) unstable; urgency=low + + [ David Bremner ] + * Initial Release (Closes: #431763). + + -- Damyan Ivanov Wed, 09 Jan 2008 14:34:50 +0200 --- librunapp-perl-0.13.orig/debian/control +++ librunapp-perl-0.13/debian/control @@ -0,0 +1,23 @@ +Source: librunapp-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 5.0.0), quilt +Build-Depends-Indep: perl (>= 5.8.8-7), libapp-control-perl, libtemplate-perl, + libyaml-perl +Maintainer: Debian Perl Group +Uploaders: Damyan Ivanov +Standards-Version: 3.7.3 +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/librunapp-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/librunapp-perl/ +Homepage: http://search.cpan.org/dist/RunApp + +Package: librunapp-perl +Architecture: all +Depends: ${perl:Depends}, libapp-control-perl, libtemplate-perl, libyaml-perl +Description: A generic module to run web-applications + RunApp streamlines the process for configuring applications that + requires one or more web servers and/or other daemons, during + development or deployment. It builds the config files required by + the services (such as apache's httpd.conf) using a hash. + +