I'm in the process of adding a new package to the AUR, when I noticed that the MIT Licence - which this program is licensed under - is not available under /usr/share/licenses/common. Seeing that it's a fairly popular license that is copied by a number of packages (many of them Rust based: find /usr/share/licenses -name "*MIT*"), I think it would be beneficial if there could be a copy of the MIT license in the licenses package. I've attached a diff of my edits to licenses trunk. Note that I copied the licence file from rust/LICENCE-MIT and ran updpkgsums. Also, it seems the PHP-3.0 licence has changed, and its checksum has updated as well. -- Stephen Gregoratto
Index: PKGBUILD =================================================================== --- PKGBUILD (revision 337753) +++ PKGBUILD (working copy) @@ -2,7 +2,7 @@ # Maintainer: Dan McGee <dan@xxxxxxxxxxxxx> pkgname=licenses -pkgver=20171006 +pkgver=20181103 pkgrel=1 pkgdesc='Standard licenses distribution package' arch=('any') @@ -38,7 +38,8 @@ ZopePublicLicense.txt mpl-1.1.txt::https://www.mozilla.org/media/MPL/1.1/index.txt mpl-2.0.txt::https://www.mozilla.org/media/MPL/2.0/index.txt - boost-1.0.txt::http://www.boost.org/LICENSE_1_0.txt) + boost-1.0.txt::http://www.boost.org/LICENSE_1_0.txt + mit.txt) md5sums=('3b83ef96387f14655fc854ddc3c6bd57' 'ffb24d1bbf8b83d373f0b8edc3feb0c6' '682a5e3b03510ba46c4f566478c871bc' @@ -59,7 +60,7 @@ '9f4337828d782bdea41f03dd2ad1b808' 'd09c120ca7db95ef2aeecec0cb08293b' 'b4a94da2a1f918b217ef5156634fc9e0' - 'a45bb1bbeed9e26b26c5763df1d3913d' + '00b4bd92b48eaed71b4e4e7b7314c3b6' '8a960b08d972f43f91ae84a6f00dcbfb' 'f083e41c43db25e18f36c91e57750b64' 'a055911c32fb4ed6e96c453ceaeba857' @@ -67,7 +68,8 @@ 'dc8502850eab9e1ff330a12d7ca18a19' '0c5913925d40b124fb52ce84c5deb3f3' '815ca599c9df247a0c7f619bab123dad' - 'e4224ccaecb14d942c71d31bef20d78c') + 'e4224ccaecb14d942c71d31bef20d78c' + 'b377b220f43d747efdec40d69fcaa69d') package() { cd "$pkgdir" @@ -147,6 +149,9 @@ mkdir Boost cp "$srcdir"/boost-1.0.txt Boost/license.txt + + mkdir MIT + cp "$srcdir"/mit.txt MIT/licence.txt } # vim: ts=2 sw=2 et: Index: mit.txt =================================================================== --- mit.txt (nonexistent) +++ mit.txt (working copy) @@ -0,0 +1,23 @@ +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE.