[libnmap-parser-perl] 01/03: Import Debian patch 1.05-1

Axel Beckert abe at deuxchevaux.org
Wed Nov 9 20:55:10 UTC 2016


This is an automated email from the git hooks/post-receive script.

abe pushed a commit to branch master
in repository libnmap-parser-perl.

commit d467669c8e6c972ff884341b02b068eb36692cee
Author: Joshua D. Abraham <jabra at ccs.neu.edu>
Date:   Fri Jun 9 03:49:32 2006 -0400

    Import Debian patch 1.05-1
---
 debian/changelog |  6 ++++++
 debian/compat    |  1 +
 debian/control   | 18 ++++++++++++++++++
 debian/copyright | 30 +++++++++++++++++++++++++++++
 debian/dirs      |  2 ++
 debian/rules     | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 t/scanner.t      |  6 +++---
 7 files changed, 118 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..e799c0c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+libnmap-parser-perl (1.05-1) unstable; urgency=low
+
+  * Initial release (Closes: #372239) 
+
+ -- Joshua D. Abraham <jabra at ccs.neu.edu>  Fri,  9 Jun 2006 03:49:32 -0400
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..3971708
--- /dev/null
+++ b/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 <jabra at ccs.neu.edu>
+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.
+
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..9cd2ca5
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+This package was debianized by Joshua D. Abraham <jabra at ccs.neu.edu> 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 <apersaud at gmail.com>
+
+Copyright: (c) 2003-2006 Anthony G Persaud <apersaud at gmail.com>
+
+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.
+
+On Debian systems, the complete text of the GNU General Public
+License, can be found in /usr/share/common-licenses/GPL.
+
+The Debian packaging is (C) 2006, Joshua D. Abraham <jabra at ccs.neu.edu> 
+and is licensed under the GPL, see above.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..ca882bb
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..d92fda7
--- /dev/null
+++ b/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 <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
+
+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 PREFIX=$(CURDIR)/debian/libnmap-parser-perl/usr
+
+	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
diff --git a/t/scanner.t b/t/scanner.t
index 6efab2a..8c9b846 100755
--- a/t/scanner.t
+++ b/t/scanner.t
@@ -5,7 +5,7 @@ use strict;
 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: {
 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 @@ sub find_nmap {
         }
     }
 
-}
\ No newline at end of file
+}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnmap-parser-perl.git



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