jhalfs HLFS part: grsec and uClibc-locale

Tor Olav Stava t-ol-sta at online.no
Mon Mar 20 11:59:07 PST 2006


M.Canales.es wrote:

>El Lunes, 20 de Marzo de 2006 10:51, Tor Olav Stava escribió:
>  
>
>>jhalfs-experimental-2370
>>
>>It seems like the uClibc-locale package is now back to *.tgz format on
>>the mirrors, and the *.tar.bz2 -> *.tgz hack is no longer needed.
>>I attached a simple patch to solve this issue.
>>
>>Another strange thing I noticed, was with the
>>grsecurity-2.1.8-2.6.14.6-200601211647.patch.gz. It is shown as *.gz in
>>the patches file, and downloaded accordingly, but in
>>hlfs-commands/chapter07/136-kernel it is referenced as a *.bz2 file.
>>I've run the ./hlfs script several time with the same result, and
>>there's no *.bz2 file in my archive that can confuse the script or the
>>parser.
>>    
>>
>
>What FTP mirror are you using?
>  
>
I've been only been trying two different mirrors:
ftp://ftp.linuxfromscratch.org/pub/lfs/conglomeration and
ftp://ftp.osuosl.org/pub/lfs/conglomeration

Normally I download missing packages manually and put them on my local 
file-server. The automatic package harvesting in HLFS always fail on the 
md5sum of the dejagnu-1.4.4.tar.bz2 file when I'm downloading from the 
ftp mirrors, and not stops before everything is downloaded.

>In all mirrors that I'm browsing I found
>
>grsecurity-2.1.8-2.6.14.6-200601211647.patch.bz2
>
>and
>
>uClibc-locale-030818.tar.gz
>  
>
Indeed you're right. My mistake about the uClibc-locale archive, I had 
renamed that one myself a while ago. The real problem is that the hack 
in the master.sh expects to find uClibc-locale*.tar.bz2, which I can't 
find anywhere, only uClibc-locale*.tar.gz files.

I've got both *.gz and *.bz2 versions of the grsecurity*.patch, both 
should work, but they don't correspond in the generated scripts:

 From the patches file:
<snip>
grsecurity-2.1.8-2.6.14.6-200601211647.patch.gz
<EOF>

 From the 136-kernel script:
<snip>
tar --no-same-owner --no-same-permissions -xf \
    /sources/linux-2.6.14.6.tar.bz2
install -m444 /sources/linux-2.6.14.6-pseudo_random-1.patch /usr/src
install -m444 /sources/grsecurity-2.1.8-2.6.14.6-200601211647.patch.bz2 
/usr/src
bunzip2 /usr/src/grsecurity-2.1.8-2.6.14.6-200601211647.patch.bz2
cd /usr/src/linux-2.6.14.6
<snip>

My guess is that the patches file is correct and the kernel script is 
wrong (according to the HLFS-dev book).

Naturally, the grsec*.gz file gets downloaded, and the 136-kernel 
scripts spits out an error about not finding the grsec*.bz2 file.


Tor Olav



More information about the alfs-discuss mailing list