www-apache/mod_admserv: check if apache is build with mozldap

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@199 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2007-10-06 17:32:40 +00:00
parent 9c16d129bc
commit e01955d6d3
3 changed files with 22 additions and 9 deletions

View File

@ -2,6 +2,10 @@
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
06 Oct 2007; Mario Fetka <mario-fetka@gmx.at>
mod_admserv-1.0_pre20071006.ebuild:
check if apache is build with mozldap
06 Oct 2007; Mario Fetka <mario-fetka@gmx.at> -files/48_mod_admserv.conf,
mod_admserv-1.0_pre20071006.ebuild:
remove 48_mod_admserv.conf

View File

@ -3,14 +3,14 @@ MD5 0252e27491ce7ad8fb8e204a352d7584 files/mod_admserv-cvs.sh 334
RMD160 da75691be49ee8bf80c65ca0552876bb55b9690d files/mod_admserv-cvs.sh 334
SHA256 ed7570b1ca8024e917e764a20a28d280707997b2e01001b1fe9fb45c6d0f01a3 files/mod_admserv-cvs.sh 334
DIST mod_admserv-1.0-pre20071006.tar.bz2 236743 RMD160 9cb7289a53388957ab4eb1b96270bd76525def72 SHA1 ccc8d937afd23bf99305c5e70cbe64c1cdf424e2 SHA256 7d00bfcddc0337c06dc45e56db863bba56b03298a007d81687edfcaa4e1e8e3c
EBUILD mod_admserv-1.0_pre20071006.ebuild 1027 RMD160 2921ff4b991a62cc1a42a278f221e806d3e6af5b SHA1 bd62de80329b536079439d855f02cd051886c7de SHA256 0e4df0216377c5e86a7347a508773e98d17ef11af4fc723e153577096c712c30
MD5 3ee874083d02c13a06d1f39a0f956439 mod_admserv-1.0_pre20071006.ebuild 1027
RMD160 2921ff4b991a62cc1a42a278f221e806d3e6af5b mod_admserv-1.0_pre20071006.ebuild 1027
SHA256 0e4df0216377c5e86a7347a508773e98d17ef11af4fc723e153577096c712c30 mod_admserv-1.0_pre20071006.ebuild 1027
MISC ChangeLog 555 RMD160 4bbf5fb28e6843909fe07539f01c2929c7dd1be0 SHA1 5d1ec5bb564c5b3ca02f9be7b57fcfdead9ed33d SHA256 d1ff72c987b1f709c899182c012fbd480dc5c119a7bf9f7cd673009720b1d4b9
MD5 9d3661b2487a4d4a7bcfd238da6339d7 ChangeLog 555
RMD160 4bbf5fb28e6843909fe07539f01c2929c7dd1be0 ChangeLog 555
SHA256 d1ff72c987b1f709c899182c012fbd480dc5c119a7bf9f7cd673009720b1d4b9 ChangeLog 555
EBUILD mod_admserv-1.0_pre20071006.ebuild 1443 RMD160 405727ffa73b8cab5c3019f0c8b35134758645a4 SHA1 7fcaaca8494839a9654b7ccf1638412d81e2f14c SHA256 02d30204fbf2cb8e16f4be00a1c3863396cf05ec01ecfdb73cb0789d370d7271
MD5 1ae70d72ddded235b391c068fc1943fd mod_admserv-1.0_pre20071006.ebuild 1443
RMD160 405727ffa73b8cab5c3019f0c8b35134758645a4 mod_admserv-1.0_pre20071006.ebuild 1443
SHA256 02d30204fbf2cb8e16f4be00a1c3863396cf05ec01ecfdb73cb0789d370d7271 mod_admserv-1.0_pre20071006.ebuild 1443
MISC ChangeLog 682 RMD160 76b90e356fc0f8237d283a7f893ef555594f5ab5 SHA1 36c5a1ee52aa2fa35f0bb3a676ca0e7f6832da5e SHA256 6c57c4da3f5fb2ce84ec733ae7444b41b036d13e15d2eda9d329ab8f031de97d
MD5 e4ac93634c9cb95d6f939dbb82d6f736 ChangeLog 682
RMD160 76b90e356fc0f8237d283a7f893ef555594f5ab5 ChangeLog 682
SHA256 6c57c4da3f5fb2ce84ec733ae7444b41b036d13e15d2eda9d329ab8f031de97d ChangeLog 682
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170

View File

@ -14,7 +14,7 @@ SRC_URI="ftp://mars.arge.at/fedora-ds/${PN}-${MY_PV}.tar.bz2
http://ftp.mars.arge.at/fedora-ds/${PN}-${MY_PV}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
IUSE="mozldap"
DEPEND=">=dev-libs/mozldap-6.0.2
>=dev-libs/adminutil-1.1.3
@ -32,6 +32,15 @@ DOCFILES="LICENSE README"
need_apache2
pkg_setup() {
if ( use mozldap && ! built_with_use 'dev-libs/apr-util' mozldap ) ; then
eerror "dev-libs/apr-util is missing Mozilla LDAP support. For apache to have"
eerror "mozldap support, apr-util must be built with the mozldap USE-flag"
eerror "enabled."
die "mozldap USE-flag enabled while not supported in apr-util"
fi
}
src_compile() {
econf --with-apxs=${APXS2} \
|| die "econf failed"