Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Mar 2017 02:55:24 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r436118 - in head/security: krb5-113 krb5-114 krb5-115
Message-ID:  <201703140255.v2E2tOkb091503@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Tue Mar 14 02:55:24 2017
New Revision: 436118
URL: https://svnweb.freebsd.org/changeset/ports/436118

Log:
  Install LDIF and schema files if LDAP is enabled
  
  PR:		217552
  Submitted by:	John W. O'brien <john@saltant.com>
  Differential Revision:	D9889

Modified:
  head/security/krb5-113/Makefile
  head/security/krb5-113/pkg-plist
  head/security/krb5-114/Makefile
  head/security/krb5-114/pkg-plist
  head/security/krb5-115/Makefile
  head/security/krb5-115/pkg-plist

Modified: head/security/krb5-113/Makefile
==============================================================================
--- head/security/krb5-113/Makefile	Tue Mar 14 02:51:37 2017	(r436117)
+++ head/security/krb5-113/Makefile	Tue Mar 14 02:55:24 2017	(r436118)
@@ -3,7 +3,7 @@
 
 PORTNAME=		krb5
 PORTVERSION=		1.13.7
-PORTREVISION=		3
+PORTREVISION=		5
 CATEGORIES=		security
 MASTER_SITES=		http://web.mit.edu/kerberos/dist/${PORTNAME}/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/
 .if !defined(MASTERDIR)
@@ -147,4 +147,11 @@ post-install:
 	@${SED} "s%\${PREFIX}%${PREFIX}%" ${FILESDIR}/README.FreeBSD > ${STAGEDIR}${PREFIX}/share/doc/krb5/README.FreeBSD
 	@${CHMOD} 444 ${STAGEDIR}${PREFIX}/share/doc/krb5/README.FreeBSD
 
+post-install-LDAP-on:
+	${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema \
+		${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/plugins/kdb/ldap/libkdb_ldap/kerberos.ldif \
+		${STAGEDIR}${DATADIR}
+
 .include <bsd.port.mk>

Modified: head/security/krb5-113/pkg-plist
==============================================================================
--- head/security/krb5-113/pkg-plist	Tue Mar 14 02:51:37 2017	(r436117)
+++ head/security/krb5-113/pkg-plist	Tue Mar 14 02:55:24 2017	(r436118)
@@ -163,6 +163,8 @@ share/examples/krb5/kdc.conf
 share/examples/krb5/krb5.conf
 share/examples/krb5/services.append
 share/locale/en_US/LC_MESSAGES/mit-krb5.mo
+%%LDAP%%%%DATADIR%%/kerberos.schema
+%%LDAP%%%%DATADIR%%/kerberos.ldif
 @dir lib/krb5/plugins/authdata
 @dir lib/krb5/plugins/libkrb5
 @dir var/run/krb5kdc

Modified: head/security/krb5-114/Makefile
==============================================================================
--- head/security/krb5-114/Makefile	Tue Mar 14 02:51:37 2017	(r436117)
+++ head/security/krb5-114/Makefile	Tue Mar 14 02:55:24 2017	(r436118)
@@ -3,7 +3,7 @@
 
 PORTNAME=		krb5
 PORTVERSION=		1.14.5
-PORTREVISION=		2
+PORTREVISION=		3
 CATEGORIES=		security
 MASTER_SITES=		http://web.mit.edu/kerberos/dist/${PORTNAME}/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/
 .if !defined(MASTERDIR)
@@ -145,4 +145,11 @@ post-install:
 	@${SED} "s%\${PREFIX}%${PREFIX}%" ${FILESDIR}/README.FreeBSD > ${STAGEDIR}${PREFIX}/share/doc/krb5/README.FreeBSD
 	@${CHMOD} 444 ${STAGEDIR}${PREFIX}/share/doc/krb5/README.FreeBSD
 
+post-install-LDAP-on:
+	${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema \
+		${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/plugins/kdb/ldap/libkdb_ldap/kerberos.ldif \
+		${STAGEDIR}${DATADIR}
+
 .include <bsd.port.mk>

Modified: head/security/krb5-114/pkg-plist
==============================================================================
--- head/security/krb5-114/pkg-plist	Tue Mar 14 02:51:37 2017	(r436117)
+++ head/security/krb5-114/pkg-plist	Tue Mar 14 02:55:24 2017	(r436118)
@@ -164,6 +164,8 @@ share/examples/krb5/kdc.conf
 share/examples/krb5/krb5.conf
 share/examples/krb5/services.append
 share/locale/en_US/LC_MESSAGES/mit-krb5.mo
+%%LDAP%%%%DATADIR%%/kerberos.schema
+%%LDAP%%%%DATADIR%%/kerberos.ldif
 @dir lib/krb5/plugins/authdata
 @dir lib/krb5/plugins/libkrb5
 @dir var/run/krb5kdc

Modified: head/security/krb5-115/Makefile
==============================================================================
--- head/security/krb5-115/Makefile	Tue Mar 14 02:51:37 2017	(r436117)
+++ head/security/krb5-115/Makefile	Tue Mar 14 02:55:24 2017	(r436118)
@@ -3,7 +3,7 @@
 
 PORTNAME=		krb5
 PORTVERSION=		1.15.1
-PORTREVISION=		2
+PORTREVISION=		3
 CATEGORIES=		security
 MASTER_SITES=		http://web.mit.edu/kerberos/dist/${PORTNAME}/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/
 .if !defined(MASTERDIR)
@@ -148,4 +148,11 @@ post-install:
 	@${SED} "s%\${PREFIX}%${PREFIX}%" ${FILESDIR}/README.FreeBSD > ${STAGEDIR}${PREFIX}/share/doc/krb5/README.FreeBSD
 	@${CHMOD} 444 ${STAGEDIR}${PREFIX}/share/doc/krb5/README.FreeBSD
 
+post-install-LDAP-on:
+	${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema \
+		${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/plugins/kdb/ldap/libkdb_ldap/kerberos.ldif \
+		${STAGEDIR}${DATADIR}
+
 .include <bsd.port.post.mk>

Modified: head/security/krb5-115/pkg-plist
==============================================================================
--- head/security/krb5-115/pkg-plist	Tue Mar 14 02:51:37 2017	(r436117)
+++ head/security/krb5-115/pkg-plist	Tue Mar 14 02:55:24 2017	(r436118)
@@ -164,6 +164,8 @@ share/examples/krb5/kdc.conf
 share/examples/krb5/krb5.conf
 share/examples/krb5/services.append
 share/locale/en_US/LC_MESSAGES/mit-krb5.mo
+%%LDAP%%%%DATADIR%%/kerberos.schema
+%%LDAP%%%%DATADIR%%/kerberos.ldif
 @dir lib/krb5/plugins/authdata
 @dir lib/krb5/plugins/libkrb5
 @dir var/run/krb5kdc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703140255.v2E2tOkb091503>