Removing obsolete openldap24 port

git-svn-id: https://svn.macports.org/repository/macports/users/ged@68038 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
Michael Granger
2010-05-25 03:54:31 +00:00
parent 4f7d731e0a
commit e6caeaca17
2 changed files with 0 additions and 120 deletions
-107
View File
@@ -1,107 +0,0 @@
# $Id$
PortSystem 1.0
name openldap24
conflicts openldap
version 2.4.21
revision 0
categories databases
maintainers ged
description OpenLDAP Software (2.4.x)
long_description OpenLDAP Software is an open source implementation \
of the Lightweight Directory Access Protocol.
platforms darwin
homepage http://www.openldap.org/
master_sites ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/ \
http://www.openldap.org/software/download/OpenLDAP/openldap-release/ \
ftp://ftp.nl.uu.net/pub/unix/db/openldap/openldap-release/
distfiles openldap-${version}.tgz
checksums md5 e7128c57b2bacd940e8906057c94ff26 \
sha1 cfcfff3df7804bab8eb0d9464d3712a3e32d677b \
rmd160 94f662e8fe1b009f5836cb9c19b095f1b159b1bd
depends_lib path:bin/perl:perl5 \
port:cyrus-sasl2 \
port:openssl \
port:db47
worksrcdir openldap-${version}
patchfiles patch-ltmain
patch.pre_args -p1
configure.env-append LANG=C
configure.cppflags-append "-I${prefix}/include/db47 -I${prefix}/include/openssl -DBIND_8_COMPAT"
configure.ldflags-append -L${prefix}/lib/db47
configure.args --mandir=${prefix}/share/man \
--localstatedir=${prefix}/var \
--with-cyrus-sasl \
--with-tls \
--enable-crypt \
--enable-wrappers \
--enable-syncprov \
--enable-ipv6
startupitem.create yes
startupitem.name slapd24
startupitem.init "PID=${prefix}/var/run/slapd.pid"
startupitem.start "${prefix}/libexec/slapd -u ldap -f ${prefix}/etc/openldap/slapd.conf"
startupitem.stop "\[ -r \${PID} \] && kill \$(cat \${PID})"
variant aci description "enable per-object ACIs (experimental)" {
configure.args-append --enable-aci=mod
}
variant backends description "enable all available backends (as modules)" {
configure.args-append \
--enable-dnssrv=mod \
--enable-ldap=mod \
--enable-meta=mod \
--enable-null=mod \
--enable-passwd=mod \
--enable-shell=mod \
--enable-sock=mod \
--enable-sql=mod
}
variant mysql description "enable MySQL NDB Cluster backend" {
configure.args-append --enable-ndb=mod
depends_lib-append port:mysql5
}
variant perl description "enable perl backend" {
configure.args-append --enable-perl=mod
depends_lib-append port:perl5
}
variant overlays description "enable all available overlays (as modules)" {
configure.args-append \
--enable-overlays=mod \
--enable-syncprov=yes
}
pre-build {
system "cd ${workpath}/${worksrcdir} && \
make depend"
}
pre-destroot {
# should be in pre-deploy....
addgroup ldap
set gid [existsgroup ldap]
adduser ldap gid=${gid}
}
post-destroot {
xinstall -d -g ldap -m 700 -o ldap \
"${destroot}${prefix}/var/run/openldap-data"
# Delete the duplicate .conf files (leaves .conf.default) so upgrades won't overwrite .conf files.
file delete -force ${destroot}${prefix}/etc/openldap/slapd.conf
file delete -force ${destroot}${prefix}/etc/openldap/ldap.conf
}
test.run yes
test.target check
-13
View File
@@ -1,13 +0,0 @@
diff -ur openldap-2.4.21/build/ltmain.sh openldap-2.4.21.patched/build/ltmain.sh
--- openldap-2.4.21/build/ltmain.sh 2009-01-21 16:00:41.000000000 -0800
+++ openldap-2.4.21.patched/build/ltmain.sh 2010-01-27 13:27:26.000000000 -0800
@@ -2610,7 +2610,7 @@
{ test "$use_static_libs" = no || test -z "$old_library"; }; then
if test "$installed" = no; then
notinst_deplibs="$notinst_deplibs $lib"
- need_relink=yes
+ need_relink=no
fi
# This is a shared library
Only in openldap-2.4.21.patched/build: ltmain.sh.orig