diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2007-12-03 16:02:19 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2007-12-03 16:02:19 +0000 |
commit | 521b78d1d70dacbe22d9a0e8bd6c5634c8247944 (patch) | |
tree | 6a97368ce9c098f9f914673a4f1dd95389a7bc29 /net-dns/ddclient | |
parent | Version bump. Add SSE2 USE-flag as suggested by Risto A. Paju <teknohog+gento... (diff) | |
download | historical-521b78d1d70dacbe22d9a0e8bd6c5634c8247944.tar.gz historical-521b78d1d70dacbe22d9a0e8bd6c5634c8247944.tar.bz2 historical-521b78d1d70dacbe22d9a0e8bd6c5634c8247944.zip |
Ensure the right directories are owned by the user:group for this pkg. bug #191174
Package-Manager: portage-2.1.4_rc6
Diffstat (limited to 'net-dns/ddclient')
-rw-r--r-- | net-dns/ddclient/ChangeLog | 8 | ||||
-rw-r--r-- | net-dns/ddclient/Manifest | 25 | ||||
-rw-r--r-- | net-dns/ddclient/ddclient-3.7.3-r1.ebuild | 77 | ||||
-rw-r--r-- | net-dns/ddclient/files/digest-ddclient-3.7.3-r1 | 3 |
4 files changed, 108 insertions, 5 deletions
diff --git a/net-dns/ddclient/ChangeLog b/net-dns/ddclient/ChangeLog index 00c0b184542f..067cf67de70e 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.28 2007/08/21 13:46:09 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/ddclient/ChangeLog,v 1.29 2007/12/03 16:02:18 cardoe Exp $ + +*ddclient-3.7.3-r1 (03 Dec 2007) + + 03 Dec 2007; Doug Klima <cardoe@gentoo.org> +ddclient-3.7.3-r1.ebuild: + Ensure the right directories are owned by the user:group for this pkg. bug + #191174 *ddclient-3.7.3 (21 Aug 2007) diff --git a/net-dns/ddclient/Manifest b/net-dns/ddclient/Manifest index 835fe492d6b0..68b71f3969da 100644 --- a/net-dns/ddclient/Manifest +++ b/net-dns/ddclient/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX ddclient-daemon0inconfig.diff 581 RMD160 727f1fdf3c85abac760be6e24563f7717eccfc58 SHA1 af6e1951a5be2566606c474fde1cde0b76e090d0 SHA256 73a69e09f79d7980f042c95bdd01832fa7749555ed237de824f19c45bb99793a MD5 8547bd5960dc49726d62e1699742e474 files/ddclient-daemon0inconfig.diff 581 RMD160 727f1fdf3c85abac760be6e24563f7717eccfc58 files/ddclient-daemon0inconfig.diff 581 @@ -55,14 +58,18 @@ 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 +EBUILD ddclient-3.7.3-r1.ebuild 2373 RMD160 a6ee612d2a84425132baec661dcbe41e61c5a116 SHA1 3ae6a9953f8c9ea759e8c768475e58abc184e9c0 SHA256 07b74c53b170471f34050c92de1cdc21250211e401904a0e80065342dd00ae99 +MD5 c32f9dd30eaa856d84831c1d1cbf0122 ddclient-3.7.3-r1.ebuild 2373 +RMD160 a6ee612d2a84425132baec661dcbe41e61c5a116 ddclient-3.7.3-r1.ebuild 2373 +SHA256 07b74c53b170471f34050c92de1cdc21250211e401904a0e80065342dd00ae99 ddclient-3.7.3-r1.ebuild 2373 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 ChangeLog 5620 RMD160 bdf285fe50f068a9062d26d6a5b4580540d9da69 SHA1 c4297dc2ef8561eb206e166722bba344d8424240 SHA256 6b87770e5e921cbf8a470c1abb9b0263d5a3047d720230040cd8c0585367d5d3 +MD5 2dfdbb131e99ace0409f7f10d43ab81c ChangeLog 5620 +RMD160 bdf285fe50f068a9062d26d6a5b4580540d9da69 ChangeLog 5620 +SHA256 6b87770e5e921cbf8a470c1abb9b0263d5a3047d720230040cd8c0585367d5d3 ChangeLog 5620 MISC metadata.xml 335 RMD160 4e9f594f8a8ec01119b353b7c605258e58aed0a2 SHA1 3a5eb39e5112a2e27069ef994e5de908d7c65fff SHA256 d3307df47e9af12eabfd67d33714478d5a8137ade12d37f14c5b16a1bcaf3b22 MD5 8a294636aa63272177527a8786f6e458 metadata.xml 335 RMD160 4e9f594f8a8ec01119b353b7c605258e58aed0a2 metadata.xml 335 @@ -85,3 +92,13 @@ SHA256 2638601da4ed8b13ac274884423252e5fa51baacc60c80031c465a69ada18a53 files/di 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 +MD5 1b4f422c68a82d37cae0bd29b9b9b993 files/digest-ddclient-3.7.3-r1 241 +RMD160 b56a10473b3c84b5fd9937aeef576520d7581f09 files/digest-ddclient-3.7.3-r1 241 +SHA256 456facaf438e3d532f5bcc7c9501ae66e5c6384d05cce25fd3c41f24d9ffbe89 files/digest-ddclient-3.7.3-r1 241 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.7 (GNU/Linux) + +iD8DBQFHVCiSoeSe8B0zEfwRAuiAAJwLzE7awCbVocsspGwRADoAgz/vxgCfSZC8 +C+3hGeKrYtrHDr/5bXRr0gs= +=mCUP +-----END PGP SIGNATURE----- diff --git a/net-dns/ddclient/ddclient-3.7.3-r1.ebuild b/net-dns/ddclient/ddclient-3.7.3-r1.ebuild new file mode 100644 index 000000000000..c448e8289175 --- /dev/null +++ b/net-dns/ddclient/ddclient-3.7.3-r1.ebuild @@ -0,0 +1,77 @@ +# 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-r1.ebuild,v 1.1 2007/12/03 16:02:18 cardoe 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 + + # ensure the directories are owned by the user:group for this pkg + chown ${PN}:${PN} /var/{cache,run}/${PN} +} diff --git a/net-dns/ddclient/files/digest-ddclient-3.7.3-r1 b/net-dns/ddclient/files/digest-ddclient-3.7.3-r1 new file mode 100644 index 000000000000..6cd8d0a6580c --- /dev/null +++ b/net-dns/ddclient/files/digest-ddclient-3.7.3-r1 @@ -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 |