Blame SOURCES/0047-Disable-tcp_wrappers-support.patch

ab00cd
From b383ec42bb750419fea102fccf36af5216145eb2 Mon Sep 17 00:00:00 2001
ab00cd
From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= <olysonek@redhat.com>
ab00cd
Date: Fri, 5 Jan 2018 09:17:13 +0100
ab00cd
Subject: [PATCH 47/59] Disable tcp_wrappers support
ab00cd
ab00cd
Resolves: rhbz#1518796
ab00cd
---
ab00cd
 Makefile    | 2 +-
ab00cd
 builddefs.h | 1 -
ab00cd
 vsftpd.conf | 1 -
ab00cd
 3 files changed, 1 insertion(+), 3 deletions(-)
ab00cd
ab00cd
diff --git a/Makefile b/Makefile
ab00cd
index 98118dc..612994e 100644
ab00cd
--- a/Makefile
ab00cd
+++ b/Makefile
ab00cd
@@ -8,7 +8,7 @@ CFLAGS	=	-O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 \
ab00cd
 	-D_FORTIFY_SOURCE=2 \
ab00cd
 	#-pedantic -Wconversion
ab00cd
 
ab00cd
-LIBS	=	-lwrap -lnsl -lpam -lcap -ldl -lcrypto
ab00cd
+LIBS	=	-lnsl -lpam -lcap -ldl -lcrypto
ab00cd
 LINK	=	-Wl,-s
ab00cd
 LDFLAGS	=	-fPIE -pie -Wl,-z,relro -Wl,-z,now
ab00cd
 
ab00cd
diff --git a/builddefs.h b/builddefs.h
ab00cd
index 83de674..2aa3a4c 100644
ab00cd
--- a/builddefs.h
ab00cd
+++ b/builddefs.h
ab00cd
@@ -1,7 +1,6 @@
ab00cd
 #ifndef VSF_BUILDDEFS_H
ab00cd
 #define VSF_BUILDDEFS_H
ab00cd
 
ab00cd
-#define VSF_BUILD_TCPWRAPPERS
ab00cd
 #define VSF_BUILD_PAM
ab00cd
 #define VSF_BUILD_SSL
ab00cd
 
ab00cd
diff --git a/vsftpd.conf b/vsftpd.conf
ab00cd
index e70bc6d..6b8eebb 100644
ab00cd
--- a/vsftpd.conf
ab00cd
+++ b/vsftpd.conf
ab00cd
@@ -125,4 +125,3 @@ listen_ipv6=YES
ab00cd
 
ab00cd
 pam_service_name=vsftpd
ab00cd
 userlist_enable=YES
ab00cd
-tcp_wrappers=YES
ab00cd
-- 
ab00cd
2.14.4
ab00cd