FreeBSD Bugzilla – Attachment 108101 Details for
Bug 148925
[PATCH] net/nss_ldap: Use $SUB_FILES instead of invoking sed manually
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
nss_ldap-1.265_3.patch
nss_ldap-1.265_3.patch (text/plain), 2.78 KB, created by
Sevan Janiyan
on 2010-07-25 13:30:04 UTC
(
hide
)
Description:
nss_ldap-1.265_3.patch
Filename:
MIME Type:
Creator:
Sevan Janiyan
Created:
2010-07-25 13:30:04 UTC
Size:
2.78 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/ncvs/ports/net/nss_ldap/Makefile,v >retrieving revision 1.33 >diff -u -u -r1.33 Makefile >--- Makefile 18 Jan 2010 03:43:56 -0000 1.33 >+++ Makefile 25 Jul 2010 12:14:50 -0000 >@@ -23,7 +23,7 @@ > USE_LDCONFIG= yes > USE_OPENLDAP= yes > >-OPTIONS= LCLASS "Enable login classes via the loginClass attribute" on >+OPTIONS= LCLASS "Enable login classes via the loginClass attribute" on > > PLIST_FILES= etc/nss_ldap.conf.sample \ > lib/nss_ldap.so.1 >@@ -38,6 +38,8 @@ > > MAN5= nss_ldap.5 > >+SUB_FILES= pkg-message >+ > .include <bsd.port.pre.mk> > .if !defined(WITHOUT_KERBEROS) > CONFIGURE_ARGS+=--enable-configurable-krb5-ccname-env >@@ -56,6 +58,10 @@ > @${REINPLACE_CMD} 's,/etc/ldap.,${PREFIX}/etc/nss_ldap.,g' \ > ${WRKSRC}/${MAN5} > ${INSTALL_MAN} ${WRKSRC}/${MAN5} ${MAN5PREFIX}/man/man5 >- ${SED} -e "s,%%PREFIX%%,${PREFIX},g" ${PKGMESSAGE} >+ >+post-install: >+.if !defined(PACKAGE_BUILDING) >+ @${CAT} ${PKGMESSAGE} >+.endif > > .include <bsd.port.post.mk> >Index: pkg-message >=================================================================== >RCS file: pkg-message >diff -N pkg-message >--- pkg-message 8 Jan 2004 14:28:35 -0000 1.1 >+++ /dev/null 1 Jan 1970 00:00:00 -0000 >@@ -1,15 +0,0 @@ >-===================================================================== >-The nss_ldap module expects to find its configuration files at the >-following paths: >- >-LDAP configuration: %%PREFIX%%/etc/nss_ldap.conf >-LDAP secret (optional): %%PREFIX%%/etc/nss_ldap.secret >- >- >-WARNING: For users of previous versions of this port: >-WARNING: >-WARNING: Previous versions of this port expected configuration files >-WARNING: to be located at /etc/ldap.conf and /etc/ldap.secret. You >-WARNING: may need to move these configuration files to their new >-WARNING: location specified above. >-===================================================================== >Index: files/pkg-message.in >=================================================================== >RCS file: files/pkg-message.in >diff -N files/pkg-message.in >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ files/pkg-message.in 25 Jul 2010 12:14:50 -0000 >@@ -0,0 +1,15 @@ >+===================================================================== >+The nss_ldap module expects to find its configuration files at the >+following paths: >+ >+LDAP configuration: %%PREFIX%%/etc/nss_ldap.conf >+LDAP secret (optional): %%PREFIX%%/etc/nss_ldap.secret >+ >+ >+WARNING: For users of previous versions of this port: >+WARNING: >+WARNING: Previous versions of this port expected configuration files >+WARNING: to be located at /etc/ldap.conf and /etc/ldap.secret. You >+WARNING: may need to move these configuration files to their new >+WARNING: location specified above. >+=====================================================================
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 148925
: 108101