public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/google/grte/v5-2.27/master] Update build process to create libnsl stub
@ 2021-08-28  0:37 Fangrui Song
  0 siblings, 0 replies; 2+ messages in thread
From: Fangrui Song @ 2021-08-28  0:37 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=bd1e10723b0096d493ed0a4678834c5358bcabd7

commit bd1e10723b0096d493ed0a4678834c5358bcabd7
Author: Stan Shebs <stanshebs@google.com>
Date:   Tue Nov 3 13:30:16 2020 -0800

    Update build process to create libnsl stub

Diff:
---
 Makeconfig                     | 2 +-
 google-nsl-stub/shlib-versions | 2 +-
 nis/Makefile                   | 3 ++-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/Makeconfig b/Makeconfig
index f5cd92014f..c1a395a105 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -1248,7 +1248,7 @@ all-subdirs = csu assert ctype locale intl catgets math setjmp signal	    \
 	      grp pwd posix io termios resource misc socket sysvipc gmon    \
 	      gnulib iconv iconvdata wctype manual shadow gshadow po argp   \
 	      crypt localedata timezone rt conform debug mathvec support    \
-	      dlfcn elf
+	      dlfcn elf google-nsl-stub
 
 ifndef avoid-generated
 # sysd-sorted itself will contain rules making the sysd-sorted target
diff --git a/google-nsl-stub/shlib-versions b/google-nsl-stub/shlib-versions
index ca13c8c1f6..1c88e0caa8 100644
--- a/google-nsl-stub/shlib-versions
+++ b/google-nsl-stub/shlib-versions
@@ -1 +1 @@
-.*-.*-.*	libnsl=1
+libnsl=1
diff --git a/nis/Makefile b/nis/Makefile
index d77c6e0c8e..1f8f153ed4 100644
--- a/nis/Makefile
+++ b/nis/Makefile
@@ -34,7 +34,8 @@ databases		= proto service hosts network grp pwd rpc ethers \
 services		:= nis nisplus
 endif
 
-extra-libs		= libnsl
+# Suppress regular libnsl build in favor of the stub in google-nsl-stub.
+#extra-libs		= libnsl
 ifeq ($(build-obsolete-nsl),yes)
 extra-libs += $(services:%=libnss_%)
 endif


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [glibc/google/grte/v5-2.27/master] Update build process to create libnsl stub
@ 2020-11-03 21:43 Stan Shebs
  0 siblings, 0 replies; 2+ messages in thread
From: Stan Shebs @ 2020-11-03 21:43 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c7c6fb593624e447c4329fb64ef6f6fd00d9ea5f

commit c7c6fb593624e447c4329fb64ef6f6fd00d9ea5f
Author: Stan Shebs <stanshebs@google.com>
Date:   Tue Nov 3 13:30:16 2020 -0800

    Update build process to create libnsl stub

Diff:
---
 Makeconfig                     | 2 +-
 google-nsl-stub/shlib-versions | 2 +-
 nis/Makefile                   | 3 ++-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/Makeconfig b/Makeconfig
index f5cd92014f..c1a395a105 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -1248,7 +1248,7 @@ all-subdirs = csu assert ctype locale intl catgets math setjmp signal	    \
 	      grp pwd posix io termios resource misc socket sysvipc gmon    \
 	      gnulib iconv iconvdata wctype manual shadow gshadow po argp   \
 	      crypt localedata timezone rt conform debug mathvec support    \
-	      dlfcn elf
+	      dlfcn elf google-nsl-stub
 
 ifndef avoid-generated
 # sysd-sorted itself will contain rules making the sysd-sorted target
diff --git a/google-nsl-stub/shlib-versions b/google-nsl-stub/shlib-versions
index ca13c8c1f6..1c88e0caa8 100644
--- a/google-nsl-stub/shlib-versions
+++ b/google-nsl-stub/shlib-versions
@@ -1 +1 @@
-.*-.*-.*	libnsl=1
+libnsl=1
diff --git a/nis/Makefile b/nis/Makefile
index d77c6e0c8e..1f8f153ed4 100644
--- a/nis/Makefile
+++ b/nis/Makefile
@@ -34,7 +34,8 @@ databases		= proto service hosts network grp pwd rpc ethers \
 services		:= nis nisplus
 endif
 
-extra-libs		= libnsl
+# Suppress regular libnsl build in favor of the stub in google-nsl-stub.
+#extra-libs		= libnsl
 ifeq ($(build-obsolete-nsl),yes)
 extra-libs += $(services:%=libnss_%)
 endif


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-28  0:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-28  0:37 [glibc/google/grte/v5-2.27/master] Update build process to create libnsl stub Fangrui Song
  -- strict thread matches above, loose matches on Subject: below --
2020-11-03 21:43 Stan Shebs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).