[packages/apache-mod_whatkilledus] Rel 4

arekm arekm at pld-linux.org
Thu Sep 3 10:32:01 CEST 2026


commit 5ff8bb60a66e5727153ddd00679f142cd732c76c
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Sep 3 10:31:45 2026 +0200

    Rel 4

 apache-mod_whatkilledus.spec | 21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)
---
diff --git a/apache-mod_whatkilledus.spec b/apache-mod_whatkilledus.spec
index 409e2b9..c27be05 100644
--- a/apache-mod_whatkilledus.spec
+++ b/apache-mod_whatkilledus.spec
@@ -4,18 +4,17 @@ Summary:	Apache module: knows what a thread was handling in case the thread segf
 Summary(pl.UTF-8):	Moduł apache wiedzący, co obsługiwał wątek w przypadku naruszenia ochrony pamięci
 Name:		apache-mod_%{mod_name}
 Version:	2.01
-Release:	3
+Release:	4
 License:	Apache v2.0
 Group:		Networking/Daemons/HTTP
-Source0:	http://emptyhammock.com/downloads/wku_bt-%{version}.zip
+Source0:	https://emptyhammock.com/media/downloads/wku_bt-%{version}.zip
 # Source0-md5:	32bbe148f6cb2b8714166388f94d9129
-Source1:	http://mirrors.ludost.net/gentoo-portage/www-apache/mod_whatkilledus/files/gen_test_char.c
-# Source1-md5:	7c4e734d1afc695a5be53581998f3700
-URL:		http://emptyhammock.com/projects/httpd/diag/
+URL:		https://emptyhammock.com/projects/httpd/diag/
 BuildRequires:	%{apxs}
 BuildRequires:	apache-devel >= 2.0
 BuildRequires:	rpmbuild(macros) >= 1.268
 Requires:	apache(modules-api) = %apache_modules_api
+Suggests:	apache-mod_backtrace
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_sysconfdir	%(%{apxs} -q SYSCONFDIR 2>/dev/null)/conf.d
@@ -34,12 +33,9 @@ sytuacji, kiedy spowodował naruszenie ochrony pamięci.
 %setup -q -n wku_bt-%{version}
 
 %build
-%{apxs} -c mod_%{mod_name}.c diag.c \
-	-DDIAG_HAVE_LIBUNWIND_BACKTRACE=1 \
-%if "%{__lib}" == "lib64"
-	-DDIAG_BITS_64=1 \
-%endif
-	-o mod_%{mod_name}.la
+# mod_whatkilledus.c uses only the types from diag.h, so diag.c and its libunwind
+# dependency stay out of this module (upstream Makefile builds it the same way)
+%{apxs} -c -o mod_%{mod_name}.la mod_%{mod_name}.c
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -51,7 +47,8 @@ touch $RPM_BUILD_ROOT/var/log/httpd/whatkilledus_log
 cat > $RPM_BUILD_ROOT%{_sysconfdir}/68_mod_%{mod_name}.conf << 'EOF'
 LoadModule %{mod_name}_module modules/mod_%{mod_name}.so
 EnableExceptionHook On
-# WKUObscureInRequest On
+# Crash reports carry request headers and the URL user/password/query verbatim
+# WKUObscureInRequest hdr:Authorization hdr:Cookie hdr:Proxy-Authorization query unparsed-line
 EOF
 
 %clean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/apache-mod_whatkilledus.git/commitdiff/5ff8bb60a66e5727153ddd00679f142cd732c76c



More information about the pld-cvs-commit mailing list