summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2008-04-01 15:37:27 +0000
committerChris PeBenito <pebenito@gentoo.org>2008-04-01 15:37:27 +0000
commitba94300eede0d32b238acf8350b7e588b8935b05 (patch)
tree878632be1e50683ea96f3012054c60891ec685ff /net-misc/openssh/files
parentVersion bump (diff)
downloadgentoo-2-ba94300eede0d32b238acf8350b7e588b8935b05.tar.gz
gentoo-2-ba94300eede0d32b238acf8350b7e588b8935b05.tar.bz2
gentoo-2-ba94300eede0d32b238acf8350b7e588b8935b05.zip
fix bug #191665, in selinux portion of configure script.
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-misc/openssh/files')
-rw-r--r--net-misc/openssh/files/openssh-4.7p1-selinux.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-misc/openssh/files/openssh-4.7p1-selinux.diff b/net-misc/openssh/files/openssh-4.7p1-selinux.diff
new file mode 100644
index 000000000000..f1c5c8723a5a
--- /dev/null
+++ b/net-misc/openssh/files/openssh-4.7p1-selinux.diff
@@ -0,0 +1,11 @@
+diff -purN openssh-4.7p1.orig/configure.ac openssh-4.7p1/configure.ac
+--- openssh-4.7p1.orig/configure.ac 2007-08-10 00:36:12.000000000 -0400
++++ openssh-4.7p1/configure.ac 2008-03-31 19:38:54.548935620 -0400
+@@ -3211,6 +3211,7 @@ AC_ARG_WITH(selinux,
+ AC_CHECK_LIB(selinux, setexeccon, [ LIBSELINUX="-lselinux" ],
+ AC_MSG_ERROR(SELinux support requires libselinux library))
+ SSHDLIBS="$SSHDLIBS $LIBSELINUX"
++ LIBS="$LIBS $LIBSELINUX"
+ AC_CHECK_FUNCS(getseuserbyname get_default_context_with_level)
+ LIBS="$save_LIBS"
+ fi ]