Commit d9afa3f0 authored by Bart Martens's avatar Bart Martens Committed by Nick Morrott

Import Debian changes 0.11-2

libnet-cidr-perl (0.11-2) unstable; urgency=low

  * debian/*: Repackaged with cdbs.
  * debian/patches/02_abbrev.diff: Closes: #391584.
parent b2ef1138
Summary: Net::CIDR Perl module
Name: perl-Net-CIDR
Version: 0.11
Version: 0.10
Release: 1%(%{__perl} -e 'my $v=$^V; $v =~ s/(.)/".".ord($1)/ge;print "$v\n";')
Source0: Net-CIDR-%{version}.tar.gz
License: Perl
......
libnet-cidr-perl (0.11-2) unstable; urgency=low
* debian/*: Repackaged with cdbs.
* debian/patches/02_abbrev.diff: Closes: #391584.
-- Bart Martens <bartm@knars.be> Sat, 18 Aug 2007 14:52:51 +0200
libnet-cidr-perl (0.11-1) unstable; urgency=low
* New maintainer.
......
......@@ -2,7 +2,7 @@ Source: libnet-cidr-perl
Section: perl
Priority: optional
Build-Depends-Indep: perl (>= 5.6.0-16)
Build-Depends: debhelper (>= 4)
Build-Depends: cdbs, debhelper (>= 5)
Maintainer: Bart Martens <bartm@knars.be>
Standards-Version: 3.7.2
......
--- ../cdbsorig/libnet-cidr-perl-0.11/Net-CIDR.spec 2004-07-20 01:46:45.000000000 +0200
+++ Net-CIDR.spec 2007-08-18 14:52:07.000000000 +0200
@@ -1,7 +1,7 @@
Summary: Net::CIDR Perl module
Name: perl-Net-CIDR
-Version: 0.10
+Version: 0.11
Release: 1%(%{__perl} -e 'my $v=$^V; $v =~ s/(.)/".".ord($1)/ge;print "$v\n";')
Source0: Net-CIDR-%{version}.tar.gz
License: Perl
--- ../orig/libnet-cidr-perl-0.11/CIDR.pm 2005-08-10 03:18:51.000000000 +0200
+++ CIDR.pm 2007-08-18 15:03:04.000000000 +0200
@@ -288,6 +288,7 @@
($isipv6, $ip)=_ipv6to4($ip);
my @ips= split (/\.+/, $ip);
+ for( my $i = $#ips + 1 ; $i < 4 ; $i++ ) { $ips[$i] = 0; }
grep {
croak unless $_ >= 0 && $_ <= 255 && $_ =~ /^[0-9]+$/;
@@ -846,6 +847,7 @@
($isipv6, $ip)=_ipv6to4($ip);
my @ips= split (/\.+/, $ip);
+ for( my $i = $#ips + 1 ; $i < 4 ; $i++ ) { $ips[$i] = 0; }
grep {
croak unless $_ >= 0 && $_ <= 255 && $_ =~ /^[0-9]+$/;
#!/usr/bin/make -f
TMP =$(CURDIR)/debian/libnet-cidr-perl
build: build-stamp
build-stamp:
dh_testdir
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor
$(MAKE) OPTIMIZE="-O2 -g -Wall"
touch build-stamp
clean:
dh_testdir
dh_testroot
-$(MAKE) distclean
dh_clean build-stamp install-stamp
install: install-stamp
install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr;
touch install-stamp
binary-arch: build install
# We have nothing to do by default.
binary-indep: build install
dh_testdir
dh_testroot
dh_installdocs README
dh_perl
dh_installmanpages
dh_installchangelogs Changes
dh_link
dh_strip
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
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/perlmodule.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
#include /usr/share/cdbs/1/class/makefile.mk
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment