On Thu, 29 Aug 2024 at 00:59, Soren Stoutner <so...@debian.org> wrote: > > On Wednesday, August 28, 2024 3:44:22 PM MST Roberto A. Foglietta wrote: > > > Nope. It is enough that the script that packages the software for > > Debian removes some files. That script can be shared in the project > > itself, or written by the Deabian package maintainer. Like this script > > that creates different files archives, oriented for different > > distributions: > > I’m not sure if I fully understand what you are saying above, but I would > simply point you toward the Debian Policy Manual. > > https://www.debian.org/doc/debian-policy/ch-source.html > > “The clean target cannot be used to remove files in the source tree that are > not compatible with the DFSG. This is because the files would remain in the > upstream tarball, and thus in the source package, so the source package would > continue to violate DFSG. Instead, the upstream source should be repacked to > remove those files.” >
Do not worry about understanding. It is a wide-spread bias named self-referencing. We as humans are trained to recognise patterns, among the patterns that we are used to. Someone that knows very well the Debian Policy Manual about packing will see everything through that lens. Which is also called "verticalization". Ignoring that many other people in the world simply do not care. Moreover, as much the manual is detailed as the better it fits in a script. In a specific case, just for example git clone https://github.com/robang74/cloudflare-warp-gui-linux.git cd cloudflare-warp-gui-linux/ bash ./make-tarball.sh --free 92 cloudflare-warp-gui-linux.tar.gz You might argue that this files archive is not compliant with the manual. Unfortunately, it is none of my problem until the day **I NEED** to make accepting that software into Debian. In the last 25 years that I have been using GNU/Linux, it has never happened. We can rest easy about it. Please, remember that this m-list is about legal topics and not packaging. From a legal point of view, it is enough having a list of files that fit into specific terms (excluding all the others). Or a script that does such a separation. Best regards, R-