[Midnightbsd-cvs] src [6479] U trunk/apache: update build config for new mDNSResponder
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Wed Dec 11 21:35:03 EST 2013
Revision: 6479
http://svnweb.midnightbsd.org/src/?rev=6479
Author: laffer1
Date: 2013-12-11 21:35:03 -0500 (Wed, 11 Dec 2013)
Log Message:
-----------
update build config for new mDNSResponder
Modified Paths:
--------------
trunk/apache/lib/libdns_sd/Makefile
trunk/apache/lib/libnss_mdns/Makefile
trunk/apache/usr.bin/dns-sd/Makefile
trunk/apache/usr.sbin/dnsextd/Makefile
trunk/apache/usr.sbin/mdnsd/Makefile
Property Changed:
----------------
trunk/apache/lib/libdns_sd/Makefile
trunk/apache/lib/libnss_mdns/Makefile
trunk/apache/usr.bin/dns-sd/Makefile
trunk/apache/usr.sbin/dnsextd/Makefile
trunk/apache/usr.sbin/mdnsd/Makefile
Modified: trunk/apache/lib/libdns_sd/Makefile
===================================================================
--- trunk/apache/lib/libdns_sd/Makefile 2013-12-12 01:42:36 UTC (rev 6478)
+++ trunk/apache/lib/libdns_sd/Makefile 2013-12-12 02:35:03 UTC (rev 6479)
@@ -1,5 +1,7 @@
-# $MidnightBSD: src/apache/lib/libdns_sd/Makefile,v 1.3 2010/08/30 17:10:34 laffer1 Exp $
+# $MidnightBSD$
+.include <bsd.own.mk>
+
.PATH: ${.CURDIR}/../../../contrib/mDNSResponder/mDNSShared
SRCDIR= ${.CURDIR}/../../../contrib/mDNSResponder/mDNSShared
SHLIB_MAJOR= 1
@@ -22,6 +24,10 @@
CFLAGS+= -I${.CURDIR}/../../../contrib/mDNSResponder/mDNShared
CFLAGS+= -DTARGET_OS_FREEBSD
+.if ${MK_INET6_SUPPORT} != "no"
+CFLAGS+= -DHAVE_IPV6
+.endif
+
NO_MAN=
.include <bsd.lib.mk>
Property changes on: trunk/apache/lib/libdns_sd/Makefile
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.4
\ No newline at end of property
Modified: trunk/apache/lib/libnss_mdns/Makefile
===================================================================
--- trunk/apache/lib/libnss_mdns/Makefile 2013-12-12 01:42:36 UTC (rev 6478)
+++ trunk/apache/lib/libnss_mdns/Makefile 2013-12-12 02:35:03 UTC (rev 6479)
@@ -1,5 +1,7 @@
-# $MidnightBSD: src/apache/lib/libnss_mdns/Makefile,v 1.4 2011/03/09 20:50:29 laffer1 Exp $
+# $MidnightBSD$
+.include <bsd.own.mk>
+
.PATH: ${.CURDIR}/../../../contrib/mDNSResponder/mDNSPosix
SRCDIR= ${.CURDIR}/../../../contrib/mDNSResponder/mDNSPosix \
${.CURDIR}/../../../contrib/mDNSResponder/mDNSShared
@@ -28,6 +30,10 @@
CFLAGS+= -I${.CURDIR}/../../../contrib/mDNSResponder/mDNShared
CFLAGS+= -DTARGET_OS_FREEBSD
+.if ${MK_INET6_SUPPORT} != "no"
+CFLAGS+= -DHAVE_IPV6
+.endif
+
MAN= nss_mdns.conf.5 \
libnss_mdns.8
Property changes on: trunk/apache/lib/libnss_mdns/Makefile
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.5
\ No newline at end of property
Modified: trunk/apache/usr.bin/dns-sd/Makefile
===================================================================
--- trunk/apache/usr.bin/dns-sd/Makefile 2013-12-12 01:42:36 UTC (rev 6478)
+++ trunk/apache/usr.bin/dns-sd/Makefile 2013-12-12 02:35:03 UTC (rev 6479)
@@ -1,5 +1,9 @@
-# $MidnightBSD: src/apache/usr.sbin/dnsextd/Makefile,v 1.2 2010/08/22 21:03:02 laffer1 Exp $
+# $MidnightBSD$
+NO_MAN=
+
+.include <bsd.own.mk>
+
.PATH: ${.CURDIR}/../../../contrib/mDNSResponder/Clients
PROG= dns-sd
@@ -8,12 +12,15 @@
SRCDIRS= ${.CURDIR}/../../../contrib/mDNSResponder/mDNSShared \
${.CURDIR}/../../../contrib/mDNSResponder/Clients
-NO_MAN=
CFLAGS+= -I. -I${.CURDIR}/../../../contrib/mDNSResponder/Clients
CFLAGS+= -I${.CURDIR}/../../../contrib/mDNSResponder/mDNSShared
CFLAGS+= -ITARGET_OS_FREEBSD
+.if ${MK_INET6_SUPPORT} != "no"
+CFLAGS+= -DHAVE_IPV6
+.endif
+
DPADD= ${LIBPTHREAD}
LDADD= -lpthread -ldns_sd
Property changes on: trunk/apache/usr.bin/dns-sd/Makefile
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Modified: trunk/apache/usr.sbin/dnsextd/Makefile
===================================================================
--- trunk/apache/usr.sbin/dnsextd/Makefile 2013-12-12 01:42:36 UTC (rev 6478)
+++ trunk/apache/usr.sbin/dnsextd/Makefile 2013-12-12 02:35:03 UTC (rev 6479)
@@ -1,4 +1,4 @@
-# $MidnightBSD: src/apache/usr.sbin/dnsextd/Makefile,v 1.3 2010/09/10 18:52:58 laffer1 Exp $
+# $MidnightBSD$
.include <bsd.own.mk>
@@ -11,7 +11,8 @@
SRCS+= DNSDigest.c DNSCommon.c
.PATH: ${.CURDIR}/../../../contrib/mDNSResponder/mDNSShared
SRCS+= dnsextd.c mDNSDebug.c GenLinkedList.c \
- PlatformCommon.c dnsextd_parser.y dnsextd_lexer.l
+ PlatformCommon.c dnsextd_parser.y dnsextd_lexer.l \
+ CryptoAlg.c
SRCDIRS= ${.CURDIR}/../../../contrib/mDNSResponder/mDNSShared \
${.CURDIR}/../../../contrib/mDNSResponder/mDNSPosix \
@@ -29,7 +30,6 @@
CFLAGS+= -DHAVE_IPV6=1
.endif
-
DPADD= ${LIBPTHREAD}
LDADD= -lpthread
Property changes on: trunk/apache/usr.sbin/dnsextd/Makefile
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.4
\ No newline at end of property
Modified: trunk/apache/usr.sbin/mdnsd/Makefile
===================================================================
--- trunk/apache/usr.sbin/mdnsd/Makefile 2013-12-12 01:42:36 UTC (rev 6478)
+++ trunk/apache/usr.sbin/mdnsd/Makefile 2013-12-12 02:35:03 UTC (rev 6479)
@@ -1,4 +1,4 @@
-# $MidnightBSD: src/apache/usr.sbin/mdnsd/Makefile,v 1.8 2011/10/26 14:52:44 laffer1 Exp $
+# $MidnightBSD$
.include <bsd.own.mk>
@@ -12,7 +12,7 @@
.PATH: ${.CURDIR}/../../../contrib/mDNSResponder/mDNSShared
SRCS+= uds_daemon.c \
mDNSDebug.c dnssd_ipc.c GenLinkedList.c \
- PlatformCommon.c
+ PlatformCommon.c CryptoAlg.c anonymous.c
SRCDIRS= ${.CURDIR}/../../../contrib/mDNSResponder/mDNSShared \
${.CURDIR}/../../../contrib/mDNSResponder/mDNSPosix \
@@ -24,13 +24,14 @@
CFLAGS+= -I${.CURDIR}/../../../contrib/mDNSResponder/mDNSShared
CFLAGS+= -DTARGET_OS_FREEBSD -DMDNS_VERSIONSTR_NODTS
CFLAGS+= -DIDLESLEEPCONTROL_DISABLED
+CFLAGS+= -D_REENTRANT
# Dual stack freaks out mdnsd and it dies
-#.if ${MK_INET6_SUPPORT} == "no"
+.if ${MK_INET6_SUPPORT} == "no"
CFLAGS+= -DHAVE_IPV6=0
-#.else
-#CFLAGS+= -DHAVE_IPV6=1
-#.endif
+.else
+CFLAGS+= -DHAVE_IPV6=1
+.endif
.include <bsd.prog.mk>
Property changes on: trunk/apache/usr.sbin/mdnsd/Makefile
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.9
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list