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.5.ebuild |
Date: | Tue, 01 Jul 2008 19:43:23 |
Message-Id: | E1KDll0-00009m-2A@stork.gentoo.org |
1 | hollow 08/07/01 19:43:18 |
2 | |
3 | Modified: ChangeLog |
4 | Added: mod_security-2.5.5.ebuild |
5 | Log: |
6 | version bump wrt #230139 |
7 | (Portage version: 2.2_pre8/cvs/Linux 2.6.22-vs2.2.0.6-gentoo x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.15 www-apache/mod_security/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_security/ChangeLog?rev=1.15&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_security/ChangeLog?rev=1.15&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_security/ChangeLog?r1=1.14&r2=1.15 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/www-apache/mod_security/ChangeLog,v |
19 | retrieving revision 1.14 |
20 | retrieving revision 1.15 |
21 | diff -u -r1.14 -r1.15 |
22 | --- ChangeLog 1 Jun 2008 12:40:31 -0000 1.14 |
23 | +++ ChangeLog 1 Jul 2008 19:43:17 -0000 1.15 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for www-apache/mod_security |
26 | # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_security/ChangeLog,v 1.14 2008/06/01 12:40:31 hollow Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_security/ChangeLog,v 1.15 2008/07/01 19:43:17 hollow Exp $ |
29 | + |
30 | +*mod_security-2.5.5 (01 Jul 2008) |
31 | + |
32 | + 01 Jul 2008; Benedikt Böhm <hollow@g.o> |
33 | + +mod_security-2.5.5.ebuild: |
34 | + version bump wrt #230139 |
35 | |
36 | *mod_security-2.5.4 (01 Jun 2008) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 www-apache/mod_security/mod_security-2.5.5.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_security/mod_security-2.5.5.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_security/mod_security-2.5.5.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: mod_security-2.5.5.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2008 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.5.ebuild,v 1.1 2008/07/01 19:43:17 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 | } |
113 | |
114 | |
115 | |
116 | -- |
117 | gentoo-commits@l.g.o mailing list |