From: | "Thomas Anderson (gentoofan23)" <gentoofan23@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-dns/ddclient: ddclient-3.8.0.ebuild |
Date: | Wed, 25 Feb 2009 13:43:08 |
Message-Id: | E1LcK2U-00082o-3J@stork.gentoo.org |
1 | gentoofan23 09/02/25 13:43:06 |
2 | |
3 | Modified: ddclient-3.8.0.ebuild |
4 | Log: |
5 | Really Fix ROOT abuse, thanks to Thilo Bangert in bug #258098 |
6 | |
7 | Revision Changes Path |
8 | 1.2 net-dns/ddclient/ddclient-3.8.0.ebuild |
9 | |
10 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/ddclient/ddclient-3.8.0.ebuild?rev=1.2&view=markup |
11 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/ddclient/ddclient-3.8.0.ebuild?rev=1.2&content-type=text/plain |
12 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/ddclient/ddclient-3.8.0.ebuild?r1=1.1&r2=1.2 |
13 | |
14 | Index: ddclient-3.8.0.ebuild |
15 | =================================================================== |
16 | RCS file: /var/cvsroot/gentoo-x86/net-dns/ddclient/ddclient-3.8.0.ebuild,v |
17 | retrieving revision 1.1 |
18 | retrieving revision 1.2 |
19 | diff -u -r1.1 -r1.2 |
20 | --- ddclient-3.8.0.ebuild 4 Feb 2009 14:17:14 -0000 1.1 |
21 | +++ ddclient-3.8.0.ebuild 25 Feb 2009 13:43:06 -0000 1.2 |
22 | @@ -1,6 +1,6 @@ |
23 | # Copyright 1999-2009 Gentoo Foundation |
24 | # Distributed under the terms of the GNU General Public License v2 |
25 | -# $Header: /var/cvsroot/gentoo-x86/net-dns/ddclient/ddclient-3.8.0.ebuild,v 1.1 2009/02/04 14:17:14 patrick Exp $ |
26 | +# $Header: /var/cvsroot/gentoo-x86/net-dns/ddclient/ddclient-3.8.0.ebuild,v 1.2 2009/02/25 13:43:06 gentoofan23 Exp $ |
27 | |
28 | inherit eutils |
29 | |
30 | @@ -57,7 +57,7 @@ |
31 | |
32 | # Filename of sample conf - use live filename if available |
33 | local sample=${PN}.conf |
34 | - [[ -e "${ROOT}/etc/${PN}/${sample}" ]] && sample="${sample}.sample" |
35 | + [[ -e "/etc/${PN}/${sample}" ]] && sample="${sample}.sample" |
36 | insinto /etc/${PN} |
37 | insopts -m 0640 -o root -g ${PN} |
38 | newins sample-etc_${PN}.conf "${sample}" || die "newins conf failed" |