summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2007-08-21 13:46:09 +0000
committerRoy Marples <uberlord@gentoo.org>2007-08-21 13:46:09 +0000
commit5e325ab67ddefb417fd3d0be719ff5d113b33034 (patch)
tree437fee7ebfe92fa06684c2f935dd478b4b884daa /net-dns
parentStable for HPPA (bug #187190). (diff)
downloadhistorical-5e325ab67ddefb417fd3d0be719ff5d113b33034.tar.gz
historical-5e325ab67ddefb417fd3d0be719ff5d113b33034.tar.bz2
historical-5e325ab67ddefb417fd3d0be719ff5d113b33034.zip
Rework the install section so we don't have to change back to the root/wheel
group so we can install on FreeBSD Keyworded ~x86-fbsd and bumped, #170708. Package-Manager: portage-2.1.3.6
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/ddclient/ChangeLog8
-rw-r--r--net-dns/ddclient/Manifest16
-rw-r--r--net-dns/ddclient/ddclient-3.7.3.ebuild74
-rw-r--r--net-dns/ddclient/files/digest-ddclient-3.7.33
4 files changed, 96 insertions, 5 deletions
diff --git a/net-dns/ddclient/ChangeLog b/net-dns/ddclient/ChangeLog
index 1d173dfcc038..00c0b184542f 100644
--- a/net-dns/ddclient/ChangeLog
+++ b/net-dns/ddclient/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-dns/ddclient
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/ddclient/ChangeLog,v 1.27 2007/08/08 03:17:32 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/ddclient/ChangeLog,v 1.28 2007/08/21 13:46:09 uberlord Exp $
+
+*ddclient-3.7.3 (21 Aug 2007)
+
+ 21 Aug 2007; Roy Marples <uberlord@gentoo.org> +ddclient-3.7.3.ebuild:
+ Rework the install section so we don't have to change back to the root/wheel
+ group so we can install on FreeBSD Keyworded ~x86-fbsd and bumped, #170708.
*ddclient-3.7.2-r1 (08 Aug 2007)
diff --git a/net-dns/ddclient/Manifest b/net-dns/ddclient/Manifest
index 8920381cd593..835fe492d6b0 100644
--- a/net-dns/ddclient/Manifest
+++ b/net-dns/ddclient/Manifest
@@ -34,6 +34,7 @@ DIST ddclient-3.6.3.tar.gz 34497 RMD160 706cde94c38e6998193c767e2501b76bcdc27a04
DIST ddclient-3.6.6.tar.gz 36726 RMD160 6f1cbc1cc41a8d646f35d91ae57595cc797422cc SHA1 1f079518cc85917df53088744d6ed5fa63bd806b SHA256 722febeed3ac3ca9aadf75cfffa1a75ee1e1014c32527120ca241714b693d211
DIST ddclient-3.7.0.tar.gz 39515 RMD160 3b682fd085e606a736a13289744ea8ce67df7ced SHA1 8c9c7ed87b900766f036febdf2e2843fe6e98894 SHA256 2795ebafd2d439f2c887187cab7295f65ce4e03efa0156269d561f8dc0622b90
DIST ddclient-3.7.2.tar.gz 87040 RMD160 fed9642560d74f462179edae92b8346e08cd514e SHA1 35ad76ab058583bcc956df33d98026137e376c9d SHA256 7aedbeb5f737cd46794393bdf166fe6b856dc6c97d402a5dcfbfe6247bb37fe2
+DIST ddclient-3.7.3.tar.gz 42034 RMD160 df40a809132102b9326fa7e9d735723e1de8ed37 SHA1 aa4368a58e5b344bffd6561fc7fed304c007fe84 SHA256 f1f57fdca170d9349cb99a3b8b33672d983e0e41c43c2bbb940927380ee12962
EBUILD ddclient-3.6.3.ebuild 762 RMD160 615e562d20b3767a7358592fe6b566a642631b0e SHA1 603abaaa0610f82bffd808dea09daf9736087221 SHA256 e2b439c6613bfa6c42e15edecacc39e12e0ce50b64ed1091f4c2b8b2e87cf126
MD5 66bf97a342f1318de241b76f04bc2ac8 ddclient-3.6.3.ebuild 762
RMD160 615e562d20b3767a7358592fe6b566a642631b0e ddclient-3.6.3.ebuild 762
@@ -54,10 +55,14 @@ EBUILD ddclient-3.7.2.ebuild 2396 RMD160 105c79b87caf9ccb34728f60ce1f829f1148d37
MD5 75926017cfcca0a0cdac8403f97109f7 ddclient-3.7.2.ebuild 2396
RMD160 105c79b87caf9ccb34728f60ce1f829f1148d37b ddclient-3.7.2.ebuild 2396
SHA256 02c65bb0c1b1f4a5b20321c9ebaf4a915a48511bf08ccadd7f3258e873e1ac52 ddclient-3.7.2.ebuild 2396
-MISC ChangeLog 5165 RMD160 548a7e68e8ea9160b32a346f3fafb4264838ec26 SHA1 2c59d8675f643593aec805e74f834b72eb51acfc SHA256 0e5c336835dbd418adee60cd84fcc1d74417af68be69ce3d5e31889da9041cd7
-MD5 22e8edf05bb6afa349ca77d16646ca50 ChangeLog 5165
-RMD160 548a7e68e8ea9160b32a346f3fafb4264838ec26 ChangeLog 5165
-SHA256 0e5c336835dbd418adee60cd84fcc1d74417af68be69ce3d5e31889da9041cd7 ChangeLog 5165
+EBUILD ddclient-3.7.3.ebuild 2262 RMD160 0447447edd1fed98694dac61be65b584d5bf6d66 SHA1 9df95229656bcc4b7231f7b05395e19a8a9775ee SHA256 c2f6cff6b4ae21245b8943892075d367655aca1910aa9dcb15e1ea39f171ff31
+MD5 fb59272e70ffd0715acaad618436fde5 ddclient-3.7.3.ebuild 2262
+RMD160 0447447edd1fed98694dac61be65b584d5bf6d66 ddclient-3.7.3.ebuild 2262
+SHA256 c2f6cff6b4ae21245b8943892075d367655aca1910aa9dcb15e1ea39f171ff31 ddclient-3.7.3.ebuild 2262
+MISC ChangeLog 5427 RMD160 c1a9dbddf8e65ec14c6fda3d451c1dbef44cb2c9 SHA1 2e3ccab79acda1e4889ce9ae2e0d964a1a5263cc SHA256 ba7ce26df0626184b85da94668501633768244587f03172b32516cfeecf926e7
+MD5 14af6843fb277d6fb7c456ab4441afac ChangeLog 5427
+RMD160 c1a9dbddf8e65ec14c6fda3d451c1dbef44cb2c9 ChangeLog 5427
+SHA256 ba7ce26df0626184b85da94668501633768244587f03172b32516cfeecf926e7 ChangeLog 5427
MISC metadata.xml 335 RMD160 4e9f594f8a8ec01119b353b7c605258e58aed0a2 SHA1 3a5eb39e5112a2e27069ef994e5de908d7c65fff SHA256 d3307df47e9af12eabfd67d33714478d5a8137ade12d37f14c5b16a1bcaf3b22
MD5 8a294636aa63272177527a8786f6e458 metadata.xml 335
RMD160 4e9f594f8a8ec01119b353b7c605258e58aed0a2 metadata.xml 335
@@ -77,3 +82,6 @@ SHA256 2638601da4ed8b13ac274884423252e5fa51baacc60c80031c465a69ada18a53 files/di
MD5 60cf0964222e42ebe9c7ead8f704e823 files/digest-ddclient-3.7.2-r1 241
RMD160 80209eb0504233ab55ea1e018cf63dcd5ac3db08 files/digest-ddclient-3.7.2-r1 241
SHA256 2638601da4ed8b13ac274884423252e5fa51baacc60c80031c465a69ada18a53 files/digest-ddclient-3.7.2-r1 241
+MD5 1b4f422c68a82d37cae0bd29b9b9b993 files/digest-ddclient-3.7.3 241
+RMD160 b56a10473b3c84b5fd9937aeef576520d7581f09 files/digest-ddclient-3.7.3 241
+SHA256 456facaf438e3d532f5bcc7c9501ae66e5c6384d05cce25fd3c41f24d9ffbe89 files/digest-ddclient-3.7.3 241
diff --git a/net-dns/ddclient/ddclient-3.7.3.ebuild b/net-dns/ddclient/ddclient-3.7.3.ebuild
new file mode 100644
index 000000000000..42040b236827
--- /dev/null
+++ b/net-dns/ddclient/ddclient-3.7.3.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/ddclient/ddclient-3.7.3.ebuild,v 1.1 2007/08/21 13:46:09 uberlord 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() {
+ 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/digest-ddclient-3.7.3 b/net-dns/ddclient/files/digest-ddclient-3.7.3
new file mode 100644
index 000000000000..6cd8d0a6580c
--- /dev/null
+++ b/net-dns/ddclient/files/digest-ddclient-3.7.3
@@ -0,0 +1,3 @@
+MD5 5459ae165e74437587b6e84225a7fbf0 ddclient-3.7.3.tar.gz 42034
+RMD160 df40a809132102b9326fa7e9d735723e1de8ed37 ddclient-3.7.3.tar.gz 42034
+SHA256 f1f57fdca170d9349cb99a3b8b33672d983e0e41c43c2bbb940927380ee12962 ddclient-3.7.3.tar.gz 42034