Date: Tue, 8 Jun 2010 00:37:55 +0800 (CST) From: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/147657: [PATCH] net/mDNSResponder: update to 214.3, take maintainership Message-ID: <20100607163755.980972AEC57C@sunpoet.net> Resent-Message-ID: <201006071640.o57Ge77Q098001@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 147657 >Category: ports >Synopsis: [PATCH] net/mDNSResponder: update to 214.3, take maintainership >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Jun 07 16:40:07 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Sunpoet Po-Chuan Hsieh >Release: FreeBSD 8.1-PRERELEASE amd64 >Organization: SUNPOET.net >Environment: System: FreeBSD bonjour.sunpoet.net 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #0: Wed May 19 00:13:00 CST 2010 >Description: - Update to 214.3 - Rename mdnsd.sh to mdnsd (with minor fix) - Simplify manpage installation - Remove duplicated MAKE_JOBS_UNSAFE - Take maintainership Added file(s): - files/mdnsd.in Removed file(s): - files/mdnsd.sh.in BTW, is it possible to request an exp run? Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- mDNSResponder-214.3.patch begins here --- diff -ruN --exclude=CVS /usr/ports/net/mDNSResponder/Makefile /usr/ports/sunpoet/mDNSResponder/Makefile --- /usr/ports/net/mDNSResponder/Makefile 2010-02-16 17:19:00.000000000 +0800 +++ /usr/ports/sunpoet/mDNSResponder/Makefile 2010-06-07 22:01:59.000000000 +0800 @@ -7,34 +7,26 @@ # PORTNAME= mDNSResponder -PORTVERSION= 214 +PORTVERSION= 214.3 CATEGORIES= net dns MASTER_SITES= http://opensource.apple.com/tarballs/mDNSResponder/ -DISTNAME= ${PORTNAME}-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@sunpoet.net COMMENT= Apple's mDNSResponder -MAKE_JOBS_UNSAFE= yes - -USE_BISON= build -USE_LDCONFIG= YES - -USE_GMAKE= YES -USE_RC_SUBR= mdnsd.sh -MAKE_ARGS+= os=freebsd LOCALBASE=${PREFIX} MANPATH=${MANPREFIX}/man BUILD_WRKSRC= ${WRKSRC}/mDNSPosix INSTALL_WRKSRC= ${WRKSRC}/mDNSPosix -EXTRA_PROGS_BIN=mDNSClientPosix \ - mDNSIdentify \ - mDNSNetMonitor \ - mDNSProxyResponderPosix \ - mDNSResponderPosix -EXTRA_PROGS_SBIN=dnsextd +MAKE_ARGS+= os=freebsd LOCALBASE=${PREFIX} MANPATH=${MANPREFIX}/man MAKE_JOBS_UNSAFE= yes +USE_BISON= build +USE_GMAKE= yes +USE_LDCONFIG= yes +USE_RC_SUBR= mdnsd +EXTRA_PROGS_BIN=mDNSClientPosix mDNSIdentify mDNSNetMonitor \ + mDNSProxyResponderPosix mDNSResponderPosix +EXTRA_PROGS_SBIN=dnsextd EXTRAMAN8= dnsextd.8 mDNSResponderPosix.8 - MAN8= mdnsd.8 ${EXTRAMAN8} CONFLICTS= avahi-libdns-[0-9]* @@ -46,21 +38,20 @@ .endif post-patch: - ${MV} ${WRKSRC}/mDNSShared/mDNSResponder.8 \ + @${MV} ${WRKSRC}/mDNSShared/mDNSResponder.8 \ ${WRKSRC}/mDNSShared/mDNSResponderPosix.8 + pre-build: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \ -e 's|mDNSResponder.8|mDNSResponderPosix.8|g' \ ${WRKSRC}/mDNSPosix/Makefile post-install: - cd ${INSTALL_WRKSRC}/build/prod && \ + @cd ${INSTALL_WRKSRC}/build/prod && \ ${INSTALL_PROGRAM} ${EXTRA_PROGS_BIN} ${PREFIX}/bin && \ ${INSTALL_PROGRAM} ${EXTRA_PROGS_SBIN} ${PREFIX}/sbin -. for section in 1 2 3 4 5 6 7 8 -. for page in ${EXTRAMAN${section}} - ${INSTALL_MAN} ${WRKSRC}/mDNSShared/${page} ${MAN${section}PREFIX}/man/man${page:E}/ -. endfor -. endfor +.for page in ${EXTRAMAN8} + @${INSTALL_MAN} ${WRKSRC}/mDNSShared/${page} ${MAN8PREFIX}/man/man8/ +.endfor .include <bsd.port.post.mk> diff -ruN --exclude=CVS /usr/ports/net/mDNSResponder/distinfo /usr/ports/sunpoet/mDNSResponder/distinfo --- /usr/ports/net/mDNSResponder/distinfo 2010-01-14 09:39:40.000000000 +0800 +++ /usr/ports/sunpoet/mDNSResponder/distinfo 2010-05-30 03:15:08.000000000 +0800 @@ -1,3 +1,3 @@ -MD5 (mDNSResponder-214.tar.gz) = 8285a8f63c63a824cbafb9b6404163e8 -SHA256 (mDNSResponder-214.tar.gz) = d8df2983869370853e3b189e209a68ec879295bd476f24a789c982292969df97 -SIZE (mDNSResponder-214.tar.gz) = 1623680 +MD5 (mDNSResponder-214.3.tar.gz) = b523eeadb302bbf124f985d5ff5d4a0d +SHA256 (mDNSResponder-214.3.tar.gz) = 4ca4505fa151c45ccca6981562c11592cf7776576423a3fac926e0e1bd08e600 +SIZE (mDNSResponder-214.3.tar.gz) = 1632678 diff -ruN --exclude=CVS /usr/ports/net/mDNSResponder/files/mdnsd.in /usr/ports/sunpoet/mDNSResponder/files/mdnsd.in --- /usr/ports/net/mDNSResponder/files/mdnsd.in 1970-01-01 08:00:00.000000000 +0800 +++ /usr/ports/sunpoet/mDNSResponder/files/mdnsd.in 2010-06-07 23:33:48.000000000 +0800 @@ -0,0 +1,22 @@ +#!/bin/sh +# +# $FreeBSD$ + +# PROVIDE: mdnsd +# REQUIRE: DAEMON +# KEYWORD: shutdown + +. /etc/rc.subr + +name=mdnsd +rcvar=`set_rcvar` + +load_rc_config $name + +: ${mdnsd_enable="NO"} +: ${mdnsd_pidfile="/var/run/${name}.pid"} + +command="%%PREFIX%%/sbin/${name}" +pidfile="${mdnsd_pidfile}" + +run_rc_command $* diff -ruN --exclude=CVS /usr/ports/net/mDNSResponder/files/mdnsd.sh.in /usr/ports/sunpoet/mDNSResponder/files/mdnsd.sh.in --- /usr/ports/net/mDNSResponder/files/mdnsd.sh.in 2010-03-27 13:57:16.000000000 +0800 +++ /usr/ports/sunpoet/mDNSResponder/files/mdnsd.sh.in 1970-01-01 08:00:00.000000000 +0800 @@ -1,19 +0,0 @@ -#!/bin/sh -# $FreeBSD: ports/net/mDNSResponder/files/mdnsd.sh.in,v 1.6 2010/03/27 00:13:47 dougb Exp $ - -# PROVIDE: mdnsd -# REQUIRE: DAEMON -# KEYWORD: shutdown - -mdnsd_enable="${mdnsd_enable-NO}" - -. /etc/rc.subr - -name=mdnsd -rcvar=`set_rcvar` -command="%%PREFIX%%/sbin/${name}" -pidfile="/var/run/${name}.pid" - -load_rc_config $name - -run_rc_command $* --- mDNSResponder-214.3.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100607163755.980972AEC57C>