...
 
Commits (2)
opendnssec (1:2.1.3-2) unstable; urgency=medium
* po/de.po: Add German translation (Closes: #922638)
* gitlab-ci.yml: Check for missing debconf-updatepo
* po/templates.po: Update the templates.pot file
* opendnssec-*.service: Fix service files
* opendnssec-*.init: use do_restart_prepare from init-d-script
* Add support for running under runit supervision
-- Mathieu Mirmont <mat@parad0x.org> Tue, 19 Feb 2019 21:14:15 +0100
opendnssec (1:2.1.3-1) unstable; urgency=medium
[ Timo Aaltonen ]
......
......@@ -8,6 +8,7 @@ Build-Depends:
default-jdk,
default-libmysqlclient-dev | libmysqlclient-dev,
default-mysql-client | mysql-client,
dh-runit,
doxygen,
graphviz,
libcunit1-dev,
......@@ -210,3 +211,35 @@ Description: library for interfacing PKCS#11 Hardware Security Modules
in software), SCA6000, Aladdin eToken, OpenSC, nCipher or AEP Keyper.
.
This package contains command line tools.
Package: opendnssec-signer-run
Section: admin
Architecture: all
Multi-Arch: foreign
Pre-Depends: ${misc:Pre-Depends}
Depends: opendnssec-signer, ${misc:Depends}, ${shlibs:Depends}
Recommends: runit
Description: runscript to supervise the opendnssec-signer daemon
OpenDNSSEC is a complete DNSSEC zone signing system which is very
easy to use with stability and security in mind. There are a lot of
details in signing zone files with DNSSEC and OpenDNSSEC covers most
of it.
.
This package provides the service directory to run the OpenDNSSEC
signer daemon under runit supervision.
Package: opendnssec-enforcer-run
Section: admin
Architecture: all
Multi-Arch: foreign
Pre-Depends: ${misc:Pre-Depends}
Depends: opendnssec-enforcer, ${misc:Depends}, ${shlibs:Depends}
Recommends: runit
Description: runscript to supervise the opendnssec-enforcer daemon
OpenDNSSEC is a complete DNSSEC zone signing system which is very
easy to use with stability and security in mind. There are a lot of
details in signing zone files with DNSSEC and OpenDNSSEC covers most
of it.
.
This package provides the service directory to run the OpenDNSSEC
enforcer daemon under runit supervision.
debian/opendnssec-enforcer.run defaults,name=opendnssec-enforcer,logscript
#!/bin/sh
exec 2>&1
# Create the runtime directory
install -d -m 0775 -o opendnssec -g opendnssec /run/opendnssec
# Prevent startup if this file exists
if [ -e /etc/opendnssec/prevent-startup ]; then
echo "Not starting OpenDNSSEC Enforcer (/etc/opendnssec/prevent-startup)"
sv stop .
exit 0
fi
# Run the enforcer in the foreground
exec /usr/sbin/ods-enforcerd --no-daemon
debian/opendnssec-signer.run defaults,name=opendnssec-signer,logscript
#!/bin/sh
exec 2>&1
# Create the runtime directory
install -d -m 0775 -o opendnssec -g opendnssec /run/opendnssec
# Prevent startup if this file exists
if [ -e /etc/opendnssec/prevent-startup ]; then
echo "Not starting OpenDNSSEC Signer (/etc/opendnssec/prevent-startup)"
sv stop .
exit 0
fi
# Run the signer in the foreground
exec /usr/sbin/ods-signerd --no-daemon
......@@ -21,7 +21,7 @@ SQLITE3_SONAME = $(shell objdump -p $$(pkg-config --variable=libdir sqlite3)/lib
# main packaging script based on dh7 syntax
%:
dh $@
dh $@ --with runit
override_dh_auto_clean:
dh_auto_clean -Bbuild-sqlite3
......