summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-08-17gitignore build products (from outer build process)HEADmasterAndrew Cady
2020-08-16gitignore build productsAndrew Cady
2019-05-29Release 2.8.11Dmitry Bogatov
2019-05-29Update changelog for 2.8.11 releaseDmitry Bogatov
2019-05-29Merge branch 'fix-build'Dmitry Bogatov
Add autopkgtests and make sure they pass on Gitlab CI.
2019-05-29Add missing dependency on libfile-copy-recursive-perlDmitry Bogatov
2019-05-29Add autopkgtestsDmitry Bogatov
2019-05-29Add missing dependency on libfile-slurp-perlDmitry Bogatov
2019-05-29Add Gitlab CI config fileDmitry Bogatov
2019-05-29Create marker files for use by "invoke-run"Dmitry Bogatov
Create marker file in /usr/share, that is checked by "invoke-run". If marker file is absent, package was unstalled, but not purged (runscripts are conffiles), and service must be put into "down" state. To not break already-existing runscript, using "invoke-run", such check is only performed when it is known, that marker file existed. It can be known by checking presence of /etc/sv/{name}/.meta/installed. Gbp-Closes: #929693
2019-05-29Refactor dh_runitDmitry Bogatov
Introduce new function "create_empty_file" and reuse it for side-effect of creating parent directories in "template_from_data_directory" and to avoid manual open/close calls in main function.
2019-05-28Refactor creation of logscriptDmitry Bogatov
Instead of using interpolation and here-strings, write function that renders mustache template. This approach makes code cleaner and more scalable. * data/logscript: add mustach template of 'log/run' script, that is installed when "logscript" option in effect. * Makefile: set DH_RUNIT_DATADIR variable in "check" target. This way, templates from ./data/ directory are used, not from system location. * debian/control: add dependency on Text::Hogan library -- implementation of "mustache" templating standard. * dh_runit(template_from_data_directory): new function * dh_runit: install 'log/run' with "template_from_data_directory" function. * t/928935.t: check that "logscript" option correctly creates 'log/run' script, with correct permissions.
2019-05-28Make it possible to reuse t/*.t for autopkgtestDmitry Bogatov
During build (target "check"), PATH and DH_AUTOSCRIPTDIR are set in a way, that tests use dh_runit(1) and maintainer script snippets from current directory. Target "autopkgtest" uses dh_runit, globally installed in system.
2019-05-28Change path of "noreplace" flag fileDmitry Bogatov
First of all, "noreplace" flag file is architecture-independent and is not meant to be edited by system administrator, so it does not belong to /var. New namings scheme provides more options for extensibility, i.e introducing more flag files. While it is definitely not good thing to have, it seems, unfortunately, necessary to support, e.g uninstalled-not-purged situation.
2019-05-14Add option to mark service as non-restartableDmitry Bogatov
2019-05-14Create package for test-related code.Dmitry Bogatov
2019-03-20Make build system respect `nocheck' option.Dmitry Bogatov
2019-03-20Release 2.8.10Dmitry Bogatov
2019-03-20Run testsuite during package build.Dmitry Bogatov
2019-03-20Make permissions of supervise directories 0700, as created by sv(8). ↵Dmitry Bogatov
(Closes: #924903)
2019-03-20Write test suite for #924903Dmitry Bogatov
2019-03-12Release 2.8.9Dmitry Bogatov
2019-03-12Fix missing directory error when installing runscript directory.Dmitry Bogatov
2019-03-05Release 2.8.8Dmitry Bogatov
2019-03-05Correctly create symlinks in /etc/service in post-inst on first revision of ↵Dmitry Bogatov
package, that introduced runscript. (Closes: #923233)
2019-02-28Do not create /etc/sv directory if there is no runscript (Closes: #923439)Dmitry Bogatov
2019-02-24Release 2.8.7Dmitry Bogatov
2019-02-24Generate breaks with runit version, predating 'invoke-run' script.Dmitry Bogatov
2019-02-15Release 2.8.6Dmitry Bogatov
2019-02-15Fix short description of runit-helper (Closes: #922413)Dmitry Bogatov
2019-02-10Release 2.8.5Dmitry Bogatov
2019-02-10Mark `runit-helper' as Multi-Arch: foreign (Closes: #921950)Dmitry Bogatov
2019-02-03Release 2.8.4Dmitry Bogatov
2019-02-01Copy-edit dh_runit(1) documentation. (Closes: #920963)Dmitry Bogatov
2019-01-22Release 2.8.3Dmitry Bogatov
2019-01-22Document runit:Breaks substitution variableDmitry Bogatov
2019-01-19Release 2.8.2Dmitry Bogatov
2019-01-19Update standards version to 4.3.0 (no changes needed)Dmitry Bogatov
2019-01-19Bump debhelper-compat to 12Dmitry Bogatov
2019-01-19Update Maintainer fieldDmitry Bogatov
2018-12-16Release 2.8.1Dmitry Bogatov
2018-12-16Make `/etc/runit/runsvdir/default' directory part of package, providing ↵Dmitry Bogatov
runscript.
2018-12-16Do not impose dependency on `runit' binary packageDmitry Bogatov
Instead, generate conflict relation with old `runit' version, not providing `runit-log' user.
2018-12-12Make auto-generated runscripts invoke svlogd(8) as `runit-log' user.Dmitry Bogatov
* Make auto-generated runscripts invoke svlogd(8) as `runit-log' user. * Impose dependency on (runit >= 2.1.2-20), which provides `runit-log' user.
2018-05-27Do not re-enable serice on upgradeDmitry Bogatov
* Do not make symbolic link /etc/runit/runsvdir/default/$name -> /etc/sv/$name part of package files {in which case it will be unconditionally created on upgrade}; instead manage it in maintainer scripts: create it in postinst script on fresh install and remove on purge/remove in postrm. * Force versioned dependency on runit-helper, to make sure that versioned dependency on dh-runit would close #899242
2018-04-14Update standards version to 4.1.4 (no changes needed)Dmitry Bogatov
2018-04-14Bump compat version to 11 (no changes needed)Dmitry Bogatov
2018-04-14Invoke runit-helper only if it is availableDmitry Bogatov
2018-03-11Upload to unstable.Dmitry Bogatov
2018-03-07Mark for releaseDmitry Bogatov