# -*- coding: ascii; tab-width: 4; x-counterpart: openldap24.patch -*- Info4: << Package: openldap24 # last of the 2.4 series Version: 2.4.59 Revision: 3 Maintainer: Daniel Johnson Source: mirror:custom:openldap-release/openldap-%v.tgz CustomMirror: << asi-JP: ftp://ftp.dti.ad.jp/pub/net/OpenLDAP/ eur-AT: ftp://gd.tuwien.ac.at/infosys/network/OpenLDAP/ eur-CH: ftp://mirror.switch.ch/mirror/OpenLDAP/ eur-DE: http://mirror.eu.oneandone.net/software/openldap/ eur-FR: http://repository.linagora.org/OpenLDAP/ eur-GR: ftp://ftp.ntua.gr/mirror/OpenLDAP/ nam-US: ftp://ftp.OpenLDAP.org/pub/OpenLDAP/ nam-CA: http://gpl.savoirfairelinux.net/pub/mirrors/openldap/ << Source-Checksum: SHA256(99f37d6747d88206c470067eda624d5e48c1011e943ec0ab217bae8712e22f34) # NOTE: configure looks for libicu but doesn't actually use it. Depends: %N-shlibs (= %v-%r), daemonic # groff added for 13.x, this brings in lots of deps and should be reviewed in # the future BuildDepends: << cyrus-sasl2.3-dev (>= 2.1.27-0.8), db53-aes, groff, fink (>= 0.30.0-1), openssl300-dev << Conflicts: openldap-ssl, openldap23, openldap24, openldap24, openldap26 Replaces: openldap-ssl, openldap23, openldap24, openldap24, openldap26 Provides: openldap PatchFile: %{ni}.patch PatchFile-MD5: 0492da596271831c1eae985c611f1199 PatchFile2: %{ni}-xcode12.patch PatchFile2-MD5: 4fe35d038a6e6b3a9409d7e31880817c PatchScript: << %{default_script} perl -pi -e 's/1 2 3 4 5/1 2 3 4 5 6 7/' tests/scripts/test058-syncrepl-asymmetric << NoSetLDFLAGS: True SetLDFLAGS: -Wl,-dead_strip_dylibs SetLibs: -lkrb5 -L%p/%lib -ldb-5.3 SetCPPFLAGS: -I%p/include/db5 -DBIND_8_COMPAT UseMaxBuildJobs: true ConfigureParams: << --libexecdir=%p/sbin \ --mandir=%p/share/man \ --with-cyrus-sasl \ --enable-ldap \ --disable-dependency-tracking \ --enable-dynamic \ --enable-shared \ --disable-static \ --libdir='${prefix}/%lib' << InstallScript: << /usr/bin/make install DESTDIR=%d << DocFiles: ANNOUNCEMENT CHANGES COPYRIGHT LICENSE README build/LICENSE-2.0.1 doc/drafts/draft* ConfFiles: << %p/etc/openldap/ldap.conf %p/etc/openldap/slapd.conf << SplitOff: << Package: %N-shlibs Depends: << cyrus-sasl2.3-shlibs (>= 2.1.27-0.8), db53-aes-shlibs, openssl300-shlibs (>= 1.1.0h-1) << Description: Shared libraries for LDAP Files: %lib/*-2.4.2*.dylib Shlibs: << %p/%lib/liblber-2.4.2.dylib 14.0.0 %n (>= 2.4.56-1) %p/%lib/libldap-2.4.2.dylib 14.0.0 %n (>= 2.4.56-1) %p/%lib/libldap_r-2.4.2.dylib 14.0.0 %n (>= 2.4.56-1) << DocFiles: ANNOUNCEMENT CHANGES COPYRIGHT LICENSE README build/LICENSE-2.0.1 << SplitOff2: << Package: %N-dev Depends: %N-shlibs (= %v-%r) Conflicts: openldap-ssl-dev, openldap23-dev, openldap24-dev, openldap2-dev Replaces: openldap-ssl-dev, openldap23-dev, openldap24-dev, openldap2-dev Description: Libraries and headers for LDAP development Files: include %lib/*.la %lib/*.dylib share/man/man3 BuildDependsOnly: True DocFiles: COPYRIGHT LICENSE README build/LICENSE-2.0.1 << DaemonicName: slapd DaemonicFile: << LDAP Server LDAP Server %p/sbin/slapd %p/etc/openldap/slapd.conf << PreRmScript: << if [ $1 != "upgrade" ]; then daemonic remove slapd fi << Description: LDAP directory services implementation DescDetail: << OpenLDAP is an open source implementation of the Lightweight Directory Access Protocol. The suite includes: * slapd - stand-alone LDAP server * slurpd - stand-alone LDAP replication server * libraries implementing the LDAP protocol, and * utilities, tools, and sample clients. << DescUsage: << To create a startup item that starts slapd after reboot just run as root 'daemonic enable slapd'. To remove the slapd startup item just run as root 'daemonic remove slapd'. << DescPort: << Patch taken from: http://packages.debian.org/lenny/libldap-2.4-2 << DescPackaging: << Disabled static libs and cleaned dependency_libs in *.la files. Dependent packages no longer need to depend on our dependencies. << License: Restrictive/Distributable Homepage: https://www.openldap.org InfoTest: << # Tests take a LONG time to run. Really. I mean it. A Looooooooong time. TestSuiteSize: large TestScript: << rm tests/scripts/test048-syncrepl-multiproxy rm tests/scripts/test018-syncreplication-persist /usr/bin/make -k -j1 check || exit 2 << << <<