diff options
-rw-r--r-- | www-apache/mod_dnssd/ChangeLog | 8 | ||||
-rw-r--r-- | www-apache/mod_dnssd/Manifest | 13 | ||||
-rw-r--r-- | www-apache/mod_dnssd/files/mod_dnssd-0.6-ldflags.patch | 21 | ||||
-rw-r--r-- | www-apache/mod_dnssd/mod_dnssd-0.6.ebuild | 39 |
4 files changed, 75 insertions, 6 deletions
diff --git a/www-apache/mod_dnssd/ChangeLog b/www-apache/mod_dnssd/ChangeLog index cfadcf862b27..8dd243087247 100644 --- a/www-apache/mod_dnssd/ChangeLog +++ b/www-apache/mod_dnssd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-apache/mod_dnssd # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_dnssd/ChangeLog,v 1.5 2009/03/09 18:02:04 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_dnssd/ChangeLog,v 1.6 2009/05/03 10:48:08 eva Exp $ + +*mod_dnssd-0.6 (03 May 2009) + + 03 May 2009; Gilles Dartiguelongue <eva@gentoo.org> + +files/mod_dnssd-0.6-ldflags.patch, +mod_dnssd-0.6.ebuild: + Bump to 0.6. Fix linking, bug #266433. 09 Mar 2009; Petteri Räty <betelgeuse@gentoo.org> mod_dnssd-0.5.ebuild: Migrate to EAPI 2. diff --git a/www-apache/mod_dnssd/Manifest b/www-apache/mod_dnssd/Manifest index 9e7e6951a365..557199f929a1 100644 --- a/www-apache/mod_dnssd/Manifest +++ b/www-apache/mod_dnssd/Manifest @@ -2,14 +2,17 @@ Hash: SHA1 AUX 80_mod_dnssd.conf 118 RMD160 fe098afa0ba5738cce28b8d983e6759a35440fdd SHA1 427e7fe660b87d01147ddfc58676e9df3f30db18 SHA256 578105c2e7aac757101853945bce59a9033c0fe7a642762bc439b60cc887d489 +AUX mod_dnssd-0.6-ldflags.patch 577 RMD160 34923c22d12beb481eb2e46b7847070f1908f5f8 SHA1 28903ec018989b9075bbbd76deb98c9168e57794 SHA256 0b64afc5504971e77f6f69b64844f1d61fdfc1cb24339d633f048a3ae606fea3 DIST mod_dnssd-0.5.tar.gz 106994 RMD160 03a7a4ebc63d84eed7914775f7a680e2ff47aef3 SHA1 d881d1b965b9e984992b9410c7aaef5c1343355b SHA256 ddc6df037fc342f925d897e5270f31da11685e99df2f79e067c697b558b66dac +DIST mod_dnssd-0.6.tar.gz 86417 RMD160 75e3d85960761221be6ff1736d6dbe73da01d24f SHA1 22a90b4e3a5c042b47926888bbc41d79d9745b10 SHA256 2cd171d76eba398f03c1d5bcc468a1756f4801cd8ed5bd065086e4374997c5aa EBUILD mod_dnssd-0.5.ebuild 747 RMD160 feb37a0858d10a45510d61a921755cbb5285edf4 SHA1 af87a2dc0b015307124ef7032a5eb3f901dc4050 SHA256 1c9d76951e599045edee0a7dec6e03d6e1f9509e07c386cff68c5f278a86ed22 -MISC ChangeLog 843 RMD160 43a944e7c8b04d414d2ba7e22bb021646a0545c4 SHA1 872974e070973515c28f9017c365c75707f270b3 SHA256 230cbb497ffce4140d06a6dbe0b092028ba8dd2e8b207430c50fa95bcbd2cec5 +EBUILD mod_dnssd-0.6.ebuild 938 RMD160 dcbbbf19a512c9968cdcf245a1b8a9ba7ba917fd SHA1 c927e14687298bf6c24ab9d8aa4219a9e749ab6e SHA256 f4b488217d0ea31b2f0c05be6dd5a01cac00a4a443eebd67aff827d4e9e4f818 +MISC ChangeLog 1023 RMD160 4d01c3f23929df2ead354194eb05a9b7d16ff94e SHA1 07d35a1a425216c7dfa8d9252b31a3edcced41b0 SHA256 b7108686d1e0adf8bf2bd2992489bc874483625986b99c18d60c417cb5677f87 MISC metadata.xml 160 RMD160 a0f6e133e170b7477018d8584c20e8723f6914fa SHA1 a3b9b520ec43ee1f9b1c7b5c5b8745bf84454c03 SHA256 3c312146c4cb5b912d6f56292242ce3a85c629ca98ee7ef0a84ca575708b44fe -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.10 (GNU/Linux) +Version: GnuPG v2.0.11 (GNU/Linux) -iEYEARECAAYFAkm1WgYACgkQcxLzpIGCsLTkSgCglJIDU1CdGQPZoI0KZHsO6fxE -PesAnAnuEje/GU5rJoim43Td+Ak43pZO -=79TG +iEYEARECAAYFAkn9dnEACgkQ1fmVwcYIWAY8SACeNkdkkotTXv9WTGJ3yvJU9vyC +yegAoJfEBBtnYvvm6AFXJRyQaYcnS0Hl +=/k4Y -----END PGP SIGNATURE----- diff --git a/www-apache/mod_dnssd/files/mod_dnssd-0.6-ldflags.patch b/www-apache/mod_dnssd/files/mod_dnssd-0.6-ldflags.patch new file mode 100644 index 000000000000..55d15c55438e --- /dev/null +++ b/www-apache/mod_dnssd/files/mod_dnssd-0.6-ldflags.patch @@ -0,0 +1,21 @@ +--- + Respect LDFLAGS and properly use LIBS to avoid missing symbols at runtime. + +--- a/src/Makefile.in 2009-01-22 17:42:02.000000000 +0100 ++++ b/src/Makefile.in 2009-04-16 22:26:17.092709780 +0200 +@@ -16,13 +16,13 @@ + + APXS=@APXS@ + APACHECTL=@APACHECTL@ +-LIBS=-Wl,"@LIBS@" @AVAHI_LIBS@ ++LIBS="@LIBS@" @AVAHI_LIBS@ + CFLAGS=-Wc,"@CFLAGS@" @AVAHI_CFLAGS@ + + all: mod_dnssd.la + + mod_dnssd.la: @srcdir@/mod_dnssd.c +- $(APXS) -c $(CFLAGS) $(LIBS) @srcdir@/mod_dnssd.c ++ $(APXS) -c $(CFLAGS) -Wl,$(LDFLAGS) @srcdir@/mod_dnssd.c $(LIBS) + + install: all + $(APXS) -i -a mod_dnssd.la diff --git a/www-apache/mod_dnssd/mod_dnssd-0.6.ebuild b/www-apache/mod_dnssd/mod_dnssd-0.6.ebuild new file mode 100644 index 000000000000..a061e0e94eba --- /dev/null +++ b/www-apache/mod_dnssd/mod_dnssd-0.6.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_dnssd/mod_dnssd-0.6.ebuild,v 1.1 2009/05/03 10:48:08 eva Exp $ + +EAPI="2" + +inherit apache-module eutils + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="mod_dnssd is an Apache module which adds Zeroconf support via DNS-SD using Avahi" +HOMEPAGE="http://0pointer.de/lennart/projects/mod_dnssd/" +SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +IUSE="doc" + +DEPEND="net-dns/avahi[dbus]" +RDEPEND="${DEPEND}" + +APACHE2_MOD_CONF="80_${PN}" +APACHE2_MOD_DEFINE="DNSSD" + +need_apache2 + +src_prepare() { + # Respect LDFLAGS and use LIBS properly. + epatch "${FILESDIR}/${P}-ldflags.patch" +} + +src_configure() { + econf --with-apxs=${APXS} --disable-lynx +} + +# Do not use inherited src_compile since it doesn't do what we want +src_compile() { + emake || die "emake failed" +} |