Ticket #11777: Portfile.diff

File Portfile.diff, 1.0 KB (added by markd@…, 18 years ago)
  • Portfile

    old new  
    22
    33PortSystem 1.0
    44name            openldap
    5 version         2.3.34
     5version         2.3.35
    66categories      databases
    77maintainers     landonf@macports.org bchesneau@mac.com
    88description     OpenLDAP Software
     
    1515                http://www.openldap.org/software/download/OpenLDAP/openldap-release/ \
    1616                ftp://ftp.nl.uu.net/pub/unix/db/openldap/openldap-release/
    1717distfiles       ${name}-${version}.tgz
    18 checksums       md5 143eeb6e3c163e5f52d8e744b43a5960
     18checksums       md5 91ae33b88bce17a48743da35a0aa04fd
    1919
    2020depends_lib     port:db4 \
    2121                port:perl5.8 \
     
    7474post-destroot {
    7575        xinstall -d -g ldap -m 700 -o ldap \
    7676                "${destroot}${prefix}/var/run/openldap-data"
    77         #since post-deploy doesn't exist
     77# Delete the duplicate .conf files (leaves .conf.default) so upgrades won't overwrite .conf files.
     78        file delete -force ${destroot}${prefix}/etc/openldap/slapd.conf
     79        file delete -force ${destroot}${prefix}/etc/openldap/ldap.conf
    7880}
    7981
    8082test.run        yes