contrib: Add nssswitch.conf as used by the Gentoo ebuild.
authorng0 <ng0@infotropique.org>
Thu, 7 Sep 2017 22:22:18 +0000 (22:22 +0000)
committerng0 <ng0@infotropique.org>
Thu, 7 Sep 2017 22:22:18 +0000 (22:22 +0000)
https://gnunet.org/git/youbroketheinternet-overlay.git/commit/?id=049ab14cb32bdc0cdfd57282d31ee475b0ab8680

contrib/Makefile.am
contrib/nssswitch.conf [new file with mode: 0644]

index 9ce4b019d8c12c0597145b601c413276445562a7..07cff424c04405bd9ea9dce8a38e3eb5ad7555b8 100644 (file)
@@ -48,6 +48,7 @@ EXTRA_DIST = \
  no_forcestart.conf \
  no_autostart_above_core.conf \
  coverage.sh \
+ nssswitch.conf \
  report.sh \
  terminate.py.in \
  gnunet_pyexpect.py.in \
diff --git a/contrib/nssswitch.conf b/contrib/nssswitch.conf
new file mode 100644 (file)
index 0000000..89af647
--- /dev/null
@@ -0,0 +1,25 @@
+# /etc/nsswitch.conf
+# Modified to support GNUnet's GNS (.gnu, .zkey etc)
+# Compare with your distributions' "nsswitch.conf" file.
+
+passwd:      compat
+shadow:      compat
+group:       compat
+
+# passwd:    db files nis
+# shadow:    db files nis
+# group:     db files nis
+
+hosts:       files gns [NOTFOUND=return] dns
+networks:    files dns
+
+services:    db files
+protocols:   db files
+rpc:         db files
+ethers:      db files
+netmasks:    files
+netgroup:    files
+bootparams:  files
+
+automount:   files
+aliases:     files
\ No newline at end of file