From: | "Benedikt Boehm (hollow)" <hollow@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in www-apache/mod_security: ChangeLog mod_security-2.5.7.ebuild |
Date: | Thu, 01 Jan 2009 14:20:16 |
Message-Id: | E1LIOPF-0001ho-Sv@stork.gentoo.org |
1 | hollow 09/01/01 14:20:13 |
2 | |
3 | Modified: ChangeLog |
4 | Added: mod_security-2.5.7.ebuild |
5 | Log: |
6 | version bump wrt #234424 |
7 | (Portage version: 2.2_rc18/cvs/Linux 2.6.22-vs2.3.0.34-gentoo x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.17 www-apache/mod_security/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_security/ChangeLog?rev=1.17&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_security/ChangeLog?rev=1.17&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_security/ChangeLog?r1=1.16&r2=1.17 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/www-apache/mod_security/ChangeLog,v |
19 | retrieving revision 1.16 |
20 | retrieving revision 1.17 |
21 | diff -u -r1.16 -r1.17 |
22 | --- ChangeLog 1 Jan 2009 14:11:36 -0000 1.16 |
23 | +++ ChangeLog 1 Jan 2009 14:20:13 -0000 1.17 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for www-apache/mod_security |
26 | # Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_security/ChangeLog,v 1.16 2009/01/01 14:11:36 hollow Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_security/ChangeLog,v 1.17 2009/01/01 14:20:13 hollow Exp $ |
29 | + |
30 | +*mod_security-2.5.7 (01 Jan 2009) |
31 | + |
32 | + 01 Jan 2009; Benedikt Böhm <hollow@g.o> |
33 | + +mod_security-2.5.7.ebuild: |
34 | + version bump wrt #234424 |
35 | |
36 | *mod_security-2.5.6 (01 Jan 2009) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 www-apache/mod_security/mod_security-2.5.7.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_security/mod_security-2.5.7.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_security/mod_security-2.5.7.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: mod_security-2.5.7.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2009 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/www-apache/mod_security/mod_security-2.5.7.ebuild,v 1.1 2009/01/01 14:20:13 hollow Exp $ |
51 | |
52 | inherit apache-module |
53 | |
54 | MY_P=${P/mod_security-/modsecurity-apache_} |
55 | MY_P=${MY_P/_rc/-rc} |
56 | |
57 | DESCRIPTION="Web application firewall and Intrusion Detection System for Apache." |
58 | HOMEPAGE="http://www.modsecurity.org/" |
59 | SRC_URI="http://www.modsecurity.org/download/${MY_P}.tar.gz" |
60 | |
61 | LICENSE="GPL-2" |
62 | SLOT="0" |
63 | KEYWORDS="~amd64 ~mips ~ppc ~sparc ~x86" |
64 | IUSE="lua" |
65 | |
66 | DEPEND="dev-libs/libxml2 |
67 | lua? ( >=dev-lang/lua-5.1 )" |
68 | RDEPEND="${DEPEND}" |
69 | |
70 | S="${WORKDIR}/${MY_P}" |
71 | |
72 | APACHE2_MOD_FILE="apache2/.libs/${PN}2.so" |
73 | APACHE2_MOD_CONF="2.1.2/99_mod_security" |
74 | APACHE2_MOD_DEFINE="SECURITY" |
75 | |
76 | need_apache2 |
77 | |
78 | src_compile() { |
79 | cd apache2 |
80 | |
81 | econf --with-apxs="${APXS}" \ |
82 | --without-curl \ |
83 | $(use_with lua) \ |
84 | || die "econf failed" |
85 | |
86 | emake || die "emake failed" |
87 | } |
88 | |
89 | src_install() { |
90 | apache-module_src_install |
91 | |
92 | # install rules updater |
93 | newbin tools/rules-updater.pl rules-updater |
94 | |
95 | # install documentation |
96 | dodoc CHANGES |
97 | newdoc rules/CHANGELOG CHANGES.crs |
98 | newdoc rules/README README.crs |
99 | dohtml doc/*.html doc/*.gif doc/*.jpg doc/*.css doc/*.pdf |
100 | insinto /usr/share/doc/${P}/html/ |
101 | doins -r doc/html-multipage |
102 | |
103 | # Prepare the core ruleset |
104 | sed -i -e 's:logs/:/var/log/apache2/:g' "${S}"/rules/*.conf |
105 | for i in "${S}"/rules/*.conf; do |
106 | mv $i ${i/modsecurity_crs_/} |
107 | done |
108 | |
109 | # Install core ruleset |
110 | insinto ${APACHE_MODULES_CONFDIR}/mod_security/ |
111 | doins "${S}"/rules/*.conf |
112 | } |