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.diff -r1.14 -r1.15 pkgsrc/net/nbtscan/Makefile
(dholland)
@@ -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 | |||
4 | DISTNAME= nbtscan-1.5.1 | 4 | DISTNAME= nbtscan-1.5.1 | |
5 | PKGREVISION= 1 | 5 | PKGREVISION= 2 | |
6 | CATEGORIES= net | 6 | CATEGORIES= net | |
7 | MASTER_SITES= http://www.inetcat.net/software/ | 7 | MASTER_SITES= http://www.inetcat.net/software/ | |
8 | 8 | |||
9 | PATCHFILES= nbtscan-jumbo-patch-20141122.gz | |||
10 | PATCH_SITES= http://www.NetBSD.org/~dholland/patchkits/nbtscan/ | |||
11 | PATCH_DIST_STRIP= -p1 | |||
12 | ||||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 13 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://www.inetcat.net/software/nbtscan.html | 14 | HOMEPAGE= http://www.inetcat.net/software/nbtscan.html | |
11 | COMMENT= NetBIOS name network scanner | 15 | COMMENT= NetBIOS name network scanner | |
12 | 16 | |||
13 | GNU_CONFIGURE= yes | 17 | GNU_CONFIGURE= yes | |
14 | 18 | |||
15 | WRKSRC= ${WRKDIR}/${DISTNAME}a | 19 | WRKSRC= ${WRKDIR}/${DISTNAME}a | |
16 | BUILD_TARGET= nbtscan | 20 | BUILD_TARGET= nbtscan | |
17 | 21 | |||
18 | INSTALLATION_DIRS= bin share/doc/nbtscan | 22 | INSTALLATION_DIRS= bin share/doc/nbtscan | |
19 | 23 | |||
20 | do-install: | 24 | do-install: | |
21 | ${INSTALL_PROGRAM} ${WRKSRC}/nbtscan ${DESTDIR}${PREFIX}/bin | 25 | ${INSTALL_PROGRAM} ${WRKSRC}/nbtscan ${DESTDIR}${PREFIX}/bin |
@@ -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 | |||
3 | SHA1 (nbtscan-1.5.1.tar.gz) = 4041d8f6b592fa310b8d3c79c56a2d3263dba82f | 3 | SHA1 (nbtscan-1.5.1.tar.gz) = 4041d8f6b592fa310b8d3c79c56a2d3263dba82f | |
4 | RMD160 (nbtscan-1.5.1.tar.gz) = 5130d9e6decd3346859281f45f8a179aa0286a42 | 4 | RMD160 (nbtscan-1.5.1.tar.gz) = 5130d9e6decd3346859281f45f8a179aa0286a42 | |
5 | Size (nbtscan-1.5.1.tar.gz) = 82107 bytes | 5 | Size (nbtscan-1.5.1.tar.gz) = 82107 bytes | |
6 | SHA1 (patch-ac) = 93ea55a27cb434de567033acd883da08e7225646 | 6 | SHA1 (nbtscan-jumbo-patch-20141122.gz) = 1bd2b2e9fa89095822070c70d5ffbf3693a0b9b1 | |
7 | RMD160 (nbtscan-jumbo-patch-20141122.gz) = 29c8587f16a270f73ec3e8203544c146fe69566d | |||
8 | Size (nbtscan-jumbo-patch-20141122.gz) = 6069 bytes |