summaryrefslogtreecommitdiff
path: root/net/dhcpd-pools
diff options
context:
space:
mode:
authoradam <adam>2011-07-20 07:03:53 +0000
committeradam <adam>2011-07-20 07:03:53 +0000
commitfa7f48e3ae2cd596b8ee118cf7fd8ba1328d2bf3 (patch)
treea3bf0053fb4491ea6629ed7046b528aaf26b3f0e /net/dhcpd-pools
parentcbe3eaca46d30a14fc9ce17e8c1e8ede5bbac304 (diff)
downloadpkgsrc-fa7f48e3ae2cd596b8ee118cf7fd8ba1328d2bf3.tar.gz
Changes 2.16:
* docs: help screen & man page * docs: add missing full-html flag * headers: include-what-you-use fixes * other: free backup ranges * prepare_memory bug: initialization missing * licensing: use FreeBSD license (was GNUv3) * parse_leases: exit at read error * getdata: realloc instead of asserting * getdata: potential overflow due unit change * bug: use uint32_t for IP numbers * analyze: use more logical variable names * getdata: initialize memory * all: include-what-you-see fixes * analyze: debugging leftover removed * THANKS: add Ahmed AL Dakhil * maint: coding style fixes * output: change to full html behaviour * build-sys: autotools configure.ac update * docs: NEWS update * docs: remove version from manual page * licensing: set placeholder properly * bug: use uint32_t for IP numbers * build-sys: ignore gprof & gcov files * getdata: new xstrstr function for performance * other: fix two warnings * build-sys: update news for release v2.16
Diffstat (limited to 'net/dhcpd-pools')
-rw-r--r--net/dhcpd-pools/Makefile5
-rw-r--r--net/dhcpd-pools/distinfo10
-rw-r--r--net/dhcpd-pools/patches/patch-src_dhcpd-pools.h19
-rw-r--r--net/dhcpd-pools/patches/patch-src_getdata.c26
4 files changed, 53 insertions, 7 deletions
diff --git a/net/dhcpd-pools/Makefile b/net/dhcpd-pools/Makefile
index 963aa9c4a83..65d3567e9c9 100644
--- a/net/dhcpd-pools/Makefile
+++ b/net/dhcpd-pools/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2011/07/05 01:14:20 dholland Exp $
+# $NetBSD: Makefile,v 1.3 2011/07/20 07:03:53 adam Exp $
-DISTNAME= dhcpd-pools-2.14
-PKGREVISION= 1
+DISTNAME= dhcpd-pools-2.16
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dhcpd-pools/}
diff --git a/net/dhcpd-pools/distinfo b/net/dhcpd-pools/distinfo
index a4cbfec8eee..bd160501738 100644
--- a/net/dhcpd-pools/distinfo
+++ b/net/dhcpd-pools/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2011/05/27 06:41:42 adam Exp $
+$NetBSD: distinfo,v 1.2 2011/07/20 07:03:53 adam Exp $
-SHA1 (dhcpd-pools-2.14.tar.gz) = c30980fa9ea6dfc39d3bef633d42680c5adceb42
-RMD160 (dhcpd-pools-2.14.tar.gz) = bf24d5889354330b1d4a4307df5553310a7ea11a
-Size (dhcpd-pools-2.14.tar.gz) = 384847 bytes
+SHA1 (dhcpd-pools-2.16.tar.gz) = 747546172df1027a3ed743822b6593eb8d9a3c82
+RMD160 (dhcpd-pools-2.16.tar.gz) = 646d172a5c6f1f2a5b7d800d732adbef248e8f21
+Size (dhcpd-pools-2.16.tar.gz) = 367461 bytes
+SHA1 (patch-src_dhcpd-pools.h) = 41fe0881bc3741189ea802337bab1ba4aaeeb9bc
+SHA1 (patch-src_getdata.c) = 66580946034e5c19257c449e1fb5e5e9daaaa319
diff --git a/net/dhcpd-pools/patches/patch-src_dhcpd-pools.h b/net/dhcpd-pools/patches/patch-src_dhcpd-pools.h
new file mode 100644
index 00000000000..05c3462e317
--- /dev/null
+++ b/net/dhcpd-pools/patches/patch-src_dhcpd-pools.h
@@ -0,0 +1,19 @@
+$NetBSD: patch-src_dhcpd-pools.h,v 1.1 2011/07/20 07:03:53 adam Exp $
+
+Include <string.h> here.
+
+--- src/dhcpd-pools.h.orig 2011-07-20 06:31:06.000000000 +0000
++++ src/dhcpd-pools.h
+@@ -52,6 +52,12 @@ extern char *malloc();
+ #define EXIT_SUCCESS 0
+ #endif /* STDC_HEADERS */
+
++#ifdef HAVE_STRING_H
++#include <string.h>
++#else
++#include <strings.h>
++#endif
++
+ #ifndef HAVE_PROGRAM_INVOCATION_SHORT_NAME
+ # ifdef HAVE___PROGNAME
+ extern char *__progname;
diff --git a/net/dhcpd-pools/patches/patch-src_getdata.c b/net/dhcpd-pools/patches/patch-src_getdata.c
new file mode 100644
index 00000000000..a19e4293707
--- /dev/null
+++ b/net/dhcpd-pools/patches/patch-src_getdata.c
@@ -0,0 +1,26 @@
+$NetBSD: patch-src_getdata.c,v 1.1 2011/07/20 07:03:53 adam Exp $
+
+Don't include features.h; move string.h to dhcpd-pools.h.
+
+--- src/getdata.c.orig 2011-07-20 06:30:23.000000000 +0000
++++ src/getdata.c
+@@ -43,19 +43,12 @@ extern char *malloc();
+ #define EXIT_SUCCESS 0 /* Successful exit status. */
+ #endif /* STDC_HEADERS */
+
+-#ifdef HAVE_STRING_H
+-#include <string.h>
+-#else
+-#include <strings.h>
+-#endif
+-
+ #include <arpa/inet.h>
+ #include <assert.h>
+ #include <ctype.h>
+ #include <err.h>
+ #include <errno.h>
+ #include <fcntl.h>
+-#include <features.h>
+ #include <netinet/in.h>
+ #include <stddef.h>
+ #include <stdint.h>