Skip to content

[ebuild] licenses should also be checked at ${repo_path}/licenses/each_filename #54

Backlog

Description

@Arniiiii
LICENSE="Hexadigm_Generic_C++_library"

The super long diagnostic:

dev-cpp/functiontraits/functiontraits-1.0_pre20250511.ebuild|19 col 9-39 error| [termux-language-server] 'Hexadigm_Generic_C++_library' does not match '(0BSD|2dboy-EULA|9wm|Activision|aczoom|adom|AFL-2.1|AFL-3.0|AGPL-3|AGPL-3+|AIFFWriter.m|Aladdin|Alasir|all-rights-reserved|Allegro|alternate|AMD-GPU-PRO-EULA|amiwm|AMPAS|android|AnyDesk-TOS|Apache-1.0|Apache-1.1|Apache-2.0|Apache-2.0-with-LLVM-exceptions|APL-1.0|APSL-2|aquafont|Arkkra|Arphic|Artistic|Artistic-2|Aseprite-EULA|astrolog|Atmel|Autodesk|Avago|AVASYS|AvP|BAEKMUK|bakoma|bass|battalion|baudline|BEER-WARE|bertini|bestcrypt|bh-luxi|BigelowHolmes|BitstreamCyberbit|BitstreamVera|BL|blackshades|blat|boehm-gc|bonnie|Boost-1.0|Broadcom|broadcom_bcm20702|Brother|BSD|BSD-1|BSD-2|BSD-2-with-patent|BSD-4|BSD-with-attribution|BSD-with-disclosure|buddy|bufexplorer.vim|BUILDLIC|bungie-marathon|BUSL-1.1|BZIP2|C3|Canon-IJ|Canon-UFR-II|CAOSL|CAPYBARA-EULA|CARA|CC-BY-1.0|CC-BY-2.0|CC-BY-2.5|CC-BY-3.0|CC-BY-4.0|CC-BY-NC-4.0|CC-BY-NC-ND-2.0|CC-BY-NC-ND-2.5|CC-BY-NC-ND-3.0|CC-BY-NC-ND-4.0|CC-BY-NC-SA-1.0|CC-BY-NC-SA-2.5|CC-BY-NC-SA-3.0|CC-BY-NC-SA-4.0|CC-BY-ND-3.0|CC-BY-ND-4.0|CC-BY-SA-1.0|CC-BY-SA-2.0|CC-BY-SA-2.5|CC-BY-SA-3.0|CC-BY-SA-4.0|CC-PD|CC-SA-1.0|CC-Sampling-Plus-1.0|CC0-1.0|CDDL|CDDL-1.1|CDDL-Schily|CDF|CeCILL-2|CeCILL-B|CeCILL-C|Cenon|charm|ChexQuest3|circlemud|Clarified-Artistic|Clear-BSD|clustalw|CNRI|Cockos|Cockroach|codehaus-classworlds|Coherent-Graphics|coldspringharbor|colt|comi|CPAL-1.0|CPL-0.5|CPL-1.0|CPOL|crafty|CROSSOVER-3|Crypt-IDEA|CSL-2.0|curl|DCC|Dell-EULA|DES|descent-data|dgen-sdl|Digium|docbook|dom4j|DOOM-COLLECTORS-EDITION|drascula|Dreamweb|dropbox|DUKE3D|DUMB-0.9.3|DXX-Rebirth|EAPL|ECL-2.0|Elastic|Elastic-2.0|ElementTree|Elm|Emacs|EPL-1.0|EPL-2.0|EPSON|ErlPL-1.1|eschalon-book-1-demo|eternal_lands|ETQW|EUPL-1.1|EUPL-1.2|exljbris-free|Exolab|f.lux|FAH-EULA-2014|FAH-special-permission|fairuse|fasta|FastCGI|FDL-1.1|FDL-1.1+|FDL-1.2|FDL-1.2+|FDL-1.3|FDL-1.3+|feh|FESTIVAL|File-MMagic|finchtv|FIPL-1.0|Flashpix|FLEX|flexmock|Flightradar24|FLTK|fmdrv|FoilTeX|fping|FraunhoferFDK|Free-Art-1.2|Free-Art-1.3|free-noncomm|freedist|freetts|frozenbyte-eula|FSFAP|FTDI|FTL|FVWM|galaxyhack|Gameplay-Group-EULA|gcc-runtime-library-exception-3.1|gd|geant4|geekbench|genymotion|Geogebra|GIMPS|Glulxe|gmap|gnuplot|GOG-EULA|google-chrome|GPL-1|GPL-1+|GPL-2|GPL-2+|GPL-2+-with-eCos-exception-2|GPL-2+-with-openssl-exception|GPL-2+-with-Pyinstaller-Bootloader-exception|GPL-2-with-classpath-exception|GPL-2-with-exceptions|GPL-2-with-font-exception|GPL-2-with-linking-exception|GPL-2-with-MySQL-FLOSS-exception|GPL-3|GPL-3+|GPL-3+-with-autoconf-exception|GPL-3+-with-font-exception|GPL-3-with-font-exception|GPL-3-with-openssl-exception|grass-ipafonts|GregoryRubin|gsm|gSOAP|gSOAP-1.3b|guild|HappyBunny|Hauppauge-Firmware|HIDAPI|HoMM2-Demo|hp-proliant-essentials|hpe|HPL|hplip-plugin|HPND|HRP|HSL|HTML-Tidy|Hugo|hylafaxplus|HyperSpec|iASL|IBM|icaclient|icu|IDEA|IDEA_Academic|IDEA_Classroom|IDEA_OpenSource|IDEA_Personal|IDPL|IJG|imagemagick|Info-ZIP|Inform|inmon-sflow|inner-net|Intel-SDP|intel-ucode|Interbase-1.0|Introversion|ipadic|IPAfont|ipw2100-fw|ipw2200-fw|ISC|Ispell|ISSL|ITS4|IUPAC-InChi|jardinains|JasPer2.0|JDOM|JetBrains-business|JetBrains-classroom|JetBrains-educational|JetBrains-individual|jfontain|JOVE|JoyPixels|JPRS|JSON|julius|Kermit|Khronos-CLHPP|knights-demo|Kryoflux-MAME|kyocera-mita-ppds|LA_OPT_BASE_LICENSE|lablgtk-examples|LambdaMOO|LaTeX-Calendar|lcc|LDP-1|LDP-1a|Legends|levee|Lexmark-EU2-0111|LGPL-2|LGPL-2+|LGPL-2-with-linking-exception|LGPL-2.1|LGPL-2.1+|LGPL-2.1-with-linking-exception|LGPL-3|LGPL-3+|LGPL-3-with-linking-exception|LGrind-Jacobson|lha|libgcc|LIBGLOSS|libmng|libpng|libpng2|libstdc++|libtiff|LICENSE-BITSTREAM|linux-fw-redistributable|LLGPL-2.1|LogMeIn|LOKI-EULA|LOTW|LPL-1.02|LPPL-1.0|LPPL-1.2|LPPL-1.3|LPPL-1.3a|LPPL-1.3c|LSI|LSI-tw_cli|lsof|lure|mac|MagentaMgOpen|MAJESTY-DEMO|MakeMKV-EULA|man-pages|man-pages-posix-2013|mapm|marginalhacks|Markwardt|master-pdf-editor|matplotlib|MaxMind2|MBROLA-VOICES|mekanix|Mellanox-AS-IS|metapackage|MicroChip-PK2|MicroChip-SDCC|Microsemi|microsoft-azurevpnclient|microsoft-edge|Microsoft-vscode|Midisport|MILO|Mini-XML|minpack|MirOS|MIT|MIT-0|MIT-with-advertising|mm|mmix|modeller|Mojang|MOLDEN|molmol|Moria|Mozart|MPEG-4|mpg123-el|mpich2|MPL-1.0|MPL-1.1|MPL-2.0|mplus-fonts|Ms-PL|Ms-RL|MSMS|MSttfEULA|MTA-0.5|myspell-en_CA-KevinAtkinson|myspell-ru_RU-AlexanderLebedev|namd|NCSA-AMD|NCSA-HDF|netcat|nethack|netlogo|netperf|NEWLIB|ngrep|no-source-code|Nokia-Qt-LGPL-Exception-1.1|nomachine|NOSA|NPL-1.1|NPSL-0.95|NVIDIA-CUDA|NVIDIA-cuDNN|NVIDIA-NVLM|NVIDIA-r1|NVIDIA-r2|NVIDIA-SDK|OAL-1.0.1|OASIS-Open|OFFIS|OFL-1.0|OFL-1.1|OGL-1.0a|Old-MIT|olivia|Ookla|Open-CASCADE-LGPL-2.1-Exception-1.0|openafs-krb5-a|openknights|OPENLDAP|openssl|Openwall|OPERA-2018|OPL|OSGi-Specification-2.0|OSL-1.1|OSL-2.0|OSL-2.1|OTN|otter|PAK128.German|PAPERS-PLEASE|par|PassMark-EULA|PCRE|PEL|penguzzle|perforce|PerlDL|photopc|PHP-2.02|PHP-3|PHP-3.01|phrack|PICO-8|pkcrack|PLAN9|Plex|pngcrush|pngnq|POSTGRESQL|Primate-Plunge|Princeton|procheck|prog-express|PSF-2|PSF-2.4|PSTT|psutils|public-domain|PUEL-11|PyCharm|PyCharm_Academic|PyCharm_Classroom|PyCharm_OpenSource|PyCharm_Preview|PYTHON|Q2EULA|Q3AEULA-20000111|qlogic-fibre-channel-firmware|QPL-1.0|quake1-demodata|quake1-killer|quake1-teamfortress|quake1-textures|quake2-demodata|QUAKE4|queen|qwt|RAR|raspberrypi-videocore-bin|rc|rdisc|regexp-UofT|repoze|Resounding|richardson|rpi-eeprom|RSA|RtMidi|Ruby|Ruby-BSD|rwpng|sash|scanlogd|sdlsasteroids|SDRplay|Sendmail|Sendmail-Open-Source|SFI-SCLA|sfpg|SGI-B-2.0|SGMLUG|shmux|shorten|SIP|SIR-TECH|Skype-TOS|Sleepycat|SMAIL|Snd|Snes9x|SOFA|Soltys|SpeedTouch-USB-Firmware|Spencer-99|spideroak|Spotify|SPS|SSLeay|SSPL-1|Stanford|stardock-images|Steam|STRIDE|Stuffit|Sublime|sun-bcla-j2me|sun-bcla-jai|sun-bcla-jsapi|Sun-BSD-no-nuclear-2005|supermicro|SURF|sus4-copyright|swiss-prot|symlinks|Sympow-BSD|Synology|szip|tablelist|TADS2|TADS3|tanuki-community|tarsnap|tcltk|tcp_wrappers_license|teamspeak3|teamspeak5|TeamViewer|Tenable-Master-Agreement|TeX|TeX-other-free|Texinfo-manual|TextMate-bundle|the-Click-license|THINKTANKS|TIK|Time-Format|Time-modules|timescale|Tinker|tkMOO|tm-align|torque-2.5|Toyoda|Transmission-OpenSSL-exception|trf|trio|truecrypt-3.0|tsm|ttf2pt1|ubiquiti|UbuntuFontLicense-1.0|UCAR-BSD|UCAR-Unidata|unafold|unicode|Unicode-3.0|Unicode-DFS-2016|Unlicense|unRAR|UoI-NCSA|UPL-1.0|UPX-exception|urbanterror-4.2-maps|URI|URT|ut2003|ut2003-demo|VGBA|vim|vim.org|Vivaldi|vlgothic|vmd|VOSTROM|VTK|W3C|w3m|Watcom-1.0|WidePix|wm2|WolframCDFPlayer|worklog-assistant|worldofpadman|WPS-EULA|WTFPL-2|wxWinFDL-3|wxWinLL-3|wxWinLL-3.1|xbatt|xbattle|xboing|XC|Xdebug|xearth|XEphem|xgraph|XMAME|xmlformat|xref.lisp|xrick|xtrs|xv|Yacht-Club-Games-EULA|YDSLA|Zend-2.0|zi-labone|ZLIB|ZPL|ZSH)(( |\\n)(0BSD|2dboy-EULA|9wm|Activision|aczoom|adom|AFL-2.1|AFL-3.0|AGPL-3|AGPL-3+|AIFFWriter.m|Aladdin|Alasir|all-rights-reserved|Allegro|alternate|AMD-GPU-PRO-EULA|amiwm|AMPAS|android|AnyDesk-TOS|Apache-1.0|Apache-1.1|Apache-2.0|Apache-2.0-with-LLVM-exceptions|APL-1.0|APSL-2|aquafont|Arkkra|Arphic|Artistic|Artistic-2|Aseprite-EULA|astrolog|Atmel|Autodesk|Avago|AVASYS|AvP|BAEKMUK|bakoma|bass|battalion|baudline|BEER-WARE|bertini|bestcrypt|bh-luxi|BigelowHolmes|BitstreamCyberbit|BitstreamVera|BL|blackshades|blat|boehm-gc|bonnie|Boost-1.0|Broadcom|broadcom_bcm20702|Brother|BSD|BSD-1|BSD-2|BSD-2-with-patent|BSD-4|BSD-with-attribution|BSD-with-disclosure|buddy|bufexplorer.vim|BUILDLIC|bungie-marathon|BUSL-1.1|BZIP2|C3|Canon-IJ|Canon-UFR-II|CAOSL|CAPYBARA-EULA|CARA|CC-BY-1.0|CC-BY-2.0|CC-BY-2.5|CC-BY-3.0|CC-BY-4.0|CC-BY-NC-4.0|CC-BY-NC-ND-2.0|CC-BY-NC-ND-2.5|CC-BY-NC-ND-3.0|CC-BY-NC-ND-4.0|CC-BY-NC-SA-1.0|CC-BY-NC-SA-2.5|CC-BY-NC-SA-3.0|CC-BY-NC-SA-4.0|CC-BY-ND-3.0|CC-BY-ND-4.0|CC-BY-SA-1.0|CC-BY-SA-2.0|CC-BY-SA-2.5|CC-BY-SA-3.0|CC-BY-SA-4.0|CC-PD|CC-SA-1.0|CC-Sampling-Plus-1.0|CC0-1.0|CDDL|CDDL-1.1|CDDL-Schily|CDF|CeCILL-2|CeCILL-B|CeCILL-C|Cenon|charm|ChexQuest3|circlemud|Clarified-Artistic|Clear-BSD|clustalw|CNRI|Cockos|Cockroach|codehaus-classworlds|Coherent-Graphics|coldspringharbor|colt|comi|CPAL-1.0|CPL-0.5|CPL-1.0|CPOL|crafty|CROSSOVER-3|Crypt-IDEA|CSL-2.0|curl|DCC|Dell-EULA|DES|descent-data|dgen-sdl|Digium|docbook|dom4j|DOOM-COLLECTORS-EDITION|drascula|Dreamweb|dropbox|DUKE3D|DUMB-0.9.3|DXX-Rebirth|EAPL|ECL-2.0|Elastic|Elastic-2.0|ElementTree|Elm|Emacs|EPL-1.0|EPL-2.0|EPSON|ErlPL-1.1|eschalon-book-1-demo|eternal_lands|ETQW|EUPL-1.1|EUPL-1.2|exljbris-free|Exolab|f.lux|FAH-EULA-2014|FAH-special-permission|fairuse|fasta|FastCGI|FDL-1.1|FDL-1.1+|FDL-1.2|FDL-1.2+|FDL-1.3|FDL-1.3+|feh|FESTIVAL|File-MMagic|finchtv|FIPL-1.0|Flashpix|FLEX|flexmock|Flightradar24|FLTK|fmdrv|FoilTeX|fping|FraunhoferFDK|Free-Art-1.2|Free-Art-1.3|free-noncomm|freedist|freetts|frozenbyte-eula|FSFAP|FTDI|FTL|FVWM|galaxyhack|Gameplay-Group-EULA|gcc-runtime-library-exception-3.1|gd|geant4|geekbench|genymotion|Geogebra|GIMPS|Glulxe|gmap|gnuplot|GOG-EULA|google-chrome|GPL-1|GPL-1+|GPL-2|GPL-2+|GPL-2+-with-eCos-exception-2|GPL-2+-with-openssl-exception|GPL-2+-with-Pyinstaller-Bootloader-exception|GPL-2-with-classpath-exception|GPL-2-with-exceptions|GPL-2-with-font-exception|GPL-2-with-linking-exception|GPL-2-with-MySQL-FLOSS-exception|GPL-3|GPL-3+|GPL-3+-with-autoconf-exception|GPL-3+-with-font-exception|GPL-3-with-font-exception|GPL-3-with-openssl-exception|grass-ipafonts|GregoryRubin|gsm|gSOAP|gSOAP-1.3b|guild|HappyBunny|Hauppauge-Firmware|HIDAPI|HoMM2-Demo|hp-proliant-essentials|hpe|HPL|hplip-plugin|HPND|HRP|HSL|HTML-Tidy|Hugo|hylafaxplus|HyperSpec|iASL|IBM|icaclient|icu|IDEA|IDEA_Academic|IDEA_Classroom|IDEA_OpenSource|IDEA_Personal|IDPL|IJG|imagemagick|Info-ZIP|Inform|inmon-sflow|inner-net|Intel-SDP|intel-ucode|Interbase-1.0|Introversion|ipadic|IPAfont|ipw2100-fw|ipw2200-fw|ISC|Ispell|ISSL|ITS4|IUPAC-InChi|jardinains|JasPer2.0|JDOM|JetBrains-business|JetBrains-classroom|JetBrains-educational|JetBrains-individual|jfontain|JOVE|JoyPixels|JPRS|JSON|julius|Kermit|Khronos-CLHPP|knights-demo|Kryoflux-MAME|kyocera-mita-ppds|LA_OPT_BASE_LICENSE|lablgtk-examples|LambdaMOO|LaTeX-Calendar|lcc|LDP-1|LDP-1a|Legends|levee|Lexmark-EU2-0111|LGPL-2|LGPL-2+|LGPL-2-with-linking-exception|LGPL-2.1|LGPL-2.1+|LGPL-2.1-with-linking-exception|LGPL-3|LGPL-3+|LGPL-3-with-linking-exception|LGrind-Jacobson|lha|libgcc|LIBGLOSS|libmng|libpng|libpng2|libstdc++|libtiff|LICENSE-BITSTREAM|linux-fw-redistributable|LLGPL-2.1|LogMeIn|LOKI-EULA|LOTW|LPL-1.02|LPPL-1.0|LPPL-1.2|LPPL-1.3|LPPL-1.3a|LPPL-1.3c|LSI|LSI-tw_cli|lsof|lure|mac|MagentaMgOpen|MAJESTY-DEMO|MakeMKV-EULA|man-pages|man-pages-posix-2013|mapm|marginalhacks|Markwardt|master-pdf-editor|matplotlib|MaxMind2|MBROLA-VOICES|mekanix|Mellanox-AS-IS|metapackage|MicroChip-PK2|MicroChip-SDCC|Microsemi|microsoft-azurevpnclient|microsoft-edge|Microsoft-vscode|Midisport|MILO|Mini-XML|minpack|MirOS|MIT|MIT-0|MIT-with-advertising|mm|mmix|modeller|Mojang|MOLDEN|molmol|Moria|Mozart|MPEG-4|mpg123-el|mpich2|MPL-1.0|MPL-1.1|MPL-2.0|mplus-fonts|Ms-PL|Ms-RL|MSMS|MSttfEULA|MTA-0.5|myspell-en_CA-KevinAtkinson|myspell-ru_RU-AlexanderLebedev|namd|NCSA-AMD|NCSA-HDF|netcat|nethack|netlogo|netperf|NEWLIB|ngrep|no-source-code|Nokia-Qt-LGPL-Exception-1.1|nomachine|NOSA|NPL-1.1|NPSL-0.95|NVIDIA-CUDA|NVIDIA-cuDNN|NVIDIA-NVLM|NVIDIA-r1|NVIDIA-r2|NVIDIA-SDK|OAL-1.0.1|OASIS-Open|OFFIS|OFL-1.0|OFL-1.1|OGL-1.0a|Old-MIT|olivia|Ookla|Open-CASCADE-LGPL-2.1-Exception-1.0|openafs-krb5-a|openknights|OPENLDAP|openssl|Openwall|OPERA-2018|OPL|OSGi-Specification-2.0|OSL-1.1|OSL-2.0|OSL-2.1|OTN|otter|PAK128.German|PAPERS-PLEASE|par|PassMark-EULA|PCRE|PEL|penguzzle|perforce|PerlDL|photopc|PHP-2.02|PHP-3|PHP-3.01|phrack|PICO-8|pkcrack|PLAN9|Plex|pngcrush|pngnq|POSTGRESQL|Primate-Plunge|Princeton|procheck|prog-express|PSF-2|PSF-2.4|PSTT|psutils|public-domain|PUEL-11|PyCharm|PyCharm_Academic|PyCharm_Classroom|PyCharm_OpenSource|PyCharm_Preview|PYTHON|Q2EULA|Q3AEULA-20000111|qlogic-fibre-channel-firmware|QPL-1.0|quake1-demodata|quake1-killer|quake1-teamfortress|quake1-textures|quake2-demodata|QUAKE4|queen|qwt|RAR|raspberrypi-videocore-bin|rc|rdisc|regexp-UofT|repoze|Resounding|richardson|rpi-eeprom|RSA|RtMidi|Ruby|Ruby-BSD|rwpng|sash|scanlogd|sdlsasteroids|SDRplay|Sendmail|Sendmail-Open-Source|SFI-SCLA|sfpg|SGI-B-2.0|SGMLUG|shmux|shorten|SIP|SIR-TECH|Skype-TOS|Sleepycat|SMAIL|Snd|Snes9x|SOFA|Soltys|SpeedTouch-USB-Firmware|Spencer-99|spideroak|Spotify|SPS|SSLeay|SSPL-1|Stanford|stardock-images|Steam|STRIDE|Stuffit|Sublime|sun-bcla-j2me|sun-bcla-jai|sun-bcla-jsapi|Sun-BSD-no-nuclear-2005|supermicro|SURF|sus4-copyright|swiss-prot|symlinks|Sympow-BSD|Synology|szip|tablelist|TADS2|TADS3|tanuki-community|tarsnap|tcltk|tcp_wrappers_license|teamspeak3|teamspeak5|TeamViewer|Tenable-Master-Agreement|TeX|TeX-other-free|Texinfo-manual|TextMate-bundle|the-Click-license|THINKTANKS|TIK|Time-Format|Time-modules|timescale|Tinker|tkMOO|tm-align|torque-2.5|Toyoda|Transmission-OpenSSL-exception|trf|trio|truecrypt-3.0|tsm|ttf2pt1|ubiquiti|UbuntuFontLicense-1.0|UCAR-BSD|UCAR-Unidata|unafold|unicode|Unicode-3.0|Unicode-DFS-2016|Unlicense|unRAR|UoI-NCSA|UPL-1.0|UPX-exception|urbanterror-4.2-maps|URI|URT|ut2003|ut2003-demo|VGBA|vim|vim.org|Vivaldi|vlgothic|vmd|VOSTROM|VTK|W3C|w3m|Watcom-1.0|WidePix|wm2|WolframCDFPlayer|worklog-assistant|worldofpadman|WPS-EULA|WTFPL-2|wxWinFDL-3|wxWinLL-3|wxWinLL-3.1|xbatt|xbattle|xboing|XC|Xdebug|xearth|XEphem|xgraph|XMAME|xmlformat|xref.lisp|xrick|xtrs|xv|Yacht-Club-Games-EULA|YDSLA|Zend-2.0|zi-labone|ZLIB|ZPL|ZSH))*'

Licenses can be in repo at ${repo_path}/licenses/each_filename_is_license_name . Assuming it is an ebuild that is in repo, the folder ../../licenses/ should be checked.

It would also be cool if findDefintion worked on it, since in any case it is kinda like definition: the license should be all licenses that match the filenames at $ROOT/var/db/repos/ANY_REPO/licenses/*

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions