r33604 - in /trunk/libnet-arp-perl/debian: changelog compat control docs rules

thialme-guest at users.alioth.debian.org thialme-guest at users.alioth.debian.org
Sun Apr 19 17:32:53 UTC 2009


Author: thialme-guest
Date: Sun Apr 19 17:32:48 2009
New Revision: 33604

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=33604
Log:
* Switched to dh7:
  + Updated d{control,compat,rules} accordingly.
* Bumped up Standards-Version to 3.8.1 (no changes).

Added:
    trunk/libnet-arp-perl/debian/docs
Modified:
    trunk/libnet-arp-perl/debian/changelog
    trunk/libnet-arp-perl/debian/compat
    trunk/libnet-arp-perl/debian/control
    trunk/libnet-arp-perl/debian/rules

Modified: trunk/libnet-arp-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-arp-perl/debian/changelog?rev=33604&op=diff
==============================================================================
--- trunk/libnet-arp-perl/debian/changelog (original)
+++ trunk/libnet-arp-perl/debian/changelog Sun Apr 19 17:32:48 2009
@@ -9,6 +9,9 @@
   * Updated 20skip_send_packet_test.patch:
     + make it fail if an error occurs.
     + handle multiple interfaces.
+  * Switched to dh7:
+    + Updated d{control,compat,rules} accordingly.
+  * Bumped up Standards-Version to 3.8.1 (no changes).
 
  -- gregor herrmann <gregoa at debian.org>  Sun, 16 Nov 2008 20:45:15 +0100
 

Modified: trunk/libnet-arp-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-arp-perl/debian/compat?rev=33604&op=diff
==============================================================================
--- trunk/libnet-arp-perl/debian/compat (original)
+++ trunk/libnet-arp-perl/debian/compat Sun Apr 19 17:32:48 2009
@@ -1,1 +1,1 @@
-6
+7

Modified: trunk/libnet-arp-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-arp-perl/debian/control?rev=33604&op=diff
==============================================================================
--- trunk/libnet-arp-perl/debian/control (original)
+++ trunk/libnet-arp-perl/debian/control Sun Apr 19 17:32:48 2009
@@ -1,17 +1,17 @@
 Source: libnet-arp-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 6), perl (>= 5.8.8-6), quilt (>= 0.40), net-tools
+Build-Depends: debhelper (>= 7), perl (>= 5.8.8-6), quilt (>= 0.40), net-tools
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Gunnar Wolf <gwolf at debian.org>, Niko Tyni <ntyni at debian.org>
-Standards-Version: 3.8.0
+Standards-Version: 3.8.1
 Homepage: http://search.cpan.org/dist/Net-ARP/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libnet-arp-perl/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libnet-arp-perl/
 
 Package: libnet-arp-perl
 Architecture: any
-Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends}, 
+Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends}
 Recommends: libnet-pcap-perl
 Description:  Create ARP packets and lookup for ARP information
  This module allows for creating arbitrary ARP packages from within

Added: trunk/libnet-arp-perl/debian/docs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-arp-perl/debian/docs?rev=33604&op=file
==============================================================================
--- trunk/libnet-arp-perl/debian/docs (added)
+++ trunk/libnet-arp-perl/debian/docs Sun Apr 19 17:32:48 2009
@@ -1,0 +1,1 @@
+README

Modified: trunk/libnet-arp-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnet-arp-perl/debian/rules?rev=33604&op=diff
==============================================================================
--- trunk/libnet-arp-perl/debian/rules (original)
+++ trunk/libnet-arp-perl/debian/rules Sun Apr 19 17:32:48 2009
@@ -1,101 +1,37 @@
 #!/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
-
-# 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)
+export DEBIAN_BUILD=1
 
 include /usr/share/quilt/quilt.make
 
-# Allow disabling build optimation by setting noopt in
-# $DEB_BUILD_OPTIONS
 CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-        CFLAGS += -O0
+ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
+    CFLAGS += -O0
 else
-        CFLAGS += -O2
+    CFLAGS += -O2
 endif
 
 build: build-stamp
 build-stamp: $(QUILT_STAMPFN)
 	dh_testdir
-
-	# Add commands to compile the package here
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
-
+	dh_auto_configure
+	dh_auto_build -- OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
+	dh_auto_test
 	touch $@
 
-clean: clean-patched unpatch
+clean: unpatch
+	dh $@
 
-clean-patched:
-	dh_testdir
-	dh_testroot
-
-	# Add commands to clean up after the build process here
-	[ ! -f Makefile ] || $(MAKE) realclean
-
-	dh_clean build-stamp install-stamp
-
-install: build install-stamp
-install-stamp:
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-
-	# DEBIAN_BUILD is a special case in test.pl 
-	DEBIAN_BUILD=1 $(MAKE) test
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
-	# As this is a architecture dependent package, we are not
-	# supposed to install stuff to /usr/share. MakeMaker creates
-	# the dirs, we delete them from the deb:
-	[ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/share/perl5
-
+install: install-stamp
+install-stamp: build
+	dh install
 	touch $@
 
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
+binary-indep:
 
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs README
-	dh_installexamples 
-#	dh_installmenu
-#	dh_installcron
-#	dh_installman
-	dh_installchangelogs Changes
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_makeshlibs
-	dh_installdeb
-	dh_perl 
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-source diff:                                                                  
-	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+binary-arch: install
+	dh $@
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+
+.PHONY: binary binary-arch binary-indep install clean build




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