[Pkg-xmpp-commits] [jabberd2] 09/11: Add patches/systemd-bindsto.diff.

Simon Josefsson jas at moszumanska.debian.org
Sun Jul 9 08:29:45 UTC 2017


This is an automated email from the git hooks/post-receive script.

jas pushed a commit to branch master
in repository jabberd2.

commit eec9a3f321679140cc9d0ab92db30e4bf9e6f52f
Author: Simon Josefsson <simon at josefsson.org>
Date:   Sun Jul 9 09:04:00 2017 +0200

    Add patches/systemd-bindsto.diff.
---
 debian/changelog                    |  1 +
 debian/patches/series               |  1 +
 debian/patches/systemd-bindsto.diff | 79 +++++++++++++++++++++++++++++++++++++
 3 files changed, 81 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index f535a5e..0078d14 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ jabberd2 (2.6.1-1) unstable; urgency=medium
     - Adapt pkgname.diff.
   * Depend on lsb-base (fix lintian init.d-script-needs-depends-on-lsb-base).
   * Update Standards-Version from 3.9.8 to 4.0.0.
+  * Add patches/systemd-bindsto.diff.
 
  -- Simon Josefsson <simon at josefsson.org>  Sun, 09 Jul 2017 08:30:48 +0200
 
diff --git a/debian/patches/series b/debian/patches/series
index b1671e7..15c8ac2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,4 +5,5 @@ etc_logpath.diff
 etc_pidpath.diff
 pkgname.diff
 systemd-alias.diff
+systemd-bindsto.diff
 m4-ax_check_compile_flag.diff
diff --git a/debian/patches/systemd-bindsto.diff b/debian/patches/systemd-bindsto.diff
new file mode 100644
index 0000000..d960a1f
--- /dev/null
+++ b/debian/patches/systemd-bindsto.diff
@@ -0,0 +1,79 @@
+Description: Use systemd BindsTo= instead of BindTo.
+Author: Simon Josefsson <simon at josefsson.org>
+
+---
+ etc/jabberd-c2s.service.in    | 2 +-
+ etc/jabberd-router.service.in | 2 +-
+ etc/jabberd-s2s.service.in    | 2 +-
+ etc/jabberd-sm.service.in     | 2 +-
+ etc/jabberd.service.in        | 2 +-
+ 5 files changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/etc/jabberd-c2s.service.in b/etc/jabberd-c2s.service.in
+index 58513e8..4cf07fb 100644
+--- a/etc/jabberd-c2s.service.in
++++ b/etc/jabberd-c2s.service.in
+@@ -2,7 +2,7 @@
+ Description=Jabber Client To Server Connector
+ Requires=jabberd-router.service
+ After=network.target jabberd-router.service
+-BindTo=jabberd.service
++BindsTo=jabberd.service
+ 
+ [Service]
+ User=jabber
+diff --git a/etc/jabberd-router.service.in b/etc/jabberd-router.service.in
+index e14cc19..4392aa4 100644
+--- a/etc/jabberd-router.service.in
++++ b/etc/jabberd-router.service.in
+@@ -1,7 +1,7 @@
+ [Unit]
+ Description=Jabber Router XML Packet Distributior
+ After=network.target
+-BindTo=jabberd.service
++BindsTo=jabberd.service
+ 
+ [Service]
+ User=jabber
+diff --git a/etc/jabberd-s2s.service.in b/etc/jabberd-s2s.service.in
+index 06af506..4299f5e 100644
+--- a/etc/jabberd-s2s.service.in
++++ b/etc/jabberd-s2s.service.in
+@@ -2,7 +2,7 @@
+ Description=Jabber Server To Server Connector
+ Requires=jabberd-router.service
+ After=network.target jabberd-router.service
+-BindTo=jabberd.service
++BindsTo=jabberd.service
+ 
+ [Service]
+ User=jabber
+diff --git a/etc/jabberd-sm.service.in b/etc/jabberd-sm.service.in
+index 1c5c648..736c930 100644
+--- a/etc/jabberd-sm.service.in
++++ b/etc/jabberd-sm.service.in
+@@ -1,7 +1,7 @@
+ [Unit]
+ Description=Jabber IM Session Manager
+ After=network.target
+-BindTo=jabberd.service
++BindsTo=jabberd.service
+ 
+ [Service]
+ User=jabber
+diff --git a/etc/jabberd.service.in b/etc/jabberd.service.in
+index a4a6dda..93ac54e 100644
+--- a/etc/jabberd.service.in
++++ b/etc/jabberd.service.in
+@@ -2,7 +2,7 @@
+ Description=Jabber Server
+ Requires=jabberd-router.service jabberd-sm.service jabberd-c2s.service jabberd-s2s.service
+ After=network.target jabberd-router.service jabberd-sm.service jabberd-c2s.service jabberd-s2s.service
+-BindTo=jabberd-router.service jabberd-sm.service jabberd-c2s.service jabberd-s2s.service
++BindsTo=jabberd-router.service jabberd-sm.service jabberd-c2s.service jabberd-s2s.service
+ 
+ [Service]
+ Type=oneshot
+-- 
+2.11.0
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-xmpp/jabberd2.git



More information about the Pkg-xmpp-commits mailing list