Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 31206 Details for
Bug 32436
mod_ldap_userdir
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for mod_ldap_userdir-1.1.4.ebuild.enable support for apache 1.x
mod_ldap_userdir-1.1.4.ebuild.diff (text/plain), 2.09 KB, created by
Minati jean michel
on 2004-05-11 12:07:12 UTC
(
hide
)
Description:
Patch for mod_ldap_userdir-1.1.4.ebuild.enable support for apache 1.x
Filename:
MIME Type:
Creator:
Minati jean michel
Created:
2004-05-11 12:07:12 UTC
Size:
2.09 KB
patch
obsolete
>--- mod_ldap_userdir.orig/mod_ldap_userdir-1.1.4.ebuild 2004-05-12 21:13:04.229397368 +0200 >+++ mod_ldap_userdir/mod_ldap_userdir-1.1.4.ebuild 2004-05-12 21:11:22.241901824 +0200 >@@ -1,7 +1,7 @@ >-# Copyright 1999-2003 Gentoo Technologies, Inc. >+# Copyright 1999-2004 Gentoo Technologies, Inc. > # Distributed under the terms of the GNU General Public License v2 >+# $Header: $ > >-# supposedly this module also supports apache1, depends on apache2 until tested. > detectapache() { > local domsg= > [ -n "$1" ] && domsg=1 >@@ -48,7 +48,8 @@ > S=${WORKDIR}/${P} > SRC_URI="http://horde.net/~jwm/software/mod_ldap_userdir/mod_ldap_userdir-1.1.4.tar.bz2" > >-DEPEND="=net-www/apache-2* >+DEPEND=" apache2? =net-www/apache-2* >+ !apache2? =net-www/apache-1* > net-nds/openldap" > > LICENSE="GPL" >@@ -57,6 +58,7 @@ > src_compile() { > local myconf > use apache2 && myconf="${myconf} --with-apxs=/usr/sbin/apxs2" >+ use apache2 || myconf="${myconf} --with-apxs=/usr/sbin/apxs" > myconf="${myconf} --with-activate" > ./configure ${myconf} || die > make clean >@@ -70,7 +72,8 @@ > exeinto /usr/lib/apache${apache}-extramodules > doexe mod_ldap_userdir.so > >- insinto /etc/apache${apache}/conf/modules.d >+ use apache2 && insinto /etc/apache${apache}/conf/modules.d >+ use apache2 || insinto /etc/apache/conf/addon-modules > doins ${FILESDIR}/47_mod_ldap_userdir.conf > } > >@@ -79,6 +82,21 @@ > if [ -n "${USE_APACHE2}" ] ; then > einfo "Adjust /etc/apache2/conf/modules.d/47_mod_ldap_userdir.conf to match your setup and" > einfo "add '-D LDAPuserdir' to your APACHE2_OPTS in /etc/conf.d/apache2" >+ else >+ einfo >+ einfo "Execute \"ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config\"" >+ einfo "to have your apache.conf auto-updated for use with this module." >+ einfo "You should then edit your /etc/conf.d/apache file to suit." >+ einfo > fi > } > >+ >+ >+pkg_config() { >+ /usr/sbin/apacheaddmod \ >+ ${ROOT}/etc/apache/conf/apache.conf \ >+ extramodules/mod_ldap_userdir.so mod_ldap_userdir.c ldap_userdir_module \ >+ define=LDAPuserdir addconf=conf/addon-modules/47_mod_ldap_userdir.conf >+} >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 32436
:
20038
|
31194
|
31195
| 31206 |
38080
|
48315