[wesnoth] 01/01: also use dh-systemd and add tmpfile
Vincent Cheng
vcheng at moszumanska.debian.org
Tue Apr 28 09:35:01 UTC 2015
This is an automated email from the git hooks/post-receive script.
vcheng pushed a commit to branch master
in repository wesnoth.
commit f8d70759149a2143a1b0b72d6ab9d4421ec6991f
Author: Vincent Cheng <vcheng at debian.org>
Date: Tue Apr 28 02:34:37 2015 -0700
also use dh-systemd and add tmpfile
---
debian/changelog | 1 +
debian/control | 2 +-
debian/control.in | 2 +-
debian/rules | 2 ++
debian/wesnoth-1.12-server.tmpfile | 1 +
debian/wesnoth-BRANCH-server.tmpfile.in | 1 +
6 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 9c74894..4f36c1d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ wesnoth-1.12 (1:1.12.2-2) unstable; urgency=medium
* Add metapackages for wesnoth{,-core,-music} since 1.12 is a stable branch.
* Add systemd service file for wesnoth-1.12-server. (Closes: #780854)
+ - Add build-depends on dh-systemd (>= 1.5).
-- Vincent Cheng <vcheng at debian.org> Tue, 28 Apr 2015 01:50:44 -0700
diff --git a/debian/control b/debian/control
index 337e116..a3b1ec6 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Build-Depends: debhelper (>= 7), libsdl-image1.2-dev, libfreetype6-dev,
libboost-iostreams-dev, libboost-test-dev, libboost-regex-dev,
libboost-serialization-dev, libboost-system-dev, libboost-thread-dev,
libboost-program-options-dev, libboost-filesystem-dev, libboost-locale-dev,
- libpango1.0-dev, libvorbis-dev, cmake (>= 2.6)
+ libpango1.0-dev, libvorbis-dev, cmake (>= 2.6), dh-systemd (>= 1.5)
Standards-Version: 3.9.6
Uploaders: Rhonda D'Vine <rhonda at debian.org>,
Vincent Cheng <vcheng at debian.org>
diff --git a/debian/control.in b/debian/control.in
index 95d628f..3f5961e 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -8,7 +8,7 @@ Build-Depends: debhelper (>= 7), libsdl-image1.2-dev, libfreetype6-dev,
libboost-iostreams-dev, libboost-test-dev, libboost-regex-dev,
libboost-serialization-dev, libboost-system-dev, libboost-thread-dev,
libboost-program-options-dev, libboost-filesystem-dev, libboost-locale-dev,
- libpango1.0-dev, libvorbis-dev, cmake (>= 2.6)
+ libpango1.0-dev, libvorbis-dev, cmake (>= 2.6), dh-systemd (>= 1.5)
Standards-Version: 3.9.6
Uploaders: Rhonda D'Vine <rhonda at debian.org>,
Vincent Cheng <vcheng at debian.org>
diff --git a/debian/rules b/debian/rules
index faf0a83..9d950b9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -112,7 +112,9 @@ binary-common:
dh_installmenu
dh_lintian
dh_pysupport
+ dh_systemd_enable
dh_installinit -u 'stop 20 0 1 2 3 4 5 6 .'
+ dh_systemd_start
dh_installman
dh_strip --dbg-package=wesnoth-$(BRANCH_VERSION)-dbg
dh_compress
diff --git a/debian/wesnoth-1.12-server.tmpfile b/debian/wesnoth-1.12-server.tmpfile
new file mode 100644
index 0000000..00167b7
--- /dev/null
+++ b/debian/wesnoth-1.12-server.tmpfile
@@ -0,0 +1 @@
+d /var/run/wesnothd 0700 root root -
diff --git a/debian/wesnoth-BRANCH-server.tmpfile.in b/debian/wesnoth-BRANCH-server.tmpfile.in
new file mode 100644
index 0000000..00167b7
--- /dev/null
+++ b/debian/wesnoth-BRANCH-server.tmpfile.in
@@ -0,0 +1 @@
+d /var/run/wesnothd 0700 root root -
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/wesnoth.git
More information about the Pkg-games-commits
mailing list