Debian Codegraph @

debian/patches/disable_netgroups

raw
1 Description: disable support for NIS netgroups
2 This allows to stop linking the library with libnsl and its dependencies.
3 Author: Marco d'Itri <[email protected]>
4 Bug-Debian: http://bugs.debian.org/1068311
5
6 --- a/Makefile
7 +++ b/Makefile
8 @@ -150,8 +150,8 @@ netbsd:
9
10 linux:
11 @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
12 - LIBS=-lnsl RANLIB=ranlib ARFLAGS=rv AUX_OBJ=weak_symbols.o \
13 - NETGROUP="-DNETGROUP" TLI= VSYSLOG= BUGS= \
14 + LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ=weak_symbols.o \
15 + NETGROUP= TLI= VSYSLOG= BUGS= \
16 EXTRA_CFLAGS="-DSYS_ERRLIST_DEFINED -DHAVE_STRERROR -DHAVE_WEAKSYMS -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len" all
17
18 musl:
19 @@ -162,8 +162,8 @@ musl:
20
21 gnu:
22 @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
23 - LIBS=-lnsl RANLIB=ranlib ARFLAGS=rv AUX_OBJ=weak_symbols.o \
24 - NETGROUP=-DNETGROUP TLI= VSYSLOG= BUGS= \
25 + LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ=weak_symbols.o \
26 + NETGROUP= TLI= VSYSLOG= BUGS= \
27 EXTRA_CFLAGS="-DSYS_ERRLIST_DEFINED -DHAVE_STRERROR -DINET6=1 -DHAVE_WEAKSYMS -D_REENTRANT" all
28
29 # This is good for many SYSV+BSD hybrids with NIS, probably also for HP-UX 7.x.
30 --- a/hosts_access.5
31 +++ b/hosts_access.5
32 @@ -83,6 +83,8 @@ A string that begins with an `@\' charac
33 (formerly YP) netgroup name. A host name is matched if it is a host
34 member of the specified netgroup. Netgroup matches are not supported
35 for daemon process names or for client user names.
36 +On Debian systems, support for NIS netgroups has been disabled since
37 +package version 7.6.q-33.
38 .IP \(bu
39 An expression of the form `n.n.n.n/m.m.m.m\' is interpreted as a
40 `net/mask\' pair. An IPv4 host address is matched if `net\' is equal to the