~ubuntu-branches/ubuntu/trusty/dovecot/trusty-proposed

« back to all changes in this revision

Viewing changes to debian/patches/tcpwrapper.patch

  • Committer: Package Import Robot
  • Author(s): James Page, James Page, Ante Karamatic
  • Date: 2013-02-11 12:41:24 UTC
  • mfrom: (4.1.33 sid)
  • Revision ID: package-import@ubuntu.com-20130211124124-v7bdegzftlhw7yfr
Tags: 1:2.1.7-7ubuntu1
[ James Page ]
* Merge from Debian unstable (LP: #1117613, #1075456), remaining changes:
  + Add mail-stack-delivery package:
    - Update d/rules
    - d/control: convert existing dovecot-postfix package to a dummy
      package and add new mail-stack-delivery package.
    - Update maintainer scripts.
    - Rename d/dovecot-postfix.* to debian/mail-stack-delivery.*
    - d/mail-stack-delivery.preinst: Move previously installed backups and
      config files to a new package namespace.
    - d/mail-stack-delivery.prerm: Added to handle downgrades.
  + Use Snakeoil SSL certificates by default:
    - d/control: Depend on ssl-cert.
    - d/dovecot-core.postinst: Relax grep for SSL_* a bit.
  + Add autopkgtest to debian/tests/*.
  + Add ufw integration:
    - d/dovecot-core.ufw.profile: new ufw profile.
    - d/rules: install profile in dovecot-core.
    - d/control: dovecot-core - suggest ufw.
  + d/dovecot-core.dirs: Added usr/share/doc/dovecot-core
  + Add apport hook:
    - d/rules, d/source_dovecot.py
  + Add upstart job:
    - d/rules, d/dovecot-core.dovecot.upstart, d/control,
      d/dovecot-core.dirs, dovecot-imapd.{postrm, postinst, prerm},
      d/dovecot-pop3d.{postinst, postrm, prerm}.
      d/mail-stack-deliver.postinst: Convert init script to upstart.
  + d/control: Added Pre-Depends: dpkg (>= 1.15.6) to dovecot-dbg to support
    xz compression in Ubuntu.
  + d/control: Demote dovecot-common Recommends: to Suggests: to prevent
    install of extra packages on upgrade.
  + d/patches/dovecot-drac.patch: Updated with version for dovecot >= 2.0.0.
* Dropped changes, included in Debian:
  + d/{control,rules}: enable PIE hardening.
  + d/control: Drop B-D on systemd.
* d/p/mail-stack-delivery.postinst: Updated to ensure that configured SSL
  cert and key locations are used when configuring postfix, sorted out
  formatting.
* d/p/dovecot-core.postinst: Create compat links to old style, existing
  SSL cert and key if found.
* d/rules: Don't pass hardening flags for DRAC plugin.
* d/dovecot-{pop3d,imapd}.prerm: Re-sync with Debian.
* d/dovecot-core.lintian-overrides: Drop override for DRAC plugin as not
  required in Ubuntu.
* d/01-mail-stack-delivery: Renamed 99-mail-stack-delivery to ensure that
  the mail-stack-delivery configuration overrides configuration options
  set elsewhere, updated with new cert/key file locations.

[ Ante Karamatic ]
* Change configuration file for LDA on new installs and upgrades
  (LP: #671065).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
From: Joerg Dorchain <joerg@dorchain.net>
 
2
Date: Sun, 26 Aug 2012 10:10:28 +0200
 
3
Subject: Add TCP wrapper support
 
4
Description: Configuration file for TCP wrapper support.
 
5
Bug: #685850
 
6
---
 
7
 doc/example-config/conf.d/10-tcpwrapper.conf |   14 ++++++++++++++
 
8
 doc/example-config/conf.d/Makefile.am        |    1 +
 
9
 2 files changed, 15 insertions(+)
 
10
 
 
11
diff --git a/doc/example-config/conf.d/10-tcpwrapper.conf b/doc/example-config/conf.d/10-tcpwrapper.conf
 
12
new file mode 100644
 
13
index 0000000..b237d96
 
14
--- /dev/null
 
15
+++ b/doc/example-config/conf.d/10-tcpwrapper.conf
 
16
@@ -0,0 +1,14 @@
 
17
+# 10-tcpwrapper.conf
 
18
+#
 
19
+# service name for hosts.{allow|deny} are those defined as
 
20
+# inet_listener in master.conf
 
21
+#
 
22
+#login_access_sockets = tcpwrap
 
23
+#
 
24
+#service tcpwrap {
 
25
+#  unix_listener login/tcpwrap {
 
26
+#    group = $default_login_user
 
27
+#    mode = 0600
 
28
+#    user = $default_login_user
 
29
+#  }
 
30
+#}
 
31
diff --git a/doc/example-config/conf.d/Makefile.am b/doc/example-config/conf.d/Makefile.am
 
32
index 744d202..f9fe79b 100644
 
33
--- a/doc/example-config/conf.d/Makefile.am
 
34
+++ b/doc/example-config/conf.d/Makefile.am
 
35
@@ -17,6 +17,7 @@ example_DATA = \
 
36
        10-mail.conf \
 
37
        10-master.conf \
 
38
        10-ssl.conf \
 
39
+       10-tcpwrapper.conf \
 
40
        15-lda.conf \
 
41
        15-mailboxes.conf \
 
42
        20-imap.conf \