diff options
author | Luca Longinotti <chtekk@gentoo.org> | 2006-06-13 16:31:01 +0000 |
---|---|---|
committer | Luca Longinotti <chtekk@gentoo.org> | 2006-06-13 16:31:01 +0000 |
commit | 52ba5fe2156ea6957ea6282eba60fdee2be8d656 (patch) | |
tree | 6f9a04309062a03cc98315806535ddc87c7261ad /www-apache | |
parent | Ignore QA checks and RESTRICT=strip, thanks to Jon Hood <squinky86@gentoo.org... (diff) | |
download | gentoo-2-52ba5fe2156ea6957ea6282eba60fdee2be8d656.tar.gz gentoo-2-52ba5fe2156ea6957ea6282eba60fdee2be8d656.tar.bz2 gentoo-2-52ba5fe2156ea6957ea6282eba60fdee2be8d656.zip |
Initial import of ebuild, thanks to fenixrf@gmail.com.
(Portage version: 2.1)
Diffstat (limited to 'www-apache')
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..240e68a20a5b --- /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 1072 RMD160 6ba5f2b4b6521135ebb44adc5fc734e74effa15f SHA1 3bb9086397feaef3602808f5fb26e087d58afa4b SHA256 eacae821612a6691bbe579973b3678881b563cf3d60b8003dbd9e86a0db6c5ea +MD5 dd82f3857e8ff01100aa07c78c8c6bab mod_auth_cookie_mysql2-0.7.ebuild 1072 +RMD160 6ba5f2b4b6521135ebb44adc5fc734e74effa15f mod_auth_cookie_mysql2-0.7.ebuild 1072 +SHA256 eacae821612a6691bbe579973b3678881b563cf3d60b8003dbd9e86a0db6c5ea mod_auth_cookie_mysql2-0.7.ebuild 1072 +MISC ChangeLog 468 RMD160 ea22bc5491710807e9dc3eeb10a827b5dc4c9532 SHA1 99bb3bd1ca4094eb782f4b170d34779607f73848 SHA256 02cf635390064266328722370a0daad6241699db14ab8e184ed0fd36ccfa23a3 +MD5 0f9b4ea9bb9db377db8ca021f9ffb145 ChangeLog 468 +RMD160 ea22bc5491710807e9dc3eeb10a827b5dc4c9532 ChangeLog 468 +SHA256 02cf635390064266328722370a0daad6241699db14ab8e184ed0fd36ccfa23a3 ChangeLog 468 +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 +} |