summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Swenson <titanofold@gentoo.org>2011-08-12 12:29:42 +0000
committerAaron Swenson <titanofold@gentoo.org>2011-08-12 12:29:42 +0000
commitcc0b873fef262c5a774e4785577e47ba743e7453 (patch)
tree7fd6ea870819d4b00de5bfb456e15879695d1139 /net-dns
parentx86 stable per bug 355085 (diff)
downloadhistorical-cc0b873fef262c5a774e4785577e47ba743e7453.tar.gz
historical-cc0b873fef262c5a774e4785577e47ba743e7453.tar.bz2
historical-cc0b873fef262c5a774e4785577e47ba743e7453.zip
Version bump. Fixes bugs 186271, 212840, 296598 and 373183
Package-Manager: portage-2.1.10.3/cvs/Linux i686
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/ddclient/ChangeLog10
-rw-r--r--net-dns/ddclient/Manifest17
-rw-r--r--net-dns/ddclient/ddclient-3.8.1.ebuild66
-rw-r--r--net-dns/ddclient/files/ddclient.initd-r144
-rw-r--r--net-dns/ddclient/metadata.xml9
5 files changed, 135 insertions, 11 deletions
diff --git a/net-dns/ddclient/ChangeLog b/net-dns/ddclient/ChangeLog
index 3af099569c2d..a808a8f513c7 100644
--- a/net-dns/ddclient/ChangeLog
+++ b/net-dns/ddclient/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-dns/ddclient
-# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/ddclient/ChangeLog,v 1.40 2009/02/24 20:53:58 gentoofan23 Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/ddclient/ChangeLog,v 1.41 2011/08/12 12:29:42 titanofold Exp $
+
+*ddclient-3.8.1 (12 Aug 2011)
+
+ 12 Aug 2011; Aaron W. Swenson <titanofold@gentoo.org> +ddclient-3.8.1.ebuild,
+ +files/ddclient.initd-r1, metadata.xml:
+ Version bump. Fixes bugs 186271, 212840, 296598 and 373183
24 Feb 2009; Thomas Anderson <gentoofan23@gentoo.org>
ddclient-3.7.3-r1.ebuild, ddclient-3.8.0.ebuild:
diff --git a/net-dns/ddclient/Manifest b/net-dns/ddclient/Manifest
index 033874369b98..67339b53a8ba 100644
--- a/net-dns/ddclient/Manifest
+++ b/net-dns/ddclient/Manifest
@@ -1,9 +1,22 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX ddclient-reasonable-security.patch 858 RMD160 0be9d1a9412225361f6352322ee5af6279730393 SHA1 171f220000c5ada3208f9f5765ef3347c7cbde7d SHA256 4ae67c01b41e0ae2f52b60e43072a872373201cc81f92108cd674b89eabda044
AUX ddclient.confd 97 RMD160 dab278d7ed0ab8fe9f01c072be549d532f20b5d4 SHA1 90ede573df78aa242b9fec7f6d9f05f0c937fb2b SHA256 7a05a1c016dcffa2033da00e8a58072d0df33c31bc8b96170929032567cb44ab
AUX ddclient.initd 1227 RMD160 033f85c34d5126ce259687c565e16e78f01c4a6e SHA1 cc5e7fff44cba718090178db4cea756727007796 SHA256 9b2767317351437dcf71c59ef4ab15af0e4953465b17774980449885059aa925
+AUX ddclient.initd-r1 1195 RMD160 3b3355b15cd525a88b9c2d8bceb18749bb6cc1bb SHA1 e114f5a8485c270a2960e2ffa7790f2a130910bf SHA256 48befb2e5ce84e3912ce790a56f438ff988a2d2716fdcd2c127682a042702451
DIST ddclient-3.7.3.tar.gz 42034 RMD160 df40a809132102b9326fa7e9d735723e1de8ed37 SHA1 aa4368a58e5b344bffd6561fc7fed304c007fe84 SHA256 f1f57fdca170d9349cb99a3b8b33672d983e0e41c43c2bbb940927380ee12962
DIST ddclient-3.8.0.tar.gz 45893 RMD160 771ed13aa248c13af11e0466888513418bae98fb SHA1 ff889adacf916bebb25522d9cc1eda0e9593a7f4 SHA256 88f0f1cfafd2d7a813e72c3a3f1f2a08e9bf06ccd1d49ddb3f942dd4b9331fb3
+DIST ddclient-3.8.1.tar.gz 48600 RMD160 7b702d28c47e48ed19eedd6b2e50930f394e9631 SHA1 537861711e215baf9e6d03b67744d44da9be1bfd SHA256 f22ac7b0ec78e310d7b88a1cf636e5c00360b2ed9c087f231b3522ef3e6295f2
EBUILD ddclient-3.7.3-r1.ebuild 2363 RMD160 2965e17d6b5b943f91d11ce9b006f2f8828cb264 SHA1 2eb1fd92bd856353ec41f85ab1dff011e356e72d SHA256 9debac9ee7520b5fbd6d79d836b0cb93cbc662f04112065e8eeab51e6bff5dba
EBUILD ddclient-3.8.0.ebuild 2368 RMD160 bde7d181fd90058db991d7b35041eecca7606849 SHA1 c844c52f0b07fc94d7cf9a6ddaecec1f223b3779 SHA256 6cd8f2e4a03dd5d11d38f41fe3c7e2d03885b264a18c9cfce800542445107a4f
-MISC ChangeLog 7130 RMD160 94f7dc5591bdff87f0d6cf0be39532d1e5c795db SHA1 b66af4deaa3d1bc3d14104b3fddd167080c7f42b SHA256 4e2ee2445a35fec69d85f298520ff788c90739fd9242b213a50839b77bd507f7
-MISC metadata.xml 472 RMD160 99e905ebb3504150792d1cbc8cf49173c3aecaa3 SHA1 f5ca8daabc93a180cf1f51b4c25292f2453d15ae SHA256 35dc43669054a4809dfed31a75b3bf6ed15e728174180fd6c8cad8de37927d06
+EBUILD ddclient-3.8.1.ebuild 1946 RMD160 f65c05812387bf1616e71df7dc5d6f1ddd375e23 SHA1 ef38507f784299ccfc25d9b1aa1714fabba2aba8 SHA256 820511af15f4072e4771ecfc92f019f19884843a43acb991cac0e37d80774fb8
+MISC ChangeLog 7344 RMD160 a4fbb114614bdd9cb577c68e46cee786f2a9d4cc SHA1 4c199bf5832d56d45631b106566bc76638a27305 SHA256 f0a725f91c2efd305815967abbefcaa34844245ac9dfc45eb754c7983baf7684
+MISC metadata.xml 256 RMD160 89006208342e9a79efe65b9e77b9312d1496a304 SHA1 239df10a450e165de96532982d5d8db3a7e01799 SHA256 7a5b0a2f4ee68f846c8407c94f74ef01ea34b61835879e9a135fb0e028052806
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iF4EAREIAAYFAk5FHLwACgkQCOhwUhu5AEnwJwD/QqkH8D/Te3xtnFeDWAFkQPOx
+hMaE3k0ic48CmB4WQ1oBAL3w9IT+nUAxHo4QsZ+2P1uBr7aHnbBAwRKMDg+eHl88
+=I0BM
+-----END PGP SIGNATURE-----
diff --git a/net-dns/ddclient/ddclient-3.8.1.ebuild b/net-dns/ddclient/ddclient-3.8.1.ebuild
new file mode 100644
index 000000000000..f79b972e852d
--- /dev/null
+++ b/net-dns/ddclient/ddclient-3.8.1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2011 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.ebuild,v 1.1 2011/08/12 12:29:42 titanofold Exp $
+
+EAPI="4"
+
+inherit eutils
+
+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="ssl"
+
+RDEPEND=">=dev-lang/perl-5.1
+ ssl? ( dev-perl/IO-Socket-SSL )"
+
+pkg_setup() {
+ enewgroup ${PN}
+ enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+src_prepare() {
+ # Remove pid line, because it is specified in /etc/conf.d/ddclient
+ einfo "Applying PID setup"
+ if ! sed '/^pid/d' -i "sample-etc_${PN}.conf"; then
+ eerror "Failed to remove pid from /etc/${PN}/${PN}.conf"
+ eerror "Please set the PID in /etc/conf.d/${PN}, not /etc/${PN}/${PN}.conf"
+ fi
+
+ if ! use ssl; then
+ einfo "Disabling SSL per your USE flags"
+ sed '/^ssl/,/ssl-library$/d' -i "sample-etc_${PN}.conf" || \
+ eerror "Failed to remove ssl from /etc/$PN/$PN.conf"
+ fi
+}
+
+src_install() {
+ dosbin ${PN}
+ dodoc Change* COPYRIGHT README* RELEASENOTE sample*
+
+ newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+
+ keepdir /var/{cache,run}/${PN}
+ fowners -R ${PN}:${PN} /var/{cache,run}/${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}
+}
+
+pkg_postinst() {
+ use ssl && return
+ ewarn
+ ewarn "$PN will not have support for ssl, which means your dynamic DNS account"
+ ewarn "information -- including your password -- will be sent over the Internet in the"
+ ewarn "clear. To secure your information, add 'ssl' to your USEflags,"
+ ewarn "emerge -N ddclient, and add 'ssl=yes' to /etc/$PN/$PN.conf"
+ ewarn
+}
diff --git a/net-dns/ddclient/files/ddclient.initd-r1 b/net-dns/ddclient/files/ddclient.initd-r1
new file mode 100644
index 000000000000..dc2cfe1cfa88
--- /dev/null
+++ b/net-dns/ddclient/files/ddclient.initd-r1
@@ -0,0 +1,44 @@
+#!/sbin/runscript
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/ddclient/files/ddclient.initd-r1,v 1.1 2011/08/12 12:29:42 titanofold Exp $
+
+# Default location if not specified in /etc/conf.d/ddclient
+PIDFILE=${PIDFILE:-/var/run/ddclient/ddclient.pid}
+
+depend() {
+ before cron
+ need net
+ use dns logger squid
+}
+
+checkconfig() {
+ local conf="/etc/ddclient/ddclient.conf"
+
+ if [ -e "${conf}" ] ; then
+ if [ -n "$(find /etc/ddclient -maxdepth 1 -name ddclient.conf -perm -0044)" ] ; then
+ eerror "${conf} must not be world or group readable. Try:"
+ eerror " chmod 600 ${conf}"
+ eerror " chown ddclient:ddclient ${conf}"
+ return 1
+ fi
+ else
+ eerror "${conf} is needed to run ddclient"
+ eerror "There is a sample file in /etc/ddclient/"
+ return 1
+ fi
+}
+
+start() {
+ checkconfig || return 1
+ ebegin "Starting ${SVCNAME}"
+ start-stop-daemon --start --user ddclient --exec /usr/sbin/ddclient \
+ --name ddclient --pidfile "${PIDFILE}" -- -pid="${PIDFILE}"
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping ${SVCNAME}"
+ start-stop-daemon --stop --signal USR1 --pidfile "${PIDFILE}"
+ eend $?
+}
diff --git a/net-dns/ddclient/metadata.xml b/net-dns/ddclient/metadata.xml
index a09ed31953d1..0e15846b229c 100644
--- a/net-dns/ddclient/metadata.xml
+++ b/net-dns/ddclient/metadata.xml
@@ -3,12 +3,7 @@
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
- <email>matthewsmith@iinet.net.au</email>
- <name>Matthew Smith</name>
- <description>Once maintained this indirectly through seemant. He retired. CC on bugs till further notice.</description>
-</maintainer>
-<maintainer>
- <email>tanderson@gentoo.org</email>
- <name>Thomas Anderson</name>
+ <email>titanofold@gentoo.org</email>
+ <name>Aaron W. Swenson</name>
</maintainer>
</pkgmetadata>