Sun Nov 23 00:05:30 2014 UTC ()
Add distfile patch:
	- pass -Wall, use <ctype.h> correctly, use standard headers, etc.
	- fix up illegal printf usage (existing behavior was undefined)
	- roll in the bug fix from patch-ac
	- declare own functions properly, avoiding LP64 issues

Bump PKGREVISION as some of this fixes bugs.

Prompted by (and includes changes from) PR 49347 from Rob Quinn.


(dholland)
diff -r1.14 -r1.15 pkgsrc/net/nbtscan/Makefile
diff -r1.7 -r1.8 pkgsrc/net/nbtscan/distinfo
diff -r1.1 -r0 pkgsrc/net/nbtscan/patches/patch-ac

cvs diff -r1.14 -r1.15 pkgsrc/net/nbtscan/Makefile (expand / switch to unified diff)

--- pkgsrc/net/nbtscan/Makefile 2012/10/23 17:18:40 1.14
+++ pkgsrc/net/nbtscan/Makefile 2014/11/23 00:05:30 1.15
@@ -1,21 +1,25 @@ @@ -1,21 +1,25 @@
1# $NetBSD: Makefile,v 1.14 2012/10/23 17:18:40 asau Exp $ 1# $NetBSD: Makefile,v 1.15 2014/11/23 00:05:30 dholland Exp $
2# 2#
3 3
4DISTNAME= nbtscan-1.5.1 4DISTNAME= nbtscan-1.5.1
5PKGREVISION= 1 5PKGREVISION= 2
6CATEGORIES= net 6CATEGORIES= net
7MASTER_SITES= http://www.inetcat.net/software/ 7MASTER_SITES= http://www.inetcat.net/software/
8 8
 9PATCHFILES= nbtscan-jumbo-patch-20141122.gz
 10PATCH_SITES= http://www.NetBSD.org/~dholland/patchkits/nbtscan/
 11PATCH_DIST_STRIP= -p1
 12
9MAINTAINER= pkgsrc-users@NetBSD.org 13MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://www.inetcat.net/software/nbtscan.html 14HOMEPAGE= http://www.inetcat.net/software/nbtscan.html
11COMMENT= NetBIOS name network scanner 15COMMENT= NetBIOS name network scanner
12 16
13GNU_CONFIGURE= yes 17GNU_CONFIGURE= yes
14 18
15WRKSRC= ${WRKDIR}/${DISTNAME}a 19WRKSRC= ${WRKDIR}/${DISTNAME}a
16BUILD_TARGET= nbtscan 20BUILD_TARGET= nbtscan
17 21
18INSTALLATION_DIRS= bin share/doc/nbtscan 22INSTALLATION_DIRS= bin share/doc/nbtscan
19 23
20do-install: 24do-install:
21 ${INSTALL_PROGRAM} ${WRKSRC}/nbtscan ${DESTDIR}${PREFIX}/bin 25 ${INSTALL_PROGRAM} ${WRKSRC}/nbtscan ${DESTDIR}${PREFIX}/bin

cvs diff -r1.7 -r1.8 pkgsrc/net/nbtscan/distinfo (expand / switch to unified diff)

--- pkgsrc/net/nbtscan/distinfo 2009/01/25 14:21:13 1.7
+++ pkgsrc/net/nbtscan/distinfo 2014/11/23 00:05:30 1.8
@@ -1,6 +1,8 @@ @@ -1,6 +1,8 @@
1$NetBSD: distinfo,v 1.7 2009/01/25 14:21:13 obache Exp $ 1$NetBSD: distinfo,v 1.8 2014/11/23 00:05:30 dholland Exp $
2 2
3SHA1 (nbtscan-1.5.1.tar.gz) = 4041d8f6b592fa310b8d3c79c56a2d3263dba82f 3SHA1 (nbtscan-1.5.1.tar.gz) = 4041d8f6b592fa310b8d3c79c56a2d3263dba82f
4RMD160 (nbtscan-1.5.1.tar.gz) = 5130d9e6decd3346859281f45f8a179aa0286a42 4RMD160 (nbtscan-1.5.1.tar.gz) = 5130d9e6decd3346859281f45f8a179aa0286a42
5Size (nbtscan-1.5.1.tar.gz) = 82107 bytes 5Size (nbtscan-1.5.1.tar.gz) = 82107 bytes
6SHA1 (patch-ac) = 93ea55a27cb434de567033acd883da08e7225646 6SHA1 (nbtscan-jumbo-patch-20141122.gz) = 1bd2b2e9fa89095822070c70d5ffbf3693a0b9b1
 7RMD160 (nbtscan-jumbo-patch-20141122.gz) = 29c8587f16a270f73ec3e8203544c146fe69566d
 8Size (nbtscan-jumbo-patch-20141122.gz) = 6069 bytes

File Deleted: pkgsrc/net/nbtscan/patches/Attic/patch-ac