diff options
author | Karel Kočí <cynerd@email.cz> | 2020-08-08 21:03:07 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2020-08-08 21:03:07 +0200 |
commit | 842c3c3f9b396843c75cd9796b47ad4231016f62 (patch) | |
tree | 85da36eb149cb3c808f8b2e5717145de5952d1fd /net-dns | |
parent | 479925c2b7cc2b6ce951f0cb55fe11d8b738bcc0 (diff) | |
download | gentoo-personal-overlay-842c3c3f9b396843c75cd9796b47ad4231016f62.tar.gz gentoo-personal-overlay-842c3c3f9b396843c75cd9796b47ad4231016f62.tar.bz2 gentoo-personal-overlay-842c3c3f9b396843c75cd9796b47ad4231016f62.zip |
net-dns/dyndnsc: fix broken build and add init
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/dyndnsc/dyndnsc-0.5.1-r1.ebuild | 7 | ||||
-rwxr-xr-x | net-dns/dyndnsc/files/dyndnsc.init | 6 |
2 files changed, 12 insertions, 1 deletions
diff --git a/net-dns/dyndnsc/dyndnsc-0.5.1-r1.ebuild b/net-dns/dyndnsc/dyndnsc-0.5.1-r1.ebuild index 5c2a247..cacb7ce 100644 --- a/net-dns/dyndnsc/dyndnsc-0.5.1-r1.ebuild +++ b/net-dns/dyndnsc/dyndnsc-0.5.1-r1.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz -> LICENSE="MIT" KEYWORDS="amd64 ~x86" SLOT="0" -IUSE="" +IUSE="test" RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] >=dev-python/daemonocle-1.0.1 @@ -18,3 +18,8 @@ RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] >=dev-python/netifaces-0.10.5 >=dev-python/requests-2.0.1" DEPEND="${RDEPEND}" + +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 new file mode 100755 index 0000000..bf7c419 --- /dev/null +++ b/net-dns/dyndnsc/files/dyndnsc.init @@ -0,0 +1,6 @@ +#!/sbin/openrc-run + +description="Dynamic dns update client" +supervisor="supervise-daemon" +command="dyndnsc" +command_args="--config /etc/dyndnsc.init --loop" |