From 41506ced1de5c2af6c6556fb3bd26963511deda0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 8 Aug 2020 21:23:30 +0200 Subject: net-dns/dyndnsc: fix init --- net-dns/dyndnsc/dyndnsc-0.5.1-r1.ebuild | 31 ------------------------------- net-dns/dyndnsc/dyndnsc-0.5.1-r2.ebuild | 31 +++++++++++++++++++++++++++++++ net-dns/dyndnsc/files/dyndnsc.init | 3 ++- 3 files changed, 33 insertions(+), 32 deletions(-) delete mode 100644 net-dns/dyndnsc/dyndnsc-0.5.1-r1.ebuild create mode 100644 net-dns/dyndnsc/dyndnsc-0.5.1-r2.ebuild diff --git a/net-dns/dyndnsc/dyndnsc-0.5.1-r1.ebuild b/net-dns/dyndnsc/dyndnsc-0.5.1-r1.ebuild deleted file mode 100644 index 556bbe2..0000000 --- a/net-dns/dyndnsc/dyndnsc-0.5.1-r1.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -EAPI="6" - -PYTHON_COMPAT=( python3_{6,7,8,9} ) -inherit distutils-r1 - -DESCRIPTION="Dynamic dns update client" -HOMEPAGE="https://github.com/infothrill/python-dyndnsc" -SRC_URI="https://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -KEYWORDS="amd64 ~x86" -SLOT="0" -IUSE="test" - -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/daemonocle-1.0.1 - >=dev-python/dnspython-1.15.0 - >=dev-python/netifaces-0.10.5 - >=dev-python/requests-2.0.1" -DEPEND="${RDEPEND}" - - -src_prepare() { - eapply "${FILESDIR}/no-pytest.patch" - distutils-r1_src_prepare -} - -src_install() { - distutils-r1_src_install - newinitd "${FILESDIR}/dyndnsc.init" dyndnsc -} diff --git a/net-dns/dyndnsc/dyndnsc-0.5.1-r2.ebuild b/net-dns/dyndnsc/dyndnsc-0.5.1-r2.ebuild new file mode 100644 index 0000000..556bbe2 --- /dev/null +++ b/net-dns/dyndnsc/dyndnsc-0.5.1-r2.ebuild @@ -0,0 +1,31 @@ +EAPI="6" + +PYTHON_COMPAT=( python3_{6,7,8,9} ) +inherit distutils-r1 + +DESCRIPTION="Dynamic dns update client" +HOMEPAGE="https://github.com/infothrill/python-dyndnsc" +SRC_URI="https://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +KEYWORDS="amd64 ~x86" +SLOT="0" +IUSE="test" + +RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/daemonocle-1.0.1 + >=dev-python/dnspython-1.15.0 + >=dev-python/netifaces-0.10.5 + >=dev-python/requests-2.0.1" +DEPEND="${RDEPEND}" + + +src_prepare() { + eapply "${FILESDIR}/no-pytest.patch" + distutils-r1_src_prepare +} + +src_install() { + distutils-r1_src_install + newinitd "${FILESDIR}/dyndnsc.init" dyndnsc +} diff --git a/net-dns/dyndnsc/files/dyndnsc.init b/net-dns/dyndnsc/files/dyndnsc.init index bf7c419..30d52be 100755 --- a/net-dns/dyndnsc/files/dyndnsc.init +++ b/net-dns/dyndnsc/files/dyndnsc.init @@ -3,4 +3,5 @@ description="Dynamic dns update client" supervisor="supervise-daemon" command="dyndnsc" -command_args="--config /etc/dyndnsc.init --loop" +command_args="--config /etc/dyndnsc.ini --loop" +error_logger="/usr/bin/logger" -- cgit v1.2.3