Status of HLFS project

2006-09-13 Thread Jan Dvořák
Hi, what is the current HLFS status? Is project temporary stopped or is it completely dead? It obviously is not in active development. What are we waiting for? How can I, HLFS (Glibc) user help you to bring HLFS further? - Mordae -- http://linuxfromscratch.org/mailman/listinfo/hl

Re: Status of HLFS project

2006-09-14 Thread Jan Dvořák
Hi, >>> It's active, but I seem to be the only maintainer and I work 55 hours >>> per week. >> I don't have exactly *much* time either, but I'd like to help you. Alas, >> I'm not much C-positive. So, first I'm going to study new HLFS features >> and then I'll build to see how it goes. > Well I'd l

5.2. Embryo Toolchain - Stages differs (ggc-common.o)

2006-09-15 Thread Jan Dvořák
Hi, I tried to build 5.2. last night and got this error (./ggc-comon.o differs). Very similar problem has already been reported according google in so I followed Robert's hint to CFLAGS="-fno-stack-protector -no-pie",

Re: 5.2. Embryo Toolchain - Stages differs (ggc-common.o)

2006-09-15 Thread Jan Dvořák
> so I followed Robert's hint to CFLAGS="-fno-stack-protector -no-pie", > but I end up with another error. It is not possible to set CFLAGS like > this as we don't include SSP and PIE in stage1 xgcc so it fails as it > don't know anything about them. Correction: It *is* possible to build this way.

Re: util-linux using libcrypto

2006-09-18 Thread Jan Dvořák
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I've re-written that ugly patch and post this one. It +/- integrates to the build system (and you won't tell it from that messy stuff there). To enable it, just edit MCONFIG and sed -e 's/^HAVE_OPENSSL=no/HAVE_OPENSSL=yes/' ./con

Re: cryptodev

2006-09-18 Thread Jan Dvořák
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Alex, > Anyway, this is altogether too deep a discussion over the adding of a > simple option :-P That option is there since you noticed that first time... :] Anyway, current version can be found at

Re: util-linux using libcrypto

2006-09-19 Thread Jan Dvořák
Hi, > It shouldn't be hard to remove libcrypt from glibc We'll have to build it later as it defines crypt(). Maybe we could only replace it's MD5 algo with OpenSSL's and build it separately once libcrypto is in place... # EOF -- http://linuxfromscratch.org/mailman/listinfo/hlfs-dev FAQ: http://w

Re: util-linux using libcrypto

2006-09-19 Thread Jan Dvořák
Hi, another think I just found out. Glibc's sunrpc has it's own impl of DES. As noted in sunrpc/des_impl.c: Collected from libdes and modified for SECURE RPC by Martin Kuck 1994, funny huh? :] signature.asc Description: OpenPGP digital signature -- http://linuxfromscratch.org

Re: Using assert(3) to deal with -D_FORTIFY_SOURCE warnings

2006-10-15 Thread Jan Dvořák
Robert Connolly wrote: > Hello. Does it seem reasonable to use: > - fwrite (...); > + assert(fwrite (...)); > ... > to deal with -D_FORTIFY_SOURCE warnings with fwrite(), dup(), chdir(), > fchown(), fgets(), write(), mktemp(), mkstemp(), mkdtemp(), and friends who Seems very reasonable, but upstr

Package Management notice in 6.1

2006-10-16 Thread Jan Dvořák
EHLO, > 6.1. Introduction > [...] > For a package management method specifically geared towards HLFS, we > recommend [...]/hints/downloads/files/more_control_and_pkg_man.txt. If this is true, shouldn't instructions in the book be adjusted to make installation in such conditions painless? Some tim

Re: hlfs fwrite changes to binutils and gcc

2007-02-20 Thread Jan Dvořák
Hi, > Move > to , include the vanilla header in the new > , then redefine the functions with assertions... unless NDEBUG is > defined. This would be a lot easier to work with, as a sysadmin, and would > work transparently with all packages. The only problem is that we will get errors even whe

Re: Possible security issue with blowfish shadow passwords

2007-03-01 Thread Jan Dvořák
Kevin Day wrote: >> - Linux-PAM (set passwords to blowfish as pam seems to handle them) >> password = abcd >> 4) abcd = pass >> 5) abcde = pass Maybe this piece of code from modules/pam_unix/support.c:709? /* * Note, we are comparing the bigcrypt of the password with * the contents of the pass

Re: debugging strategies

2007-03-23 Thread Jan Dvořák
Robert Connolly wrote: > GDB doesn't build, or doesn't work? For me it does build, but fails like this: $ cat >>gdb-test.c < search starts here: /usr/local/include /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include /usr/include End of search list. GNU C version 4.1.1 (i686-pc-linux-gnu) co

Util-linux to use OpenSSL for MD5

2007-03-28 Thread Jan Dvořák
Hi there again, reworked patch for Util-linux. The patch can be downloaded from http://jh.gvn.cz/~jd870911/hlfs/openssl/util-linux-2.12r-openssl-2.patch and patch to the book is attached for discussion. This relates to quite old thread (can't find it right now) about making everything in the

Re: Util-linux to use OpenSSL for MD5

2007-03-28 Thread Jan Dvořák
I do apologize, some errors crawled in. http://jh.gvn.cz/~jd870911/hlfs/openssl/util-linux-2.12r-openssl-3.patch Index: chapter06/util-linux.xml === --- chapter06/util-linux.xml(revision 1042) +++ chapter06/util-linux.xml(wor