--- netdiscover-0.3beta6+20080409.orig/debian/README.source +++ netdiscover-0.3beta6+20080409/debian/README.source @@ -0,0 +1,38 @@ +This package uses dpatch to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +To get the fully patched source after unpacking the source package, cd +to the root level of the source package and run: + + debian/rules patch + +Removing a patch is as simple as removing its entry from the +debian/patches/00list file, and please also remove the patch file +itself. + +Creating a new patch is done with "dpatch-edit-patch patch XX_patchname" +where you should replace XX with a new number and patchname with a +descriptive shortname of the patch. You can then simply edit all the +files your patch wants to edit, and then simply "exit 0" from the shell +to actually create the patch file. + +To tweak an already existing patch, call "dpatch-edit-patch XX_patchname" +and replace XX_patchname with the actual filename from debian/patches +you want to use. + +To clean up afterwards again, "debian/rules unpatch" will do the +work for you - or you can of course choose to call +"fakeroot debian/rules clean" all together. + + +--- + +this documentation is part of dpatch package, and may be used by +packages using dpatch to comply with policy on README.source. This +documentation is meant to be useful to users who are not proficient in +dpatch in doing work with dpatch-based packages. Please send any +improvements to the BTS of dpatch package. + +original text by Gerfried Fuchs, edited by Junichi Uekawa +10 Aug 2008. --- netdiscover-0.3beta6+20080409.orig/debian/changelog +++ netdiscover-0.3beta6+20080409/debian/changelog @@ -0,0 +1,67 @@ +netdiscover (0.3beta6+20080409-5.1) unstable; urgency=medium + + * Non-maintainer upload. + * debian/control, debian/rules: Switch to dh-autoreconf. (Closes: + #724422) + + -- Eric Dorland Sun, 16 Feb 2014 16:11:47 -0500 + +netdiscover (0.3beta6+20080409-5) unstable; urgency=low + + * New maintainer (Closes: #543853). + * Added dpatch as build depends. + * Added a watch file. + * Added a patch to fix errors from manpage. + * Added a patch to fix hyphen-used-as-minus-sign lintian error. + + -- William Vera Fri, 20 Nov 2009 20:00:52 -0600 + +netdiscover (0.3beta6+20080409-4) unstable; urgency=low + + * Prefixing debhelper files with package name. + * Adding build-depends to automake1.10 instead of automake in order to not + break symlinks to automake files (Closes: #543038). + * Removing vcs fields. + * Orphaning package. + + -- Daniel Baumann Thu, 27 Aug 2009 08:51:15 +0200 + +netdiscover (0.3beta6+20080409-3) unstable; urgency=low + + * Adding debug package. + + -- Daniel Baumann Sun, 21 Sep 2008 08:39:00 +0200 + +netdiscover (0.3beta6+20080409-2) unstable; urgency=low + + * Adding automake to build-depends. + + -- Daniel Baumann Sun, 21 Sep 2008 08:35:00 +0200 + +netdiscover (0.3beta6+20080409-1) unstable; urgency=low + + * New maintainer, Nicolas Weyland is mia. + * New upstream snapshot: + - returns properly to terminal when using non-bytesized netmask + (Closes: #358341). + * Redone debian packaging from scratch. + + -- Daniel Baumann Sun, 21 Sep 2008 07:42:00 +0200 + +netdiscover (0.3beta6-1) unstable; urgency=low + + * New upstream release + + * Upstream author assumed manpage + + * Cleaned up package + + -- Nicolas Weyland Mon, 21 Nov 2005 10:53:30 +0100 + +netdiscover (0.3beta5-1) unstable; urgency=low + + * Initial release (closes: #328790) + + * Nicolas Weyland worte a manpage for netdiscover + + -- Nicolas Weyland Wed, 14 Sep 2005 17:30:06 +0200 --- netdiscover-0.3beta6+20080409.orig/debian/compat +++ netdiscover-0.3beta6+20080409/debian/compat @@ -0,0 +1 @@ +7 --- netdiscover-0.3beta6+20080409.orig/debian/control +++ netdiscover-0.3beta6+20080409/debian/control @@ -0,0 +1,32 @@ +Source: netdiscover +Section: net +Priority: optional +Maintainer: William Vera +Build-Depends: debhelper (>= 7), dh-autoreconf, libnet1-dev, libpcap-dev, dpatch +Standards-Version: 3.8.3 +Homepage: http://nixgeneration.com/~jaime/netdiscover/ + +Package: netdiscover +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: active/passive network address scanner using arp requests + Netdiscover is an active/passive address reconnaissance tool, mainly developed + for those wireless networks without dhcp server, when you are wardriving. It + can be also used on hub/switched networks. + . + Built on top of libnet and libpcap, it can passively detect online hosts, or + search for them, by actively sending arp requests, it can also be used to + inspect your network arp traffic, or find network addresses using auto scan + mode, which will scan for common local networks. + +Package: netdiscover-dbg +Section: debug +Priority: extra +Architecture: any +Depends: ${misc:Depends}, netdiscover (= ${binary:Version}) +Description: active/passive network address scanner using arp requests (debug) + Netdiscover is an active/passive address reconnaissance tool, mainly developed + for those wireless networks without dhcp server, when you are wardriving. It + can be also used on hub/switched networks. + . + This package contains the debugging symbols. --- netdiscover-0.3beta6+20080409.orig/debian/copyright +++ netdiscover-0.3beta6+20080409/debian/copyright @@ -0,0 +1,40 @@ +Author: Jaime Penalba +Download: http://nixgeneration.com/~jaime/netdiscover/ + +Files: * +Copyright: (C) 2005-2008 Jaime Penalba +License: GPL-3+ + 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 3 of the License, or + (at your option) any later version. + . + This program 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 + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-3 file. + +Files: debian/* +Copyright: (C) 2008 Daniel Baumann +License: GPL-3+ + 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 3 of the License, or + (at your option) any later version. + . + This program 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 + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-3 file. --- netdiscover-0.3beta6+20080409.orig/debian/netdiscover.docs +++ netdiscover-0.3beta6+20080409/debian/netdiscover.docs @@ -0,0 +1,3 @@ +AUTHORS +README +TODO --- netdiscover-0.3beta6+20080409.orig/debian/patches/00list +++ netdiscover-0.3beta6+20080409/debian/patches/00list @@ -0,0 +1,2 @@ +01_fixmanpage.dpatch +02_fixmanpage2.dpatch --- netdiscover-0.3beta6+20080409.orig/debian/patches/01_fixmanpage.dpatch +++ netdiscover-0.3beta6+20080409/debian/patches/01_fixmanpage.dpatch @@ -0,0 +1,27 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_fixmanpage.dpatch by William Vera +## +## DP: Fix errors from manpage. + +@DPATCH@ +diff -urNad netdiscover-0.3beta6+20080409~/doc/netdiscover.8 netdiscover-0.3beta6+20080409/doc/netdiscover.8 +--- netdiscover-0.3beta6+20080409~/doc/netdiscover.8 2009-11-20 20:14:53.000000000 -0600 ++++ netdiscover-0.3beta6+20080409/doc/netdiscover.8 2009-11-20 20:23:00.000000000 -0600 +@@ -108,7 +108,7 @@ + instead of default ranges. By default netdiscover will use a list of common + ranges used on local networks. + +-Example:\n ++Example: + 192.168.21.0/24 + 172.26.0.0/16 + 10.0.0.0/8 +@@ -117,7 +117,7 @@ + \fB~/.netdiscover/fastips\fR + List contaning the last octect of the ips to be scanned on each subnet, when using fast mode, by default (1,100,154). + +-Example:\n ++Example: + 1 + 10 + 25 --- netdiscover-0.3beta6+20080409.orig/debian/patches/02_fixmanpage2.dpatch +++ netdiscover-0.3beta6+20080409/debian/patches/02_fixmanpage2.dpatch @@ -0,0 +1,40 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_fixmanpage2.dpatch by William Vera +## +## DP: Fix a hyphen-used-as-minus-sign. lintian error. + +@DPATCH@ +diff -urNad netdiscover-0.3beta6+20080409~/doc/netdiscover.8 netdiscover-0.3beta6+20080409/doc/netdiscover.8 +--- netdiscover-0.3beta6+20080409~/doc/netdiscover.8 2009-11-24 15:58:38.000000000 -0600 ++++ netdiscover-0.3beta6+20080409/doc/netdiscover.8 2009-11-24 16:02:47.000000000 -0600 +@@ -2,7 +2,7 @@ + .SH NAME + netdiscover \- an active/passive arp reconnaissance tool. + .SH SYNOPSIS +-\fBnetdiscover\fR [-i device] [-r range | -l file | -p] [-s time] [-n node] [-c count] [-f] [-d] [-S] [-P] [-L] ++\fBnetdiscover\fR [\-i device] [\-r range | \-l file | \-p] [\-s time] [\-n node] [\-c count] [\-f] [\-d] [\-S] [\-P] [\-L] + .SH DESCRIPTION + netdiscover is an active/passive arp reconnaissance tool, initialy developed to gain information about wireless networks without dhcp servers in wardriving scenarios. It can also be used on switched networks. Built on top of libnet and libpcap, it can passively detect online hosts or search for them by sending arp requests. + .PP +@@ -67,10 +67,10 @@ + + .TP + \fB\-L\fR +-When using -P, continue program execution after the active scan phase to capture ARP packets passively. ++When using \-P, continue program execution after the active scan phase to capture ARP packets passively. + + .SH USAGE +-If passive mode (-p), scan list (-l) or scan range (-r) options arent enabled, netdiscover will scan for common lan addresses. ++If passive mode (\-p), scan list (\-l) or scan range (\-r) options arent enabled, netdiscover will scan for common lan addresses. + .PP + Screen control keys + +@@ -100,7 +100,7 @@ + + .SH CONFIG FILES + There are 2 configuration files that netdiscover will look for, each time it is +-executed, if file doesnt exist it will use default values. You can use the -d switch to disable reading and loading configuration files. ++executed, if file doesnt exist it will use default values. You can use the \-d switch to disable reading and loading configuration files. + + .TP + \fB~/.netdiscover/ranges\fR --- netdiscover-0.3beta6+20080409.orig/debian/rules +++ netdiscover-0.3beta6+20080409/debian/rules @@ -0,0 +1,70 @@ +#!/usr/bin/make -f +include /usr/share/dpatch/dpatch.make + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) + CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +else + CROSS= --build $(DEB_BUILD_GNU_TYPE) +endif + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp autoreconf-stamp + rm -f config.guess config.sub + + [ ! -f Makefile ] || $(MAKE) distclean + + dh_autoreconf_clean + dh_clean + +autoreconf-stamp: + dh_testdir + dh_autoreconf + touch $@ + +config.status: autoreconf-stamp configure + dh_testdir + + CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man + +build: build-stamp +build-stamp: patch-stamp config.status + dh_testdir + + $(MAKE) + + touch build-stamp + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + $(MAKE) DESTDIR=$(CURDIR)/debian/netdiscover install + + rm -rf debian/netdiscover/usr/doc + +binary: binary-arch + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_strip --dbg-package=netdiscover-dbg + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-indep: + +.PHONY: clean build install binary binary-arch binary-indep --- netdiscover-0.3beta6+20080409.orig/debian/watch +++ netdiscover-0.3beta6+20080409/debian/watch @@ -0,0 +1,4 @@ +version=3 +#http://nixgeneration.com/~jaime/netdiscover/releases/netdiscover-0.3-beta6.tar.gz +http://nixgeneration.com/~jaime/netdiscover/releases/netdiscover-(.*)\.tar\.gz +