summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron W. Swenson <titanofold@gentoo.org>2011-08-28 15:11:14 +0000
committerAaron W. Swenson <titanofold@gentoo.org>2011-08-28 15:11:14 +0000
commitafa9be73201353d3751d21eccc7ed2c2b4372fb7 (patch)
tree29009456f9b8f2eeea73f011aa8ab9d7013a6acf /net-dns/ddclient
parentChange version scheme (diff)
downloadgentoo-2-afa9be73201353d3751d21eccc7ed2c2b4372fb7.tar.gz
gentoo-2-afa9be73201353d3751d21eccc7ed2c2b4372fb7.tar.bz2
gentoo-2-afa9be73201353d3751d21eccc7ed2c2b4372fb7.zip
Fixes bug 380895. Removed "optional" SSL support.
(Portage version: 2.1.10.11/cvs/Linux i686)
Diffstat (limited to 'net-dns/ddclient')
-rw-r--r--net-dns/ddclient/ChangeLog8
-rw-r--r--net-dns/ddclient/ddclient-3.8.1-r3.ebuild55
2 files changed, 62 insertions, 1 deletions
diff --git a/net-dns/ddclient/ChangeLog b/net-dns/ddclient/ChangeLog
index 8a96069dd8d4..5c46299babf9 100644
--- a/net-dns/ddclient/ChangeLog
+++ b/net-dns/ddclient/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-dns/ddclient
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/ddclient/ChangeLog,v 1.43 2011/08/23 20:52:03 titanofold Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/ddclient/ChangeLog,v 1.44 2011/08/28 15:11:14 titanofold Exp $
+
+*ddclient-3.8.1-r3 (28 Aug 2011)
+
+ 28 Aug 2011; Aaron W. Swenson <titanofold@gentoo.org>
+ +ddclient-3.8.1-r3.ebuild:
+ Fixes bug 380895. Removed "optional" SSL support.
*ddclient-3.8.1-r2 (23 Aug 2011)
diff --git a/net-dns/ddclient/ddclient-3.8.1-r3.ebuild b/net-dns/ddclient/ddclient-3.8.1-r3.ebuild
new file mode 100644
index 000000000000..f211c6ade052
--- /dev/null
+++ b/net-dns/ddclient/ddclient-3.8.1-r3.ebuild
@@ -0,0 +1,55 @@
+# 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-r3.ebuild,v 1.1 2011/08/28 15:11:14 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="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/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
+
+ use hardened && epatch "${FILESDIR}/iproute2.patch"
+}
+
+src_install() {
+ dosbin ${PN}
+ dodoc Change* COPYRIGHT README* RELEASENOTE sample*
+
+ newinitd "${FILESDIR}"/${PN}.initd-r2 ${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}
+}