Hello Tim, it seems to me that it should not be that complicated, as the tar handling code is mostly encapsulated into a library of its own.
See https://git.busybox.net/busybox/tree/archival/libarchive for futher reference. Best regards, -- Emmanuel Deloget Le jeu. 3 mars 2022 à 18:59, Tim Tassonis <st...@decentral.ch> a écrit : > > Hi all > > I've written a package manager in C for my distro where packages are > basically gzipped cpio (newc type) archives. > > I'm currently using the libarchive library in the program for > extraction, which works well, but is quite a big dependency. > > So, as busybox handles those archives well (I tested it), I though it > would be nice to get rid of libarchive and use the code from busybox. As > my package manager is GPL, too, there should also be no licensing issues. > > However, I have not dug too deep into the busybox code yet and just > wanted to ask whether someone knows if this is a good idea, e.g. how > much work it would be to isolate the needed parts for use in my code. > > Has anybody else here ever done a similar thing, or is there maybe even > a document giving a rough idea about what has to be considered or how to > go about that the easiest? > > Sorry if this post is considered off-topic, I just though maybe someone > has a quick answer that will save me some work. > > > Bye > Tim > > > _______________________________________________ > busybox mailing list > busybox@busybox.net > http://lists.busybox.net/mailman/listinfo/busybox _______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox