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