# ChangeLog for www-apache/mod_vhost_ldap
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_vhost_ldap/ChangeLog,v 1.2 2006/02/11 14:39:54 jokey Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_vhost_ldap/ChangeLog,v 1.3 2007/01/15 19:40:25 chtekk Exp $
+
+ 15 Jan 2007; Luca Longinotti <chtekk@gentoo.org> metadata.xml,
+ mod_vhost_ldap-1.0.0.ebuild:
+ Cleanup.
*mod_vhost_ldap-1.0.0 (11 Feb 2006)
-MD5 e954e46682c457bb15ac5a99d94fac4f ChangeLog 578
-RMD160 c3f8ca111b99f45ca6537d6d286d0f9089c54fd9 ChangeLog 578
-SHA256 93f62f0429b80f4357492e602887a2641f8c3e3ce426e7ec52d08bc6ee4bf7e2 ChangeLog 578
+AUX 99_mod_vhost_ldap.conf 354 RMD160 8c0596ac410f00c2ea6305ad674c867a2d5e465e SHA1 1f171a9bdd842bb4d9a5086f5a7c4c74c74533f6 SHA256 b52fe0dd41801e25b84aed5ba406402e9934bc19612f14d2d07001ea338f7126
MD5 02f8594edec937fb5c5cf8ac06ad1952 files/99_mod_vhost_ldap.conf 354
RMD160 8c0596ac410f00c2ea6305ad674c867a2d5e465e files/99_mod_vhost_ldap.conf 354
SHA256 b52fe0dd41801e25b84aed5ba406402e9934bc19612f14d2d07001ea338f7126 files/99_mod_vhost_ldap.conf 354
+DIST mod_vhost_ldap-1.0.0.tar.bz2 7862 RMD160 da38548074175faab2c232e1e7b5cb88610405b1 SHA1 9e25626265707512798f134d2c371bf6ba6136da SHA256 e14713d736e79ca7760b8ca8bd32fd01e97ef0f14396bdea9373d7bfd8dd1f87
+EBUILD mod_vhost_ldap-1.0.0.ebuild 1675 RMD160 1a705e75e1d03acd500bac243907ff00487391c1 SHA1 0aabd24636df219af32122814f1c58b697b8a3bd SHA256 8fdad9254ca428603035843d526d341a8630995a4c5c60ca4778c2744d377ae2
+MD5 64e99e4cbf25c06c03b9c8c87a7d8a72 mod_vhost_ldap-1.0.0.ebuild 1675
+RMD160 1a705e75e1d03acd500bac243907ff00487391c1 mod_vhost_ldap-1.0.0.ebuild 1675
+SHA256 8fdad9254ca428603035843d526d341a8630995a4c5c60ca4778c2744d377ae2 mod_vhost_ldap-1.0.0.ebuild 1675
+MISC ChangeLog 687 RMD160 9d36547ac6899231fc70d29c588b95d76a43f40a SHA1 8cbc8abcf12c42afb536d601f4fae8ec9313fc1c SHA256 204e2e1fea6e6a97ecd9dcec9d80168bd1bae244a490b8fcbfd38553449e131a
+MD5 b7cb597d4ddb07fb8f97a0fb9328e4d6 ChangeLog 687
+RMD160 9d36547ac6899231fc70d29c588b95d76a43f40a ChangeLog 687
+SHA256 204e2e1fea6e6a97ecd9dcec9d80168bd1bae244a490b8fcbfd38553449e131a ChangeLog 687
+MISC metadata.xml 223 RMD160 30a6cfa82f214e7bf80161132835a25e0d3d41aa SHA1 24d1f9b12898fd70d331de23cac69b98c48ab540 SHA256 e376668f5da97bd367108a34582eb43368d4c6a591692d0f1324f5b3a0e9f2b2
+MD5 41a14961c9fd95fc52e4225e42d8dde7 metadata.xml 223
+RMD160 30a6cfa82f214e7bf80161132835a25e0d3d41aa metadata.xml 223
+SHA256 e376668f5da97bd367108a34582eb43368d4c6a591692d0f1324f5b3a0e9f2b2 metadata.xml 223
MD5 c4b48d46101a41cb773b4bcb439f4a0c files/digest-mod_vhost_ldap-1.0.0 259
RMD160 4f150385bb6de9bc274044a810160c914e943876 files/digest-mod_vhost_ldap-1.0.0 259
SHA256 f979b03a58aaee0033272280acaf52f9fae7d820eb091d2379375c963e53bcfe files/digest-mod_vhost_ldap-1.0.0 259
-MD5 ea981e26c2dee1b09642a812519463e1 metadata.xml 220
-RMD160 d33498dd033cf9490a23b08f4b5a923109adb0e5 metadata.xml 220
-SHA256 70f1d3277bf666ac82be0f85ccb9fe4202812c5a51544cdc80ceb411748469a1 metadata.xml 220
-MD5 2adbadc7b558850deb85aec2ecbd9e8a mod_vhost_ldap-1.0.0.ebuild 1749
-RMD160 7610939ede2bf3feef421e3498bd303d3bb5724d mod_vhost_ldap-1.0.0.ebuild 1749
-SHA256 a1d13097ae83c6b61f28d4946b669504eb37f2fd4f2b99569fece34394c698ef mod_vhost_ldap-1.0.0.ebuild 1749
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>apache</herd>
-<maintainer>
- <email>jokey@gentoo.org</email>
-</maintainer>
+ <herd>apache</herd>
+ <maintainer>
+ <email>jokey@gentoo.org</email>
+ </maintainer>
</pkgmetadata>
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_vhost_ldap/mod_vhost_ldap-1.0.0.ebuild,v 1.1 2006/02/11 14:39:54 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_vhost_ldap/mod_vhost_ldap-1.0.0.ebuild,v 1.2 2007/01/15 19:40:25 chtekk Exp $
inherit eutils apache-module
-DESCRIPTION="An Apache2 DSO for storing and configuring virtual hosts from LDAP"
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="An Apache2 module for storing and configuring virtual hosts from LDAP."
HOMEPAGE="http://alioth.debian.org/projects/modvhostldap/"
SRC_URI="http://alioth.debian.org/download.php/1422/${P}.tar.bz2"
-# Attention: 1422 captures 1.0 download content!!!!
-
+# Attention: 1422 captures 1.0 download content!!!
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~amd64"
IUSE=""
-S=${WORKDIR}
+S="${WORKDIR}/mod-vhost-ldap-${PV}"
-SRCDIR="${S}/mod-vhost-ldap-${PV}"
-APXS2_S="${SRCDIR}"
APACHE2_MOD_CONF="99_${PN}"
APACHE2_MOD_DEFINE="VHOST_LDAP"
-DOCFILES="${SRCDIR}/AUTHORS ${SRCDIR}/ChangeLog ${SRCDIR}/INSTALL ${SRCDIR}/README"
+DOCFILES="AUTHORS ChangeLog INSTALL README"
need_apache2
-pkg_setup () {
+pkg_setup() {
if ! built_with_use net-www/apache ldap ; then
eerror
- eerror "Apache needs to be built with ldap support to get this module working"
+ eerror "Apache2 needs to be built with ldap support to get this module working!"
eerror
- die "Apache lacks ldap support"
+ die "Apache2 lacks ldap support"
fi
}
-src_compile () {
- cd ${APXS2_S}
+src_compile() {
sed -i s/MOD_VHOST_LDAP_VERSION/\"`cat VERSION`\"/g mod_vhost_ldap.c
apache-module_src_compile
}
-src_install () {
- mkdir -p ${D}/etc/openldap/schema
- cp ${SRCDIR}/mod_vhost_ldap.schema ${D}/etc/openldap/schema
+src_install() {
+ mkdir -p "${D}/etc/openldap/schema"
+ cp -f "mod_vhost_ldap.schema" "${D}/etc/openldap/schema/"
apache-module_src_install
}
-pkg_postinst () {
+pkg_postinst() {
einfo
- einfo "To enable ${PN}, you need to edit your /etc/conf.d/apache2 file and"
- einfo "add '-D ${APACHE2_MOD_DEFINE}' and -D LDAP to APACHE2_OPTS."
+ einfo "To enable ${PN}, you need to edit your ${ROOT}/etc/conf.d/apache2 file and"
+ einfo "add '-D ${APACHE2_MOD_DEFINE}' and '-D LDAP' to APACHE2_OPTS."
einfo
einfo "Configuration file installed as"
einfo " ${APACHE2_MODULES_CONFDIR}/$(basename ${APACHE2_MOD_CONF}).conf"
einfo
einfo "Your LDAP server needs to include mod_vhost_ldap.schema and should"
- einfo "also maintain indices on apacheServerName and apacheServerAlias"
+ einfo "also maintain indices on apacheServerName and apacheServerAlias."
einfo
}