diff options
author | Thomas Anderson <gentoofan23@gentoo.org> | 2009-02-24 20:53:58 +0000 |
---|---|---|
committer | Thomas Anderson <gentoofan23@gentoo.org> | 2009-02-24 20:53:58 +0000 |
commit | bd11ec85daaac5acb2623e5259aa7a5b6213ae08 (patch) | |
tree | c97e924d3a1ef92ac261cf1616a8208f9f941ec2 | |
parent | stable amd64, bug 260036 (diff) | |
download | gentoo-2-bd11ec85daaac5acb2623e5259aa7a5b6213ae08.tar.gz gentoo-2-bd11ec85daaac5acb2623e5259aa7a5b6213ae08.tar.bz2 gentoo-2-bd11ec85daaac5acb2623e5259aa7a5b6213ae08.zip |
Fix ROOT abuse, thanks to Thilo Bangert in bug #258098
-rw-r--r-- | net-dns/ddclient/ChangeLog | 6 | ||||
-rw-r--r-- | net-dns/ddclient/ddclient-3.7.3-r1.ebuild | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/net-dns/ddclient/ChangeLog b/net-dns/ddclient/ChangeLog index 1e905df9cfa2..3af099569c2d 100644 --- a/net-dns/ddclient/ChangeLog +++ b/net-dns/ddclient/ChangeLog @@ -1,6 +1,10 @@ # 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.39 2009/02/11 20:20:16 gentoofan23 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/ddclient/ChangeLog,v 1.40 2009/02/24 20:53:58 gentoofan23 Exp $ + + 24 Feb 2009; Thomas Anderson <gentoofan23@gentoo.org> + ddclient-3.7.3-r1.ebuild, ddclient-3.8.0.ebuild: + Fix ROOT abuse, thanks to Thilo Bangert in bug #258098 11 Feb 2009; Thomas Anderson <gentoofan23@gentoo.org> metadata.xml: Pick up maintainership. diff --git a/net-dns/ddclient/ddclient-3.7.3-r1.ebuild b/net-dns/ddclient/ddclient-3.7.3-r1.ebuild index 1a8192d7bfab..96f12d43c949 100644 --- a/net-dns/ddclient/ddclient-3.7.3-r1.ebuild +++ b/net-dns/ddclient/ddclient-3.7.3-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2008 Gentoo Foundation +# 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.7.3-r1.ebuild,v 1.9 2008/01/13 08:43:39 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/ddclient/ddclient-3.7.3-r1.ebuild,v 1.10 2009/02/24 20:53:58 gentoofan23 Exp $ inherit eutils @@ -57,7 +57,7 @@ src_install() { # Filename of sample conf - use live filename if available local sample=${PN}.conf - [[ -e "${ROOT}/etc/${PN}/${sample}" ]] && sample="${sample}.sample" + [[ -e "/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" |