diff options
author | Caleb Tennis <caleb@gentoo.org> | 2006-03-01 00:18:20 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2006-03-01 00:18:20 +0000 |
commit | e9ef640cd85333a36b7979c41501bbc38de6e691 (patch) | |
tree | 8d158eb2eae785f66cb57ea81f75c5b3286859a3 /net-misc/mDNSResponder | |
parent | Modify the ebuild to force sqlite as a dep if no database type if specified, ... (diff) | |
download | gentoo-2-e9ef640cd85333a36b7979c41501bbc38de6e691.tar.gz gentoo-2-e9ef640cd85333a36b7979c41501bbc38de6e691.tar.bz2 gentoo-2-e9ef640cd85333a36b7979c41501bbc38de6e691.zip |
Modify to add java buildsupport, per bug #123689
(Portage version: 2.1_pre5-r1)
Diffstat (limited to 'net-misc/mDNSResponder')
-rw-r--r-- | net-misc/mDNSResponder/Manifest | 61 | ||||
-rw-r--r-- | net-misc/mDNSResponder/files/digest-mDNSResponder-107.1 | 2 | ||||
-rw-r--r-- | net-misc/mDNSResponder/files/mDNSResponder-107.1-Makefiles.patch | 14 | ||||
-rw-r--r-- | net-misc/mDNSResponder/mDNSResponder-107.1.ebuild | 16 |
4 files changed, 68 insertions, 25 deletions
diff --git a/net-misc/mDNSResponder/Manifest b/net-misc/mDNSResponder/Manifest index 01226247e9bb..5e6e3fec9cb3 100644 --- a/net-misc/mDNSResponder/Manifest +++ b/net-misc/mDNSResponder/Manifest @@ -1,24 +1,45 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 e110f34bac8e308172df60f7aa54244a ChangeLog 2783 -MD5 8b3554909fb9a64630ea24a3a85d850d mDNSResponder-98.ebuild 1015 -MD5 642f4d4d00cc80310934d0f8c3839f5a mDNSResponder-107.1.ebuild 2311 -MD5 acc03a4b12bb0433a57e95bd253b9501 metadata.xml 156 +RMD160 f72ceeba72a95579538152c2526ca8200a4ad067 ChangeLog 2783 +SHA256 0313aad6ba3e9e9d485cab25f5c887ced20a5c20923620ea2968d342174ca3d4 ChangeLog 2783 +MD5 6bc193747762e84f664f6a3303296b23 files/digest-mDNSResponder-107.1 262 +RMD160 54c2bd241c40159e8fe7ceca16011b3377551684 files/digest-mDNSResponder-107.1 262 +SHA256 41f4cf29d74c7713a1ce6dc791412c2cfebc5209f9784322a71ad998cc610ddb files/digest-mDNSResponder-107.1 262 +MD5 854ae89c0e0738fa68590659fe262309 files/digest-mDNSResponder-98 69 +RMD160 b772a385d55bab2dd53fb8b0f279f03acb1a4832 files/digest-mDNSResponder-98 69 +SHA256 90fc1ccffd98e61b27f1c40a2046987b063ae304d50dc9c4e745645a1def33f3 files/digest-mDNSResponder-98 69 +MD5 ccbbf27de7cb7a7a00b82ce91dc784ee files/dnsextd.conf.d 426 +RMD160 fb7e2a3eef91c441e140b7d883e681f80479d24d files/dnsextd.conf.d 426 +SHA256 dd1d5210743beb98aa631fcd3611313bbba7d3862b323ac52ccd57d81c337f0d files/dnsextd.conf.d 426 MD5 526779dd93f31199a9486a8c97b3d859 files/dnsextd.init.d 998 +RMD160 977ec57c04533fe44a15237dd093e7670daa5dd7 files/dnsextd.init.d 998 +SHA256 47da76c48b3e380209b6ee98683121c783e4399535b1142601fafacfed59a153 files/dnsextd.init.d 998 +MD5 b7d4403ae11819a11cd52f31af9548ac files/mDNSResponder-107.1-Makefiles.patch 5584 +RMD160 7f46ad1ebc92a6f6ef18e769c32907878298b437 files/mDNSResponder-107.1-Makefiles.patch 5584 +SHA256 310631377c83246fb8d40207014157a86236a1f4132505593ad141b4078b5909 files/mDNSResponder-107.1-Makefiles.patch 5584 +MD5 7087496865b0e264a209619124877965 files/mDNSResponder-98-Makefiles.patch 3631 +RMD160 e6cf2d5bdbc84196407cc8e0bdb94ec16b7b41f0 files/mDNSResponder-98-Makefiles.patch 3631 +SHA256 8e43b1a664e4cf532afeef54f8a3be8f1b62435bb6391793ace271d06ce2e4ff files/mDNSResponder-98-Makefiles.patch 3631 +MD5 6bfaec39e5143be17c23ebdbdd0ada06 files/mDNSResponderPosix.conf 437 +RMD160 1691be0362ec145874611696d3833e81a85d73d2 files/mDNSResponderPosix.conf 437 +SHA256 e1c6b8967b6bf29aa54a71bbb91302655af3d6fcdd8d2e3e4df5770deb114493 files/mDNSResponderPosix.conf 437 MD5 b74cd777522f1afe94e70f9fe28f8152 files/mDNSResponderPosix.conf.d 67 -MD5 27629c08c7cc567113bdd270b670feaf files/mdnsd.init.d 845 -MD5 dc4d5a4581328c0742083dbf8794512c files/digest-mDNSResponder-107.1 72 +RMD160 dfd5c6dae9157eeef7a5c62c7b3d041b8bd63340 files/mDNSResponderPosix.conf.d 67 +SHA256 9b9880836a55fb24120454062936da1a2120736a3ade53992f000433a3d563e3 files/mDNSResponderPosix.conf.d 67 MD5 3e72df7f18d10cc944d1d2756f75a543 files/mDNSResponderPosix.init.d 1247 -MD5 ccbbf27de7cb7a7a00b82ce91dc784ee files/dnsextd.conf.d 426 -MD5 854ae89c0e0738fa68590659fe262309 files/digest-mDNSResponder-98 69 -MD5 6bfaec39e5143be17c23ebdbdd0ada06 files/mDNSResponderPosix.conf 437 -MD5 7087496865b0e264a209619124877965 files/mDNSResponder-98-Makefiles.patch 3631 -MD5 2550bc56ecb633b4002835a7256d4734 files/mDNSResponder-107.1-Makefiles.patch 5442 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFDNyKgj5H05b2HAEkRAlZJAJ0U7XgdxpG80RfByEg8s42EliCePQCffvZQ -hA9MOPBny+++/N/rkzua7vY= -=LFRq ------END PGP SIGNATURE----- +RMD160 2ef8feecba3481bda13a79627b6b664bbbda3793 files/mDNSResponderPosix.init.d 1247 +SHA256 4585aa2a9591e5af5d1d5f1b069c10d66f8f1ca2a35db7f5c6b13e317b8b4e16 files/mDNSResponderPosix.init.d 1247 +MD5 27629c08c7cc567113bdd270b670feaf files/mdnsd.init.d 845 +RMD160 1dd264f5bb68dd2e73007b2d4f4133edae79339e files/mdnsd.init.d 845 +SHA256 87df2b720556e5b3cdc5e6aedae45a237e9e58ecde8799429c02527cd0d9c072 files/mdnsd.init.d 845 +MD5 2550bc56ecb633b4002835a7256d4734 files/mold.patch 5442 +RMD160 3b1e42df1e9764b5d97ad7ed6ccef8f52db46ed4 files/mold.patch 5442 +SHA256 c31d2235c29c2428d46409bfc185d15f43451db56a946906e1f7e379ee5d8430 files/mold.patch 5442 +MD5 9186bac07117fca09a915fefce31d4a9 mDNSResponder-107.1.ebuild 2542 +RMD160 66b3dacaa45f458dc93441c09f9dfb8df621e1af mDNSResponder-107.1.ebuild 2542 +SHA256 e6650bec8526bbc38b324b1cb60752a7d99d10c08d711be35caf6606277baebf mDNSResponder-107.1.ebuild 2542 +MD5 8b3554909fb9a64630ea24a3a85d850d mDNSResponder-98.ebuild 1015 +RMD160 329d5ec64aacee5e4a26f1c0d48f270ce09d5188 mDNSResponder-98.ebuild 1015 +SHA256 f7de606d22cd08b3f87882f10a971be8d32d1687e4be77ee7b1a36cfcb7a2fcb mDNSResponder-98.ebuild 1015 +MD5 acc03a4b12bb0433a57e95bd253b9501 metadata.xml 156 +RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 metadata.xml 156 +SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a metadata.xml 156 diff --git a/net-misc/mDNSResponder/files/digest-mDNSResponder-107.1 b/net-misc/mDNSResponder/files/digest-mDNSResponder-107.1 index 5bf53a4698b4..2d50d7c6d885 100644 --- a/net-misc/mDNSResponder/files/digest-mDNSResponder-107.1 +++ b/net-misc/mDNSResponder/files/digest-mDNSResponder-107.1 @@ -1 +1,3 @@ MD5 0182d100b3f7929649bfc6c29715d4d7 mDNSResponder-107.1.tar.gz 1325181 +RMD160 3415d6e17aa44ce1f25b15d5f57af67d48280d08 mDNSResponder-107.1.tar.gz 1325181 +SHA256 e977f077bb9e6b339a5e075e55b22dcfa86e392f0fdac4e424b87cf64283b8ab mDNSResponder-107.1.tar.gz 1325181 diff --git a/net-misc/mDNSResponder/files/mDNSResponder-107.1-Makefiles.patch b/net-misc/mDNSResponder/files/mDNSResponder-107.1-Makefiles.patch index 3cb201278d39..73e44b3499da 100644 --- a/net-misc/mDNSResponder/files/mDNSResponder-107.1-Makefiles.patch +++ b/net-misc/mDNSResponder/files/mDNSResponder-107.1-Makefiles.patch @@ -1,6 +1,6 @@ diff -Nur mDNSResponder-107.1.orig/Clients/Makefile mDNSResponder-107.1/Clients/Makefile --- mDNSResponder-107.1.orig/Clients/Makefile 2004-09-24 23:15:26.000000000 +0200 -+++ mDNSResponder-107.1/Clients/Makefile 2005-08-27 14:36:34.000000000 +0200 ++++ mDNSResponder-107.1/Clients/Makefile 2006-02-22 20:49:14.000000000 +0100 @@ -49,11 +49,14 @@ ############################################################################# @@ -22,7 +22,16 @@ diff -Nur mDNSResponder-107.1.orig/Clients/Makefile mDNSResponder-107.1/Clients/ targets: build/dns-sd diff -Nur mDNSResponder-107.1.orig/mDNSPosix/Makefile mDNSResponder-107.1/mDNSPosix/Makefile --- mDNSResponder-107.1.orig/mDNSPosix/Makefile 2005-04-14 23:07:10.000000000 +0200 -+++ mDNSResponder-107.1/mDNSPosix/Makefile 2005-08-27 14:32:35.000000000 +0200 ++++ mDNSResponder-107.1/mDNSPosix/Makefile 2006-02-22 21:25:42.000000000 +0100 +@@ -224,7 +224,7 @@ + + COREDIR = ../mDNSCore + SHAREDDIR = ../mDNSShared +-JDK = /usr/jdk ++JDK = `java-config -O` + + CC = @cc + LD = ld -shared @@ -384,7 +384,7 @@ all: setup Daemon libdns_sd Client Responder ProxyResponder Identify NetMonitor dnsextd $(OPTIONALTARG) @@ -143,3 +152,4 @@ diff -Nur mDNSResponder-107.1.orig/mDNSPosix/Makefile mDNSResponder-107.1/mDNSPo $(OBJDIR)/com/apple/dnssd/%.class: $(JAVASRC)/%.java $(JAVAC) -d $(OBJDIR) -classpath $(OBJDIR) $< + diff --git a/net-misc/mDNSResponder/mDNSResponder-107.1.ebuild b/net-misc/mDNSResponder/mDNSResponder-107.1.ebuild index dff5f0566312..9b5d07bf4a34 100644 --- a/net-misc/mDNSResponder/mDNSResponder-107.1.ebuild +++ b/net-misc/mDNSResponder/mDNSResponder-107.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/mDNSResponder/mDNSResponder-107.1.ebuild,v 1.2 2005/09/25 22:19:55 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/mDNSResponder/mDNSResponder-107.1.ebuild,v 1.3 2006/03/01 00:18:20 caleb Exp $ inherit eutils multilib base @@ -11,7 +11,7 @@ LICENSE="APSL-2 BSD" SLOT="0" KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" -IUSE="debug" +IUSE="debug java" PATCHES="${FILESDIR}/${P}-Makefiles.patch" @@ -32,6 +32,10 @@ src_compile() { cd ${S}/mDNSPosix emake os=${os} ${debug} || die "make mDNSPosix failed" + if use java; then + emake os=${os} ${debug} Java || die "make mDNSPosix java failed" + fi + cd ${S}/Clients emake os=${os} ${debug} || die "make Clients failed" } @@ -78,6 +82,12 @@ src_install() { # Fix multilib-strictness mv ${D}/lib ${D}/$(get_libdir) mv ${D}/usr/lib ${D}/usr/$(get_libdir) + + if use java; then + java-pkg_dojar ${S}/mDNSPosix/build/prod/dns_sd.jar + java-pkg_doso ${S}/mDNSPosix/build/prod/libjdns_sd.so + fi + } pkg_postinst() { |