From d50611823c584b891ad076ef922cfddd67c51752 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 11 Jun 2013 23:32:11 +0200 Subject: add dh-systemd package, update changelog --- debian/changelog | 7 +++++++ debian/control | 11 +++++++++++ debian/dh-systemd.install | 4 ++++ debian/init-system-helpers.install | 2 ++ 4 files changed, 24 insertions(+) create mode 100644 debian/dh-systemd.install create mode 100644 debian/init-system-helpers.install (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index e517e92..c6546ad 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +init-system-helpers (1.1) unstable; urgency=low + + * deb-systemd-helper: also store enable state for already enabled units + * add dh-systemd package which contains the dh_systemd debhelper add-on + + -- Michael Stapelberg Tue, 11 Jun 2013 23:32:02 +0200 + init-system-helpers (1.0) unstable; urgency=low * Initial release diff --git a/debian/control b/debian/control index 23b0e20..369bd92 100644 --- a/debian/control +++ b/debian/control @@ -22,3 +22,14 @@ Description: helper tools for all init systems While this package is maintained by pkg-systemd-maintainers, it is NOT specific to systemd at all. Maintainers of other init systems are welcome to include their helpers in this package. + +Package: dh-systemd +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, debhelper +Description: debhelper add-on to handle systemd unit files + dh-systemd provides a debhelper sequence addon named 'systemd' and the + dh_systemd command. + . + The dh_systemd command adds the appropriate code to the postinst, prerm and + postrm maint scripts to properly enable/disable systemd service files and deal + with start/stop/restart on upgrades for systemd-only service files. diff --git a/debian/dh-systemd.install b/debian/dh-systemd.install new file mode 100644 index 0000000..5e5dc1c --- /dev/null +++ b/debian/dh-systemd.install @@ -0,0 +1,4 @@ +usr/bin/dh_systemd +usr/share/perl5/Debian/Debhelper/Sequence/systemd.pm +usr/share/debhelper/autoscripts +usr/share/man/man1/dh_systemd.1p diff --git a/debian/init-system-helpers.install b/debian/init-system-helpers.install new file mode 100644 index 0000000..3813300 --- /dev/null +++ b/debian/init-system-helpers.install @@ -0,0 +1,2 @@ +usr/bin/deb-systemd-helper +usr/share/man/man1/deb-systemd-helper.1p -- cgit v1.2.3