r68485 - in /trunk/perlipq: Makefile.PL debian/ debian/changelog debian/compat debian/control debian/copyright debian/rules debian/watch

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sun Feb 13 15:28:47 UTC 2011


Author: gregoa
Date: Sun Feb 13 15:28:30 2011
New Revision: 68485

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

Added:
    trunk/perlipq/debian/
    trunk/perlipq/debian/changelog
    trunk/perlipq/debian/compat
    trunk/perlipq/debian/control
    trunk/perlipq/debian/copyright
    trunk/perlipq/debian/rules   (with props)
    trunk/perlipq/debian/watch
Modified:
    trunk/perlipq/Makefile.PL

Modified: trunk/perlipq/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/perlipq/Makefile.PL?rev=68485&op=diff
==============================================================================
--- trunk/perlipq/Makefile.PL (original)
+++ trunk/perlipq/Makefile.PL Sun Feb 13 15:28:30 2011
@@ -7,7 +7,7 @@
 #
 # Defaults
 #
-my $IPTABLES_DIR = '/usr/local';
+my $IPTABLES_DIR = '/usr/include/libipq';
 
 #
 # Query user to override defaults.
@@ -28,6 +28,6 @@
 WriteMakefile('NAME' => 'IPTables::IPv4::IPQueue',
               'DISTNAME' => 'perlipq',
               'VERSION_FROM' => 'IPQueue.pm',
-              'LIBS' => ["-L$IPTABLES_DIR/libipq -lipq"],
+              'LIBS' => ["-lipq"],
               'DEFINE' => '',
-              'INC' => "-I$IPTABLES_DIR/include");
+              'INC' => "-I$IPTABLES_DIR");

Added: trunk/perlipq/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/perlipq/debian/changelog?rev=68485&op=file
==============================================================================
--- trunk/perlipq/debian/changelog (added)
+++ trunk/perlipq/debian/changelog Sun Feb 13 15:28:30 2011
@@ -1,0 +1,14 @@
+perlipq (1.25-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS with perl 5.10. Closes: #479917
+
+ -- Frank Lichtenheld <djpig at debian.org>  Wed, 09 Jul 2008 20:44:59 +0200
+
+perlipq (1.25-1) unstable; urgency=low
+
+  * Initial Release.
+  * Fixed Makefile.PL to find libipq components.
+
+ -- Yann Dirson <dirson at debian.org>  Mon, 12 Apr 2004 16:46:03 +0200
+

Added: trunk/perlipq/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/perlipq/debian/compat?rev=68485&op=file
==============================================================================
--- trunk/perlipq/debian/compat (added)
+++ trunk/perlipq/debian/compat Sun Feb 13 15:28:30 2011
@@ -1,0 +1,1 @@
+4

Added: trunk/perlipq/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/perlipq/debian/control?rev=68485&op=file
==============================================================================
--- trunk/perlipq/debian/control (added)
+++ trunk/perlipq/debian/control Sun Feb 13 15:28:30 2011
@@ -1,0 +1,17 @@
+Source: perlipq
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 4.0.2), iptables-dev, perl (>= 5.8.0-7)
+Maintainer: Yann Dirson <dirson at debian.org>
+Standards-Version: 3.6.1
+
+Package: libiptables-ipv4-ipqueue-perl
+Architecture: any
+Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: Perl extension for libipq
+ Perlipq (IPTables::IPv4::IPQueue) is a Perl extension for iptables userspace
+ packet queuing via libipq.
+ .
+ Packets may be selected from the stack via the iptables QUEUE target
+ and passed to userspace.  Perlipq allows these packets to be manipulated in
+ Perl and passed back to the stack.

Added: trunk/perlipq/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/perlipq/debian/copyright?rev=68485&op=file
==============================================================================
--- trunk/perlipq/debian/copyright (added)
+++ trunk/perlipq/debian/copyright Sun Feb 13 15:28:30 2011
@@ -1,0 +1,28 @@
+This is the debian package for the perl ipq module.
+It was created by Yann Dirson <dirson at debian.org> with help of
+dh-make-perl.
+
+The upstream author is: 
+
+James Morris <jmorris at intercode.com.au>.
+
+
+Copyright (c) 2000-2002 James Morris <jmorris at intercode.com.au>
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+USA.
+
+On Debian systems, the text of the GPL can be found in
+/usr/share/common-licenses/GPL.

Added: trunk/perlipq/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/perlipq/debian/rules?rev=68485&op=file
==============================================================================
--- trunk/perlipq/debian/rules (added)
+++ trunk/perlipq/debian/rules Sun Feb 13 15:28:30 2011
@@ -1,0 +1,100 @@
+#!/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)
+
+# Allow disabling build optimation by setting noopt in
+# $DEB_BUILD_OPTIONS
+CFLAGS = -Wall -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+        CFLAGS += -O0
+else
+        CFLAGS += -O2
+endif
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add commands to compile the package here
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	# Add commands to clean up after the build process here
+	-$(MAKE) realclean
+
+	dh_clean build-stamp install-stamp
+
+install: install-stamp
+install-stamp:
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+
+	# Add here commands to install the package into debian/tmp.
+	#$(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/perl5. MakeMaker creates the dirs, we delete them from 
+	# the deb:
+	[ ! -d $(TMP)/usr/share/perl5 ] || \
+		rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5
+	
+	touch install-stamp
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# 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
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	dh_strip
+endif
+	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: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary

Propchange: trunk/perlipq/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/perlipq/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/perlipq/debian/watch?rev=68485&op=file
==============================================================================
--- trunk/perlipq/debian/watch (added)
+++ trunk/perlipq/debian/watch Sun Feb 13 15:28:30 2011
@@ -1,0 +1,2 @@
+version=2
+http://search.cpan.org/CPAN/authors/id/J/JM/JMORRIS/ perlipq-(.*)\.tar\.gz




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