summaryrefslogtreecommitdiffstats
path: root/debian/patches/tcpwrapper.patch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/patches/tcpwrapper.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/debian/patches/tcpwrapper.patch b/debian/patches/tcpwrapper.patch
new file mode 100644
index 0000000..f58a282
--- /dev/null
+++ b/debian/patches/tcpwrapper.patch
@@ -0,0 +1,45 @@
+From: Joerg Dorchain <joerg@dorchain.net>
+Date: Sun, 26 Aug 2012 10:10:28 +0200
+Subject: Add TCP wrapper support
+
+Bug: #685850
+
+Configuration file for TCP wrapper support.
+---
+ doc/example-config/conf.d/10-tcpwrapper.conf | 14 ++++++++++++++
+ doc/example-config/conf.d/Makefile.am | 1 +
+ 2 files changed, 15 insertions(+)
+ create mode 100644 doc/example-config/conf.d/10-tcpwrapper.conf
+
+diff --git a/doc/example-config/conf.d/10-tcpwrapper.conf b/doc/example-config/conf.d/10-tcpwrapper.conf
+new file mode 100644
+index 0000000..b237d96
+--- /dev/null
++++ b/doc/example-config/conf.d/10-tcpwrapper.conf
+@@ -0,0 +1,14 @@
++# 10-tcpwrapper.conf
++#
++# service name for hosts.{allow|deny} are those defined as
++# inet_listener in master.conf
++#
++#login_access_sockets = tcpwrap
++#
++#service tcpwrap {
++# unix_listener login/tcpwrap {
++# group = $default_login_user
++# mode = 0600
++# user = $default_login_user
++# }
++#}
+diff --git a/doc/example-config/conf.d/Makefile.am b/doc/example-config/conf.d/Makefile.am
+index 1950fd5..b78c21a 100644
+--- a/doc/example-config/conf.d/Makefile.am
++++ b/doc/example-config/conf.d/Makefile.am
+@@ -18,6 +18,7 @@ example_DATA = \
+ 10-master.conf \
+ 10-metrics.conf \
+ 10-ssl.conf \
++ 10-tcpwrapper.conf \
+ 15-lda.conf \
+ 15-mailboxes.conf \
+ 20-imap.conf \