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.4_rc1.ebuild mod_security-2.1.1.ebuild
Date: Sun, 21 Oct 2007 12:46:03
Message-Id: E1Ija1T-00088Z-Eg@stork.gentoo.org
1 hollow 07/10/21 12:35:15
2
3 Modified: ChangeLog
4 Added: mod_security-2.1.4_rc1.ebuild
5 Removed: mod_security-2.1.1.ebuild
6 Log:
7 version bump
8 (Portage version: 2.1.3.13)
9
10 Revision Changes Path
11 1.8 www-apache/mod_security/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_security/ChangeLog?rev=1.8&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_security/ChangeLog?rev=1.8&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_security/ChangeLog?r1=1.7&r2=1.8
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-apache/mod_security/ChangeLog,v
20 retrieving revision 1.7
21 retrieving revision 1.8
22 diff -u -r1.7 -r1.8
23 --- ChangeLog 27 Sep 2007 13:56:02 -0000 1.7
24 +++ ChangeLog 21 Oct 2007 12:35:14 -0000 1.8
25 @@ -1,6 +1,12 @@
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.7 2007/09/27 13:56:02 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_security/ChangeLog,v 1.8 2007/10/21 12:35:14 hollow Exp $
30 +
31 +*mod_security-2.1.4_rc1 (21 Oct 2007)
32 +
33 + 21 Oct 2007; Benedikt Böhm <hollow@g.o>
34 + -mod_security-2.1.1.ebuild, +mod_security-2.1.4_rc1.ebuild:
35 + version bump
36
37 27 Sep 2007; Raúl Porcel <armin76@g.o> mod_security-2.1.2.ebuild:
38 sparc stable wrt #191973
39
40
41
42 1.1 www-apache/mod_security/mod_security-2.1.4_rc1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_security/mod_security-2.1.4_rc1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_security/mod_security-2.1.4_rc1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: mod_security-2.1.4_rc1.ebuild
48 ===================================================================
49 # Copyright 1999-2007 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.1.4_rc1.ebuild,v 1.1 2007/10/21 12:35:14 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="doc"
66
67 DEPEND="dev-libs/libxml2"
68 RDEPEND="${DEPEND}"
69
70 S="${WORKDIR}/${MY_P}"
71
72 APXS2_ARGS="-DWITH_LIBXML2 -I/usr/include/libxml2 -lxml2 -S LIBEXECDIR=${S} -c -o ${PN}2.so ${S}/apache2/*.c"
73 APACHE2_MOD_FILE=".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_install() {
80 apache-module_src_install
81
82 # install documentation
83 dodoc CHANGES
84 newdoc rules/CHANGELOG CHANGES.crs
85 newdoc rules/README README.crs
86 dohtml doc/*.html doc/*.gif doc/*.jpg doc/*.css doc/*.pdf
87 cp -r "${S}"/doc/html-multipage "${D}"/usr/share/doc/${P}/html/
88
89 # Prepare the core ruleset
90 sed -i -e 's:logs/:/var/log/apache2/:g' "${S}"/rules/*.conf
91 for i in "${S}"/rules/*.conf; do
92 mv $i ${i/modsecurity_crs_/}
93 done
94
95 # Install core ruleset
96 insinto ${APACHE2_MODULES_CONFDIR}/mod_security/
97 doins "${S}"/rules/*.conf
98 }
99
100
101
102 --
103 gentoo-commits@g.o mailing list