FS#80250 - [libcap] BSD-3-Clause license requires a custom license in /usr/share/licenses/libcap
Attached to Project:
Arch Linux
Opened by Phillip Pearson (myelin) - Monday, 13 November 2023, 21:44 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:15 GMT
Opened by Phillip Pearson (myelin) - Monday, 13 November 2023, 21:44 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:15 GMT
|
Details
libcap includes BSD-3-Clause in its license string since
https://gitlab.archlinux.org/archlinux/packaging/packages/libcap/-/commit/2da367418c41811604e6448aafef26678ea7eddb
This is a custom-ish license that isn't present in /usr/share/licenses/spdx because it contains a copyright notice, so it needs the package to copy its license into /usr/share/licenses/$PKGNAME. An example package that does this is alsa-ucm-conf -- https://gitlab.archlinux.org/archlinux/packaging/packages/alsa-ucm-conf/-/blob/main/PKGBUILD?ref_type=heads It looks like the file you want is libcap-2.69/License from https://mirrors.edge.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.69.tar.gz -- which interestingly doesn't appear to match the BSD-3-Clause text from https://github.com/spdx/license-list-XML/blob/main/src/BSD-3-Clause.xml IIUC PKGBUILD probably needs this in package(): `install -vDm 644 $pkgname-$pkgver/License -t "$pkgdir/usr/share/licenses/$pkgname"` |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:15 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/libcap/issues/1
Saturday, 25 November 2023, 20:15 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/libcap/issues/1