[85327] trunk/dports/databases/openldap/Portfile
snc at macports.org
snc at macports.org
Wed Oct 12 12:40:52 PDT 2011
Revision: 85327
http://trac.macports.org/changeset/85327
Author: snc at macports.org
Date: 2011-10-12 12:40:51 -0700 (Wed, 12 Oct 2011)
Log Message:
-----------
openldap: whitespace
Modified Paths:
--------------
trunk/dports/databases/openldap/Portfile
Modified: trunk/dports/databases/openldap/Portfile
===================================================================
--- trunk/dports/databases/openldap/Portfile 2011-10-12 19:38:50 UTC (rev 85326)
+++ trunk/dports/databases/openldap/Portfile 2011-10-12 19:40:51 UTC (rev 85327)
@@ -11,45 +11,45 @@
maintainers landonf
license openldap
description OpenLDAP Software
-long_description OpenLDAP Software is an open source implementation \
- of the Lightweight Directory Access Protocol.
+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/
-extract.suffix .tgz
-checksums md5 e7128c57b2bacd940e8906057c94ff26 \
- sha1 cfcfff3df7804bab8eb0d9464d3712a3e32d677b \
- rmd160 94f662e8fe1b009f5836cb9c19b095f1b159b1bd
+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/
+extract.suffix .tgz
+checksums md5 e7128c57b2bacd940e8906057c94ff26 \
+ sha1 cfcfff3df7804bab8eb0d9464d3712a3e32d677b \
+ rmd160 94f662e8fe1b009f5836cb9c19b095f1b159b1bd
-depends_lib path:bin/perl:perl5 \
- port:cyrus-sasl2 \
- port:openssl \
- port:db46 \
- port:icu
+depends_lib path:bin/perl:perl5 \
+ port:cyrus-sasl2 \
+ port:openssl \
+ port:db46 \
+ port:icu
-patchfiles patch-ltmain
+patchfiles patch-ltmain
-configure.env-append LANG=C
-configure.cppflags-append -I${prefix}/include/db46 -I${prefix}/include/openssl -DBIND_8_COMPAT
-configure.ldflags-append -L${prefix}/lib/db46
+configure.env-append LANG=C
+configure.cppflags-append -I${prefix}/include/db46 -I${prefix}/include/openssl -DBIND_8_COMPAT
+configure.ldflags-append -L${prefix}/lib/db46
-configure.args --mandir=${prefix}/share/man \
- --localstatedir=${prefix}/var \
- --with-cyrus-sasl \
- --with-tls \
- --enable-crypt \
- --enable-wrappers \
- --enable-syncprov \
+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 slapd
-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})"
+startupitem.create yes
+startupitem.name slapd
+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
@@ -74,25 +74,25 @@
}
pre-destroot {
- # should be in pre-deploy....
- addgroup ldap
- set gid [existsgroup ldap]
- adduser ldap gid=${gid}
+ # should be in pre-deploy....
+ addgroup ldap
+ set gid [existsgroup ldap]
+ adduser ldap gid=${gid}
}
destroot.keepdirs "${destroot}${prefix}/var/run/openldap-data"
post-destroot {
if {[geteuid] == 0} {
- xinstall -d -g ldap -m 700 -o ldap \
- "${destroot}${prefix}/var/run/openldap-data"
- } else {
- xinstall -d -m 700 \
- "${destroot}${prefix}/var/run/openldap-data"
- }
+ xinstall -d -g ldap -m 700 -o ldap \
+ "${destroot}${prefix}/var/run/openldap-data"
+ } else {
+ xinstall -d -m 700 \
+ "${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
+ file delete -force ${destroot}${prefix}/etc/openldap/slapd.conf
+ file delete -force ${destroot}${prefix}/etc/openldap/ldap.conf
}
-test.run yes
-test.target check
+test.run yes
+test.target check
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111012/56424422/attachment.html>
More information about the macports-changes
mailing list