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