summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-03-24 20:07:42 +0100
committerLennart Poettering <lennart@poettering.net>2014-03-24 20:07:42 +0100
commit7f8aa67131cfc03ddcbd31c0420754864fc122f0 (patch)
tree656e59465be5daa450fa4d34dcf2cc3bf298bf93 /m4
parent1cfc57e8847ab2b138e5a8fcff4f881b3b1a9b60 (diff)
core: remove tcpwrap support
tcpwrap is legacy code, that is barely maintained upstream. It's APIs are awful, and the feature set it exposes (such as DNS and IDENT access control) questionnable. We should not support this natively in systemd. Hence, let's remove the code. If people want to continue making use of this, they can do so by plugging in "tcpd" for the processes they start. With that scheme things are as well or badly supported as they were from traditional inetd, hence no functionality is really lost.
Diffstat (limited to 'm4')
-rw-r--r--m4/acx_libwrap.m419
1 files changed, 0 insertions, 19 deletions
diff --git a/m4/acx_libwrap.m4 b/m4/acx_libwrap.m4
deleted file mode 100644
index ccf8afc0aa..0000000000
--- a/m4/acx_libwrap.m4
+++ /dev/null
@@ -1,19 +0,0 @@
-AC_DEFUN([ACX_LIBWRAP], [
-LIBWRAP_LIBS=
-saved_LIBS="$LIBS"
-LIBS="$LIBS -lwrap"
-AC_MSG_CHECKING([for tcpwrap library and headers])
-AC_LINK_IFELSE(
-[AC_LANG_PROGRAM(
-[#include <tcpd.h>
-#include <syslog.h>
-int allow_severity = LOG_INFO;
-int deny_severity = LOG_WARNING;],
-[struct request_info *req;
-return hosts_access (req);])],
-[AC_DEFINE(HAVE_LIBWRAP, [], [Have tcpwrap?])
-LIBWRAP_LIBS="-lwrap"
-AC_MSG_RESULT(yes)],
-[AC_MSG_RESULT(no)])
-LIBS="$saved_LIBS"
-])