[vsftpd] update to 3.0.2.
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-daemon / vsftpd / vsftpd-3.0.2 / makefile-libs.patch
diff --git a/meta-openvuplus/recipes-daemon/vsftpd/vsftpd-3.0.2/makefile-libs.patch b/meta-openvuplus/recipes-daemon/vsftpd/vsftpd-3.0.2/makefile-libs.patch
new file mode 100644 (file)
index 0000000..9a10f72
--- /dev/null
@@ -0,0 +1,21 @@
+Hardcode LIBS instead of using a script to determine available libs
+
+We want to avoid this dynamic detection so we have a deterministic
+build.
+
+Upstream-Status: Inappropriate [config]
+
+Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
+
+diff --git a/Makefile b/Makefile
+--- a/Makefile
++++ b/Makefile
+@@ -5,7 +5,7 @@
+ #CFLAGS = -g
+ CFLAGS        =       -O2 -Wall -W -Wshadow #-pedantic -Werror -Wconversion
+-LIBS  =       `./vsf_findlibs.sh`
++LIBS  =       -lssl -lcrypto -lnsl -lresolv
+ LINK  =       -Wl,-s
+ OBJS  =       main.o utility.o prelogin.o ftpcmdio.o postlogin.o privsock.o \