diff options
author | Patrick Lauer <patrick@gentoo.org> | 2009-02-04 14:17:14 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2009-02-04 14:17:14 +0000 |
commit | a06b4ad86ba11aa9435173f30aab256d18323db2 (patch) | |
tree | a7ed9b13487bbe227068560ef480e0afb85c21e3 /net-dns | |
parent | Add ~mips keywords to qt-4.4.2 (diff) | |
download | historical-a06b4ad86ba11aa9435173f30aab256d18323db2.tar.gz historical-a06b4ad86ba11aa9435173f30aab256d18323db2.tar.bz2 historical-a06b4ad86ba11aa9435173f30aab256d18323db2.zip |
Bump to 3.8.0, fixes #257200
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/ddclient/ChangeLog | 9 | ||||
-rw-r--r-- | net-dns/ddclient/Manifest | 4 | ||||
-rw-r--r-- | net-dns/ddclient/ddclient-3.8.0.ebuild | 77 |
3 files changed, 87 insertions, 3 deletions
diff --git a/net-dns/ddclient/ChangeLog b/net-dns/ddclient/ChangeLog index fcb5f368a7ac..3a40c76598c7 100644 --- a/net-dns/ddclient/ChangeLog +++ b/net-dns/ddclient/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-dns/ddclient -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/ddclient/ChangeLog,v 1.37 2008/01/21 18:17:50 armin76 Exp $ +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/ddclient/ChangeLog,v 1.38 2009/02/04 14:17:14 patrick Exp $ + +*ddclient-3.8.0 (04 Feb 2009) + + 04 Feb 2009; Patrick Lauer <patrick@gentoo.org> +ddclient-3.8.0.ebuild: + Bump to 3.8.0, fixes #257200 21 Jan 2008; Raúl Porcel <armin76@gentoo.org> -files/ddclient.init, -files/ddclient.rc6, -files/ddclient-daemon0inconfig.diff, diff --git a/net-dns/ddclient/Manifest b/net-dns/ddclient/Manifest index 3fd5fcc6b0bb..2d7db53b1709 100644 --- a/net-dns/ddclient/Manifest +++ b/net-dns/ddclient/Manifest @@ -2,6 +2,8 @@ AUX ddclient-reasonable-security.patch 858 RMD160 0be9d1a9412225361f6352322ee5af AUX ddclient.confd 97 RMD160 dab278d7ed0ab8fe9f01c072be549d532f20b5d4 SHA1 90ede573df78aa242b9fec7f6d9f05f0c937fb2b SHA256 7a05a1c016dcffa2033da00e8a58072d0df33c31bc8b96170929032567cb44ab AUX ddclient.initd 1227 RMD160 033f85c34d5126ce259687c565e16e78f01c4a6e SHA1 cc5e7fff44cba718090178db4cea756727007796 SHA256 9b2767317351437dcf71c59ef4ab15af0e4953465b17774980449885059aa925 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 EBUILD ddclient-3.7.3-r1.ebuild 2364 RMD160 72f6ddd88085f8176d3b3d3b49e05d8a5552db56 SHA1 82c6daa1528fea69948d40c4102c9a74d037da1b SHA256 f4ee3d4a82982b06eb0ccbbdac45ab1d0a5f238f245cfcd97c61ea937a20d491 -MISC ChangeLog 6727 RMD160 10552df5267cc436855679e881d0126485f54f5e SHA1 5514bd36dc6437bf3b2ddfbb67b3a0e1c9f86616 SHA256 68c88f4e13777cc1b238966dd949c01b9e004bc581428a684646cb8b09c9bf3b +EBUILD ddclient-3.8.0.ebuild 2371 RMD160 ccf8d4ef0493255b239406d6dc28a407d9ab0d3f SHA1 7f0c2b8b9c0b405c4726fa6daf3ae93e1dae528b SHA256 e62ec593f87b1f9304e53083e75f3cc4029f67a9242d7e917b1aec0ef1ce10d1 +MISC ChangeLog 6864 RMD160 13df11944b944d3512e1d6aeba45a782a3af3ab4 SHA1 69b5aecc7a7428dd27bef397ec578f921c5b59a2 SHA256 d7c05d3b510bdf73cf1cb70382000c14491d96d68f32f9f6ed350914bba11476 MISC metadata.xml 335 RMD160 4e9f594f8a8ec01119b353b7c605258e58aed0a2 SHA1 3a5eb39e5112a2e27069ef994e5de908d7c65fff SHA256 d3307df47e9af12eabfd67d33714478d5a8137ade12d37f14c5b16a1bcaf3b22 diff --git a/net-dns/ddclient/ddclient-3.8.0.ebuild b/net-dns/ddclient/ddclient-3.8.0.ebuild new file mode 100644 index 000000000000..bea07e603c09 --- /dev/null +++ b/net-dns/ddclient/ddclient-3.8.0.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/ddclient/ddclient-3.8.0.ebuild,v 1.1 2009/02/04 14:17:14 patrick Exp $ + +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_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${PN}-reasonable-security.patch" + + einfo "Applying version string fix" + if ! sed -i "s/3\.7\.1/$PV/" "$PN"; then + eerror "Failed to update ddclient's internal version string" + eerror 'ddclient 3.7.2 will erroneously report a version of 3.7.1' + fi + + # Remove pid line, because it is specified in /etc/conf.d/ddclient + einfo "Applying PID setup" + if ! sed -i "/^pid=*/d" "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 useflags" + sed -i "/^ssl=*/d" "sample-etc_${PN}.conf" || + eerror "Failed to remove ssl from /etc/$PN/$PN.conf" + fi +} + +src_install() { + dosbin ${PN} || die "dosbin failed" + dodoc README* Change* COPYRIGHT sample* + + newinitd "${FILESDIR}"/${PN}.initd ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} + keepdir /var/{cache,run}/${PN} + + # Filename of sample conf - use live filename if available + local sample=${PN}.conf + [[ -e "${ROOT}/etc/${PN}/${sample}" ]] && sample="${sample}.sample" + insinto /etc/${PN} + insopts -m 0640 -o root -g ${PN} + newins sample-etc_${PN}.conf "${sample}" || die "newins conf failed" +} + +pkg_postinst() { + # ensure the directories are owned by the user:group for this pkg + chown ${PN}:${PN} /var/{cache,run}/${PN} + + 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 +} |