diff options
author | zi <zi@FreeBSD.org> | 2012-06-19 19:44:12 +0800 |
---|---|---|
committer | zi <zi@FreeBSD.org> | 2012-06-19 19:44:12 +0800 |
commit | 3debec03ea200e4706ccd43e162e2d1bc0ee15e9 (patch) | |
tree | ef79cc94b05786ce6cb6daa40a871b22f2fd692e /net | |
parent | e01ad10d116726350b01439cf72e147cfc83c324 (diff) | |
download | freebsd-ports-gnome-3debec03ea200e4706ccd43e162e2d1bc0ee15e9.tar.gz freebsd-ports-gnome-3debec03ea200e4706ccd43e162e2d1bc0ee15e9.tar.zst freebsd-ports-gnome-3debec03ea200e4706ccd43e162e2d1bc0ee15e9.zip |
- Update to 2.18
Diffstat (limited to 'net')
-rw-r--r-- | net/dhcpd-pools/Makefile | 6 | ||||
-rw-r--r-- | net/dhcpd-pools/distinfo | 4 | ||||
-rw-r--r-- | net/dhcpd-pools/files/patch-src__other.c | 31 |
3 files changed, 5 insertions, 36 deletions
diff --git a/net/dhcpd-pools/Makefile b/net/dhcpd-pools/Makefile index a04f2e0468a2..3f155c217de7 100644 --- a/net/dhcpd-pools/Makefile +++ b/net/dhcpd-pools/Makefile @@ -6,7 +6,7 @@ # PORTNAME= dhcpd-pools -PORTVERSION= 2.17 +PORTVERSION= 2.18 CATEGORIES= net MASTER_SITES= SF/${PORTNAME} @@ -20,8 +20,8 @@ BUILD_DEPENDS= ${LOCALBASE}/include/uthash.h:${PORTSDIR}/devel/uthash GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-dhcpd-conf=${LOCALBASE}/etc/dhcpd.conf \ - --with-dhcpd-leases=/var/db/dhcpd/dhcpd.leases -CFLAGS+= -I/usr/include -I${LOCALBASE}/include + --with-dhcpd-leases=/var/db/dhcpd/dhcpd.leases \ + --with-uthash=${LOCALBASE}/include PLIST_FILES= bin/dhcpd-pools PORTDATA= dhcpd-pools.cgi snmptest.pl diff --git a/net/dhcpd-pools/distinfo b/net/dhcpd-pools/distinfo index 76cec43daf9d..b80e73a0100e 100644 --- a/net/dhcpd-pools/distinfo +++ b/net/dhcpd-pools/distinfo @@ -1,2 +1,2 @@ -SHA256 (dhcpd-pools-2.17.tar.gz) = 99f966dc9745f2061d9ca5039837b543876ea02113a920d330f0fbf31f3f495e -SIZE (dhcpd-pools-2.17.tar.gz) = 366581 +SHA256 (dhcpd-pools-2.18.tar.gz) = 340ccb76232aaa5a77290c29f4af963e26c002a9d987146a0619e8ea7ba2b0b3 +SIZE (dhcpd-pools-2.18.tar.gz) = 367741 diff --git a/net/dhcpd-pools/files/patch-src__other.c b/net/dhcpd-pools/files/patch-src__other.c deleted file mode 100644 index deb1b7078c7b..000000000000 --- a/net/dhcpd-pools/files/patch-src__other.c +++ /dev/null @@ -1,31 +0,0 @@ ---- ./src/other.c.orig 2012-05-02 13:52:56.000000000 -0400 -+++ ./src/other.c 2012-05-06 13:52:32.000000000 -0400 -@@ -53,13 +53,28 @@ - - #include <err.h> - #include <errno.h> -+#ifndef __FreeBSD__ - #include <error.h> -+#endif - #include <stdbool.h> - #include <stddef.h> - #include <stdio.h> -+#ifndef __FreeBSD__ - #include <stdio_ext.h> -+#endif - #include <unistd.h> - -+#ifdef __FreeBSD__ -+#define error errc -+#endif -+ -+#ifdef __FreeBSD__ -+static size_t __fpending (FILE *fp) -+{ -+ return (fp->_p - fp->_bf._base); -+} -+#endif -+ - /* Simple memory allocation wrapper */ - void *safe_malloc(const size_t size) - { |