jhalfs HLFS part: grsec and uClibc-locale
Tor Olav Stava
t-ol-sta at online.no
Mon Mar 20 11:59:07 PST 2006
>El Lunes, 20 de Marzo de 2006 10:51, Tor Olav Stava escribió:
>>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-184.108.40.206-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
>What FTP mirror are you using?
I've been only been trying two different mirrors:
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
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:
From the 136-kernel script:
tar --no-same-owner --no-same-permissions -xf \
install -m444 /sources/linux-220.127.116.11-pseudo_random-1.patch /usr/src
install -m444 /sources/grsecurity-2.1.8-18.104.22.168-200601211647.patch.bz2
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.
More information about the alfs-discuss