commit 842b5732c39ca833b4a5e189754d473092fee0b2
parent 7e7f745f13936a3b2fc7658f0fedf1628b92eb2a
Author: Dan Callaghan <djc@djc.id.au>
Date: Mon, 4 Oct 2010 23:55:08 +1000
various cleanups/fixes for pam_ldap and nss_ldap
Diffstat:
2 files changed, 7 insertions(+), 14 deletions(-)
diff --git a/packages/sys-auth/nss_ldap/nss_ldap-265.exheres-0 b/packages/sys-auth/nss_ldap/nss_ldap-265.exheres-0
@@ -20,24 +20,21 @@ MYOPTIONS="debug"
DEPENDENCIES="
build:
- dev-lang/perl [[ description = [ for ./vers_string script ] ]]
+ dev-lang/perl:* [[ description = [ for ./vers_string script ] ]]
build+run:
net-directory/openldap[>=2.4.21]
"
-BUGS_TO=""
+BUGS_TO="djc@djc.id.au"
-src_prepare() {
- expatch -p1 "${FILES}"/nss_ldap-265-vers_string.patch
- eautoreconf
-}
+DEFAULT_SRC_PREPARE_PATCHES=( "${FILES}"/nss_ldap-265-vers_string.patch )
src_configure() {
+ # can't pass --disable-debugging as that actually enables it
econf \
--hates=disable-silent-rules \
--hates=enable-fast-install \
--libdir=/${LIBDIR:-lib} \
- # --disable-debugging does the opposite! grr
$(if optionq debug ; then echo --enable-debugging ; fi) \
--enable-paged-results \
--enable-rfc2307bis \
diff --git a/packages/sys-auth/pam_ldap/pam_ldap-185.exheres-0 b/packages/sys-auth/pam_ldap/pam_ldap-185.exheres-0
@@ -19,18 +19,14 @@ MYOPTIONS="ssl"
DEPENDENCIES="
build:
- dev-lang/perl [[ description = [ for ./vers_string script ] ]]
+ dev-lang/perl:* [[ description = [ for ./vers_string script ] ]]
build+run:
net-directory/openldap[>=2.4.21]
"
-BUGS_TO=""
+BUGS_TO="djc@djc.id.au"
+DEFAULT_SRC_PREPARE_PATCHES=( "${FILES}"/pam_ldap-185-vers_string.patch )
DEFAULT_SRC_CONFIGURE_PARAMS=( --libdir=/${LIBDIR:-lib} --with-ldap-lib=openldap )
-DEFAULT_SRC_CONFIGURE_OPTION_WITHS=( )
DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=( ssl )
-src_prepare() {
- expatch -p1 "${FILES}"/pam_ldap-185-vers_string.patch
- eautoreconf
-}