1 |
Chris PeBenito wrote: |
2 |
> On Sun, 2007-06-24 at 20:03 +0200, Krzysztof Koz³owski wrote: |
3 |
>> http://www.kozik.net.pl/projekty/gentoo/selinux-munin-20070329.ebuild |
4 |
> That looks fine. |
5 |
|
6 |
Wouldn't it be better to do something like this : |
7 |
|
8 |
src_unpack() { |
9 |
selinux-policy-2_src_unpack |
10 |
|
11 |
cd "${S}/refpolicy" |
12 |
epatch ${FILESDIR}/${P}-path-patches.diff |
13 |
} |
14 |
|
15 |
and change patch to something like this : |
16 |
|
17 |
--- strict/munin.fc.old 2007-06-24 19:07:12.000000000 +0200 |
18 |
+++ strict/munin.fc 2007-06-24 19:09:30.000000000 +0200 |
19 |
<contents of patch> |
20 |
--- targeted/munin.fc.old 2007-06-24 19:07:12.000000000 +0200 |
21 |
+++ targeted/munin.fc 2007-06-24 19:09:30.000000000 +0200 |
22 |
<contents of patch> |
23 |
|
24 |
Regards, |
25 |
Marek Wróbel |
26 |
-- |
27 |
gentoo-hardened@g.o mailing list |