r25247 - in /trunk/libcgi-ssi-perl/debian: ./ changelog control packages packages-tmp packages-tmp-include patches/ patches/010-test_without_network.patch rules rules.new watch

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Wed Sep 17 19:20:49 UTC 2008


Author: dmn
Date: Wed Sep 17 19:20:45 2008
New Revision: 25247

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=25247
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    trunk/libcgi-ssi-perl/debian/
    trunk/libcgi-ssi-perl/debian/changelog
    trunk/libcgi-ssi-perl/debian/control
    trunk/libcgi-ssi-perl/debian/packages
    trunk/libcgi-ssi-perl/debian/packages-tmp
    trunk/libcgi-ssi-perl/debian/packages-tmp-include
    trunk/libcgi-ssi-perl/debian/patches/
    trunk/libcgi-ssi-perl/debian/patches/010-test_without_network.patch
    trunk/libcgi-ssi-perl/debian/rules   (with props)
    trunk/libcgi-ssi-perl/debian/rules.new
    trunk/libcgi-ssi-perl/debian/watch

Added: trunk/libcgi-ssi-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-ssi-perl/debian/changelog?rev=25247&op=file
==============================================================================
--- trunk/libcgi-ssi-perl/debian/changelog (added)
+++ trunk/libcgi-ssi-perl/debian/changelog Wed Sep 17 19:20:45 2008
@@ -1,0 +1,57 @@
+libcgi-ssi-perl (0.92-1) unstable; urgency=low
+
+  * New usptream release.
+  * debian/packages:
+    - Convert LF/CR to LF in *.pm.
+    - Remove executable bit for *.pm.
+
+ -- Piotr Roszatycki <dexter at debian.org>  Mon, 10 Sep 2007 13:44:13 +0200
+
+libcgi-ssi-perl (0.88-2) unstable; urgency=low
+
+  * Applied NMU patch. Thanks Thijs Kinkhorst,
+  * Skip tests in 'make test' that try to access remote sites.
+    Closes: #337391.
+
+ -- Piotr Roszatycki <dexter at debian.org>  Mon,  3 Apr 2006 21:51:30 +0200
+
+libcgi-ssi-perl (0.88-1) unstable; urgency=low
+
+  * New upstream release. Closes: #329501.
+
+ -- Piotr Roszatycki <dexter at debian.org>  Tue,  4 Oct 2005 11:32:50 +0200
+
+libcgi-ssi-perl (0.53-5) unstable; urgency=low
+
+  * Remove Origin field and make lintian happy.
+
+ -- Piotr Roszatycki <dexter at debian.org>  Mon,  9 Aug 2004 11:16:17 +0200
+
+libcgi-ssi-perl (0.53-4) unstable; urgency=low
+
+  * Fix wrong case in Origin field, closes: #154414.
+  * Remove Bugs field, closes: #220082.
+  * Section: perl
+  * Tweaked dependencies.
+  * `make test' on build.
+
+ -- Piotr Roszatycki <dexter at debian.org>  Thu, 11 Mar 2004 20:33:23 +0100
+
+libcgi-ssi-perl (0.53-3) unstable; urgency=low
+
+  * Architecture: all
+
+ -- Piotr Roszatycki <dexter at debian.org>  Wed, 19 Dec 2001 10:12:00 +0100
+
+libcgi-ssi-perl (0.53-2) unstable; urgency=low
+
+  * Build-Depends-Indep in debian/control
+
+ -- Piotr Roszatycki <dexter at debian.org>  Wed, 17 Oct 2001 14:46:49 +0200
+
+libcgi-ssi-perl (0.53-1) unstable; urgency=low
+
+  * Initial Debian version, closes: #104050
+
+ -- Piotr Roszatycki <dexter at debian.org>  Mon,  9 Jul 2001 12:59:35 +0200
+

Added: trunk/libcgi-ssi-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-ssi-perl/debian/control?rev=25247&op=file
==============================================================================
--- trunk/libcgi-ssi-perl/debian/control (added)
+++ trunk/libcgi-ssi-perl/debian/control Wed Sep 17 19:20:45 2008
@@ -1,0 +1,18 @@
+Source: libcgi-ssi-perl
+Maintainer: Piotr Roszatycki <dexter at debian.org>
+Section: perl
+Priority: extra
+Standards-Version: 3.6.2
+Build-Depends: yada (>= 0.53)
+Build-Depends-Indep: perl (>= 5.8), tofrodos, libhtml-simpleparse-perl, perl-modules, libwww-perl, liburi-perl, libtimedate-perl
+
+Package: libcgi-ssi-perl
+Architecture: all
+Depends: libhtml-simpleparse-perl, perl-modules, libwww-perl, liburi-perl, libtimedate-perl, ${libcgi-ssi-perl:Depends}
+Description: perl CGI::SSI - Use SSI from CGI scripts
+ CGI::SSI is meant to be used as an easy way to filter shtml through CGI
+ scripts in a loose imitation of Apache's mod_include. If you're using
+ Apache, you may want to use either mod_include or the Apache::SSI module
+ instead of CGI::SSI. Limitations in a CGI script's knowledge of how the
+ server behaves make some SSI directives impossible to imitate from a CGI
+ script.

Added: trunk/libcgi-ssi-perl/debian/packages
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-ssi-perl/debian/packages?rev=25247&op=file
==============================================================================
--- trunk/libcgi-ssi-perl/debian/packages (added)
+++ trunk/libcgi-ssi-perl/debian/packages Wed Sep 17 19:20:45 2008
@@ -1,0 +1,83 @@
+# $Id: /svn/trunk/debian/dists/libcgi-ssi-perl/debian/packages 2414 2007-09-10T12:27:08.562830Z dexter  $
+
+# If the debian/rules or debian/control file is missing, rebuild the file:
+#
+#   $ yada rebuild control
+#   $ yada rebuild rules
+
+
+# Environment variables:
+
+# don't run `make test'
+#   with_no_test=%{with_no_test}
+
+
+Source: libcgi-ssi-perl
+Section: perl
+Priority: extra
+Maintainer: Piotr Roszatycki <dexter at debian.org>
+Standards-Version: 3.6.2
+Upstream-Source: <URL:http://www.cpan.org/modules/by-module/CGI/CGI-SSI-([0-9.]*)\.tar.gz>
+Patches: patches/*.patch
+Major-Changes:
+%`cd debian/patches && ls *.patch | sed -e 's/^/ /'`
+Description: perl CGI::SSI - Use SSI from CGI scripts
+Copyright: .
+ Copyright 2000 James Tolley   All Rights Reserved.
+ .
+ This is free software. You may copy and/or modify it under
+ the same terms as perl itself.
+ .
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of either:
+ .
+ a) the GNU General Public License as published by the Free Software
+    Foundation; either version 1, or (at your option) any later
+    version, or
+ .
+ b) the "Artistic License" which comes with Perl.
+ .
+ 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'.
+Build-Depends-Indep: perl (>= 5.8)
+Build-Depends-Indep: tofrodos
+%if %{!?without_test:1}
+Build-Depends-Indep: libhtml-simpleparse-perl
+Build-Depends-Indep: perl-modules
+Build-Depends-Indep: libwww-perl
+Build-Depends-Indep: liburi-perl
+Build-Depends-Indep: libtimedate-perl
+%endif
+Build: sh
+ PERL=${PERL:-/usr/bin/perl}
+ $PERL Makefile.PL INSTALLDIRS=vendor
+ make
+ find blib -name '*.pm' -print0 | xargs -0 fromdos -v -f
+ find blib -name '*.pm' -print0 | xargs -0 chmod -v -x
+%if %{without_no_test}
+ make test
+%endif
+Clean: sh
+ test -f Makefile && touch Makefile && make distclean || true
+
+Package: libcgi-ssi-perl
+Architecture: all
+Depends: libhtml-simpleparse-perl
+Depends: perl-modules
+Depends: libwww-perl
+Depends: liburi-perl
+Depends: libtimedate-perl
+Depends: []
+Description: perl CGI::SSI - Use SSI from CGI scripts
+ CGI::SSI is meant to be used as an easy way to filter shtml through CGI
+ scripts in a loose imitation of Apache's mod_include. If you're using
+ Apache, you may want to use either mod_include or the Apache::SSI module
+ instead of CGI::SSI. Limitations in a CGI script's knowledge of how the
+ server behaves make some SSI directives impossible to imitate from a CGI
+ script.
+Install: sh
+ PERL=${PERL:-/usr/bin/perl}
+ make install PREFIX=$ROOT/usr
+ yada install -doc README
+ yada install -doc -as changelog Changes

Added: trunk/libcgi-ssi-perl/debian/packages-tmp
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-ssi-perl/debian/packages-tmp?rev=25247&op=file
==============================================================================
--- trunk/libcgi-ssi-perl/debian/packages-tmp (added)
+++ trunk/libcgi-ssi-perl/debian/packages-tmp Wed Sep 17 19:20:45 2008
@@ -1,0 +1,80 @@
+# $Id: /svn/trunk/debian/dists/libcgi-ssi-perl/debian/packages 2414 2007-09-10T12:27:08.562830Z dexter  $
+
+# If the debian/rules or debian/control file is missing, rebuild the file:
+#
+#   $ yada rebuild control
+#   $ yada rebuild rules
+
+
+# Environment variables:
+
+# don't run `make test'
+#   with_no_test=
+
+
+Source: libcgi-ssi-perl
+Section: perl
+Priority: extra
+Maintainer: Piotr Roszatycki <dexter at debian.org>
+Standards-Version: 3.6.2
+Upstream-Source: <URL:http://www.cpan.org/modules/by-module/CGI/CGI-SSI-([0-9.]*)\.tar.gz>
+Patches: patches/*.patch
+Major-Changes:
+/home/dam/work/debian/pkg-perl/trunk/tmp.WpCcFPzWoz/unpdir/libcgi-ssi-perl-0.92/debian/patches
+ 010-test_without_network.patch
+Description: perl CGI::SSI - Use SSI from CGI scripts
+Copyright: .
+ Copyright 2000 James Tolley   All Rights Reserved.
+ .
+ This is free software. You may copy and/or modify it under
+ the same terms as perl itself.
+ .
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of either:
+ .
+ a) the GNU General Public License as published by the Free Software
+    Foundation; either version 1, or (at your option) any later
+    version, or
+ .
+ b) the "Artistic License" which comes with Perl.
+ .
+ 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'.
+Build-Depends-Indep: perl (>= 5.8)
+Build-Depends-Indep: tofrodos
+Build-Depends-Indep: libhtml-simpleparse-perl
+Build-Depends-Indep: perl-modules
+Build-Depends-Indep: libwww-perl
+Build-Depends-Indep: liburi-perl
+Build-Depends-Indep: libtimedate-perl
+Build: sh
+ PERL=${PERL:-/usr/bin/perl}
+ $PERL Makefile.PL INSTALLDIRS=vendor
+ make
+ find blib -name '*.pm' -print0 | xargs -0 fromdos -v -f
+ find blib -name '*.pm' -print0 | xargs -0 chmod -v -x
+ make test
+Clean: sh
+ test -f Makefile && touch Makefile && make distclean || true
+
+Package: libcgi-ssi-perl
+Architecture: all
+Depends: libhtml-simpleparse-perl
+Depends: perl-modules
+Depends: libwww-perl
+Depends: liburi-perl
+Depends: libtimedate-perl
+Depends: []
+Description: perl CGI::SSI - Use SSI from CGI scripts
+ CGI::SSI is meant to be used as an easy way to filter shtml through CGI
+ scripts in a loose imitation of Apache's mod_include. If you're using
+ Apache, you may want to use either mod_include or the Apache::SSI module
+ instead of CGI::SSI. Limitations in a CGI script's knowledge of how the
+ server behaves make some SSI directives impossible to imitate from a CGI
+ script.
+Install: sh
+ PERL=${PERL:-/usr/bin/perl}
+ make install PREFIX=$ROOT/usr
+ yada install -doc README
+ yada install -doc -as changelog Changes

Added: trunk/libcgi-ssi-perl/debian/packages-tmp-include
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-ssi-perl/debian/packages-tmp-include?rev=25247&op=file
==============================================================================
    (empty)

Added: trunk/libcgi-ssi-perl/debian/patches/010-test_without_network.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-ssi-perl/debian/patches/010-test_without_network.patch?rev=25247&op=file
==============================================================================
--- trunk/libcgi-ssi-perl/debian/patches/010-test_without_network.patch (added)
+++ trunk/libcgi-ssi-perl/debian/patches/010-test_without_network.patch Wed Sep 17 19:20:45 2008
@@ -1,0 +1,59 @@
+--- libcgi-ssi-perl-0.88.orig/test.pl
++++ libcgi-ssi-perl-0.88/test.pl
+@@ -101,10 +101,12 @@
+ # include file - with many types of input
+ # include virtual - with different types of input
+ 
+-{
+-    my $ssi = CGI::SSI->new();
+-    my $html = $ssi->process(q[<!--#include virtual="http://www.yahoo.com" -->]);
+-    ok($html =~ /yahoo/i && $html =~ /mail/i,'include virtual 1');
++SKIP: {
++# Thijs Kinkhorst: disable tests that require network access
++#    my $ssi = CGI::SSI->new();
++#    my $html = $ssi->process(q[<!--#include virtual="http://www.yahoo.com" -->]);
++#    ok($html =~ /yahoo/i && $html =~ /mail/i,'include virtual 1');
++    skip("skipping include virtual 1, remote test",1);
+ }
+ 
+     # tough to do these well, without more info...
+@@ -119,10 +121,12 @@
+ 
+ # exec cgi - with different input
+ 
+-{
+-    my $ssi = CGI::SSI->new();
+-    my $html = $ssi->process(q[<!--#exec cgi="http://www.yahoo.com/" -->]);
+-    ok($html =~ /yahoo/i,'exec cgi');
++SKIP: {
++# Thijs Kinkhorst: disable tests that require network access
++#    my $ssi = CGI::SSI->new();
++#    my $html = $ssi->process(q[<!--#exec cgi="http://www.yahoo.com/" -->]);
++#    ok($html =~ /yahoo/i,'exec cgi');
++    skip("skipping exec cgi, remote test",1);
+ }
+ 
+ # exec cmd - with different input
+@@ -267,13 +271,15 @@
+ 
+ # test cookie support
+ SKIP: {
+-	eval "use HTTP::Cookies; 1" or skip("HTTP::Cookies not installed", 1);
+-	my $jar = HTTP::Cookies->new({});
+-	$jar->set_cookie(1,'mycookie','COOKIEVAL','/','www.bitperfect.com',80,0,0,100);
+-
+-	my $ssi = CGI::SSI->new(COOKIE_JAR => $jar);
+-	my $html = $ssi->process(qq[<!--#include virtual="http://www.bitperfect.com/cgi-bin/cgi-ssi/cookietest.cgi"-->]);
+-	ok($html =~ m'COOKIEVAL', "cookie support");
++# Thijs Kinkhorst: disable tests that require network access
++#	eval "use HTTP::Cookies; 1" or skip("HTTP::Cookies not installed", 1);
++#	my $jar = HTTP::Cookies->new({});
++#	$jar->set_cookie(1,'mycookie','COOKIEVAL','/','www.bitperfect.com',80,0,0,100);
++#
++#	my $ssi = CGI::SSI->new(COOKIE_JAR => $jar);
++#	my $html = $ssi->process(qq[<!--#include virtual="http://www.bitperfect.com/cgi-bin/cgi-ssi/cookietest.cgi"-->]);
++#	ok($html =~ m'COOKIEVAL', "cookie support");
++	skip("skipping cookie test, remote test", 1);
+ }
+ 
+ SKIP: {

Added: trunk/libcgi-ssi-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-ssi-perl/debian/rules?rev=25247&op=file
==============================================================================
--- trunk/libcgi-ssi-perl/debian/rules (added)
+++ trunk/libcgi-ssi-perl/debian/rules Wed Sep 17 19:20:45 2008
@@ -1,0 +1,248 @@
+#!/usr/bin/make -f
+# Generated automatically from debian/packages
+# by yada v0.53, of Fri,  4 May 2007
+
+DEB_HOST_ARCH        := $(shell dpkg-architecture -qDEB_HOST_ARCH 2>/dev/null)
+DEB_HOST_ARCH_OS     := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null)
+DEB_HOST_ARCH_CPU    := $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU 2>/dev/null)
+DEB_HOST_GNU_CPU     := $(shell dpkg-architecture -qDEB_HOST_GNU_CPU 2>/dev/null)
+DEB_HOST_GNU_TYPE    := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE 2>/dev/null)
+DEB_HOST_GNU_SYSTEM  := $(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM 2>/dev/null)
+
+DEB_BUILD_ARCH       := $(shell dpkg-architecture -qDEB_BUILD_ARCH 2>/dev/null)
+DEB_BUILD_ARCH_OS    := $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS 2>/dev/null)
+DEB_BUILD_ARCH_CPU   := $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU 2>/dev/null)
+DEB_BUILD_GNU_CPU    := $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU 2>/dev/null)
+DEB_BUILD_GNU_TYPE   := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE 2>/dev/null)
+DEB_BUILD_GNU_SYSTEM := $(shell dpkg-architecture -qDEB_BUILD_GNU_SYSTEM 2>/dev/null)
+
+# Take account of old dpkg-architecture output.
+ifeq ($(DEB_HOST_ARCH_CPU),)
+  DEB_HOST_ARCH_CPU := $(DEB_HOST_GNU_CPU))
+  ifeq ($(DEB_HOST_ARCH_CPU),i486)
+    DEB_HOST_ARCH_OS := i386
+  else
+  ifeq ($(DEB_HOST_ARCH_CPU),x86_64)
+    DEB_HOST_ARCH_OS := amd64
+  endif
+  endif
+endif
+ifeq ($(DEB_HOST_ARCH_OS),)
+  DEB_HOST_ARCH_OS := $(subst -gnu,,$(DEB_HOST_GNU_SYSTEM))
+  ifeq ($(DEB_HOST_ARCH_OS),gnu)
+    DEB_HOST_ARCH_OS := hurd
+  endif
+endif
+ifeq ($(DEB_BUILD_ARCH_CPU),)
+  DEB_BUILD_ARCH_CPU := $(DEB_BUILD_GNU_CPU))
+  ifeq ($(DEB_BUILD_ARCH_CPU),i486)
+    DEB_BUILD_ARCH_OS := i386
+  else
+  ifeq ($(DEB_BUILD_ARCH_CPU),x86_64)
+    DEB_BUILD_ARCH_OS := amd64
+  endif
+  endif
+endif
+ifeq ($(DEB_BUILD_ARCH_OS),)
+  DEB_BUILD_ARCH_OS := $(subst -gnu,,$(DEB_BUILD_GNU_SYSTEM))
+  ifeq ($(DEB_BUILD_ARCH_OS),gnu)
+    DEB_BUILD_ARCH_OS := hurd
+  endif
+endif
+
+LEFT_PARENTHESIS:=(
+VERSION:=$(shell head -n1 debian/changelog | sed -e "s/^[0-9a-zA-Z.-]* $(LEFT_PARENTHESIS)//" -e "s/[^0-9a-zA-Z.:+~-].*//")
+
+SHELL=/bin/bash
+
+.PHONY: default
+default:
+	@echo "Specify a target:"; \
+	echo " build              compile the package"; \
+	echo " build-arch         compile the architecture-dependent package"; \
+	echo " build-indep        compile the architecture-independent package"; \
+	echo " binary             make all binary packages"; \
+	echo " binary-arch        make all architecture-dependent binary packages"; \
+	echo " binary-indep       make all architecture-independent binary packages"; \
+	echo " clean              clean up the source package"; \
+	echo; \
+	echo " clean-install-tree clean up only under debian/"; \
+	echo
+
+# Build the package and prepare the install tree
+
+.PHONY: build-only build
+build-only: debian/build-stamp
+build: build-only
+
+.PHONY: build-arch-only build-arch
+build-arch-only: debian/build-arch-stamp
+build-arch: build-arch-only
+
+.PHONY: build-indep-only build-indep
+build-indep-only: debian/build-indep-stamp
+build-indep: build-indep-only
+
+# Make sure these rules and the control file are up-to-date
+
+.PHONY: rules control templates
+rules: debian/rules
+debian/rules: $(shell which yada) debian/packages-tmp
+	yada rebuild rules
+
+control: debian/control
+debian/control: $(shell which yada) debian/packages-tmp
+	yada rebuild control
+
+templates: debian/templates debian/po/POTFILES.in
+debian/templates: $(shell which yada) debian/packages-tmp
+	yada rebuild templates
+debian/po/POTFILES.in: $(shell which yada) debian/packages-tmp
+	yada rebuild templates
+
+debian/build-stamp: debian/build-arch-stamp debian/build-indep-stamp
+	@[ -f $(shell which yada) -a -f debian/rules ]
+	yada patch "debian/patches/*.patch"
+	@umask 022 \
+	  && export pwd="$$(pwd)" \
+	  && export TMPROOT="$$(pwd)/debian/tmp" \
+	  && export SOURCE="libcgi-ssi-perl" \
+	  && export VERSION="$(VERSION)" \
+	  && export DEB_HOST_GNU_CPU="$(DEB_HOST_GNU_CPU)" \
+	  && export DEB_HOST_GNU_TYPE="$(DEB_HOST_GNU_TYPE)" \
+	  && export DEB_HOST_GNU_SYSTEM="$(DEB_HOST_GNU_SYSTEM)" \
+	  && export DEB_BUILD_GNU_CPU="$(DEB_BUILD_GNU_CPU)" \
+	  && export DEB_BUILD_GNU_TYPE="$(DEB_BUILD_GNU_TYPE)" \
+	  && export DEB_BUILD_GNU_SYSTEM="$(DEB_BUILD_GNU_SYSTEM)" && (\
+	echo -E 'eval "yada () { perl $$(which yada) \"\$$@\"; }"; set -e; set -v';\
+	echo -E 'PERL=$${PERL:-/usr/bin/perl}';\
+	echo -E '$$PERL Makefile.PL INSTALLDIRS=vendor';\
+	echo -E 'make';\
+	echo -E 'find blib -name '\''*.pm'\'' -print0 | xargs -0 fromdos -v -f';\
+	echo -E 'find blib -name '\''*.pm'\'' -print0 | xargs -0 chmod -v -x';\
+	echo -E 'make test') | /bin/sh
+	touch debian/build-stamp
+
+debian/build-arch-stamp:
+	@[ -f $(shell which yada) -a -f debian/rules ]
+	yada patch "debian/patches/*.patch"
+	touch debian/build-arch-stamp
+
+debian/build-indep-stamp: debian/build-arch-stamp
+	@[ -f $(shell which yada) -a -f debian/rules ]
+	yada patch "debian/patches/*.patch"
+	touch debian/build-indep-stamp
+
+.PHONY: install-tree
+install-tree: install-tree-any
+install-tree-any: \
+	debian/tmp-libcgi-ssi-perl/DEBIAN/control
+
+debian/tmp-libcgi-ssi-perl/DEBIAN/control: debian/build-stamp debian/control
+	rm -rf debian/tmp-libcgi-ssi-perl
+	umask 022 && install -d debian/tmp-libcgi-ssi-perl/DEBIAN
+	install -d debian/tmp-libcgi-ssi-perl/usr/share/doc/libcgi-ssi-perl
+	umask 022; yada generate copyright \
+	  > debian/tmp-libcgi-ssi-perl/usr/share/doc/libcgi-ssi-perl/copyright
+	install -m 644 -p debian/changelog \
+	  debian/tmp-libcgi-ssi-perl/usr/share/doc/libcgi-ssi-perl/changelog.Debian
+	@umask 022 \
+	  && export pwd="$$(pwd)" \
+	  && export ROOT="$$(pwd)/debian/tmp-libcgi-ssi-perl" \
+	  && export TMPROOT="$$(pwd)/debian/tmp" \
+	  && export CONTROL="$$(pwd)/debian/tmp-libcgi-ssi-perl/DEBIAN" \
+	  && export PACKAGE="libcgi-ssi-perl" \
+	  && export SOURCE="libcgi-ssi-perl" \
+	  && export VERSION="$(VERSION)" \
+	  && export DEB_HOST_GNU_CPU="$(DEB_HOST_GNU_CPU)" \
+	  && export DEB_HOST_GNU_TYPE="$(DEB_HOST_GNU_TYPE)" \
+	  && export DEB_HOST_GNU_SYSTEM="$(DEB_HOST_GNU_SYSTEM)" \
+	  && export DEB_BUILD_GNU_CPU="$(DEB_BUILD_GNU_CPU)" \
+	  && export DEB_BUILD_GNU_TYPE="$(DEB_BUILD_GNU_TYPE)" \
+	  && export DEB_BUILD_GNU_SYSTEM="$(DEB_BUILD_GNU_SYSTEM)" && (\
+	echo -E 'eval "yada () { perl $$(which yada) \"\$$@\"; }"; set -e; set -v';\
+	echo -E 'PERL=$${PERL:-/usr/bin/perl}';\
+	echo -E 'make install PREFIX=$$ROOT/usr';\
+	echo -E 'yada install -doc README';\
+	echo -E 'yada install -doc -as changelog Changes') | /bin/sh
+	@umask 022 \
+	  && export pwd="$$(pwd)" \
+	  && export ROOT="$$(pwd)/debian/tmp-libcgi-ssi-perl" \
+	  && export TMPROOT="$$(pwd)/debian/tmp" \
+	  && export CONTROL="$$(pwd)/debian/tmp-libcgi-ssi-perl/DEBIAN" \
+	  && export PACKAGE="libcgi-ssi-perl" \
+	  && export SOURCE="libcgi-ssi-perl" \
+	  && export VERSION="$(VERSION)" && (\
+	echo -E 'eval "yada () { perl $$(which yada) \"\$$@\"; }"; set -e; set -v';\
+	echo -E 'yada perl';\
+	echo -E 'yada python';\
+	echo -E 'yada strip';\
+	echo -E 'yada shlibdeps') | /bin/sh
+	yada compress libcgi-ssi-perl
+	yada generate maintscripts libcgi-ssi-perl
+	find debian/tmp-libcgi-ssi-perl -type f -print \
+	  | sed -n 's/^debian\/tmp-libcgi-ssi-perl\(\/etc\/.*\)$$/\1/p' \
+	  > debian/tmp-libcgi-ssi-perl/DEBIAN/conffiles
+	test -s debian/tmp-libcgi-ssi-perl/DEBIAN/conffiles || rm -f debian/tmp-libcgi-ssi-perl/DEBIAN/conffiles
+	yada rebuild control
+	yada generate substvars libcgi-ssi-perl
+	umask 022 && dpkg-gencontrol -isp -plibcgi-ssi-perl -Pdebian/tmp-libcgi-ssi-perl
+
+# Build package files
+
+.PHONY: binary binary-arch binary-indep
+binary: binary-arch binary-indep
+binary-arch: binary-arch-any
+
+.PHONY: binary-arch-any
+binary-arch-any:
+binary-indep: \
+	binary-package-libcgi-ssi-perl
+
+.PHONY: binary-package-libcgi-ssi-perl
+binary-package-libcgi-ssi-perl: check-root debian/tmp-libcgi-ssi-perl/DEBIAN/control
+	@[ -f $(shell which yada) -a -f debian/rules ]
+	chown -R 0.0 debian/tmp-libcgi-ssi-perl
+	chmod -R u=rwX,go=rX debian/tmp-libcgi-ssi-perl
+	@if [ -d debian/tmp-libcgi-ssi-perl/usr/doc/libcgi-ssi-perl ]; then \
+	  echo "*** Yada warning: /usr/doc/libcgi-ssi-perl should be /usr/share/doc/libcgi-ssi-perl";\
+	fi
+	dpkg-deb --build debian/tmp-libcgi-ssi-perl ..
+
+.PHONY: check-root
+check-root:
+	@[ `id -u` = 0 ] || (echo "You must be root to do this!"; false)
+
+debian/packages-tmp: debian/packages 
+	yada rebuild packages
+
+## Clean up afterwards
+
+.PHONY: clean clean-install-tree clean-build
+
+clean: clean-install-tree clean-build debian/control debian/rules
+	rm -f debian/packages-tmp debian/packages-tmp-new debian/packages-tmp-include
+
+clean-build:
+	@[ -f $(shell which yada) -a -f debian/rules ]
+	rm -f debian/build-stamp debian/build-arch-stamp debian/build-indep-stamp
+	@umask 022 \
+	  && export pwd="$$(pwd)" \
+	  && export TMPROOT="$$(pwd)/debian/tmp" \
+	  && export SOURCE="libcgi-ssi-perl" \
+	  && export VERSION="$(VERSION)" \
+	  && export DEB_HOST_GNU_CPU="$(DEB_HOST_GNU_CPU)" \
+	  && export DEB_HOST_GNU_TYPE="$(DEB_HOST_GNU_TYPE)" \
+	  && export DEB_HOST_GNU_SYSTEM="$(DEB_HOST_GNU_SYSTEM)" \
+	  && export DEB_BUILD_GNU_CPU="$(DEB_BUILD_GNU_CPU)" \
+	  && export DEB_BUILD_GNU_TYPE="$(DEB_BUILD_GNU_TYPE)" \
+	  && export DEB_BUILD_GNU_SYSTEM="$(DEB_BUILD_GNU_SYSTEM)" && (\
+	echo -E 'eval "yada () { perl $$(which yada) \"\$$@\"; }"; set -e; set -v';\
+	echo -E 'test -f Makefile && touch Makefile && make distclean || true') | /bin/sh
+	yada unpatch
+	rm -rf debian/tmp
+
+clean-install-tree: debian/rules
+	@[ -f $(shell which yada) -a -f debian/rules ]
+	rm -f debian/install-tree-stamp
+	rm -rf debian/tmp-* debian/files* debian/substvars debian/shlibs.local debian/ucf

Propchange: trunk/libcgi-ssi-perl/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/libcgi-ssi-perl/debian/rules.new
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-ssi-perl/debian/rules.new?rev=25247&op=file
==============================================================================
    (empty)

Added: trunk/libcgi-ssi-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-ssi-perl/debian/watch?rev=25247&op=file
==============================================================================
--- trunk/libcgi-ssi-perl/debian/watch (added)
+++ trunk/libcgi-ssi-perl/debian/watch Wed Sep 17 19:20:45 2008
@@ -1,0 +1,5 @@
+# format version number, currently 2; this line is compulsory!
+version=2
+
+# Automatically generated by cvsdebuscan at Thu, 11 Mar 2004 20:34:53 +0100
+http://www.cpan.org/modules/by-module/CGI/CGI-SSI-([0-9.]*)\.tar.gz




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