[libnet-dns-sec-perl] 07/19: Convert to 3.0 (quilt) format

Ondrej Sury ondrej at moszumanska.debian.org
Wed Jun 18 13:36:08 UTC 2014


This is an automated email from the git hooks/post-receive script.

ondrej pushed a commit to branch master
in repository libnet-dns-sec-perl.

commit 0a48cbf1680be72544c06d0c3bd9e7ce914e5068
Author: Ondřej Surý <ondrej at sury.org>
Date:   Tue May 11 12:40:20 2010 +0200

    Convert to 3.0 (quilt) format
---
 debian/README.source              | 13 +++++++
 debian/control                    | 18 ++++++---
 debian/patches/{00list => series} |  0
 debian/rules                      | 82 ++-------------------------------------
 debian/source/format              |  1 +
 5 files changed, 31 insertions(+), 83 deletions(-)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..4317d61
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,13 @@
+libnet-dns-sec-perl for Debian
+------------------------------
+
+This package uses quilt 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.  Please see:
+
+    /usr/share/doc/quilt/README.source
+
+for more information on how to apply the patches, modify patches, or
+remove a patch.
+
+ -- Ondřej Surý <ondrej at debian.org>, Tue, 11 May 2010 12:39:48 +0200
diff --git a/debian/control b/debian/control
index 65ab8c2..c13bea6 100644
--- a/debian/control
+++ b/debian/control
@@ -1,13 +1,21 @@
 Source: libnet-dns-sec-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5.0.0), libcrypt-openssl-bignum-perl (>= 0.03), libcrypt-openssl-dsa-perl (>= 0.1),
-               libcrypt-openssl-rsa-perl (>= 0.19), libdigest-bubblebabble-perl (>= 0.0.1),
-               libdigest-sha-perl, libdigest-sha1-perl, libnet-dns-perl (>= 0.64),
-               libtest-simple-perl, libtime-local-perl, libmime-base32-perl, dpatch
+Build-Depends: quilt (>= 0.46-7~),
+	       debhelper (>= 7.0.50~),
+	       libcrypt-openssl-bignum-perl (>= 0.03),
+	       libcrypt-openssl-dsa-perl (>= 0.1),
+               libcrypt-openssl-rsa-perl (>= 0.19),
+	       libdigest-bubblebabble-perl (>= 0.0.1),
+               libdigest-sha-perl,
+	       libdigest-sha1-perl,
+	       libnet-dns-perl (>= 0.64),
+               libtest-simple-perl,
+	       libtime-local-perl,
+	       libmime-base32-perl
 Build-Depends-Indep: perl (>= 5.8.8-12)
 Maintainer: Ondřej Surý <ondrej at debian.org>
-Standards-Version: 3.8.3
+Standards-Version: 3.8.4
 Homepage: http://www.net-dns.org/
 
 Package: libnet-dns-sec-perl
diff --git a/debian/patches/00list b/debian/patches/series
similarity index 100%
rename from debian/patches/00list
rename to debian/patches/series
diff --git a/debian/rules b/debian/rules
index b60ad30..8749927 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,87 +1,13 @@
 #!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> 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
 
+export DH_OPTIONS
+
 # 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)
-
-# use dpatch now
-include /usr/share/dpatch/dpatch.make
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP     =$(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp: patch
-	dh_testdir
-
-	# As this is a architecture independent package, we are not
-	# supposed to install stuff to /usr/lib. MakeMaker creates
-	# the dirs, we prevent this by setting the INSTALLVENDORARCH
-	# and VENDORARCHEXP environment variables.
-
-	# Add commands to compile the package here
-	$(PERL) Makefile.PL INSTALLDIRS=vendor \
-		INSTALLVENDORARCH=/usr/share/perl5/ \
-		VENDORARCHEXP=/usr/share/perl5/
-	$(MAKE)
-	$(MAKE) test
-
-	touch $@
-
-clean: clean-patched unpatch
-
-clean-patched:
-	dh_testdir
-	dh_testroot
-
-	dh_clean build-stamp install-stamp
-
-	# Add commands to clean up after the build process here
-	[ ! -f Makefile ] || $(MAKE) realclean
-	rm -f t/keyset-test.tld.
-
-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
-
-	touch $@
-
-binary-arch:
-# We have nothing to do here for an architecture-independent package
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installexamples
-	dh_installdocs README TODO
-	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 patch unpatch binary-indep binary-arch binary
+%:
+	dh --with quilt $@
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnet-dns-sec-perl.git



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