Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Aug 2015 01:12:27 +0200
From:      Manuel Wiesinger <mdw@freebsd.org>
To:        soc-status@FreeBSD.org
Subject:   Status: Linux packages for pkg(8)
Message-ID:  <55BFF55B.8010902@freebsd.org>

next in thread | raw e-mail | index | archive | help
Hi,

I'm a bit behind with "pkgifying" my code. So I did not yet push the
database part to Github.

Plan for this week:
Push clean integrated code for reading the Debian manifest into the db
and extract it to prefix (e.g. /compat/linux).

How the manifest is imported:
It's loosely based on the import of normal packages (binary). I.e. while
parsing a hashmap is created (using UT_hash_handles in the particular
structs: pkg, pkg_dep, pkg_conflict), in which dependencies and
conflicts are stored. These hashmaps are iterated and written to the
database then.

A detail that I have overseen is that the Debian manifest does not
contain the licences of the packages. I'll see if I can get that
information to the database from somewhere else if desired.

Further todos:
make sure, that the event pipe is used for longer tasks (e.g. extracting)
add pkg-audit support (easy), write unit-tests

Regards,
Manuel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55BFF55B.8010902>