--- libnet-nbname-perl-0.26.orig/bin/namequery.pl +++ libnet-nbname-perl-0.26/bin/namequery.pl @@ -1,3 +1,5 @@ +#!/usr/bin/perl + use strict; use Net::NBName; --- libnet-nbname-perl-0.26.orig/bin/nodescan.pl +++ libnet-nbname-perl-0.26/bin/nodescan.pl @@ -1,3 +1,5 @@ +#!/usr/bin/perl + use Net::NBName; use Net::Netmask; --- libnet-nbname-perl-0.26.orig/bin/nodestat.pl +++ libnet-nbname-perl-0.26/bin/nodestat.pl @@ -1,3 +1,5 @@ +#!/usr/bin/perl + use Net::NBName; my $nb = Net::NBName->new; --- libnet-nbname-perl-0.26.orig/debian/changelog +++ libnet-nbname-perl-0.26/debian/changelog @@ -0,0 +1,41 @@ +libnet-nbname-perl (0.26-1) unstable; urgency=low + + * New upstream release (Closes: #378124) + * Fixes handling truncated replies + * Updated my email address in copyright and control files + * Updated upstream address and copyright years + * Moved debhelper and perl from Build-Depends-Indep to Build-Depends, as + required by lintian and Perl policy + * Updated Standards-Version to 3.7.2 + + -- Martin Orr Tue, 5 Sep 2006 22:24:33 +0100 + +libnet-nbname-perl (0.25-1) unstable; urgency=low + + * New upstream release + * Support added for timeouts on requests + * Updated Standards-Version to 3.6.1 (no changes) + * Added 2004 to copyright + + * Note that "Suggest libnet-nbname-perl" below in the 0.24-1 entry should + read "Suggest libnet-netmask-perl" + + -- Martin Orr Tue, 10 Feb 2004 17:36:36 +0000 + +libnet-nbname-perl (0.24-2) unstable; urgency=low + + * Initial release to Debian archive (Closes: #188035). + * Changed debian/copyright to not refer to /usr/share/doc/perl/copyright + + -- Martin Orr Wed, 14 May 2003 13:12:34 +0100 + +libnet-nbname-perl (0.24-1) unstable; urgency=low + + * Initial Release. + * Add #!/usr/bin/perl to example scripts. + * Move example scripts from /usr/bin to + /usr/share/doc/libnet-nbname-perl/examples. + * Suggest libnet-nbname-perl because it's used by nodescan.pl. + + -- Martin Orr Tue, 15 Apr 2003 10:48:24 +0100 + --- libnet-nbname-perl-0.26.orig/debian/compat +++ libnet-nbname-perl-0.26/debian/compat @@ -0,0 +1 @@ +4 --- libnet-nbname-perl-0.26.orig/debian/copyright +++ libnet-nbname-perl-0.26/debian/copyright @@ -0,0 +1,20 @@ +This package was debianized by Martin Orr on +Wed, 9 Apr 2003 08:46:51 +0100. + +It was downloaded from CPAN - more specfically +http://search.cpan.org/dist/Net-NBName/ + +Upstream Author: James Macfarlane + +Copyright: + +Copyright (c) 2002, 2003, 2004, 2005, 2006 James Macfarlane. + +This library is free software; you can redistribute it and/or modify +it under the same terms as Perl itself. + +(Those terms are either of the Artistic license or the GNU General Public +License; on Debian GNU/Linux systems, these can be found in full at +/usr/share/common-licenses/Artistic and /usr/share/common-licenses/GPL +respectively.) + --- libnet-nbname-perl-0.26.orig/debian/control +++ libnet-nbname-perl-0.26/debian/control @@ -0,0 +1,18 @@ +Source: libnet-nbname-perl +Section: perl +Priority: extra +Maintainer: Martin Orr +Build-Depends: debhelper (>> 4.0.0), perl (>= 5.6.0-16) +Standards-Version: 3.7.2 + +Package: libnet-nbname-perl +Architecture: all +Depends: ${perl:Depends} +Suggests: libnet-netmask-perl +Description: NetBIOS Name Service Requests + This is the Net::NBName Perl module, for resolving the NetBIOS host names + used by Windows/Samba. It can be used + 1. to resolve NetBIOS names to IP addresses + 2. to determine registered NetBIOS names on a host + A pure Perl module, using the Socket core module. + --- libnet-nbname-perl-0.26.orig/debian/rules +++ libnet-nbname-perl-0.26/debian/rules @@ -0,0 +1,60 @@ +#!/usr/bin/make -f +# debian/rules file for libnet-nbname-perl - based on dh_make sample +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +PACKAGE = libnet-nbname-perl + +build: build-stamp +build-stamp: + dh_testdir + + perl Makefile.PL INSTALLDIRS=vendor + $(MAKE) OPTIMIZE="-O2 -g -Wall" + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) clean + -$(RM) Makefile Makefile.old + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + + dh_installdirs + $(MAKE) install PREFIX=$(CURDIR)/debian/libnet-nbname-perl/usr + + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs Changes + dh_installdocs + mv debian/$(PACKAGE)/usr/bin/*.pl \ + debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/examples/ + dh_link + dh_compress + dh_fixperms + dh_perl + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture-dependent files here. +binary-arch: build install + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- libnet-nbname-perl-0.26.orig/debian/docs +++ libnet-nbname-perl-0.26/debian/docs @@ -0,0 +1 @@ +README --- libnet-nbname-perl-0.26.orig/debian/dirs +++ libnet-nbname-perl-0.26/debian/dirs @@ -0,0 +1,4 @@ +usr/bin +usr/share/doc/libnet-nbname-perl/examples +usr/share/man/man3 +usr/share/perl5