[Pkg-shadow-devel] Shadow 4.2 packaging

Bruce Dubbs bruce.dubbs at gmail.com
Thu May 8 23:29:25 UTC 2014


There is a new package in the shadow repository, shadow-4.2.tar.xz, but 
it is inadequate for general use.  It does not have a generated 
configure script and the English man pages are not built.  As is, it is 
not usable for Linux From Scratch, mostly because at the stage that the 
package is needed, all the docbook and xml programs are not available.

1.  There are a ton of warnings when running
'autoreconf -v -f --install'

2. autogen.sh automatically runs configure with --enable-maintainer-mode 
and --disable-shared which are wrong for most people.

3.  The NEWS file says
'shadow-4.1.5.1 -> shadow-4.2                          UNRELEASED'

4.  The English man pages are not included, although the ja, cs, hu, 
zh_TW, tr, fi, es, id, and ko are included.

5.  After running autoreconf and configure, the Makefile insists on 
going into the po directories and aborts if --enable-man is not 
specified, even it the man pages are not desired.

Fix this with:
sed -i -e '/^else/{N;N;N;d}' man/generate_translations.mak

-----

I suggest you make your current tarball consistent with general practice 
and do:

tar -xf shadow-4.2.tar.xz
cd shadow-4.2
sed -i -e '/^else/{N;N;N;d}' man/generate_translations.mak
autoreconf -fi
./configure --enable-man
make distcheck

Then distribute the new shadow-4.2.tar.bz2 and shadow-4.2.tar.gz files.

   -- Bruce Dubbs
      bdubbs at linuxfromscratch.org



More information about the Pkg-shadow-devel mailing list