FreeBSD Bugzilla – Attachment 102197 Details for
Bug 141931
Update net/nss_ldap to latest version (& adopt)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
nss_ldap.PATCH2.txt
nss_ldap.PATCH2.txt (text/plain), 4.71 KB, created by
mikeg
on 2010-01-13 04:35:53 UTC
(
hide
)
Description:
nss_ldap.PATCH2.txt
Filename:
MIME Type:
Creator:
mikeg
Created:
2010-01-13 04:35:53 UTC
Size:
4.71 KB
patch
obsolete
>diff -ruN nss_ldap/Makefile nss_ldap/Makefile >--- nss_ldap/Makefile 2010-01-12 23:17:21.000000000 -0500 >+++ nss_ldap/Makefile 2010-01-12 23:13:21.000000000 -0500 >@@ -12,10 +12,10 @@ > MASTER_SITES= http://www.padl.com/download/ > DISTNAME= ${PORTNAME}-${NSS_LDAP_VERSION} > >-MAINTAINER= ports@FreeBSD.org >+MAINTAINER= mikeg@bsd-box.net > COMMENT= RFC 2307 NSS module > >-NSS_LDAP_VERSION=264 >+NSS_LDAP_VERSION=265 > > GNU_CONFIGURE= yes > USE_GMAKE= yes >diff -ruN nss_ldap/distinfo nss_ldap/distinfo >--- nss_ldap/distinfo 2010-01-12 23:17:21.000000000 -0500 >+++ nss_ldap/distinfo 2010-01-12 23:13:21.000000000 -0500 >@@ -1,3 +1,3 @@ >-MD5 (nss_ldap-264.tar.gz) = eebab40c6ce2f54e5c377b4895c0c93a >-SHA256 (nss_ldap-264.tar.gz) = 556198f2774bdb61a597da3fa8a5ecc80a3271ed9ab177760df7c4f22d6b1d25 >-SIZE (nss_ldap-264.tar.gz) = 278134 >+MD5 (nss_ldap-265.tar.gz) = c1cb02d1a85538cf16bca6f6a562abe4 >+SHA256 (nss_ldap-265.tar.gz) = 77b54d905f50d774f28d5559d49126f1bc76720f741b0864a64bb4936ec226a8 >+SIZE (nss_ldap-265.tar.gz) = 280976 >diff -ruN nss_ldap/files/patch-Makefile.am nss_ldap/files/patch-Makefile.am >--- nss_ldap/files/patch-Makefile.am 2010-01-12 23:17:21.000000000 -0500 >+++ nss_ldap/files/patch-Makefile.am 2010-01-12 23:25:33.000000000 -0500 >@@ -1,5 +1,5 @@ >---- Makefile.am.orig 2007-10-29 06:30:12.000000000 -0700 >-+++ Makefile.am 2008-09-26 20:44:49.000000000 -0700 >+--- Makefile.am.orig 2009-11-06 05:28:08.000000000 -0500 >++++ Makefile.am 2010-01-12 23:24:17.000000000 -0500 > @@ -9,8 +9,12 @@ > if AIX > INST_GID=system >@@ -13,23 +13,16 @@ > > EXTRA_DIST = CVSVersionInfo.txt ChangeLog \ > AUTHORS ANNOUNCE NEWS INSTALL README LICENSE.OpenLDAP COPYING\ >-@@ -18,11 +22,10 @@ >- >- man_MANS = nss_ldap.5 >- >--nss_ldap_so_SOURCES = ldap-nss.c ldap-pwd.c ldap-grp.c ldap-netgrp.c ldap-rpc.c \ >-- ldap-hosts.c ldap-network.c ldap-proto.c ldap-spwd.c \ >-- ldap-alias.c ldap-service.c ldap-schema.c ldap-ethers.c \ >-- ldap-bp.c ldap-automount.c util.c ltf.c snprintf.c resolve.c \ >-- dnsconfig.c irs-nss.c pagectrl.c ldap-sldap.c ldap-init-krb5-cache.c >-+nss_ldap_so_SOURCES = \ >-+ ldap-nss.c ldap-pwd.c ldap-grp.c ldap-hosts.c ldap-schema.c \ >-+ util.c ltf.c snprintf.c resolve.c dnsconfig.c irs-nss.c pagectrl.c \ >-+ ldap-init-krb5-cache.c bsdnss.c >+@@ -23,7 +27,7 @@ >+ ldap-alias.c ldap-service.c ldap-schema.c ldap-ethers.c \ >+ ldap-bp.c ldap-automount.c util.c ltf.c snprintf.c resolve.c \ >+ dnsconfig.c irs-nss.c pagectrl.c ldap-sldap.c ldap-init-krb5-cache.c \ >+- vers.c >++ vers.c bsdnss.c > > nss_ldap_so_LDFLAGS = @nss_ldap_so_LDFLAGS@ > >-@@ -102,7 +105,6 @@ >+@@ -103,11 +107,10 @@ > $(mkinstalldirs) $(DESTDIR)$(dir $(NSS_LDAP_PATH_CONF)); \ > $(INSTALL_DATA) -o $(INST_UID) -g $(INST_GID) $(srcdir)/ldap.conf $(DESTDIR)$(NSS_LDAP_PATH_CONF); \ > fi >@@ -37,3 +30,8 @@ > > uninstall-local: > @$(NORMAL_UNINSTALL) >+ >+ vers.c: $(top_srcdir)/CVSVersionInfo.txt >+- CVSVERSIONDIR=$(top_srcdir) vers_string -v >++ $(top_srcdir)/vers_string -v >+ >diff -ruN nss_ldap/files/patch-ldap-ethers.c nss_ldap/files/patch-ldap-ethers.c >--- nss_ldap/files/patch-ldap-ethers.c 1969-12-31 19:00:00.000000000 -0500 >+++ nss_ldap/files/patch-ldap-ethers.c 2010-01-12 23:13:21.000000000 -0500 >@@ -0,0 +1,32 @@ >+--- ldap-ethers.c.orig 2009-11-06 10:28:08.000000000 +0000 >++++ ldap-ethers.c 2009-12-23 17:01:14.000000000 +0000 >+@@ -217,9 +217,9 @@ >+ } >+ >+ snprintf(fullmac, sizeof(fullmac), "%02x:%02x:%02x:%02x:%02x:%02x", >+- addr->ether_addr_octet[0], addr->ether_addr_octet[1], >+- addr->ether_addr_octet[2], addr->ether_addr_octet[3], >+- addr->ether_addr_octet[4], addr->ether_addr_octet[5]); >++ addr->octet[0], addr->octet[1], >++ addr->octet[2], addr->octet[3], >++ addr->octet[4], addr->octet[5]); >+ >+ LA_INIT(a); >+ LA_STRING(a) = ether_ntoa(addr); >+@@ -343,14 +343,14 @@ >+ if (i != 6) >+ return NULL; >+ for (i = 0; i < 6; i++) >+- ep.ether_addr_octet[i] = t[i]; >++ ep.octet[i] = t[i]; >+ >+ return &ep; >+ } >+ #endif /* !HAVE_ETHER_ATON */ >+ >+ #ifndef HAVE_ETHER_NTOA >+-#define EI(i) (unsigned int)(e->ether_addr_octet[(i)]) >++#define EI(i) (unsigned int)(e->octet[(i)]) >+ static char *ether_ntoa (const struct ether_addr *e) >+ { >+ static char s[18]; >diff -ruN nss_ldap/files/patch-ldap-ethers.h nss_ldap/files/patch-ldap-ethers.h >--- nss_ldap/files/patch-ldap-ethers.h 1969-12-31 19:00:00.000000000 -0500 >+++ nss_ldap/files/patch-ldap-ethers.h 2010-01-12 23:13:21.000000000 -0500 >@@ -0,0 +1,11 @@ >+--- ldap-ethers.h.orig 2009-11-06 10:28:08.000000000 +0000 >++++ ldap-ethers.h 2009-12-23 17:02:06.000000000 +0000 >+@@ -32,7 +32,7 @@ >+ >+ #ifndef HAVE_STRUCT_ETHER_ADDR >+ struct ether_addr { >+- u_char ether_addr_octet[6]; >++ u_char octet[6]; >+ }; >+ #endif >+
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 Raw
Actions:
View
Attachments on
bug 141931
:
102196
| 102197 |
102198
|
102199