summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stewart <vericgar@gentoo.org>2005-02-02 05:11:17 +0000
committerMichael Stewart <vericgar@gentoo.org>2005-02-02 05:11:17 +0000
commitd55788453abf077fc174158363e457b04e22e3a5 (patch)
tree2737306ae249bf7a40324d98b7a39a285ca659bf /net-www
parentblocker (diff)
downloadgentoo-2-d55788453abf077fc174158363e457b04e22e3a5.tar.gz
gentoo-2-d55788453abf077fc174158363e457b04e22e3a5.tar.bz2
gentoo-2-d55788453abf077fc174158363e457b04e22e3a5.zip
20030510-r2 to 2.0.0_pre20030510, fixes bug #79678
(Portage version: 2.0.51-r14)
Diffstat (limited to 'net-www')
-rw-r--r--net-www/mod_auth_mysql/ChangeLog8
-rw-r--r--net-www/mod_auth_mysql/Manifest2
-rw-r--r--net-www/mod_auth_mysql/files/digest-mod_auth_mysql-2.0.0_pre200305101
-rw-r--r--net-www/mod_auth_mysql/mod_auth_mysql-2.0.0_pre20030510.ebuild57
4 files changed, 67 insertions, 1 deletions
diff --git a/net-www/mod_auth_mysql/ChangeLog b/net-www/mod_auth_mysql/ChangeLog
index 3ba89ac4e79f..f9876f48c117 100644
--- a/net-www/mod_auth_mysql/ChangeLog
+++ b/net-www/mod_auth_mysql/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-www/mod_auth_mysql
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/mod_auth_mysql/ChangeLog,v 1.12 2005/01/22 04:19:38 trapni Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_auth_mysql/ChangeLog,v 1.13 2005/02/02 05:11:17 vericgar Exp $
+
+*mod_auth_mysql-2.0.0_pre20030510 (01 Feb 2005)
+
+ 01 Feb 2005; Michael Stewart <vericgar@gentoo.org>
+ +mod_auth_mysql-2.0.0_pre20030510.ebuild:
+ Copied 20030510-r2 to 2.0.0_pre2030510 to fix bug #79678
22 Jan 2005; Christian Parpart <trapni@gentoo.org>
mod_auth_mysql-2.8.1.ebuild:
diff --git a/net-www/mod_auth_mysql/Manifest b/net-www/mod_auth_mysql/Manifest
index abad52626d65..cc6294816447 100644
--- a/net-www/mod_auth_mysql/Manifest
+++ b/net-www/mod_auth_mysql/Manifest
@@ -5,6 +5,7 @@ MD5 41643b3eca1261d3fb283424e76ec683 mod_auth_mysql-20030510-r1.ebuild 1416
MD5 ea0532e90f5517acabf683bbd587aff9 mod_auth_mysql-20030510-r2.ebuild 1500
MD5 8c6e8b4088162cb6d9053daede7850e6 mod_auth_mysql-20030510.ebuild 1150
MD5 4076be0aa9f53b1d5027d16662f21309 mod_auth_mysql-2.8.1.ebuild 955
+MD5 ea0532e90f5517acabf683bbd587aff9 mod_auth_mysql-2.0.0_pre20030510.ebuild 1500
MD5 01cc878ba30a6e2ad327de787e21a999 files/12_mod_auth_mysql.conf 3571
MD5 3513e598048c0060eb3758c19c4e4c60 files/digest-mod_auth_mysql-1.11 77
MD5 a9f56734948e06d5ed5f4b7eea9f6cd5 files/digest-mod_auth_mysql-20030510 61
@@ -12,4 +13,5 @@ MD5 a9f56734948e06d5ed5f4b7eea9f6cd5 files/digest-mod_auth_mysql-20030510-r1 61
MD5 a9f56734948e06d5ed5f4b7eea9f6cd5 files/digest-mod_auth_mysql-20030510-r2 61
MD5 dd4f31c36839f4faadcf855915e348c3 files/mod_auth_mysql.patch 357
MD5 a6cfd8f7d972e23afa55e33bb478e1bc files/digest-mod_auth_mysql-2.8.1 71
+MD5 a9f56734948e06d5ed5f4b7eea9f6cd5 files/digest-mod_auth_mysql-2.0.0_pre20030510 61
MD5 d6baa28feeb088701ed677185d61b93d files/2.8.1/12_mod_auth_mysql.conf 3566
diff --git a/net-www/mod_auth_mysql/files/digest-mod_auth_mysql-2.0.0_pre20030510 b/net-www/mod_auth_mysql/files/digest-mod_auth_mysql-2.0.0_pre20030510
new file mode 100644
index 000000000000..7acd1a88ef08
--- /dev/null
+++ b/net-www/mod_auth_mysql/files/digest-mod_auth_mysql-2.0.0_pre20030510
@@ -0,0 +1 @@
+MD5 b6646a117703b3704091e8f19f02e43e mod_auth_mysql.tgz 9953
diff --git a/net-www/mod_auth_mysql/mod_auth_mysql-2.0.0_pre20030510.ebuild b/net-www/mod_auth_mysql/mod_auth_mysql-2.0.0_pre20030510.ebuild
new file mode 100644
index 000000000000..94d013f72bcb
--- /dev/null
+++ b/net-www/mod_auth_mysql/mod_auth_mysql-2.0.0_pre20030510.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_auth_mysql/mod_auth_mysql-2.0.0_pre20030510.ebuild,v 1.1 2005/02/02 05:11:17 vericgar Exp $
+
+inherit eutils
+
+DESCRIPTION="Basic authentication for Apache using a MySQL database"
+HOMEPAGE="http://modauthmysql.sourceforge.net/"
+
+S=${WORKDIR}/${PN}
+SRC_URI="mirror://sourceforge/modauthmysql/${PN}.tgz"
+DEPEND="dev-db/mysql
+ net-www/apache
+ apache2? ( >=net-www/apache-2* )"
+RDEPEND=""
+LICENSE="Apache-1.1"
+KEYWORDS="x86"
+IUSE="apache2"
+SLOT="0"
+
+if use apache2 ; then
+ APXS="apxs2 -D APACHE2"
+ DESTDIR=/usr/lib/apache2-extramodules
+ CONFDIR=/etc/apache2/conf/modules.d
+else
+ APXS="apxs -D APACHE1"
+ DESTDIR=/usr/lib/apache-extramodules
+ CONFDIR=/etc/apache/conf/addon-modules
+fi
+
+src_compile() {
+ epatch ${FILESDIR}/mod_auth_mysql.patch || die
+ $APXS -c ${PN}.c -I/usr/include/mysql -lmysqlclient -lm -lz || die
+}
+
+src_install() {
+ exeinto ${DESTDIR}
+ if use apache2 ; then
+ doexe .libs/${PN}.so
+ else
+ doexe ${PN}.so
+ fi
+ insinto ${CONFDIR}
+ doins ${FILESDIR}/12_mod_auth_mysql.conf
+ cat mod_auth_mysql.c | head -n 81 \
+ | cut -c 4- > mod_auth_mysql.txt
+ dodoc ${FILESDIR}/12_mod_auth_mysql.conf \
+ README mod_auth_mysql.txt
+}
+
+pkg_postinst() {
+ if use apache2; then
+ einfo "Please add '-D AUTH_MYSQL' to your /etc/conf.d/apache2 APACHE2_OPTS setting"
+ else
+ einfo "Please add '-D AUTH_MYSQL' to your /etc/conf.d/apache APACHE_OPTS setting"
+ fi
+}