summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2013-08-31 06:42:43 +0000
committerPacho Ramos <pacho@gentoo.org>2013-08-31 06:42:43 +0000
commit6ff5e06201a6d07e501350622a109f81409b776a (patch)
tree43df1c742050c0c9092a4b6002811742a7d59270 /net-dns
parentAdd unit file (#481490 by Galym Kerimbekov) (diff)
downloadhistorical-6ff5e06201a6d07e501350622a109f81409b776a.tar.gz
historical-6ff5e06201a6d07e501350622a109f81409b776a.tar.bz2
historical-6ff5e06201a6d07e501350622a109f81409b776a.zip
Add unit file (#471310 by nE0sIghT and Ago)
Package-Manager: portage-2.2.1/cvs/Linux x86_64 Manifest-Sign-Key: 0xA188FBD4
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/ddclient/ChangeLog10
-rw-r--r--net-dns/ddclient/Manifest14
-rw-r--r--net-dns/ddclient/ddclient-3.8.1-r5.ebuild56
-rw-r--r--net-dns/ddclient/files/ddclient.service12
4 files changed, 89 insertions, 3 deletions
diff --git a/net-dns/ddclient/ChangeLog b/net-dns/ddclient/ChangeLog
index c045972988a9..0ef8420f15c5 100644
--- a/net-dns/ddclient/ChangeLog
+++ b/net-dns/ddclient/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-dns/ddclient
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/ddclient/ChangeLog,v 1.58 2012/09/21 18:42:12 ago Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/ddclient/ChangeLog,v 1.59 2013/08/31 06:42:38 pacho Exp $
+
+*ddclient-3.8.1-r5 (31 Aug 2013)
+
+ 31 Aug 2013; Pacho Ramos <pacho@gentoo.org> +ddclient-3.8.1-r5.ebuild,
+ +files/ddclient.service:
+ Add unit file (#471310 by nE0sIghT and Ago)
21 Sep 2012; Agostino Sarubbo <ago@gentoo.org> -ddclient-3.8.1-r1.ebuild,
-ddclient-3.8.1-r2.ebuild, -ddclient-3.8.1-r3.ebuild, -ddclient-3.8.1.ebuild:
diff --git a/net-dns/ddclient/Manifest b/net-dns/ddclient/Manifest
index 2be1830ba839..f1f29a4c2365 100644
--- a/net-dns/ddclient/Manifest
+++ b/net-dns/ddclient/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX cmd-over-cfg.patch 488 SHA256 4b384d925abdae2cce0e65baa44ca0356d22aabbb669fe5183bbd652a3e2fc35 SHA512 a22ed7202b29e74ca8d4ffc597c5922cbe39da097c00876ac3e66c8f09eacd836ebb276e75753103f84699888f8e0a57abbfe839579eab0ddd48a2fa119fc70d WHIRLPOOL 0ea326e66c235e90c0c6dfd1011e1a735236ef153bdf74ac8a24ee9e7718b847311e290e41dcc5f1b10e241e81612a152a747c4a6c52b3703ea991bab740f492
AUX ddclient-reasonable-security.patch 858 SHA256 4ae67c01b41e0ae2f52b60e43072a872373201cc81f92108cd674b89eabda044 SHA512 8b32837bd793369faef3fd268cb530b2f79dfbae30899e50e8420716c172927487b910883d489dbdae807ad1c118122195dd4b09d341069fb137867b61c851fb WHIRLPOOL 8b9642147148cf7033d94345a736dcc2e79978850d93087d537f608f45fcd69c79535db88267673bca0e748332d109c680309a4de177962775be1190adfcfb9b
AUX ddclient.confd 97 SHA256 7a05a1c016dcffa2033da00e8a58072d0df33c31bc8b96170929032567cb44ab SHA512 3784fc11ba1b00b863b8a626910f75adb4b73f87f1887620c6ab17d68f36be4c481366ff1a8d91242c7ff62871e397ad1d4544b266405130d0fd8267f5a07f3d WHIRLPOOL ac01d8d8a5aee9a92401c47d97f5e0a556c4f065d16cabe33cde3f55f4046094a3cdc970fb2abad97589b308e005fd2f8802b38ab9a2184f425ff416bd0539b1
@@ -6,6 +9,7 @@ AUX ddclient.initd 1227 SHA256 9b2767317351437dcf71c59ef4ab15af0e4953465b1777498
AUX ddclient.initd-r1 1195 SHA256 48befb2e5ce84e3912ce790a56f438ff988a2d2716fdcd2c127682a042702451 SHA512 6930e555127ed9d5608897b65aa465adc14d94ec1f896b947103197206c9b34059e0080f175b70afb0dd1a79eb2332b74874063bcce040594857e725596506de WHIRLPOOL e6730077e078fe10d8ce4888e4b713ab7e0a846d5aa54a7780b40a0af4f31101b740d842e753df543b9015572572f70b45a56f66caf7be550b0b9d630a395191
AUX ddclient.initd-r2 1195 SHA256 4b8751bff328bbe07433fef461374c3f88dbe02fd41b44be7f133c638e03249e SHA512 a6bec411acb31d28bf50775000e9c504d2062dad247c62592970175647c22a328536505eda8c98bc26191e19dab953362c6f42b4f39f4cb39101cd4291c049c4 WHIRLPOOL f55b0353cf66f617c4c533cb05fabc25a2be00f7f7b88e99f7f2c6bcba1880ca6005067d01f0b4f0f5e892021a9adc35696265dab94c22e53234f9e8bace5b53
AUX ddclient.initd-r3 1430 SHA256 6ae30ced2535ef2042f838e7cacf0c2299d840e30a3fae76c874d91fd950bd0f SHA512 93367f29739f963c77afc345e76143fac8676e7eb1ed1f79385c69205180835e8298e45286d81dd02a9af6d2c531d637c9cfcdfcd1f123ba9495c5ff28b66972 WHIRLPOOL 5015a5786d008a1be456a0e9acc692e8286c89f2162e21bf5d36db2fbe8d72c227e9497467857ada4e834abd95629db4670cbc116b4771458a4e1e8cb3588044
+AUX ddclient.service 234 SHA256 1c647b71c7c035933efd78b850422543c18174dd8a841d0c9b44eb8238092930 SHA512 e3c36148804ca7ea29f2d030128941a5d5a7edc6ce3a223b8e72ea8800d622169d3825d2ede6e69630e9ca57e8c62b6f3af97269e9d671e6f2d2973b4a43602f WHIRLPOOL 4b278a5899fcf3d919eed170e328bcbb0ce93ebf3c294be040ebb423ad38f691228ba78edd0372de8bef3585be74d6712b3ceadf98f8d1bd0b9816ae73fbb14c
AUX iproute2.patch 1394 SHA256 182a2bde1aa66a79fe38ea08e5fa612a8421c2554ea1bfd179c22628899d9871 SHA512 d802421204cf398b9a0ff679b00b1a9796f4c442e3128b5965169c6153bca9beac580b94bd20ffd5235157b4ad482fdc926d9ac8a56686598aa7a25ecd0f43e0 WHIRLPOOL 54b9dff432ec2355cfbe7c7440702be1ea0fe4f40e3b766764a39b55b0cf14bd4f259e63d3b9a72aa8580d38782c7e58a98b9ecacd08723c2d440b150f849542
DIST ddclient-3.7.3.tar.gz 42034 SHA256 f1f57fdca170d9349cb99a3b8b33672d983e0e41c43c2bbb940927380ee12962
DIST ddclient-3.8.0.tar.gz 45893 SHA256 88f0f1cfafd2d7a813e72c3a3f1f2a08e9bf06ccd1d49ddb3f942dd4b9331fb3
@@ -13,5 +17,13 @@ DIST ddclient-3.8.1.tar.gz 48600 SHA256 f22ac7b0ec78e310d7b88a1cf636e5c00360b2ed
EBUILD ddclient-3.7.3-r1.ebuild 2364 SHA256 14972234cdc9b154c1e0209d87f1e02fe882125a41bc03394f17fb58a71cd517 SHA512 8c5180e5b83cff8373be3850fca8c46798d03d658e9504a083c0ffd55ed57a0a6653c2661acd6d2653a54369e43e530f5bfd75585ef085a5bc5e91648321539c WHIRLPOOL 60f4919d0ab89220e8e1c48e0db1b308cdbe2bce3440a58b7d0bcfaf85a2ed587dbaa32081493c8da3495ba87117e49b50877e3ede012ceadd27b543823d5842
EBUILD ddclient-3.8.0.ebuild 2369 SHA256 01c5b864608611ea19072e9cc9394b3be14dd446200cf88495916f85fea90af3 SHA512 090ac9dd1f06d1ed277fd25dead9d380f46053be22fa905ceeed33dfe4c500e893ea086232b49cbb70a28ce1d801d33eda4e57be288c39b2063c3deb1236994b WHIRLPOOL befd9b7fda1ccb4bcba857e6334b6801c1fa7d3f4d9f900c5acbdd3fd6f6a849584fbe0005eaac3d011ac09b1984d080dcaf388758f1ea15c98a5ed4a15deaec
EBUILD ddclient-3.8.1-r4.ebuild 1482 SHA256 270a13c302a9326697ba774b951efb8152b2130830ada7b2518a582d0ffbf0b0 SHA512 b84393fa337fdf02b664d89d1c8c669970a3341e38387bdc064e540ddad2483b5b87dfc1d8cb7dd00b27f421f4c3ba7d1fa81795793acc026860634b138913b6 WHIRLPOOL 23cf2509803e3d16d0afab38824865dee5e550016df538fe97eda2fb431c0f930481e30b8bd41b10a46b51b65b60a3e9fa777ac122f8d030ac11fc1ab18d1433
-MISC ChangeLog 9888 SHA256 24ae45a7945b421ed697465f8304d0e1fff31ea571eabd0ad3d7e3f3e0c821aa SHA512 42cef586b0b1e6e9e1df7c62ae223c17de767abe3277dd503b1ece951cdf5998c619347cd5b5298357e5bdd0cdbefdc67dca3afe678d62411466edd0620b5c7b WHIRLPOOL 8b5a79e3ca4a97d61028ff4a3e0fad728f4fde008294136ec7e6281ddcf6625eca3c764ff815c4b3568e5beda8cf6090ef42f898fb70311e8754897e33bca72f
+EBUILD ddclient-3.8.1-r5.ebuild 1540 SHA256 f7e8c41bd1950994821bce8a3f1168e25e664678317fe5e60033958341ef83a9 SHA512 d202bf25bd4f1e88a27c12b38260beb34e8fe140f442d4d2a9e15eb7a21c5c4e72cce20c90e1a0283046a70606fa01c298e89d8fb1a29cd92b4f8e7a7d5888be WHIRLPOOL 1fea2f92cfc49fed97f48b7bfab23c755b0bcfdff4b3120afaa9d70b31d248e02771762a174c65ba1dbbb991f1463a9be8bca5c7081ca1ab0959b02dfe83f07c
+MISC ChangeLog 10071 SHA256 f49685ddf92bd07c8dbb829161aebf2df4db1281bb53c1bb84415359af3178d7 SHA512 69352516318cc169eb87bd3e01e2aa20be0bc6b2973b782b2c665e8e74e3bc68915dc5f3920bfc7ab47f20f4429f0352f5719eb1166519a70d344739b30e1262 WHIRLPOOL 932f16636e06f67ee7a53bedee92b35160c304e63c3457325ca0bdb15f6d101a3746573f58db6e368e1a8609b79874aaece37fa0c6cedfc8df8492cbb9be472a
MISC metadata.xml 398 SHA256 d0a2a6ad14e6f7f63b3ccb79e848eda64aa03abfa61cbd1bfdc59bc69acaeab2 SHA512 9f53136e1b4ef6a5ccb4153515ab674680548546e8d1cd87f8f962f9c25064ee9a2eb83658bfc9f1a4b0dd637c3632b422e7e8becab2f99e7d404dc2a49394d5 WHIRLPOOL 48880f59d34f39706a5e6fa48021d5687fb2038d8374a85514850d887c95cca902f56e7c673a69a4c6776ccef75b4f98121d53c866543a3c7948759d6e1c3040
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.20 (GNU/Linux)
+
+iEYEAREIAAYFAlIhkF8ACgkQCaWpQKGI+9TEzgCfZIGbn4VtnqecNspSUR9J1PIK
+hBkAnRZSxFaP3WyOcNpka+kYY1upD6bc
+=aG4G
+-----END PGP SIGNATURE-----
diff --git a/net-dns/ddclient/ddclient-3.8.1-r5.ebuild b/net-dns/ddclient/ddclient-3.8.1-r5.ebuild
new file mode 100644
index 000000000000..2dde563e0148
--- /dev/null
+++ b/net-dns/ddclient/ddclient-3.8.1-r5.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/ddclient/ddclient-3.8.1-r5.ebuild,v 1.1 2013/08/31 06:42:38 pacho Exp $
+
+EAPI="4"
+inherit eutils systemd user
+
+DESCRIPTION="Perl updater client for dynamic DNS services"
+HOMEPAGE="http://ddclient.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="hardened"
+
+RDEPEND=">=dev-lang/perl-5.1
+ dev-perl/Digest-SHA1
+ dev-perl/IO-Socket-SSL
+ hardened? ( sys-apps/iproute2 )
+"
+
+pkg_setup() {
+ enewgroup ${PN}
+ enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+src_prepare() {
+ # Remove pid line, because it is specified in /etc/init.d/ddclient
+ ebegin "Removing PID setup from ${PN}.conf"
+ if ! sed '/^pid/d' -i "sample-etc_${PN}.conf"; then
+ eerror "Failed to remove pid from /etc/${PN}/${PN}.conf"
+ fi
+ eend $?
+
+ use hardened && epatch "${FILESDIR}/iproute2.patch"
+
+ epatch "${FILESDIR}/cmd-over-cfg.patch"
+}
+
+src_install() {
+ dosbin ${PN}
+ dodoc Change* COPYRIGHT README* RELEASENOTE sample*
+
+ newinitd "${FILESDIR}/${PN}.initd-r3" ${PN}
+ newconfd "${FILESDIR}/${PN}.confd-r1" ${PN}
+ systemd_dounit "${FILESDIR}"/${PN}.service
+ keepdir /var/cache/${PN}
+ fowners -R ${PN}:${PN} /var/cache/${PN}
+
+ insinto /etc/${PN}
+ insopts -m 0600 -o ${PN} -g ${PN}
+ newins sample-etc_${PN}.conf ${PN}.conf
+ newins sample-etc_${PN}.conf ${PN}.conf.sample
+ fowners -R ${PN}:${PN} /etc/${PN}
+}
diff --git a/net-dns/ddclient/files/ddclient.service b/net-dns/ddclient/files/ddclient.service
new file mode 100644
index 000000000000..e2d3608d44d4
--- /dev/null
+++ b/net-dns/ddclient/files/ddclient.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Dynamic DNS Update Client
+After=network.target
+ConditionPathExists=/etc/ddclient/ddclient.conf
+
+[Service]
+ExecStart=/usr/sbin/ddclient --foreground
+User=ddclient
+Group=ddclient
+
+[Install]
+WantedBy=multi-user.target