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

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