summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1c7df74)
raw | patch | inline | side by side (parent: 1c7df74)
author | Sebastian Harl <sh@tokkee.org> | |
Sat, 6 Jun 2009 16:58:35 +0000 (18:58 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sat, 6 Jun 2009 16:58:35 +0000 (18:58 +0200) |
- Since Net::Oping uses its own version, $srcver-$perlver-$debrev is used for
the package version.
- Added libnet-oping-perl.install.
- Build-depend on perl-modules - debian/rules now requires the ExtUtils:MM
module.
the package version.
- Added libnet-oping-perl.install.
- Build-depend on perl-modules - debian/rules now requires the ExtUtils:MM
module.
debian/changelog | patch | blob | history | |
debian/control | patch | blob | history | |
debian/libnet-oping-perl.install | [new file with mode: 0644] | patch | blob |
debian/liboping-dev.install | patch | blob | history | |
debian/rules | patch | blob | history |
diff --git a/debian/changelog b/debian/changelog
index 2437b86a14489e8e90b8f0385f09a8ddc566ed6c..1338786510603075432bac3bcb7b11026695bfc2 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
function in liboping static.
* debian/compat:
- Updated to compat version 5.
-
- -- Sebastian Harl <tokkee@debian.org> Sat, 06 Jun 2009 16:37:27 +0200
+ * Added new binary package "libnet-oping-perl":
+ - Since Net::Oping uses its own version, $srcver-$perlver-$debrev is used
+ for the package version.
+ - Added libnet-oping-perl.install.
+ - Build-depend on perl-modules - debian/rules now requires the ExtUtils:MM
+ module.
+
+ -- Sebastian Harl <tokkee@debian.org> Sat, 06 Jun 2009 18:53:35 +0200
liboping (0.3.5-1) unstable; urgency=low
diff --git a/debian/control b/debian/control
index bf736f80f0cc200bfeea645ff1b623f43af918b6..357dde5e741361a104ecd1e87cc545da65557b9a 100644 (file)
--- a/debian/control
+++ b/debian/control
Section: libs
Priority: optional
Maintainer: Sebastian Harl <tokkee@debian.org>
-Build-Depends: debhelper (>= 5.0.0), autotools-dev, dpatch
+Build-Depends: debhelper (>= 5.0.0), autotools-dev, dpatch, perl-modules
Standards-Version: 3.8.1
Homepage: http://verplant.org/liboping/
Vcs-Git: git://git.tokkee.org/pkg-liboping.git
Depends: liboping0 (>= ${binary:Version})
Conflicts: liboping0-dev
Replaces: liboping0-dev
-Description: C/C++ library to generate ICMP_ECHO requests (development files)
+Description: C/C++ library to generate ICMP ECHO_REQUESTs (development files)
liboping features pinging multiple hosts in parallel using IPv4 or IPv6
transparently. The interface is object oriented.
.
Section: libs
Architecture: any
Depends: ${shlibs:Depends}
-Description: C/C++ library to generate ICMP_ECHO requests
+Description: C/C++ library to generate ICMP ECHO_REQUESTs
liboping features pinging multiple hosts in parallel using IPv4 or IPv6
transparently. The interface is object oriented.
.
Architecture: any
Depends: ${shlibs:Depends}
Description: sends ICMP_ECHO requests to network hosts
- oping uses ICMP packages (better known as "ping packets") to test the
- reachability of network hosts. It supports pinging multiple hosts in parallel
+ oping uses ICMP packages (better known as "ping packets") to test the
+ reachability of network hosts. It supports pinging multiple hosts in parallel
using IPv4 or IPv6 transparently.
+Package: libnet-oping-perl
+Section: perl
+Architecture: any
+Depends: ${perl:Depends}, ${shlibs:Depends}
+Description: module for ICMP latency measurement
+ Net::Oping is a Perl module for sending ICMP ECHO_REQUESTs (better known as
+ "ping packets") and measuring the time that elapses until the reception of an
+ ICMP ECHO_REPLY packet (also known as "pong"). It supports pinging multiple
+ hosts in parallel using IPv4 or IPv6 transparently.
+
diff --git a/debian/libnet-oping-perl.install b/debian/libnet-oping-perl.install
--- /dev/null
@@ -0,0 +1,5 @@
+usr/lib/perl5/Net/Oping.pm
+usr/lib/perl5/auto/Net/Oping/Oping.bs
+usr/lib/perl5/auto/Net/Oping/Oping.so
+usr/share/man/man3/Net::Oping.3pm
+
index a3fde16db270b35d913b1f690c10c7bd34dc0bf9..f4310d3aa272e06ab27091b3af4b33e953d61143 100644 (file)
usr/lib/liboping.a
usr/lib/liboping.la
usr/lib/liboping.so
-usr/share/man/man3/*
+usr/share/man/man3/ping*
+usr/share/man/man3/liboping.3
diff --git a/debian/rules b/debian/rules
index 9fe0725e7e99eecd5e332bde1ce7d97445a6d2ec..fcb4d11dc0f1babf2bfb74e41e95589e917f58ae 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
include /usr/share/dpatch/dpatch.make
+# $srcver-$perlver-$debrev
+LIBPERL_VERSION := $(shell pm_ver=`perl -MExtUtils::MM -e \
+ 'print MM->parse_version("bindings/perl/lib/Net/Oping.pm");'`; \
+ pkg_ver=`dpkg-parsechangelog | egrep '^Version:' | cut -d' ' -f2`; \
+ echo -n "$${pkg_ver%-*}-$$pm_ver-$${pkg_ver\#\#*-}")
+
config.status: configure $(DPATCH_STAMPFN)
dh_testdir
ln -s /usr/share/misc/$$file .; \
done
- CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) \
- --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr \
- --mandir=\$${prefix}/share/man
+ CFLAGS="$(CFLAGS)" ./configure \
+ --host=$(DEB_HOST_GNU_TYPE) \
+ --build=$(DEB_BUILD_GNU_TYPE) \
+ --prefix=/usr \
+ --mandir=\$${prefix}/share/man \
+ --with-perl-bindings="INSTALLDIRS=vendor"
build: build-stamp
build-stamp: config.status
dh_testdir
- $(MAKE)
+ $(MAKE) LD_RUN_PATH=""
touch build-stamp
binary-arch: build install
dh_testdir
dh_testroot
- dh_installchangelogs ChangeLog
- dh_installdocs -A README
+ dh_installchangelogs -Nlibnet-oping-perl ChangeLog
+ dh_installchangelogs -plibnet-oping-perl bindings/perl/Changes
+ dh_installdocs -A -Nlibnet-oping-perl README
+ dh_installdocs -plibnet-oping-perl bindings/perl/README
dh_installman
dh_install --sourcedir=debian/tmp --list-missing
+ dh_perl -plibnet-oping-perl
dh_link
dh_strip
dh_compress
dh_makeshlibs
dh_installdeb
dh_shlibdeps -ldebian/liboping0/usr/lib/
- dh_gencontrol
+ dh_gencontrol -Nlibnet-oping-perl
+ dh_gencontrol -plibnet-oping-perl -u-v$(LIBPERL_VERSION)
dh_md5sums
dh_builddeb