Date: Tue, 31 Jul 2012 22:25:24 GMT From: Olli Hauer <ohauer@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/170300: [patch] net/openldap24-server preserve modified *.schema files Message-ID: <201207312225.q6VMPOpk092969@freefall.freebsd.org> Resent-Message-ID: <201207312230.q6VMUB6W093074@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 170300 >Category: ports >Synopsis: [patch] net/openldap24-server preserve modified *.schema files >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jul 31 22:30:11 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Olli Hauer <ohauer@FreeBSD.org> >Release: FreeBSD 8.3-RELEASE-p3 amd64 >Organization: >Environment: >Description: Code to install / compair / remove the *.schema files is generated in the Makefile and injected to $TMPPLIST. Modified *.schema files are not protected during update / deinstallation. I haven't found a quick fix for the libexec/openldap directory. It seems this change from version to version (was present in version 2.4.31 but not in 2.4.32). >How-To-Repeat: Build the port with the new pkg and take a look into the +MANIFEST file additional grep for 'pkg: lstst' in the build log. >Fix: --- openldap24-server.diff begins here --- Index: Makefile =================================================================== --- Makefile (revision 301815) +++ Makefile (working copy) @@ -7,6 +7,7 @@ PORTNAME= openldap DISTVERSION= 2.4.32 +PORTREVISION= 1 PORTREVISION= ${OPENLDAP_PORTREVISION} CATEGORIES= net databases MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \ Index: pkg-plist =================================================================== --- pkg-plist (revision 301815) +++ pkg-plist (working copy) @@ -5,31 +5,18 @@ @unexec if cmp -s %D/etc/openldap/slapd.conf %D/etc/openldap/slapd.conf.default; then rm -f %D/etc/openldap/slapd.conf; fi etc/openldap/slapd.conf.default @exec [ -f %B/slapd.conf ] || cp %B/%f %B/slapd.conf -etc/openldap/schema/ppolicy.schema etc/openldap/schema/ppolicy.ldif -etc/openldap/schema/pmi.schema etc/openldap/schema/pmi.ldif -etc/openldap/schema/openldap.schema etc/openldap/schema/openldap.ldif -etc/openldap/schema/nis.schema etc/openldap/schema/nis.ldif -etc/openldap/schema/misc.schema etc/openldap/schema/misc.ldif -etc/openldap/schema/java.schema etc/openldap/schema/java.ldif -etc/openldap/schema/inetorgperson.schema etc/openldap/schema/inetorgperson.ldif -etc/openldap/schema/dyngroup.schema etc/openldap/schema/dyngroup.ldif -etc/openldap/schema/duaconf.schema etc/openldap/schema/duaconf.ldif -etc/openldap/schema/cosine.schema etc/openldap/schema/cosine.ldif -etc/openldap/schema/core.schema etc/openldap/schema/core.ldif -etc/openldap/schema/corba.schema etc/openldap/schema/corba.ldif -etc/openldap/schema/collective.schema etc/openldap/schema/collective.ldif etc/openldap/schema/README etc/openldap/DB_CONFIG.example --- openldap24-server.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207312225.q6VMPOpk092969>