dh-runit (2.16.4) unstable; urgency=medium * runit-helper: add policy-rc.d check in postinst and prerm * runit-helper: test for runsvdir before sending ALRM -- Lorenzo Puliti Sat, 26 Oct 2024 13:14:13 +0200 dh-runit (2.16.3) unstable; urgency=medium * move aliased files from / to /usr (DEP17) (Closes: #1073751) * bump Standards-Version to 4.7.0 * bin opt: auto-replace instances of ##bin## * guard against unforseen usrmerge pitfalls * runit-helper: add code to purge services in /usr -- Lorenzo Puliti Sat, 13 Jul 2024 02:53:52 +0200 dh-runit (2.16.2) unstable; urgency=medium * dh_runit: stop using given/when. + Thanks: gregor herrmann (Closes: #1060709) * minor update to dh_runit manpage * update copyright years -- Lorenzo Puliti Tue, 16 Jan 2024 02:51:27 +0100 dh-runit (2.16.1) experimental; urgency=medium * revert mark default-disabled services with dot-links -- Lorenzo Puliti Thu, 15 Jun 2023 02:34:17 +0200 dh-runit (2.16.0) experimental; urgency=medium * runit-helper: - remove loguser transition code - remove supervise transition code (Closes: #969514) * symplify metafiles interface: - remove 'logscript', use empty log directory instead - remove 'noscripts', no longer used - create 'enable' only when non-default 'no' is requested - create 'onupgrade' only when the string is different from the default 'restart' * 'usr' option now require 'bin', no longer require 'noscripts' * adjust metafiles code when 'usr' is used since it's no longer coupled with 'noscripts' * update dh_runit manpage * runit-helper: - remove symlinks before supervise files, necessary since purge can now be run before the (noawait) trigger code - mark default-disabled services with dot-links, because of #1022837 * update testsuite * update copyright years -- Lorenzo Puliti Wed, 05 Apr 2023 16:13:32 +0200 dh-runit (2.15.2) unstable; urgency=medium * bump Standards-Version * release to unstable -- Lorenzo Puliti Tue, 27 Dec 2022 00:25:36 +0100 dh-runit (2.15.1) experimental; urgency=medium * Remove duplicate metafiles * update tests for metafiles -- Lorenzo Puliti Mon, 14 Nov 2022 17:00:56 +0100 dh-runit (2.15.0) unstable; urgency=medium * metafiles: write packagename inside a pkg file * Add a bin option, useful for triggered upgrade * update dh-runit manpage * Revert "Temporary disable ghc testsuite" * Update testsuite -- Lorenzo Puliti Wed, 19 Oct 2022 01:15:02 +0200 dh-runit (2.14.2) unstable; urgency=medium * Fix wrong path for noreplace metafile (Closes: #1018817) -- Lorenzo Puliti Wed, 31 Aug 2022 11:56:38 +0200 dh-runit (2.14.1) unstable; urgency=medium * Avoid spurious warning during postinstall * Move metafiles inside the service directory * Remove supervise symlinks at postrm * Upload to unstable -- Lorenzo Puliti Tue, 02 Aug 2022 00:38:33 +0200 dh-runit (2.14.0) experimental; urgency=medium * Stop creating supervise links as part of the deb package (Closes: #942053) * Create supervise links at runtime with make_svlinks, but only when runit package is installed (Closes: #935939) * Use finish-exec instead of finish-default * Bump minimal required version of runit and runit-helper * Do not install the log service with usr option * Error when log service already exists and logscript option is given * Update testsuite * Temporary disable ghc testsuite, libghc-shake-dev is not installable in Sid -- Lorenzo Puliti Sat, 02 Jul 2022 12:09:54 +0200 dh-runit (2.13.1) unstable; urgency=medium * Add ${perl:Depends} to dh-runit depends * Fix wrong comment in prerm snippet * Revert "Enable the testsuite on armhf/armel" * Bump Standards-Version to 4.6.1, no changes required -- Lorenzo Puliti Sun, 15 May 2022 02:26:43 +0200 dh-runit (2.13.0) unstable; urgency=medium * Release to unstable * d/copyright: set upstream contanct * Create enable and onupgrade metafiles only with noscripts option * runit-helper: small code improvements * Re-enable the testsuite on armhf/armel (Closes: #969513) * Reverse logic for finish files: no longer create a finish file by default, add a finish option and deprecate the nofinish option * Update the testsuite for finish and metafiles related changes -- Lorenzo Puliti Mon, 25 Apr 2022 21:27:48 +0200 dh-runit (2.12.0) experimental; urgency=medium * Provide dh-sequence-runit (Closes: #1002801) + thanks to Colin Watson * Bump Standards-Version to 4.6.0, no changes required * Update copyright years * dh-runit: - Use a separate metafile for enable and upgrade - Metafiles: expose also noscripts and logscript - Create a matafile for package - Update tests for metafiles and usr - dh-runit code overhaul - Check for DPKG_ROOT in maintscripts * runit-helper: warn on sv failure * Fix lintian overrides * Fix typo in 2.10.3 changelog entry -- Lorenzo Puliti Mon, 11 Apr 2022 03:44:16 +0200 dh-runit (2.11.0) experimental; urgency=medium * Expose enable and onupgrade as metafiles * Add a noscripts option * Add a usr option * Add a test for the usr option * Add a test for the enable metafile * Install a finish file by default * Add a nofinish option * Update tests for finish and nofinish -- Lorenzo Puliti Fri, 23 Apr 2021 18:10:02 +0200 dh-runit (2.10.3) unstable; urgency=medium * Always create supervise link for log service (Closes: #977925) * Add 2 testcase for supervise links * Bump our version to 2.10.3 * Bump Stadards-Version to 4.5.1 -- Lorenzo Puliti Tue, 29 Dec 2020 12:45:18 +0100 dh-runit (2.10.2) unstable; urgency=medium * Don't run shake autopkgtest on armhf and armel (Closes: #973337) * Allow outptut to stderr for update-rc.d test -- Lorenzo Puliti Sun, 15 Nov 2020 19:22:21 +0100 dh-runit (2.10.1) unstable; urgency=medium * Add autopkgtest for runit-helper (update-rc.d) (Closes: #969512) * Update dh-runit package description * Bump our version to 2.10.1 * Error on wrong or unknown onupgrade string * Bump debhelper compat to 13 * Use d/clean instead of override in d/rules * Runit-helper: use explicit 0 exit status for return * Release to unstable -- Lorenzo Puliti Wed, 07 Oct 2020 00:24:05 +0200 dh-runit (2.10.0) experimental; urgency=medium * Add invoke-rc.d actions support into dh-runit (Closes: #969511) * Deprecate the noreplace option, coupled with onupgrade=nostop * Add onupgrade=reload * Bump our version to 2.10.0 * Don't call sv if is runit is not installed (Closes: #968114) -- Lorenzo Puliti Sun, 06 Sep 2020 00:58:07 +0200 dh-runit (2.9.0) unstable; urgency=medium * Add a comment on Conflicts and Breaks runit 2.1.2-36 * Deprecate the 'since' option, bump depends on runit-helper * d/rules: clean testsuite artifacts * Disable the testsuite on armhf to workaroud FTBFS (Closes: #954190) * Acknowledge Helmut Grohne for fixing #939631 * d/control: set Rules-Requires-Root: no * d/copyright: update copyright * Fix logservice failure due to loguser transition (Closes: #964175) * Avoid infinte loop of symlinks (Closes: #964174) * Print version in maintscript snippets * Do not overwrite the presubj file (Closes: #964178) -- Lorenzo Puliti Fri, 03 Jul 2020 10:02:29 +0200 dh-runit (2.8.15) unstable; urgency=medium [ Dmitry Bogatov ] * Make dh-runit Multi-Arch: foreign (Closes: #939631) + thanks to Helmut Grohne [ Lorenzo Puliti ] * Remove log dir on purge (Closes: #941924) * Use .link to mark a service as disabled (Closes: #942323) * Adopt dh-runit package * Revert "Temporary disable testsuite due build-dependency transition" * Bump Standards Version to 4.5.0 - use '_runit-log' user in logscripts instead of 'runit-log' - breaks and conflicts with runit << 2.1.2-36 -- Lorenzo Puliti Thu, 27 Feb 2020 19:01:26 +0100 dh-runit (2.8.14) unstable; urgency=medium * Ensure that all supported scripts in svdir are executable (Closes: #934173) * Move supervise directories of generated packages to tmpfs (Closes: #934500) * Add new option for dh_runit: presubj (Closes: #929778) * Fix indentation of `runit-helper' * Ensure that supervise link change does not break running services * Do not impose unneeded dependency on runit-helper (Closes: #935997) * Temporary disable testsuite due build-dependency transition * Avoid dangerous chown/chmod in log runscript. Thanks to Daniel Kahn Gillmor (Closes: #935991) * Remove vim/emacs modelines from maintainer script snippets (Closes: #938967) * Do not pollute namespace in maintainer scripts (Closes: #938968) -- Dmitry Bogatov Fri, 30 Aug 2019 19:13:17 +0000 dh-runit (2.8.13.2) unstable; urgency=medium * Revert "Set mailing list as Maintainer." -- Dmitry Bogatov Sat, 13 Jul 2019 09:39:56 +0000 dh-runit (2.8.13.1) unstable; urgency=medium * Upload to unstable. * Update standards version to 4.4.0 * Set mailing list as Maintainer. -- Dmitry Bogatov Fri, 12 Jul 2019 02:36:20 +0000 dh-runit (2.8.13) experimental; urgency=medium * [2b6d4e1c] Reimplement test suite with Shake * [dabf3ab8] Fix runscript directory recursive copying regression (Closes: #931425) -- Dmitry Bogatov Thu, 04 Jul 2019 18:39:53 +0000 dh-runit (2.8.12) experimental; urgency=medium * [79008f21] Generate dependency on runit-helper version that supports `since' option (Closes: #931257) * [9881984f] Move git repository to debian/ namespace * [f552979f] Override lintian warning about script template -- Dmitry Bogatov Wed, 03 Jul 2019 22:48:37 +0000 dh-runit (2.8.11) experimental; urgency=medium * Make build system respect `nocheck' option. * Create perl package for test-related code. * [cb411aff] Add option to mark service as non-restartable * [8eddb040] Make it possible to reuse t/*.t for autopkgtest * [e4b8e832] Refactor creation of logscript * [4c485bc0] Create marker files for use by "invoke-run" * [2b3d1cb0] Add Gitlab CI config file * [32409bf7] Add autopkgtests -- Dmitry Bogatov Wed, 29 May 2019 06:54:45 +0000 dh-runit (2.8.10) experimental; urgency=medium * Make permissions of supervise directories 0700, as created by sv(8). (Closes: #924903) * Run testsuite during package build. -- Dmitry Bogatov Wed, 20 Mar 2019 13:17:15 +0000 dh-runit (2.8.9) experimental; urgency=medium * Fix missing directory error when installing runscript directory. -- Dmitry Bogatov Tue, 12 Mar 2019 20:42:43 +0000 dh-runit (2.8.8) experimental; urgency=medium * Do not create /etc/sv directory if there is no runscript (Closes: #923439) + Thanks: Mathieu Mirmont * Correctly create symlinks in /etc/service in post-inst on first revision of package, that introduced runscript. (Closes: #923233) -- Dmitry Bogatov Tue, 05 Mar 2019 15:25:39 +0000 dh-runit (2.8.7) experimental; urgency=medium * Generate breaks with runit version, predating 'invoke-run' script. -- Dmitry Bogatov Sun, 24 Feb 2019 20:56:42 +0000 dh-runit (2.8.6) unstable; urgency=medium * Fix short description of runit-helper (Closes: #922413) -- Dmitry Bogatov Fri, 15 Feb 2019 17:56:50 +0000 dh-runit (2.8.5) unstable; urgency=medium * Mark `runit-helper' as Multi-Arch: foreign (Closes: #921950) + Thanks: Elrond -- Dmitry Bogatov Sun, 10 Feb 2019 19:58:35 +0000 dh-runit (2.8.4) unstable; urgency=medium * Copy-edit dh_runit(1) documentation. (Closes: #920963) + Thanks: Jonathan Nieder -- Dmitry Bogatov Sun, 03 Feb 2019 23:19:55 +0000 dh-runit (2.8.3) unstable; urgency=medium * Document runit:Breaks substitution variable -- Dmitry Bogatov Tue, 22 Jan 2019 22:09:24 +0000 dh-runit (2.8.2) unstable; urgency=medium * Upload to unstable * Update Maintainer field * Bump debhelper-compat to 12 * Update standards version to 4.3.0 (no changes needed) -- Dmitry Bogatov Sat, 19 Jan 2019 03:21:35 +0000 dh-runit (2.8.1) experimental; urgency=medium * Make auto-generated runscripts invoke svlogd(8) as `runit-log' user. * Impose dependency on (runit >= 2.1.2-20), which provides `runit-log' user. * Do not impose dependency on `runit' binary package. Instead, generate conflict relation with old `runit' version, not providing `runit-log' user. * Make `/etc/runit/runsvdir/default' directory part of package, providing runscript. -- Dmitry Bogatov Sun, 16 Dec 2018 10:16:30 +0000 dh-runit (2.7.3) unstable; urgency=medium * Do not re-enable serice on upgrade, if it was disable by local administrator (See #899242) -- Dmitry Bogatov Wed, 23 May 2018 08:19:55 +0300 dh-runit (2.7.2) unstable; urgency=medium * Invoke runit-helper only if it is available. It ensures, that in pathological case, when it isn't (piuparts), postrm script do not fail. * Bump compat version to 11 (no changes needed) * Update standards version to 4.1.4 (no changes needed) -- Dmitry Bogatov Sat, 14 Apr 2018 17:58:58 +0300 dh-runit (2.7.1) unstable; urgency=medium * Upload to unstable. -- Dmitry Bogatov Sun, 11 Mar 2018 12:11:26 +0300 dh-runit (2.7) experimental; urgency=medium * Change naming of generated system users for logging to start with underscore. * Add missing dependency on dh-sysuser. * Improve readability of code, generating /etc/sv//log/run script using here-doc notation. * Remove 'logdir' option for simplicity sake. Strictly speaking it is backward-incompatible change, hence the version major bump, but I am unaware of any actual users of this option. * Ensure that after package removal logs belong to root. * Introduce new binary package 'runit-helper', allowing packages to access fixes and improvements in 'dh-runit' without rebuild. * Update Vcs-* and Homepage fields in debian/control. -- Dmitry Bogatov Wed, 07 Mar 2018 03:33:22 +0300 dh-runit (1.6.2) unstable; urgency=medium * Remove from 'dh_runit' code to install no longer present prerm maintainer script. -- Dmitry Bogatov Wed, 14 Sep 2016 12:23:17 +0300 dh-runit (1.6.1) unstable; urgency=medium * Upload to unstable -- Dmitry Bogatov Sun, 11 Sep 2016 21:53:47 +0300 dh-runit (1.6) experimental; urgency=medium * Do not create /etc/runit/runsvdir/default directory. Instead, it is provided by runit binary package. It saved us trouble of ensuring, that directory is removed at apporiate time. * Do not create /etc/service symbolic link in maintainer script of -run packages. It simplifies maintainace at cost of creation of empty directories in runit binary package. But since it is rare to install runit, but none of -run packages, trade-off seems justified. * Do not create symbolic link in /etc/runit/runsvdir/ in maintainer script, make it part of binary package. It makes sure, that dpkg will make right thing. * No need to invoke force-shutdown in maintainer script, runit will notice disappeared link anyway. -- Dmitry Bogatov Sat, 03 Sep 2016 20:52:18 +0300 dh-runit (1.5) unstable; urgency=medium * Breaking change package.runit file format to improve interoperability with other tools (supply dh_runit arguments on command line) and make format extensible. See dh_runit(1). * Introduce support for automatic generation of log scripts. * Fix typo in mkdir option. * Force shutdown of service we are uninstalling. Otherwise, it would be 5 seconds gap, when process are still alive. * Clean-up supervision directory of log process too. -- Dmitry Bogatov Tue, 23 Aug 2016 12:59:59 +0300 dh-runit (0.4) unstable; urgency=medium * Fix bug, that caused dh-runit to attempt to create directory under /. * Fix postrm script. Previously, it halted purge with errors about missing supervise directory. Indeed, if service was never started, it's supervise directory is empty and removed by dpkg. -- Dmitry Bogatov Thu, 28 Jul 2016 18:46:49 +0300 dh-runit (0.3) unstable; urgency=medium * Support for `runlevels'. Now, runscripts are installed for `runlevel' default, but system adminstrator can create more. -- Dmitry Bogatov Fri, 15 Jul 2016 09:45:08 +0300 dh-runit (0.2) unstable; urgency=medium * Change arch:any to arch:all. Perl script is arch-independent. -- Dmitry Bogatov Fri, 15 Jul 2016 09:45:04 +0300 dh-runit (0.1) unstable; urgency=medium * Initial release (Closes: #826771) -- Dmitry Bogatov Sat, 04 Jun 2016 13:41:17 +0300