1 |
On пн, 2004-06-21 at 23:24, Dennis Freise wrote: |
2 |
> On Mon, 21 Jun 2004 23:12:18 +0300 |
3 |
> Rumen Yotov <rumen_yotov@×××.bg> wrote: |
4 |
> |
5 |
> > Wish to test the patch, but wanna ask what's the best way to do it? |
6 |
> > First emerge ............linux-headers-2.6.3 for example. |
7 |
> > Then ebuild ...glibc.. clean; ebuild ...glibc.. unpack; |
8 |
> > Apply the patch; (cd /var/portage/tmp/work/glibc../; patch -p1 < patch) |
9 |
> > later ebuild ....glibc... compile ebuild ..glibc.. install etc. |
10 |
> > Or there are some already patched glibc-2.3.3-20040420.ebuild with the |
11 |
> > patch included? Seems the second way is easier. |
12 |
> |
13 |
> You can include that patch in the ebuild yourself, it's very easy: |
14 |
> |
15 |
> edit /usr/portage/sys-libs/glibc/glibc-2.3.3.20040420.ebuild |
16 |
> |
17 |
> find line: |
18 |
> cd ${S}; epatch ${FILESDIR}/2.3.2/${LOCAL_P}/iconvconfig-name_insert.patch |
19 |
> |
20 |
> insert _after_: |
21 |
> cd ${S}; epatch ${FILESDIR}/2.3.4/${PN}-2.3.4-hardened-sysdep-shared.patch |
22 |
> |
23 |
> save |
24 |
> add 'nptl' to your USE |
25 |
> your gcc should be compiled with 'hardened' by now |
26 |
> 'emerge --oneshot glibc' |
27 |
> |
28 |
> Done :-) Note that this change will be undone on next rsync, so you shouldn't |
29 |
> recompile this particular glibc-version after another sync (until the patch gets |
30 |
> applied you'll end up with the mentioned compile-error...). |
31 |
> |
32 |
> I'm not really sure if it's the best location for this patch in the ebuild, but |
33 |
> it applied fine and glibc compiles fine. It's just for testing, so don't throw |
34 |
> rocks at me ;) |
35 |
Hi Dennis, |
36 |
First thanks for the help. Put the glibc-20040420.ebuild in OVERLAY dir |
37 |
and edited it accordingly. So i won't have to patch it again. |
38 |
emerged linux-headers-2.6.4 and now i'm compiling glibc and as the time |
39 |
passes it seems it'll be OK. Write this now as maybe when emerge ends |
40 |
i'll have to re-emerge evolution with this ML-thread so i'm doing it |
41 |
now. Evo requires a lot of time. Same for apache2. Think so because |
42 |
re-emerged them when went to glibc w/o NPTL & 2.6 headers. |
43 |
When emergeing glibc ends i'll post a report on BUG-52254 as success |
44 |
(lets hope) or failure. |
45 |
Rumen |