summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Longinotti <chtekk@gentoo.org>2006-06-13 16:31:01 +0000
committerLuca Longinotti <chtekk@gentoo.org>2006-06-13 16:31:01 +0000
commitddcc2aa31dafbc60a5735d9ca8f9d4401c7a647c (patch)
tree74c8d81f0e6326020e70bdaca1596c04655c54ed /www-apache/mod_auth_cookie_mysql2
parentIgnore QA checks and RESTRICT=strip, thanks to Jon Hood <squinky86@gentoo.org... (diff)
downloadhistorical-ddcc2aa31dafbc60a5735d9ca8f9d4401c7a647c.tar.gz
historical-ddcc2aa31dafbc60a5735d9ca8f9d4401c7a647c.tar.bz2
historical-ddcc2aa31dafbc60a5735d9ca8f9d4401c7a647c.zip
Initial import of ebuild, thanks to fenixrf@gmail.com.
Package-Manager: portage-2.1
Diffstat (limited to 'www-apache/mod_auth_cookie_mysql2')
-rw-r--r--www-apache/mod_auth_cookie_mysql2/ChangeLog12
-rw-r--r--www-apache/mod_auth_cookie_mysql2/Manifest20
-rw-r--r--www-apache/mod_auth_cookie_mysql2/files/55_mod_auth_cookie_mysql2.conf97
-rw-r--r--www-apache/mod_auth_cookie_mysql2/files/digest-mod_auth_cookie_mysql2-0.73
-rw-r--r--www-apache/mod_auth_cookie_mysql2/metadata.xml8
-rw-r--r--www-apache/mod_auth_cookie_mysql2/mod_auth_cookie_mysql2-0.7.ebuild38
6 files changed, 178 insertions, 0 deletions
diff --git a/www-apache/mod_auth_cookie_mysql2/ChangeLog b/www-apache/mod_auth_cookie_mysql2/ChangeLog
new file mode 100644
index 000000000000..ea92248afa9b
--- /dev/null
+++ b/www-apache/mod_auth_cookie_mysql2/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for www-apache/mod_auth_cookie_mysql2
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_auth_cookie_mysql2/ChangeLog,v 1.1 2006/06/13 16:31:01 chtekk Exp $
+
+*mod_auth_cookie_mysql2-0.7 (13 Jun 2006)
+
+ 13 Jun 2006; Luca Longinotti <chtekk@gentoo.org>
+ +files/55_mod_auth_cookie_mysql2.conf, +metadata.xml,
+ +mod_auth_cookie_mysql2-0.7.ebuild:
+ Initial import of ebuild for mod_auth_cookie_mysql2, fixes bug #136662.
+ Thanks a lot to fenixrf@gmail.com for the initial ebuild and config.
+
diff --git a/www-apache/mod_auth_cookie_mysql2/Manifest b/www-apache/mod_auth_cookie_mysql2/Manifest
new file mode 100644
index 000000000000..390ae3a84365
--- /dev/null
+++ b/www-apache/mod_auth_cookie_mysql2/Manifest
@@ -0,0 +1,20 @@
+AUX 55_mod_auth_cookie_mysql2.conf 3428 RMD160 0c44674dd19498b551d600e6271fecff0ff37923 SHA1 69555d3d16d2e8c0074a50a94914164b04cb1cb3 SHA256 9b90a7d9736fbb9ec6af31b512a5097a3db32a6c07b5b706fae53fd77618365a
+MD5 687e588444b6a56a2153e9edf5903897 files/55_mod_auth_cookie_mysql2.conf 3428
+RMD160 0c44674dd19498b551d600e6271fecff0ff37923 files/55_mod_auth_cookie_mysql2.conf 3428
+SHA256 9b90a7d9736fbb9ec6af31b512a5097a3db32a6c07b5b706fae53fd77618365a files/55_mod_auth_cookie_mysql2.conf 3428
+DIST mod_auth_cookie_mysql2_0.7.tar.gz 7954 RMD160 216a2e14cf13e9c5f9913939649a4d7e7be9be7b SHA1 ddd6ef0c1f33bf9e133755a1dc6f6b66b09ed893 SHA256 f5aedec0b4873bce5eaf92d8b431ecfeb894dcfc75d148e42c5450abfc2989f5
+EBUILD mod_auth_cookie_mysql2-0.7.ebuild 1201 RMD160 da81fdf1d76c707f17eb33c24909c41a7149a3f6 SHA1 f5aca50805ecc6ca219123dce503a27c2d7a2c2c SHA256 045f3ab3de9ff8d11bb533445e8a8a173b5f89eda98b4dc73d37a60b736da868
+MD5 00144964098c138203a255dcbc5e944e mod_auth_cookie_mysql2-0.7.ebuild 1201
+RMD160 da81fdf1d76c707f17eb33c24909c41a7149a3f6 mod_auth_cookie_mysql2-0.7.ebuild 1201
+SHA256 045f3ab3de9ff8d11bb533445e8a8a173b5f89eda98b4dc73d37a60b736da868 mod_auth_cookie_mysql2-0.7.ebuild 1201
+MISC ChangeLog 573 RMD160 ad83c9d66d22b165c7233d4fb949c2c2368a3c75 SHA1 500b670040ad2c37cc4af3a81c315ed16d39d2b6 SHA256 7ccdb4c072a3e215f27287a870d783055435c57f547bb56f54721812f798a112
+MD5 959eefcf5ac9a274ea0094a3b103579a ChangeLog 573
+RMD160 ad83c9d66d22b165c7233d4fb949c2c2368a3c75 ChangeLog 573
+SHA256 7ccdb4c072a3e215f27287a870d783055435c57f547bb56f54721812f798a112 ChangeLog 573
+MISC metadata.xml 231 RMD160 a4a252abe4fb2922d19ccc4952d0128c3ccefbce SHA1 66b21c56c3a98e5a4b489dc000ff1d5956ab63d0 SHA256 79cc89f7b494dc5097d6dc5fedeb567e0dbc13e2adfcbe3f80082ad4625b38b3
+MD5 94cc9443fa6aead0b11dda55a10e117e metadata.xml 231
+RMD160 a4a252abe4fb2922d19ccc4952d0128c3ccefbce metadata.xml 231
+SHA256 79cc89f7b494dc5097d6dc5fedeb567e0dbc13e2adfcbe3f80082ad4625b38b3 metadata.xml 231
+MD5 2d32e183e6a72080473cca4b09abc2c4 files/digest-mod_auth_cookie_mysql2-0.7 274
+RMD160 e5196f1da580f4b68f18eb010ca8e2ea0f309f89 files/digest-mod_auth_cookie_mysql2-0.7 274
+SHA256 7743aae4344ffe81bd0502fc301761d0aa682514b135c0c25dacb1f4717ed936 files/digest-mod_auth_cookie_mysql2-0.7 274
diff --git a/www-apache/mod_auth_cookie_mysql2/files/55_mod_auth_cookie_mysql2.conf b/www-apache/mod_auth_cookie_mysql2/files/55_mod_auth_cookie_mysql2.conf
new file mode 100644
index 000000000000..e860671288bd
--- /dev/null
+++ b/www-apache/mod_auth_cookie_mysql2/files/55_mod_auth_cookie_mysql2.conf
@@ -0,0 +1,97 @@
+<IfDefine AUTH_COOKIE_MYSQL2>
+ <IfModule !mod_auth_cookie_mysql2.c>
+ LoadModule auth_cookie_mysql2_module modules/mod_auth_cookie_mysql2.so
+ </IfModule>
+</IfDefine>
+
+<IfModule mod_auth_cookie_mysql2.c>
+ # MOD_AUTH_COOKIE_MYSQL Configuration section.
+ # For more information look at the configuration section at
+ # http://home.digithi.de/digithi/dev/mod_auth_cookie_mysql/#configuration
+
+ # The MOD_AUTH_COOKIE_MYSQL2 directives must be inside of a <Directory>
+ # block to work correctly!
+ #<Directory "/var/www/localhost/">
+ # CookieAuth: Activates this module.
+ # REQUIRED: Yes
+ # Options: on|off
+ #CookieAuth
+
+ # CookieAuth_DBhost: Hostname or IP of the host where MySQL is running on.
+ # REQUIRED: Yes
+ # Options: <hostname or IP>
+ #CookieAuth_DBhost
+
+ # CookieAuth_DBName: Name of the MySQL database.
+ # REQUIRED: Yes
+ # Options: <dbname>
+ #CookieAuth_DBName
+
+ # CookieAuth_DBTable: Table name in database.
+ # REQUIRED: Yes
+ # Options: <tbname>
+ #CookieAuth_DBTable
+
+ # CookieAuth_DBUser: MySQL username with permissions to database and table.
+ # REQUIRED: Yes
+ # Options: <username>
+ #CookieAuth_DBUser
+
+ # CookieAuth_DBPassword: password for user in CookieAuth_DBUser.
+ # REQUIRED: Yes
+ # Options: <password>
+ #CookieAuth_DBPassword
+
+ # CookieAuth_UsernameField: Field in MySQL table where username of session is stored.
+ # This username is displayed as the "Remote Username" variable "REMOTE_USER" in Apache.
+ # REQUIRED: Yes
+ # Options: <fieldname>
+ #CookieAuth_UsernameField
+
+ # CookieAuth_SessnameField: Field in MySQL table where session name is stored. This is
+ # the name of the cookie!
+ # REQUIRED: Yes
+ # Options: <fieldname>
+ #CookieAuth_SessnameField
+
+ # CookieAuth_SessvalField: Field in MySQL table where session value (this is the value
+ # which is compared with the cookie value) is stored.
+ # REQUIRED: Yes
+ # Options: <fieldname>
+ #CookieAuth_SessvalField
+
+ # Cookie_Auth_CookieName: If this option is set, only the cookie with this name is searched.
+ # If it is not set, this module will search all cookies the browser sends and checks the name
+ # against the values in the field set with CookieAuth_SessvalField.
+ # REQUIRED: No
+ # Options: <name>
+ #CookieAuth_CookieName
+
+ # Cookie_Auth_ExpiryField: When this option is set, the current time of the webserver is
+ # compared against this field in the database. This value is in the format of a Unix
+ # timestamp (time in seconds since 01-01-1970)
+ # REQUIRED: No
+ # Options: <fieldname>
+ #CookieAuth_ExpiryField
+
+ # CookieAuth_RemoteIPField: When this option is set, the remote address of the connected
+ # client is checked against this field. Only when the remote IP and the stored IP are
+ # equal will the client be able to authorize.
+ # REQUIRED: No
+ # Options: <fieldname>
+ #CookieAuth_RemoteIPField
+
+ # CookieAuth_FailureURL: Normally, when the authorization fails the client gets an
+ # "AUTHORIZATION REQUIRED" message from the webserver. With this option set you can
+ # redirect the client to another URL.
+ #
+ # WARNING: This is a normal redirect for the browser. If you want an internal
+ # redirect where the browser doesn't see the URL it's been redirected to
+ # you should use the ErrorDocument directive. Example:
+ # "ErrorDocument 401 /some_error.html"
+ #
+ # REQUIRED: No
+ # Options: <url>
+ #CookieAuth_FailureURL
+ #</Directory>
+</IfModule>
diff --git a/www-apache/mod_auth_cookie_mysql2/files/digest-mod_auth_cookie_mysql2-0.7 b/www-apache/mod_auth_cookie_mysql2/files/digest-mod_auth_cookie_mysql2-0.7
new file mode 100644
index 000000000000..db664d5e1695
--- /dev/null
+++ b/www-apache/mod_auth_cookie_mysql2/files/digest-mod_auth_cookie_mysql2-0.7
@@ -0,0 +1,3 @@
+MD5 cb2869d2bff22f99d48bea11004a18eb mod_auth_cookie_mysql2_0.7.tar.gz 7954
+RMD160 216a2e14cf13e9c5f9913939649a4d7e7be9be7b mod_auth_cookie_mysql2_0.7.tar.gz 7954
+SHA256 f5aedec0b4873bce5eaf92d8b431ecfeb894dcfc75d148e42c5450abfc2989f5 mod_auth_cookie_mysql2_0.7.tar.gz 7954
diff --git a/www-apache/mod_auth_cookie_mysql2/metadata.xml b/www-apache/mod_auth_cookie_mysql2/metadata.xml
new file mode 100644
index 000000000000..8f398d815b6c
--- /dev/null
+++ b/www-apache/mod_auth_cookie_mysql2/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>apache</herd>
+ <maintainer>
+ <email>apache-bugs@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/www-apache/mod_auth_cookie_mysql2/mod_auth_cookie_mysql2-0.7.ebuild b/www-apache/mod_auth_cookie_mysql2/mod_auth_cookie_mysql2-0.7.ebuild
new file mode 100644
index 000000000000..120cb4c35d21
--- /dev/null
+++ b/www-apache/mod_auth_cookie_mysql2/mod_auth_cookie_mysql2-0.7.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_auth_cookie_mysql2/mod_auth_cookie_mysql2-0.7.ebuild,v 1.1 2006/06/13 16:31:01 chtekk Exp $
+
+inherit eutils apache-module
+
+KEYWORDS="~x86"
+DESCRIPTION="An Apache2 backend authentication module that uses Cookies and MySQL."
+HOMEPAGE="http://home.digithi.de/digithi/dev/mod_auth_cookie_mysql/"
+SRC_URI="http://home.digithi.de/digithi/dev/mod_auth_cookie_mysql/${P/-/_}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-db/mysql"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${P/-/_}"
+
+APXS2_ARGS="-lmysqlclient -lz -I/usr/include/mysql -L/usr/lib/mysql -c ${PN}.c"
+
+APACHE2_MOD_CONF="55_${PN}"
+APACHE2_MOD_DEFINE="AUTH_COOKIE_MYSQL2"
+
+DOCFILES="README mod_auth_cookie_mysql.html"
+
+need_apache2
+
+pkg_postinst() {
+ ewarn
+ ewarn "There are a number of variables that need to be configured before"
+ ewarn "MOD_AUTH_COOKIE_MYSQL2 can work. After this package has finished"
+ ewarn "building, please go and modify the conf file located in"
+ ewarn "${APACHE2_MODULES_CONFDIR}/$(basename ${APACHE2_MOD_CONF}).conf"
+ ewarn
+ ebeep 5
+ apache-module_pkg_postinst
+}