From 86de7b4f512c464a5bd21d1c12e18c4432af6ce8 Mon Sep 17 00:00:00 2001 From: abs Date: Wed, 22 Apr 2015 14:57:22 +0000 Subject: Add a 'reload' rc.d option (automatically uses the pid file), which will make dnsmasq reload the dhcp file. Add patch comment and mps Bump PKGREVISION --- net/dnsmasq/Makefile | 5 ++--- net/dnsmasq/distinfo | 4 ++-- net/dnsmasq/files/dnsmasq.sh | 3 ++- net/dnsmasq/patches/patch-src_bpf.c | 4 +++- 4 files changed, 9 insertions(+), 7 deletions(-) (limited to 'net/dnsmasq') diff --git a/net/dnsmasq/Makefile b/net/dnsmasq/Makefile index c7c3eeba7f2..997a825602a 100644 --- a/net/dnsmasq/Makefile +++ b/net/dnsmasq/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.26 2014/11/23 13:16:23 cheusov Exp $ -# +# $NetBSD: Makefile,v 1.27 2015/04/22 14:57:22 abs Exp $ DISTNAME= dnsmasq-2.67 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= net MASTER_SITES= http://www.thekelleys.org.uk/dnsmasq/ diff --git a/net/dnsmasq/distinfo b/net/dnsmasq/distinfo index a7b473364d7..ea0b35d9e44 100644 --- a/net/dnsmasq/distinfo +++ b/net/dnsmasq/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.24 2015/01/17 13:52:12 bsiegert Exp $ +$NetBSD: distinfo,v 1.25 2015/04/22 14:57:22 abs Exp $ SHA1 (dnsmasq-2.67.tar.gz) = 550c7ea2bef2a74a089c664d95fc52420a8cb726 RMD160 (dnsmasq-2.67.tar.gz) = c2f3f9d7978bc9eddbcb77add54acdf3c8103fa8 Size (dnsmasq-2.67.tar.gz) = 600838 bytes SHA1 (patch-dnsmasq.conf.example) = 2974c722a26400915037259c79899e8a3e95bf8f -SHA1 (patch-src_bpf.c) = 8ba0482e8ba9441d5eb235dfb7b4aa556545636c +SHA1 (patch-src_bpf.c) = 5a355bc116d2853b8e202ea31847a9e36cd000b0 diff --git a/net/dnsmasq/files/dnsmasq.sh b/net/dnsmasq/files/dnsmasq.sh index fe2b707fce2..c85f354301f 100644 --- a/net/dnsmasq/files/dnsmasq.sh +++ b/net/dnsmasq/files/dnsmasq.sh @@ -1,6 +1,6 @@ #!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: dnsmasq.sh,v 1.2 2011/10/07 22:37:04 shattered Exp $ +# $NetBSD: dnsmasq.sh,v 1.3 2015/04/22 14:57:22 abs Exp $ # # PROVIDE: dnsmasq @@ -12,6 +12,7 @@ name="dnsmasq" rcvar=$name command="@PREFIX@/sbin/${name}" pidfile="/var/run/${name}.pid" +extra_commands="reload" load_rc_config $name run_rc_command "$1" diff --git a/net/dnsmasq/patches/patch-src_bpf.c b/net/dnsmasq/patches/patch-src_bpf.c index 407ace710ba..573e919b707 100644 --- a/net/dnsmasq/patches/patch-src_bpf.c +++ b/net/dnsmasq/patches/patch-src_bpf.c @@ -1,4 +1,6 @@ -$NetBSD: patch-src_bpf.c,v 1.3 2015/01/17 13:52:13 bsiegert Exp $ +$NetBSD: patch-src_bpf.c,v 1.4 2015/04/22 14:57:22 abs Exp $ + +Add inet6 include for OS X --- src/bpf.c.orig 2015-01-02 04:23:05.000000000 +0000 +++ src/bpf.c -- cgit v1.2.3