diff options
author | Marek Szuba <marecki@gentoo.org> | 2021-11-27 14:54:57 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2021-11-27 15:08:13 +0100 |
commit | 24c7584005874c12685c1cdfad4f24e4a8137b9c (patch) | |
tree | 1a24158bf63e39393988b8431ed8e108b293294d /www-apache/mod_dnssd | |
parent | www-apache/mod_auth_tkt: restore custom src_compile() (diff) | |
download | gentoo-24c7584005874c12685c1cdfad4f24e4a8137b9c.tar.gz gentoo-24c7584005874c12685c1cdfad4f24e4a8137b9c.tar.bz2 gentoo-24c7584005874c12685c1cdfad4f24e4a8137b9c.zip |
www-apache/mod_dnssd: update EAPI 5 -> 7
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'www-apache/mod_dnssd')
-rw-r--r-- | www-apache/mod_dnssd/mod_dnssd-0.6-r2.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/www-apache/mod_dnssd/mod_dnssd-0.6-r2.ebuild b/www-apache/mod_dnssd/mod_dnssd-0.6-r2.ebuild new file mode 100644 index 000000000000..828e5f62075b --- /dev/null +++ b/www-apache/mod_dnssd/mod_dnssd-0.6-r2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit apache-module depend.apache + +DESCRIPTION="mod_dnssd is an Apache module which adds Zeroconf support via DNS-SD using Avahi" +HOMEPAGE="https://0pointer.de/lennart/projects/mod_dnssd/" +SRC_URI="https://0pointer.de/lennart/projects/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +DEPEND="net-dns/avahi[dbus]" +RDEPEND="${DEPEND}" + +APACHE2_MOD_CONF="80_${PN}" +APACHE2_MOD_DEFINE="DNSSD" + +need_apache2 + +PATCHES=( + "${FILESDIR}/${P}-ldflags.patch" + "${FILESDIR}/${P}-httpd24.patch" +) + +# Work around Bug #616612 +pkg_setup() { + _init_apache2 + _init_apache2_late +} + +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 +} |