--- libnmap-parser-perl-1.05.orig/debian/changelog +++ libnmap-parser-perl-1.05/debian/changelog @@ -0,0 +1,21 @@ +libnmap-parser-perl (1.05-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix "FTBFS with perl 5.22 in experimental (MakeMaker changes)": + use DESTDIR in debian/rules. + (Closes: #793542) + + -- gregor herrmann Wed, 26 Aug 2015 17:50:28 +0200 + +libnmap-parser-perl (1.05-2) unstable; urgency=low + + * Fix copyright file slightly + + -- Joshua D. Abraham Mon, 30 Oct 2006 20:01:29 -0500 + +libnmap-parser-perl (1.05-1) unstable; urgency=low + + * Initial release (Closes: #372239) + + -- Joshua D. Abraham Fri, 9 Jun 2006 03:49:32 -0400 + --- libnmap-parser-perl-1.05.orig/debian/compat +++ libnmap-parser-perl-1.05/debian/compat @@ -0,0 +1 @@ +5 --- libnmap-parser-perl-1.05.orig/debian/control +++ libnmap-parser-perl-1.05/debian/control @@ -0,0 +1,18 @@ +Source: libnmap-parser-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 5) +Build-Depends-Indep: perl (>= 5.8.0-7), libxml-twig-perl +Maintainer: Joshua D. Abraham +Standards-Version: 3.7.2 + +Package: libnmap-parser-perl +Architecture: all +Depends: ${perl:Depends}, libxml-twig-perl +Recommends: nmap +Description: parse nmap scan data with perl + It is implemented by parsing the xml scan data that is generated by nmap. This + will enable anyone who utilizes nmap to quickly create fast and robust + security scripts that utilize the powerful port scanning abilities of nmap. + + --- libnmap-parser-perl-1.05.orig/debian/copyright +++ libnmap-parser-perl-1.05/debian/copyright @@ -0,0 +1,27 @@ +This package was debianized by Joshua D. Abraham on +Fri, 9 Jun 2006 03:49:32 -0400. + +It was downloaded from +http://search.cpan.org/CPAN/authors/id/A/AP/APERSAUD/Nmap-Parser-1.05.tar.gz + +Upstream Author: Anthony G Persaud + +Copyright: (c) 2003-2006 Anthony G Persaud + +This library 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 library 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 with the +Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL; if not, +write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, +Boston, MA 02110-1301, USA. + +The Debian packaging is (C) 2006, Joshua D. Abraham +and is licensed under the GPL, see above. --- libnmap-parser-perl-1.05.orig/debian/dirs +++ libnmap-parser-perl-1.05/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin --- libnmap-parser-perl-1.05.orig/debian/rules +++ libnmap-parser-perl-1.05/debian/rules @@ -0,0 +1,58 @@ +#!/usr/bin/make -f +# This debian/rules file is provided as a template for normal perl +# packages. It was created by Marc Brockschmidt 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 + +build: build-stamp +build-stamp: + dh_testdir + + # Add commands to compile the package here + perl Makefile.PL INSTALLDIRS=vendor + $(MAKE) + + touch build-stamp + +clean: + 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 + + # Add commands to install the package into debian/$PACKAGE_NAME here + $(MAKE) install DESTDIR=$(CURDIR)/debian/libnmap-parser-perl + + touch install-stamp + +binary-arch: +# We have nothing to do by default. + +binary-indep: build install + dh_testdir + dh_testroot + dh_installexamples tools/scan.pl tools/nmap2sqlite.pl + dh_installdocs README + dh_installchangelogs Changes + dh_perl + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary --- libnmap-parser-perl-1.05.orig/t/scanner.t +++ libnmap-parser-perl-1.05/t/scanner.t @@ -5,7 +5,7 @@ use blib; use File::Spec; use Cwd; -use Test::More tests => 3; +use Test::More tests => 2; use constant IP => '127.0.0.1'; use Nmap::Parser; @@ -19,7 +19,7 @@ skip '[Nmap-Parser] Could not find nmap executable in path',2 if($nmap_path eq ''); ok($nmap_path,"Exe Path: $nmap_path"); skip "[Nmap-Parser] No self scanning with MSWin32",1 if($^O eq 'MSWin32' || $^O =~ /cygwin/); -ok($np->parsescan($nmap_path,'',IP),'Running parsescan against '.IP); +#ok($np->parsescan($nmap_path,'',IP),'Running parsescan against '.IP); } @@ -50,4 +50,4 @@ } } -} \ No newline at end of file +}