summaryrefslogtreecommitdiff
path: root/system/sudo/libcrypt.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-20 22:01:10 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-20 22:01:10 -0600
commit0007a6ccd7d5975b19c9033eb7bc2ce3aa98f35b (patch)
tree114e3144b06ed49b8a131872836d222f7b68a259 /system/sudo/libcrypt.patch
parent6d7203982c05651f748825deb393eb6480c03e32 (diff)
downloadpackages-0007a6ccd7d5975b19c9033eb7bc2ce3aa98f35b.tar.gz
packages-0007a6ccd7d5975b19c9033eb7bc2ce3aa98f35b.tar.bz2
packages-0007a6ccd7d5975b19c9033eb7bc2ce3aa98f35b.tar.xz
packages-0007a6ccd7d5975b19c9033eb7bc2ce3aa98f35b.zip
system/sudo: add PAM-enabled sudo
Diffstat (limited to 'system/sudo/libcrypt.patch')
-rw-r--r--system/sudo/libcrypt.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/sudo/libcrypt.patch b/system/sudo/libcrypt.patch
new file mode 100644
index 000000000..e83b69113
--- /dev/null
+++ b/system/sudo/libcrypt.patch
@@ -0,0 +1,11 @@
+--- ./plugins/sudoers/Makefile.in.orig
++++ ./plugins/sudoers/Makefile.in
+@@ -52,7 +52,7 @@
+ LT_LIBS = $(top_builddir)/lib/util/libsudo_util.la
+ LIBS = $(LT_LIBS) @LIBINTL@
+ NET_LIBS = @NET_LIBS@
+-SUDOERS_LIBS = @SUDOERS_LIBS@ @AFS_LIBS@ @GETGROUPS_LIB@ $(LIBS) $(NET_LIBS) @ZLIB@ @LIBMD@
++SUDOERS_LIBS = @SUDOERS_LIBS@ @AFS_LIBS@ @GETGROUPS_LIB@ $(LIBS) $(NET_LIBS) @ZLIB@ @LIBMD@ -lcrypt
+ REPLAY_LIBS = @REPLAY_LIBS@ @ZLIB@
+ VISUDO_LIBS = $(NET_LIBS) @LIBMD@
+ TESTSUDOERS_LIBS = $(NET_LIBS) @LIBMD@