Gentoo Archives: gentoo-dev

From: Enrico Weigelt <weigelt@×××××.de>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] epatch: reject patches with relative paths
Date: Fri, 31 Dec 2010 01:12:05
Message-Id: 20101231010501.GA30807@nibiru.local
In Reply to: Re: [gentoo-dev] epatch: reject patches with relative paths by "Robin H. Johnson"
1 * Robin H. Johnson <robbat2@g.o> schrieb:
2 > On Thu, Dec 30, 2010 at 07:04:25PM -0500, Mike Frysinger wrote:
3 > > epatch was changed to auto-skip the first path element when it is absolute
4 > > (starts with a slash). the reason was to avoid issues with patches touching
5 > > files outside of $PWD (which is bad if sandbox is disabled).
6 > +1 from me, but can we have a QA prefix on the ewarn output?
7
8 IMHO, in longer terms, all patches should normalized, created w/
9 diff -ruN and applied w/ -p1. Thats how most people do it, so
10 a kind of semi-standard.
11
12
13 cu
14 --
15 ----------------------------------------------------------------------
16 Enrico Weigelt, metux IT service -- http://www.metux.de/
17
18 phone: +49 36207 519931 email: weigelt@×××××.de
19 mobile: +49 151 27565287 icq: 210169427 skype: nekrad666
20 ----------------------------------------------------------------------
21 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
22 ----------------------------------------------------------------------

Replies

Subject Author
Re: [gentoo-dev] epatch: reject patches with relative paths Mike Frysinger <vapier@g.o>