Subject: Re: Linux/File and subst.mk errors
To: Hubert Feyrer <hubert@feyrer.de>
From: Ulrich Habel <uli@habel.name>
List: tech-pkg
Date: 03/12/2007 14:26:07
--=-m8hagYQU2pIDLtNFtjgN
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable


> My idea was to make sure the programs are installed.
> I think verifying the packages for every Linux distrib may push it a=20
> bit... a simple "patch is missing" should be enough.

AOL :o) - right something like that is useful. I think it would improve
the quality of pkgsrc alot and it might save ppl from running (bulk)
builds with broken packages.

Maybe including it into the bootstrap script, some of the tests are
already included there like:

--->8---code----8<------
Linux)
        if [ -f /etc/debian_version ]; then
                DEBIAN=3Dyes
        fi
        root_group=3Droot
        need_pax=3Dyes
        need_mtree=3Dyes
--->8---code----8<------

This is about the packages which needs to be built from the pkgsrc tree.

A little bit later we already check for basic tools:

--->8---code----8<------
check_prog groupsprog groups
check_prog lnprog ln
check_prog lsprog ls
check_prog rmdirprog rmdir
--->8---code----8<------

so this might be easily extended. Even I don't know at which part. The
main tools which are used by pkgsrc but are not part of the debian base
system are file, m4 - these can be built out of pkgsrc itself in the
bootstrap proccess. Some basic tools like "make" are not part of the
Debian base, however they are needed for the bootstrap.

uli

--=-m8hagYQU2pIDLtNFtjgN
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Dies ist ein digital signierter Nachrichtenteil

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQBF9VTvKLusNOvI6a4RAkZeAKCdzs7Ei+qAl9aKv5o5b1osbTKRGACg/G9P
aIDnr5xx7bc+DNiZ1N0B0lQ=
=Jz+L
-----END PGP SIGNATURE-----

--=-m8hagYQU2pIDLtNFtjgN--