From: "Brian Evans" <grknight@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apache/mod_log_sql/
Date: Thu, 7 Feb 2019 15:24:27 +0000 (UTC) [thread overview]
Message-ID: <1549553044.680d0e242624cf9db80d3bac84e905e8c51131ec.grknight@gentoo> (raw)
commit: 680d0e242624cf9db80d3bac84e905e8c51131ec
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 7 15:24:04 2019 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Thu Feb 7 15:24:04 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=680d0e24
www-apache/mod_log_sql: Revbump for dependency and EAPI
non-maintainer commit
Bug: https://bugs.gentoo.org/666074
Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Brian Evans <grknight <AT> gentoo.org>
www-apache/mod_log_sql/mod_log_sql-1.101-r3.ebuild | 64 ++++++++++++++++++++++
1 file changed, 64 insertions(+)
diff --git a/www-apache/mod_log_sql/mod_log_sql-1.101-r3.ebuild b/www-apache/mod_log_sql/mod_log_sql-1.101-r3.ebuild
new file mode 100644
index 00000000000..d7f0da75b8d
--- /dev/null
+++ b/www-apache/mod_log_sql/mod_log_sql-1.101-r3.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit apache-module
+
+DESCRIPTION="An Apache module for logging to an SQL (MySQL) database"
+HOMEPAGE="http://www.outoforder.cc/projects/apache/mod_log_sql/"
+SRC_URI="http://www.outoforder.cc/downloads/${PN}/${P}.tar.bz2"
+
+LICENSE="Artistic"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="dbi ssl"
+
+DEPEND="dev-db/mysql-connector-c:0=
+ dbi? ( dev-db/libdbi )
+ ssl? ( dev-libs/openssl:0= )"
+RDEPEND="${DEPEND}"
+
+APACHE2_MOD_CONF="1.101/42_${PN}"
+APACHE2_MOD_DEFINE="LOG_SQL"
+
+APACHE2_EXECFILES="
+ .libs/${PN}_logio.so
+ .libs/${PN}_mysql.so
+ .libs/${PN}_ssl.so"
+
+DOCS=( AUTHORS CHANGELOG docs/README contrib/create_tables.sql
+ contrib/make_combined_log.pl contrib/mysql_import_combined_log.pl )
+HTML_DOCS=( docs/manual.html )
+
+PATCHES=( "${FILESDIR}"/${P}-apache-2.4.patch )
+
+need_apache2_4
+
+pkg_setup() {
+ _init_apache2
+ _init_apache2_late
+}
+
+src_configure() {
+ local myconf="--with-apxs=${APXS}"
+ myconf="${myconf} $(usex ssl --with-ssl-inc=/usr --without-ssl-inc)"
+ myconf="${myconf} $(usex dbi --with-dbi=/usr --without-dbi)"
+ econf ${myconf}
+}
+
+src_compile() {
+ emake
+}
+
+src_install() {
+ use dbi && APACHE2_EXECFILES="${APACHE2_EXECFILES} .libs/${PN}_dbi.so"
+ apache-module_src_install
+ einstalldocs
+}
+
+pkg_postinst() {
+ use dbi && APACHE2_MOD_DEFINE="${APACHE2_MOD_DEFINE} DBI"
+ apache-module_pkg_postinst
+ einfo "Refer to /usr/share/doc/${PF}/ for scripts"
+ einfo "on how to create logging tables."
+}
next reply other threads:[~2019-02-07 15:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-07 15:24 Brian Evans [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-04-18 17:55 [gentoo-commits] repo/gentoo:master commit in: www-apache/mod_log_sql/ Andreas Sturmlechner
2021-03-28 7:14 Sam James
2021-03-26 15:31 Agostino Sarubbo
2016-11-01 10:51 Pacho Ramos
2016-11-01 10:51 Pacho Ramos
2016-03-07 12:54 Agostino Sarubbo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1549553044.680d0e242624cf9db80d3bac84e905e8c51131ec.grknight@gentoo \
--to=grknight@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox