debian/0000755000000000000000000000000012231171421007160 5ustar debian/watch0000644000000000000000000000016312063103751010215 0ustar version=3 http://search.cpan.org/dist/Net-Libdnet/ .*/Net-Libdnet-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/rules0000755000000000000000000000036412063103751010247 0ustar #!/usr/bin/make -f PACKAGE = $(shell dh_listpackages) TMP = $(CURDIR)/debian/$(PACKAGE) %: dh $@ override_dh_auto_install: dh_auto_install rm $(TMP)/usr/bin/dnet.pl rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/bin debian/copyright0000644000000000000000000000462612063103751011127 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Net-Libdnet Source: http://search.cpan.org/dist/Net-Libdnet/ Upstream-Contact: GomoR Files: * Copyright: 2008-2012, Patrice Auffret 2004, Vlad Manilici License: BSD-2-clause Files: debian/* Copyright: 2010-2011, Jonathan Yu , 2011, Florian Schlichting 2012, Xavier Guimard License: Artistic or GPL-1+ or BSD-2-clause License: BSD-2-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1+ 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 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/libnet-libdnet-perl.examples0000644000000000000000000000002712063103751014557 0ustar examples/* bin/dnet.pl debian/source/0000755000000000000000000000000012063103751010464 5ustar debian/source/format0000644000000000000000000000001412063103751011672 0ustar 3.0 (quilt) debian/libnet-libdnet-perl.lintian-overrides0000644000000000000000000000013612063103751016400 0ustar libnet-libdnet-perl: hardening-no-fortify-functions usr/lib/perl5/auto/Net/Libdnet/Libdnet.so debian/patches/0000755000000000000000000000000012063103751010613 5ustar debian/patches/series0000644000000000000000000000002112063103751012021 0ustar ubuntu-new.patch debian/patches/ubuntu-new.patch0000644000000000000000000000202012063103751013737 0ustar Description: Debian uses "dumbnet" instead of of "dnet" for historical reasons Origin: upstream, shipped in CPAN distribution Forwarded: not-needed Index: Libdnet.xs =================================================================== --- a/Libdnet.xs (revision 41) +++ b/Libdnet.xs (working copy) @@ -34,7 +34,7 @@ #include "XSUB.h" #include -#include +#include #ifdef DNET_BLOB_H typedef blob_t Blob; Index: Makefile.PL =================================================================== --- a/Makefile.PL (revision 41) +++ b/Makefile.PL (working copy) @@ -3,10 +3,10 @@ # use ExtUtils::MakeMaker; -my $libs = qx{dnet-config --libs 2>/dev/null} - || ['-L/lib -L/usr/lib -L/usr/local/lib -ldnet']; +my $libs = qx{dumbnet-config --libs 2>/dev/null} + || ['-L/lib -L/usr/lib -L/usr/local/lib -ldumbnet']; -my $inc = qx{dnet-config --cflags 2>/dev/null} +my $inc = qx{dumbnet-config --cflags 2>/dev/null} || '-I/include -I/usr/include -I/usr/local/include'; WriteMakefile( debian/compat0000644000000000000000000000000212063103751010362 0ustar 9 debian/control0000644000000000000000000000260112063103751010566 0ustar Source: libnet-libdnet-perl Maintainer: Debian Perl Group Uploaders: Jonathan Yu , Florian Schlichting , Xavier Guimard Section: perl Priority: optional Build-Depends: debhelper (>= 9.20120312), libclass-gomor-perl, libdumbnet-dev, perl Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libnet-libdnet-perl.git Vcs-Git: git://git.debian.org/pkg-perl/packages/libnet-libdnet-perl.git Homepage: http://search.cpan.org/dist/Net-Libdnet/ Package: libnet-libdnet-perl Architecture: any Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends}, libclass-gomor-perl Description: interface to libdumbnet's low-level network functions Net::Libdnet is a Perl module that provides a simple and portable interface to many useful low-level networking routines. Its functionality includes network address manipulation, kernel ARP cache and route table manipulation, firewalling, network interface manipulation, network traffic interception via tunnel interfaces, and raw IP packet/Ethernet frame transmission. . This module is intended to complement functionality provided by libpcap. For historical reasons, Dug Song's libdnet is called libdumbnet on Debian. debian/changelog0000644000000000000000000000342712231171421011040 0ustar libnet-libdnet-perl (0.98-1build1) trusty; urgency=low * Rebuild for Perl 5.18. -- Colin Watson Mon, 21 Oct 2013 10:25:37 +0100 libnet-libdnet-perl (0.98-1) unstable; urgency=low * Imported Upstream version 0.98 * Bump Standards-Version to 3.9.4 (no changes) * Use debhelper 9.20120312 to get all hardening flags * Update debian/copyright (years and format) * Remove fix-pod-spelling.patch (included in upstream) * Add a lintian override for hardening-no-fortify-functions -- Xavier Guimard Sat, 15 Dec 2012 15:21:38 +0100 libnet-libdnet-perl (0.96-1) unstable; urgency=low [ Florian Schlichting ] * Imported Upstream version 0.96 * Bump debhelper compatibility level to 8 (no changes) * Bump Standards-Version to 3.9.2 (no changes) * Re-add libdumbnet patch, now shipped but not applied by upstream (and refresh fix-pod-spelling.patch) * Add myself to Uploaders and Copyright [ Jonathan Yu ] * New upstream release * Remove patch to use libdumbnet instead of libdnet (applied upstream) [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ Salvatore Bonaccorso ] * debian/copyright: Replace DEP5 Format-Specification URL from svn.debian.org to anonscm.debian.org URL. -- Florian Schlichting Fri, 25 Nov 2011 20:52:50 +0000 libnet-libdnet-perl (0.94-1) unstable; urgency=low * New upstream release * Refresh copyright information * Standards-Version 3.9.1 (no changes) * Use new 3.0 (quilt) source format * Refresh patches -- Jonathan Yu Sat, 26 Feb 2011 12:11:10 -0500 libnet-libdnet-perl (0.92-1) unstable; urgency=low * Initial Release (Closes: #563332) -- Jonathan Yu Tue, 05 Jan 2010 22:53:52 -0500