This should fix the creation of the new packages introduced by the import of pkgconf into the base system.
PR: 294724
Fixes: b8352da33f34 ("pkgconf: import into the base system")
Sponsored by: The FreeBSD Foundation
Differential D56589
packages: Register pkgconf Authored by khorben on Wed, Apr 22, 9:20 PM. Tags None Referenced Files
Details This should fix the creation of the new packages introduced by the import of pkgconf into the base system. PR: 294724 $ make packages
Diff Detail
Event Timeline
Comment Actions This should address feedback from ivy:
Thank you! Comment Actions https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294724 confirms this patch to be fixing the build issue.
Comment Actions Updated the copyright, license text, and added the licenses = [ "pkgconf" ] as per ngie's advice; thank you! Comment Actions This is good, but I would consider breaking down pkgconf into separate components, e.g., the library, the pkgconf tool, and the bomtool. These things are dependent on one another (bomtool and pkgconf require libpkgconf), but some folks might not want nor need to have pkgconf in base in order to build custom versions of pkgconf, et al. Also, remind me: wasn't part of the point of pkgbase to pull in third-party packages via ports(7) instead of importing everything into src? The change in isolation is good and definitely helps fix the make packages issue, but I feel like some of the point behind pkgbase (as I remember it) is being lost if this is the process we're going to follow in the future when importing/managing third-party components in the base system.
Comment Actions i don't think this is worth doing unless the binaries are quite large. while i am generally in favour of having more packages rather than fewer, having a separate package for a 38KB binary doesn't really seem that useful, especially when it depends on a library which is ~2x the size of the binary anyway. as i said in a comment on the original review, this might be worth doing if many other things depend on libpkgconf, but that doesn't seem to be the case now or likely to be the case in the future.
Comment Actions I gave the copyright back to pkgconf, as the comment and description primarily come from the pkgconf project. While there, I also updated the SPDX-License-Identifier to pkgconf, as per the discussion here, and confirmed at https://spdx.org/licenses/pkgconf.html. Comment Actions Does that mean that you need to credit DuckDuckGo or Google whenever you find a result? More seriously, this is nitpicky to the point that it honestly doesn't matter since this isn't anything resembling a trade secret and the value of copyrighting this file has diminishing returns, but @khorben wrote the metadata, not the pkgconf maintainers. If licensing or ownership of this code ever comes into question, the person that wrote/licensed the code has the ability to relicense it however they choose. I think it's best that @khorben is in charge of that (as well as the FreeBSD project), not the pkgconf project. Comment Actions No, I credit whomever created the content in the first place.
I copy/pasted the comment and the top of the description from the pkgconf project. IANAL, but in my understanding of copyright, the original work is from them, and my addition does not change that. Really TBH I don't care having the copyright on this. In my initial understanding of this file, this information was about the contents of the package, not its meta-data.
It's fine for me to put myself there, if that is the expected content; this is my first set of FreeBSD base packages, I just want to comply with the existing practice. Does it mean I can put any license of my choosing in that file? Anyway, glad I updated the diff before pushing. Comment Actions Reverted the copyright to myself, and the license to ISC. Let me know if any other change is needed. Comment Actions if Google or DuckDuckGo wrote the content you're using -- yes, because they own the copyright on it.
copyright has nothing to do with trade secrets. this text is copyrighted because every creative work is automatically copyrighted when it's created. if you write prose, you own the copyright on that prose. if pkgconf writes prose, pkgconf owns the copyright on that prose. you can't just ignore that because "it's easier if we own the copyright"; we don't own the copyright because we didn't write the text in question. the only way to avoid this is to claim that the prose is short enough or not creative enough that it doesn't qualify for copyright protection, but do you really want to go to court to argue that if someone disputes it? it's much, much less risky to just give the copyright to the person who wrote the text. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||