]> gitweb.michael.orlitzky.com - mjo-overlay.git/commitdiff
www-apache/mod_whatkilledus: new package.
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 18 Dec 2014 16:08:40 +0000 (11:08 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Thu, 18 Dec 2014 16:08:40 +0000 (11:08 -0500)
www-apache/mod_whatkilledus/Manifest [new file with mode: 0644]
www-apache/mod_whatkilledus/files/10_mod_whatkilledus.conf [new file with mode: 0644]
www-apache/mod_whatkilledus/metadata.xml [new file with mode: 0644]
www-apache/mod_whatkilledus/mod_whatkilledus-2.01.ebuild [new file with mode: 0644]

diff --git a/www-apache/mod_whatkilledus/Manifest b/www-apache/mod_whatkilledus/Manifest
new file mode 100644 (file)
index 0000000..0f4a986
--- /dev/null
@@ -0,0 +1,4 @@
+AUX 10_mod_whatkilledus.conf 169 SHA256 41ce586e0ffda1d02b0b7a57fd7de0c351d5cece85dd2541715bd7feb4a3d412 SHA512 2ee25a68b4a188060cf361591c9946bc36d75aefb43b6e91b42727fe1eace658bbb877c1c181d5e9677aea289154a84135cfdb7c3d501d9dd0f967c160b3bfa4 WHIRLPOOL cc0d476f34f954b92f98621c9c6fd3f0c6edbe6facf652c99e86313bf1e7725f0ef7f03f15974dcabdbe753dc5e21a11970dbc9b3bb19854fea6a1aeb1b1b112
+DIST wku_bt-2.01.zip 933169 SHA256 3033a07b284a67e519e3b2d09a255b9cd8ce5902d3d9971d4cf182dec75c7d27 SHA512 c1bde8a26b395fc5fc66cd83c9282a8c519f34d27bef628ec502cec4245a7d446300178c9c94a5c5c0eb817bb8dd146587607760f9c9e780986d6ec53f03fb4c WHIRLPOOL dc2fa4debac883909f084562ffa0d9ab9e7f60a76bd02ee0054a0258444165f6fa63490bfefeaa03fe476ca9abc1ba93e2ad60858ba3ee4611b227b48e49bf1f
+EBUILD mod_whatkilledus-2.01.ebuild 733 SHA256 81188a5b37d3af089c9a39b73ef063b0c7233e5eab8383cd4cc6d539e8e8bab6 SHA512 98fe65913a2130ca8e52e5b8458b713cc266e5c55c00b4e600393cf74509c5398b06fb2a5616a662a4174fd84b652b2299f98268dbb124e9cdff966b0bb14312 WHIRLPOOL 61ce241cd588244fef128acbc77a288c36907395cfa09762dd2fb9b17606f11c88d0881e33d24c9eca36f0a3e4648f36f93784cd0445a5ae8f811e034333324d
+MISC metadata.xml 208 SHA256 98f8aa3fb70533eeab6b09d5bc30bd8f649ec13d9b04363490082fb87bb6032e SHA512 d5a7f3cb2fe57f8d7783ba358068648b122d9f5de81a17bff61ce600e42b6487e6f7e2a62c8be95cc7021cb3ea88716824b1ad0565da922ea753bea2417b3d3d WHIRLPOOL e38a6cdef2acb3efdc182efde482593790f773ab3bb9b66cced3af47e4ab39368757e17c4352c6cacaefa338341db88c3bcc3ffcd32aabd7984c5b19051a7bb7
diff --git a/www-apache/mod_whatkilledus/files/10_mod_whatkilledus.conf b/www-apache/mod_whatkilledus/files/10_mod_whatkilledus.conf
new file mode 100644 (file)
index 0000000..4d99d8a
--- /dev/null
@@ -0,0 +1,5 @@
+<IfDefine WHATKILLEDUS>
+  LoadModule whatkilledus_module modules/mod_whatkilledus.so
+  EnableExceptionHook On
+  WKULogfile /var/log/apache2/whatkilledus.log
+</IfDefine>
diff --git a/www-apache/mod_whatkilledus/metadata.xml b/www-apache/mod_whatkilledus/metadata.xml
new file mode 100644 (file)
index 0000000..4538a68
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer><email>maintainer-needed@gentoo.org</email></maintainer>
+</pkgmetadata>
diff --git a/www-apache/mod_whatkilledus/mod_whatkilledus-2.01.ebuild b/www-apache/mod_whatkilledus/mod_whatkilledus-2.01.ebuild
new file mode 100644 (file)
index 0000000..4686cd7
--- /dev/null
@@ -0,0 +1,33 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit apache-module eutils toolchain-funcs
+
+DESCRIPTION="Apache2 modules to debug segmentation faults in threads"
+HOMEPAGE="http://emptyhammock.com/projects/httpd/diag/"
+SRC_URI="http://emptyhammock.com/downloads/wku_bt-${PV}.zip"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=www-apache/mod_backtrace-2.01
+       =www-servers/apache-2*[debug]"
+DEPEND="${RDEPEND}
+       app-arch/unzip"
+
+APACHE2_MOD_CONF="10_${PN}"
+APACHE2_MOD_DEFINE="BACKTRACE WHATKILLEDUS"
+
+need_apache2
+
+S="${WORKDIR}/wku_bt-${PV}"
+
+src_compile() {
+       APXS2_ARGS="-c ${PN}.c diag.c -ldl"
+       apache-module_src_compile
+}