Date: Thu, 23 Feb 2017 07:35:08 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r434657 - in head/dns/openmdns: . files Message-ID: <201702230735.v1N7Z8HK029716@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Thu Feb 23 07:35:07 2017 New Revision: 434657 URL: https://svnweb.freebsd.org/changeset/ports/434657 Log: dns/openmdns: update to 0.6.24 Changes: https://github.com/haesbaert/mdnsd/compare/d76ce05...627cc56 Modified: head/dns/openmdns/Makefile (contents, props changed) head/dns/openmdns/distinfo (contents, props changed) head/dns/openmdns/files/patch-compat (contents, props changed) Modified: head/dns/openmdns/Makefile ============================================================================== --- head/dns/openmdns/Makefile Thu Feb 23 05:10:39 2017 (r434656) +++ head/dns/openmdns/Makefile Thu Feb 23 07:35:07 2017 (r434657) @@ -1,9 +1,8 @@ # $FreeBSD$ PORTNAME= openmdns -DISTVERSION= 0.6-15 -DISTVERSIONSUFFIX= -gd76ce05 -PORTREVISION= 2 +DISTVERSION= 0.6-24 +DISTVERSIONSUFFIX= -g627cc56 CATEGORIES= dns MAINTAINER= jbeich@FreeBSD.org Modified: head/dns/openmdns/distinfo ============================================================================== --- head/dns/openmdns/distinfo Thu Feb 23 05:10:39 2017 (r434656) +++ head/dns/openmdns/distinfo Thu Feb 23 07:35:07 2017 (r434657) @@ -1,3 +1,3 @@ -TIMESTAMP = 1477685972 -SHA256 (haesbaert-mdnsd-0.6-15-gd76ce05_GH0.tar.gz) = bf307fbe392284b80be922ce24ad78104ecb5eabd173ced9fd12344dcce57889 -SIZE (haesbaert-mdnsd-0.6-15-gd76ce05_GH0.tar.gz) = 2935582 +TIMESTAMP = 1487386935 +SHA256 (haesbaert-mdnsd-0.6-24-g627cc56_GH0.tar.gz) = 3da4df8365b8f592bdf579448706b6014717d7884b97d43e4d121af00c7cb263 +SIZE (haesbaert-mdnsd-0.6-24-g627cc56_GH0.tar.gz) = 2936195 Modified: head/dns/openmdns/files/patch-compat ============================================================================== --- head/dns/openmdns/files/patch-compat Thu Feb 23 05:10:39 2017 (r434656) +++ head/dns/openmdns/files/patch-compat Thu Feb 23 07:35:07 2017 (r434657) @@ -1,4 +1,28 @@ ---- mdnsd/mdns.h.orig 2015-05-29 14:18:11 UTC +--- mdnsctl/mdnsctl.c.orig 2017-02-18 03:02:15 UTC ++++ mdnsctl/mdnsctl.c +@@ -67,8 +67,10 @@ main(int argc, char *argv[]) + struct mdns mdns; + struct mdns_service ms; + ++#ifdef __OpenBSD__ + if (pledge("stdio unix", NULL) == -1) + err(1, NULL); ++#endif + + /* parse options */ + if ((res = parse(argc - 1, argv + 1)) == NULL) +@@ -77,8 +79,10 @@ main(int argc, char *argv[]) + if ((sockfd = mdns_open(&mdns)) == -1) + err(1, "mdns_open"); + ++#ifdef __OpenBSD__ + if (pledge("stdio", NULL) == -1) + err(1, NULL); ++#endif + + mdns_set_lookup_A_hook(&mdns, my_lookup_A_hook); + mdns_set_lookup_PTR_hook(&mdns, my_lookup_PTR_hook); +--- mdnsd/mdns.h.orig 2017-02-18 03:02:15 UTC +++ mdnsd/mdns.h @@ -31,6 +31,37 @@ #include <event.h> @@ -38,7 +62,7 @@ #define MAXCHARSTR MAXHOSTNAMELEN #define MAXLABELLEN 64 #define MAXPROTOLEN 4 ---- mdnsd/mdnsd.c.orig 2015-05-29 14:18:11 UTC +--- mdnsd/mdnsd.c.orig 2017-02-18 03:02:15 UTC +++ mdnsd/mdnsd.c @@ -46,7 +46,9 @@ void fetchmyname(char [MAXHOSTNAMELEN]) void fetchhinfo(struct hinfo *);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702230735.v1N7Z8HK029716>