<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/99c6fc77b5a3e62ba4ca5592e12b4c30de56da62">https://github.com/macports/macports-ports/commit/99c6fc77b5a3e62ba4ca5592e12b4c30de56da62</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 99c6fc77b5a3e62ba4ca5592e12b4c30de56da62
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Tue Sep 15 15:41:51 2020 -0700
<span style='display:block; white-space:pre;color:#404040;'> openldap: cleanup indentation, trailing white space
</span>---
databases/openldap/Portfile | 110 +++++++++++++++++++++++---------------------
1 file changed, 57 insertions(+), 53 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/openldap/Portfile b/databases/openldap/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 55109d5f8cb..7de541a6c3f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/databases/openldap/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/openldap/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,60 +1,63 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup muniversal 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-name openldap
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.4.52
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-categories databases
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license openldap
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-description OpenLDAP Software
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description OpenLDAP Software is an open source implementation \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- of the Lightweight Directory Access Protocol.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://www.openldap.org/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/ \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- https://www.openldap.org/software/download/OpenLDAP/openldap-release/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-extract.suffix .tgz
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 995e2181092298a8143258a24c86cc6b123137fe \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 277b453f8e1593d759e6d6f4c8744f2042fa843e558f8e267f1c7890b8c35508 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 5878365
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib path:bin/perl:perl5 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:tcp_wrappers \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:cyrus-sasl2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libfetch \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- path:lib/libssl.dylib:openssl \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:db48 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:icu
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-ltmain \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- dynamic_lookup-11.patch \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- fix_implicit.patch \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- libressl.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup muniversal 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name openldap
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.4.52
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories databases
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license openldap
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description OpenLDAP Software
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description OpenLDAP Software is an open source implementation \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ of the Lightweight Directory Access Protocol.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://www.openldap.org/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ https://www.openldap.org/software/download/OpenLDAP/openldap-release/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+extract.suffix .tgz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 995e2181092298a8143258a24c86cc6b123137fe \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 277b453f8e1593d759e6d6f4c8744f2042fa843e558f8e267f1c7890b8c35508 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 5878365
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib path:bin/perl:perl5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:tcp_wrappers \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:cyrus-sasl2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libfetch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:lib/libssl.dylib:openssl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:db48 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:icu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-ltmain \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dynamic_lookup-11.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fix_implicit.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libressl.patch
</span>
configure.env-append LANG=C
configure.cppflags-append -I${prefix}/include/db48 -I${prefix}/include/openssl -DBIND_8_COMPAT
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> platform darwin {
configure.cppflags-append -DMDB_FDATASYNC=fsync
if {${os.major} <= 9} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.cppflags-append -DMDB_DSYNC=O_SYNC
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cppflags-append -DMDB_DSYNC=O_SYNC
</span> }
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.ldflags-append -L${prefix}/lib/db48
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args --mandir=${prefix}/share/man \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --localstatedir=${prefix}/var \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-cyrus-sasl \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-fetch \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-tls \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-crypt \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-wrappers \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-syncprov \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-ipv6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args --mandir=${prefix}/share/man \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --localstatedir=${prefix}/var \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-cyrus-sasl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-fetch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-tls \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-crypt \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-wrappers \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-syncprov \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-ipv6
</span>
startupitem.create yes
startupitem.name slapd
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -63,11 +66,11 @@ startupitem.start "${prefix}/libexec/slapd -u ldap -f ${prefix}/etc/openldap/s
</span> startupitem.stop "\[ -r \${PID} \] && kill \$(cat \${PID})"
variant aci description {Enable per-object ACIs (experimental)} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --enable-aci
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --enable-aci
</span> }
variant overlays description {Enable all available overlays} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --enable-overlays
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --enable-overlays
</span> }
platform darwin {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -93,7 +96,8 @@ pre-build {
</span>
add_users ldap group=ldap
<span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.keepdirs "${destroot}${prefix}/var/run/openldap-data"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.keepdirs "${destroot}${prefix}/var/run/openldap-data"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-destroot {
if {[geteuid] == 0} {
xinstall -d -g ldap -m 700 -o ldap \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -108,9 +112,9 @@ post-destroot {
</span> file delete -force ${destroot}${prefix}/etc/openldap/ldap.conf
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-test.run yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-test.target check
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.target check
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.type regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url https://www.openldap.org/software/download/OpenLDAP/openldap-release/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.type regex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url https://www.openldap.org/software/download/OpenLDAP/openldap-release/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
</span></pre><pre style='margin:0'>
</pre>