[arch-commits] Commit in mod_dnssd/repos (3 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat May 16 10:24:51 UTC 2020
Date: Saturday, May 16, 2020 @ 10:24:51
Author: foutrelis
Revision: 384110
archrelease: copy trunk to staging-x86_64
Added:
mod_dnssd/repos/staging-x86_64/
mod_dnssd/repos/staging-x86_64/PKGBUILD
(from rev 384109, mod_dnssd/trunk/PKGBUILD)
mod_dnssd/repos/staging-x86_64/fix_undefined_reference.patch
(from rev 384109, mod_dnssd/trunk/fix_undefined_reference.patch)
-------------------------------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
fix_undefined_reference.patch | 21 +++++++++++++++++++++
2 files changed, 53 insertions(+)
Copied: mod_dnssd/repos/staging-x86_64/PKGBUILD (from rev 384109, mod_dnssd/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-05-16 10:24:51 UTC (rev 384110)
@@ -0,0 +1,32 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: tardo <tardo at nagi-fanboi.net>
+# Contributor: William Rea <sillywilly at gmail.com>
+
+pkgname=mod_dnssd
+pkgver=0.6
+pkgrel=8
+pkgdesc="Zeroconf module for Apache2"
+arch=('x86_64')
+url="http://0pointer.de/lennart/projects/mod_dnssd"
+license=('APACHE')
+depends=('avahi' 'apache')
+source=(http://0pointer.de/lennart/projects/$pkgname/${pkgname}-${pkgver}.tar.gz
+ fix_undefined_reference.patch) # from upstream be2fb9f6158f80068
+sha512sums=('c3eacd2065f996ace76496b828a5be4b735225782c88ed0fba00c37ffed91af7c81cef755556968880e11e05fbaf65a4326728cb82abcad03ccaf925be1f29d3'
+ '3a7742d7c31b6fd9bbc3a67b72408b1149b86774cd5204effa0bd9c8cd15c6e0e7a045c72cd7eb3f9ea0b946282891a8a032b5b1c7713435c4eaccbef7c55535')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ patch -p1 < "${srcdir}/fix_undefined_reference.patch"
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr --disable-lynx
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ install -D -m755 src/.libs/mod_dnssd.so "${pkgdir}/usr/lib/httpd/modules/mod_dnssd.so"
+}
Copied: mod_dnssd/repos/staging-x86_64/fix_undefined_reference.patch (from rev 384109, mod_dnssd/trunk/fix_undefined_reference.patch)
===================================================================
--- staging-x86_64/fix_undefined_reference.patch (rev 0)
+++ staging-x86_64/fix_undefined_reference.patch 2020-05-16 10:24:51 UTC (rev 384110)
@@ -0,0 +1,21 @@
+diff --git a/src/mod_dnssd.c b/src/mod_dnssd.c
+index 6179276..3363701 100644 (file)
+--- a/src/mod_dnssd.c
++++ b/src/mod_dnssd.c
+@@ -24,6 +24,7 @@
+ #include <ap_config.h>
+ #include <apr_strings.h>
+ #include <unixd.h>
++#include <mod_unixd.h>
+ #include <apr_signal.h>
+ #include <mpm_common.h>
+
+@@ -576,7 +577,7 @@ static void child_process(apr_pool_t *p, server_rec *server, struct global_confi
+
+ ap_assert(d);
+
+- unixd_setup_child();
++ ap_unixd_setup_child();
+
+ if (pipe(sigterm_pipe_fds) < 0) {
+ ap_log_error(APLOG_MARK, APLOG_ERR, 0, r.main_server, "pipe() failed: %s", strerror(errno));
More information about the arch-commits
mailing list