summaryrefslogtreecommitdiffstats
path: root/lib/libwrap
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libwrap')
-rw-r--r--lib/libwrap/Makefile31
-rw-r--r--lib/libwrap/libvars.c2
2 files changed, 33 insertions, 0 deletions
diff --git a/lib/libwrap/Makefile b/lib/libwrap/Makefile
new file mode 100644
index 0000000..8c5c899
--- /dev/null
+++ b/lib/libwrap/Makefile
@@ -0,0 +1,31 @@
+#
+# $FreeBSD$
+#
+
+MAINTAINER=markm@FreeBSD.org
+
+LIB= wrap
+SHLIB_MAJOR= 3
+INCS= tcpd.h
+MAN= hosts_access.3
+MAN+= hosts_access.5 hosts_options.5
+MLINKS= hosts_access.3 hosts_ctl.3 hosts_access.3 request_init.3 \
+ hosts_access.3 request_set.3
+
+.PATH: ${.CURDIR}/../../contrib/tcp_wrappers
+
+CFLAGS+=-DFACILITY=LOG_AUTH -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 \
+ -DREAL_DAEMON_DIR=\"/usr/libexec\" -DPROCESS_OPTIONS \
+ -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 \
+ -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" \
+ -DSYS_ERRLIST_DEFINED -DALWAYS_HOSTNAME -DUSE_STRSEP
+.if !defined(NOINET6)
+CFLAGS+=-DINET6
+.endif
+
+SRCS= clean_exit.c diag.c eval.c fix_options.c fromhost.c \
+ hosts_access.c hosts_ctl.c misc.c myvsyslog.c options.c \
+ percent_m.c percent_x.c refuse.c rfc931.c shell_cmd.c \
+ socket.c tli.c update.c workarounds.c libvars.c
+
+.include <bsd.lib.mk>
diff --git a/lib/libwrap/libvars.c b/lib/libwrap/libvars.c
new file mode 100644
index 0000000..5935c83
--- /dev/null
+++ b/lib/libwrap/libvars.c
@@ -0,0 +1,2 @@
+int allow_severity;
+int deny_severity;
OpenPOWER on IntegriCloud