On Sat, 06 Jan 2024 00:27:02 +0100 Martin Quinson <martin.quin...@ens-rennes.fr> wrote:
> I believe the libdpkg-perl package has a dpkg parser that handles the > basic parsing. >
Indeed, I think that the parser in /usr/share/perl5/Dpkg/Control/HashCore.pm
would cover my needs. I'm still unsure of whether I should use this parser as
is, or copy/paste the code. The second is always crude, but the first one may
be difficult on non-Debian systems, as dpkg is meant to embeed all its
dependency to reduce bootstraping issues.

Anyway, I'm running out of time on po4a for this time and mostly write it down
for future reference.

Thanks for the fish,
Mt



For the record, the module is also on CPAN (https://metacpan.org/pod/Dpkg) in case that makes the situation easier to resolve.

Best regards,
Niels

Reply via email to