Gentoo Archives: gentoo-commits

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.1.2.ebuild mod_security-2.1.1-r1.ebuild
Date: Sat, 08 Sep 2007 08:17:45
Message-Id: E1ITvP3-0003hh-3E@stork.gentoo.org
1 hollow 07/09/08 08:10:53
2
3 Modified: ChangeLog
4 Added: mod_security-2.1.2.ebuild
5 Removed: mod_security-2.1.1-r1.ebuild
6 Log:
7 version bump; fixes #180150, #189995, #191381, #181887, #190301
8 (Portage version: 2.1.3.7)
9
10 Revision Changes Path
11 1.3 www-apache/mod_security/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_security/ChangeLog?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_security/ChangeLog?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_security/ChangeLog?r1=1.2&r2=1.3
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-apache/mod_security/ChangeLog,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- ChangeLog 4 Aug 2007 17:25:27 -0000 1.2
24 +++ ChangeLog 8 Sep 2007 08:10:52 -0000 1.3
25 @@ -1,6 +1,14 @@
26 # ChangeLog for www-apache/mod_security
27 # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_security/ChangeLog,v 1.2 2007/08/04 17:25:27 swegener Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_security/ChangeLog,v 1.3 2007/09/08 08:10:52 hollow Exp $
30 +
31 +*mod_security-2.1.2 (08 Sep 2007)
32 +
33 + 08 Sep 2007; Benedikt Böhm <hollow@g.o>
34 + -files/mod_security-2.1.1-request_interception.patch,
35 + +files/2.1.2/99_mod_security.conf, -mod_security-2.1.1-r1.ebuild,
36 + +mod_security-2.1.2.ebuild:
37 + version bump; fixes #180150, #189995, #191381, #181887, #190301
38
39 29 Jul 2007; Christian Heim <phreak@g.o>
40 +files/mod_security-2.1.1-request_interception.patch,
41
42
43
44 1.1 www-apache/mod_security/mod_security-2.1.2.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_security/mod_security-2.1.2.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_security/mod_security-2.1.2.ebuild?rev=1.1&content-type=text/plain
48
49 Index: mod_security-2.1.2.ebuild
50 ===================================================================
51 # Copyright 1999-2007 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/www-apache/mod_security/mod_security-2.1.2.ebuild,v 1.1 2007/09/08 08:10:52 hollow Exp $
54
55 inherit apache-module
56
57 MY_P=${P/mod_security-/modsecurity-apache_}
58
59 DESCRIPTION="Web application firewall and Intrusion Detection System for Apache."
60 HOMEPAGE="http://www.modsecurity.org/"
61 SRC_URI="http://www.modsecurity.org/download/${MY_P}.tar.gz"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~amd64 ~mips ~ppc ~sparc ~x86"
66 IUSE="doc"
67
68 DEPEND="dev-libs/libxml2"
69 RDEPEND="${DEPEND}"
70
71 S="${WORKDIR}/${MY_P}"
72
73 APXS2_ARGS="-DWITH_LIBXML2 -I/usr/include/libxml2 -lxml2 -S LIBEXECDIR=${S} -c -o ${PN}2.so ${S}/apache2/*.c"
74 APACHE2_MOD_FILE=".libs/${PN}2.so"
75 APACHE2_MOD_CONF="${PVR}/99_mod_security"
76 APACHE2_MOD_DEFINE="SECURITY"
77
78 need_apache2
79
80 src_install() {
81 apache2_src_install
82
83 # install documentation
84 dodoc CHANGES
85 newdoc rules/CHANGELOG CHANGES.crs
86 newdoc rules/README README.crs
87 dohtml doc/*.html doc/*.gif doc/*.jpg doc/*.css doc/*.pdf
88 cp -r "${S}"/doc/html-multipage "${D}"/usr/share/doc/${P}/html/
89
90 # Prepare the core ruleset
91 sed -i -e 's:logs/:/var/log/apache2/:g' "${S}"/rules/*.conf
92 for i in "${S}"/rules/*.conf; do
93 mv $i ${i/modsecurity_crs_/}
94 done
95
96 # Install core ruleset
97 insinto ${APACHE2_MODULES_CONFDIR}/mod_security/
98 doins "${S}"/rules/*.conf
99 }
100
101
102
103 --
104 gentoo-commits@g.o mailing list