Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apache/mod_log_sql/
Date: Tue, 01 Nov 2016 10:51:54
Message-Id: 1477997503.f5c7e2f0f0707eb0844f6dd86379c8348f3aef96.pacho@gentoo
1 commit: f5c7e2f0f0707eb0844f6dd86379c8348f3aef96
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 1 10:49:27 2016 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 1 10:51:43 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5c7e2f0
7
8 www-apache/mod_log_sql: Drop old
9
10 Package-Manager: portage-2.3.2
11
12 www-apache/mod_log_sql/mod_log_sql-1.101-r1.ebuild | 50 ----------------------
13 1 file changed, 50 deletions(-)
14
15 diff --git a/www-apache/mod_log_sql/mod_log_sql-1.101-r1.ebuild b/www-apache/mod_log_sql/mod_log_sql-1.101-r1.ebuild
16 deleted file mode 100644
17 index c92c273..00000000
18 --- a/www-apache/mod_log_sql/mod_log_sql-1.101-r1.ebuild
19 +++ /dev/null
20 @@ -1,50 +0,0 @@
21 -# Copyright 1999-2014 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -# $Id$
24 -
25 -inherit apache-module
26 -
27 -DESCRIPTION="An Apache module for logging to an SQL (MySQL) database"
28 -HOMEPAGE="http://www.outoforder.cc/projects/apache/mod_log_sql/"
29 -SRC_URI="http://www.outoforder.cc/downloads/${PN}/${P}.tar.bz2"
30 -
31 -LICENSE="Artistic"
32 -SLOT="0"
33 -KEYWORDS="amd64 ppc x86"
34 -IUSE="dbi ssl"
35 -
36 -DEPEND="virtual/mysql
37 - dbi? ( dev-db/libdbi )
38 - ssl? ( dev-libs/openssl )"
39 -RDEPEND="${DEPEND}"
40 -
41 -APACHE2_MOD_CONF="1.101/42_${PN}"
42 -APACHE2_MOD_DEFINE="LOG_SQL"
43 -
44 -APACHE2_EXECFILES="
45 - .libs/${PN}_dbi.so
46 - .libs/${PN}_logio.so
47 - .libs/${PN}_mysql.so
48 - .libs/${PN}_ssl.so"
49 -
50 -DOCFILES="AUTHORS CHANGELOG docs/README docs/manual.html \
51 -contrib/create_tables.sql contrib/make_combined_log.pl contrib/mysql_import_combined_log.pl"
52 -
53 -need_apache2_2
54 -
55 -src_compile() {
56 - local myconf="--with-apxs=${APXS}"
57 - use ssl && myconf="${myconf} --with-ssl-inc=/usr"
58 - use ssl || myconf="${myconf} --without-ssl-inc"
59 - use dbi && myconf="${myconf} --with-dbi=/usr"
60 - use dbi || myconf="${myconf} --without-dbi"
61 - econf ${myconf} || die "econf failed"
62 - emake || die "emake failed"
63 -}
64 -
65 -pkg_postinst() {
66 - use dbi && APACHE2_MOD_DEFINE="${APACHE2_MOD_DEFINE} DBI"
67 - apache-module_pkg_postinst
68 - einfo "Refer to /usr/share/doc/${PF}/ for scripts"
69 - einfo "on how to create logging tables."
70 -}