summaryrefslogtreecommitdiff
path: root/packages/nis/files
diff options
context:
space:
mode:
Diffstat (limited to 'packages/nis/files')
-rw-r--r--packages/nis/files/.mtn2git_empty0
-rw-r--r--packages/nis/files/libdl.patch12
-rw-r--r--packages/nis/files/no-selinux.patch16
3 files changed, 28 insertions, 0 deletions
diff --git a/packages/nis/files/.mtn2git_empty b/packages/nis/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/nis/files/.mtn2git_empty
diff --git a/packages/nis/files/libdl.patch b/packages/nis/files/libdl.patch
index e69de29bb2..605af319f9 100644
--- a/packages/nis/files/libdl.patch
+++ b/packages/nis/files/libdl.patch
@@ -0,0 +1,12 @@
+--- pwdutils-2.6/configure.in.orig 2005-04-19 20:22:36.603052192 -0700
++++ pwdutils-2.6/configure.in 2005-04-19 21:09:45.308023672 -0700
+@@ -178,6 +178,9 @@
+ AC_CHECK_LIB(ldap, main, LDAP_LIBS="-lldap $LDAP_LIBS" found_ldap_lib=yes,,$LDAP_LIBS)
+ fi
+
++ dnl this always needs dl
++ AC_CHECK_LIB(dl, dlopen, LDAP_LIBS="$LDAP_LIBS -ldl")
++
+ if test -z "$found_ldap_lib" -a \( $with_ldap_lib = auto -o $with_ldap_lib = netscape5 \); then
+ AC_CHECK_LIB(ldap50, main, LDAP_LIBS="-lldap50 -lssldap50 -lssl3 -lnss3 -lnspr4 -lprldap50 -lplc4 -lplds4" found_ldap_lib=yes need_pthread=true,, -lpthread)
+ fi
diff --git a/packages/nis/files/no-selinux.patch b/packages/nis/files/no-selinux.patch
index e69de29bb2..71da3e3931 100644
--- a/packages/nis/files/no-selinux.patch
+++ b/packages/nis/files/no-selinux.patch
@@ -0,0 +1,16 @@
+--- pwdutils-2.6/lib/copy_xattr.c.orig 2005-04-16 17:15:52.916660880 -0700
++++ pwdutils-2.6/lib/copy_xattr.c 2005-04-16 17:18:10.345768480 -0700
+@@ -127,8 +127,11 @@
+
+ if (lsetxattr (to, name, value, size, 0) != 0)
+ {
+- if (strcmp (name, "security.selinux") == 0 &&
+- is_selinux_enabled() == 0)
++ if (strcmp (name, "security.selinux") == 0
++#if defined(WITH_SELINUX)
++ && is_selinux_enabled() == 0
++#endif
++ )
+ fprintf (stderr,
+ _("SELinux not enabled, ignore attribute %s for `%s'.\n"),
+ name, to);