From d587d7b5e02724ca623cba6777c3e5e77f3801c5 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Mon, 25 Mar 2024 11:19:53 +0100 Subject: [PATCH] more CPEs --- sed/PKGBUILD | 3 +++ sqlite/PKGBUILD | 3 +++ subversion/PKGBUILD | 3 +++ tar/PKGBUILD | 3 +++ tcl/PKGBUILD | 3 +++ texinfo/PKGBUILD | 3 +++ tmux/PKGBUILD | 3 +++ u-boot-tools/PKGBUILD | 3 +++ unrar/PKGBUILD | 3 +++ unzip/PKGBUILD | 4 ++++ upx/PKGBUILD | 3 +++ util-linux/PKGBUILD | 3 +++ vim/PKGBUILD | 3 +++ w3m/PKGBUILD | 3 +++ wget/PKGBUILD | 3 +++ xz/PKGBUILD | 3 +++ yasm/PKGBUILD | 4 ++++ yodl/PKGBUILD | 3 +++ zlib/PKGBUILD | 3 +++ znc/PKGBUILD | 3 +++ zsh/PKGBUILD | 4 ++++ zstd/PKGBUILD | 3 +++ 22 files changed, 69 insertions(+) diff --git a/sed/PKGBUILD b/sed/PKGBUILD index e02b4881..0ca941fb 100644 --- a/sed/PKGBUILD +++ b/sed/PKGBUILD @@ -6,6 +6,9 @@ pkgrel=1 pkgdesc="GNU stream editor" arch=('i686' 'x86_64') url="https://www.gnu.org/software/sed" +msys2_references=( + "cpe: cpe:/a:gnu:sed" +) license=('GPL3') depends=('libintl' 'sh') makedepends=('gettext' 'gettext-devel' 'autotools' 'gcc') diff --git a/sqlite/PKGBUILD b/sqlite/PKGBUILD index 47900f87..adb4d0be 100644 --- a/sqlite/PKGBUILD +++ b/sqlite/PKGBUILD @@ -15,6 +15,9 @@ pkgdesc="A C library that implements an SQL database engine" arch=('i686' 'x86_64') license=(PublicDomain) url="https://www.sqlite.org/" +msys2_references=( + "cpe: cpe:/a:sqlite:sqlite" +) depends=('libreadline' 'zlib' 'tcl') makedepends=('libreadline-devel' 'icu-devel' 'tcl-devel' 'zlib-devel' 'autotools' 'gcc') source=(https://www.sqlite.org/${_sqlite_year}/sqlite-src-${_srcver}.zip diff --git a/subversion/PKGBUILD b/subversion/PKGBUILD index 95806d08..456b7962 100644 --- a/subversion/PKGBUILD +++ b/subversion/PKGBUILD @@ -6,6 +6,9 @@ pkgrel=4 pkgdesc="A Modern Concurrent Version Control System" arch=('i686' 'x86_64') url="https://subversion.apache.org/" +msys2_references=( + "cpe: cpe:/a:apache:subversion" +) license=('APACHE') groups=('VCS') depends=('libsqlite' 'file' 'liblz4' 'libserf' 'libsasl') diff --git a/tar/PKGBUILD b/tar/PKGBUILD index c5045e72..14094e45 100644 --- a/tar/PKGBUILD +++ b/tar/PKGBUILD @@ -6,6 +6,9 @@ pkgrel=2 pkgdesc="Utility used to store, backup, and transport files" arch=('i686' 'x86_64') url="https://www.gnu.org/software/tar/tar.html" +msys2_references=( + "cpe: cpe:/a:gnu:tar" +) license=('GPL3') groups=('compression') depends=('libiconv' 'libintl' 'sh') diff --git a/tcl/PKGBUILD b/tcl/PKGBUILD index 46f3b75a..d211ce18 100644 --- a/tcl/PKGBUILD +++ b/tcl/PKGBUILD @@ -8,6 +8,9 @@ pkgrel=3 pkgdesc="The Tcl scripting language" arch=('i686' 'x86_64') url="https://tcl.sourceforge.io/" +msys2_references=( + "cpe: cpe:/a:tcl:tcl" +) license=('custom') depends=('zlib') makedepends=('autotools' 'gcc') diff --git a/texinfo/PKGBUILD b/texinfo/PKGBUILD index 0f08d480..2609b306 100644 --- a/texinfo/PKGBUILD +++ b/texinfo/PKGBUILD @@ -7,6 +7,9 @@ pkgdesc="Utilities to work with and produce manuals, ASCII text, and on-line doc arch=('i686' 'x86_64') url="https://www.gnu.org/software/texinfo/" msys2_repository_url="https://git.savannah.gnu.org/cgit/texinfo.git" +msys2_references=( + "cpe: cpe:/a:gnu:texinfo" +) license=('spdx:GPL-3.0-or-later') makedepends=('ncurses-devel' 'libxcrypt-devel' 'gettext-devel' 'findutils' 'gzip' 'perl-devel' 'autotools' 'gcc' 'help2man') source=(https://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig} diff --git a/tmux/PKGBUILD b/tmux/PKGBUILD index bd0f05a9..2dbe2c18 100644 --- a/tmux/PKGBUILD +++ b/tmux/PKGBUILD @@ -8,6 +8,9 @@ pkgrel=1 pkgdesc='A terminal multiplexer' url='https://tmux.github.io/' msys2_repository_url="https://github.com/tmux/tmux" +msys2_references=( + "cpe: cpe:/a:tmux_project:tmux" +) arch=('i686' 'x86_64') license=('BSD') conflict=('tmux-git') diff --git a/u-boot-tools/PKGBUILD b/u-boot-tools/PKGBUILD index 3ea20c51..2a73cd98 100644 --- a/u-boot-tools/PKGBUILD +++ b/u-boot-tools/PKGBUILD @@ -6,6 +6,9 @@ pkgrel=1 pkgdesc="U-Boot Tools" arch=('i686' 'x86_64') url="https://github.com/u-boot/u-boot" +msys2_references=( + "cpe: cpe:/a:denx:u-boot" +) license=('GPL2') depends=('dtc' 'openssl') makedepends=('make' 'gcc' 'openssl-devel' 'libgnutls-devel' 'libuuid-devel') diff --git a/unrar/PKGBUILD b/unrar/PKGBUILD index 5fafcafa..782cb2c6 100644 --- a/unrar/PKGBUILD +++ b/unrar/PKGBUILD @@ -6,6 +6,9 @@ pkgver=7.0.7 pkgrel=1 arch=('i686' 'x86_64') url="https://www.rarlab.com/rar_add.htm" +msys2_references=( + "cpe: cpe:/a:rarlab:unrar" +) license=('custom') depends=('gcc-libs') makedepends=('make' 'gcc') diff --git a/unzip/PKGBUILD b/unzip/PKGBUILD index 5df0f7fe..87dd2a10 100644 --- a/unzip/PKGBUILD +++ b/unzip/PKGBUILD @@ -6,6 +6,10 @@ pkgrel=3 pkgdesc="Unpacks .zip archives such as those made by PKZIP" arch=('i686' 'x86_64') url="http://www.info-zip.org/" +msys2_references=( + "cpe: cpe:/a:unzip_project:unzip" + "cpe: cpe:/a:info-zip:unzip" +) license=('custom') groups=('compression') depends=('libbz2' 'bash') diff --git a/upx/PKGBUILD b/upx/PKGBUILD index 3c84a555..be80d30b 100644 --- a/upx/PKGBUILD +++ b/upx/PKGBUILD @@ -11,6 +11,9 @@ pkgdesc='Ultimate executable compressor.' arch=('i686' 'x86_64') url='https://upx.github.io/' msys2_repository_url="https://github.com/upx/upx" +msys2_references=( + "cpe: cpe:/a:upx_project:upx" +) license=('GPL') depends=('ucl' 'zlib') makedepends=('ucl-devel' 'zlib-devel' 'gcc' 'make' 'cmake' 'ninja') diff --git a/util-linux/PKGBUILD b/util-linux/PKGBUILD index e1435860..782058cb 100644 --- a/util-linux/PKGBUILD +++ b/util-linux/PKGBUILD @@ -8,6 +8,9 @@ pkgdesc="Miscellaneous system utilities for Linux" arch=('i686' 'x86_64') license=('GPL3') url="https://www.kernel.org/pub/linux/utils/util-linux/" +msys2_references=( + "cpe: cpe:/a:kernel:util-linux" +) makedepends=('gettext-devel' 'libiconv-devel' 'libxcrypt-devel' 'ncurses-devel' 'patch' 'zlib-devel' 'autotools' 'gcc' 'gtk-doc') source=(https://www.kernel.org/pub/linux/utils/$pkgname/v${_pkgmajor}/${pkgname}-${pkgver}.tar.xz 2.24.2-agetty.patch diff --git a/vim/PKGBUILD b/vim/PKGBUILD index 6fd5f652..50b42a96 100644 --- a/vim/PKGBUILD +++ b/vim/PKGBUILD @@ -12,6 +12,9 @@ arch=('i686' 'x86_64') license=('custom:vim') url="https://www.vim.org" msys2_repository_url="https://github.com/vim/vim" +msys2_references=( + "cpe: cpe:/a:vim:vim" +) depends=('ncurses' 'libiconv' 'libintl' 'libxcrypt' 'perl') groups=('editors') makedepends=('gawk' 'perl-devel' 'python-devel' 'ruby' 'ncurses-devel' 'autotools' 'gcc' diff --git a/w3m/PKGBUILD b/w3m/PKGBUILD index 046eff71..2e524946 100644 --- a/w3m/PKGBUILD +++ b/w3m/PKGBUILD @@ -8,6 +8,9 @@ pkgrel=2 pkgdesc="w3m is a pager with WWW capability (net-utils)" arch=('i686' 'x86_64') url="https://w3m.sourceforge.io/" +msys2_references=( + "cpe: cpe:/a:w3m:w3m" +) license=('BSD') groups=('net-utils') depends=('libgc' 'libiconv' 'libintl' 'openssl' 'zlib' 'ncurses') diff --git a/wget/PKGBUILD b/wget/PKGBUILD index c3db89e8..a2e001a6 100644 --- a/wget/PKGBUILD +++ b/wget/PKGBUILD @@ -6,6 +6,9 @@ pkgrel=1 pkgdesc="A network utility to retrieve files from the Web" arch=('i686' 'x86_64') url="https://www.gnu.org/software/wget/" +msys2_references=( + "cpe: cpe:/a:gnu:wget" +) license=('GPL3') depends=('gcc-libs' 'libiconv' 'libidn2' 'libintl' 'libgpgme' 'libpcre2_8' 'libpsl' 'libuuid' 'libgnutls' 'zlib') makedepends=('autoconf-archive' 'gettext-devel' 'libidn2-devel' 'libgpgme-devel' 'libuuid-devel' diff --git a/xz/PKGBUILD b/xz/PKGBUILD index 5260e9b9..129bbab9 100644 --- a/xz/PKGBUILD +++ b/xz/PKGBUILD @@ -7,6 +7,9 @@ pkgdesc='Library and command line tools for XZ and LZMA compressed files' arch=('i686' 'x86_64') url='https://tukaani.org/xz/' msys2_repository_url="https://github.com/tukaani-project/xz/" +msys2_references=( + "cpe: cpe:/a:tukaani:xz" +) license=('GPL' 'LGPL' 'custom') depends=('sh' 'libiconv' 'gettext') makedepends=('libiconv-devel' 'gettext-devel' 'autotools' 'gcc') diff --git a/yasm/PKGBUILD b/yasm/PKGBUILD index 772e11f9..d44dc9be 100644 --- a/yasm/PKGBUILD +++ b/yasm/PKGBUILD @@ -6,6 +6,10 @@ pkgrel=3 pkgdesc="A rewrite of NASM to allow for multiple syntax supported (NASM, TASM, GAS, etc.)" arch=('i686' 'x86_64') url="https://www.tortall.net/projects/yasm/" +msys2_references=( + "cpe: cpe:/a:yasm_project:yasm" + "cpe: cpe:/a:tortall:yasm" +) license=('BSD' 'GPL2' 'LGPL2.1' 'PerlArtistic') options=('staticlibs') makedepends=('autotools' 'gcc' 'xmlto') diff --git a/yodl/PKGBUILD b/yodl/PKGBUILD index 12fdbf0e..d738e6a9 100644 --- a/yodl/PKGBUILD +++ b/yodl/PKGBUILD @@ -6,6 +6,9 @@ pkgrel=1 pkgdesc='Implements a pre-document language and tools to process it' arch=('i686' 'x86_64') url='https://fbb-git.gitlab.io/yodl/' +msys2_references=( + "cpe: cpe:/a:yodl_project:yodl" +) license=('GPL3') depends=('bash') makedepends=('icmake>=8.00.00' 'gcc') diff --git a/zlib/PKGBUILD b/zlib/PKGBUILD index 0652e021..d44fdd84 100644 --- a/zlib/PKGBUILD +++ b/zlib/PKGBUILD @@ -9,6 +9,9 @@ groups=('libraries') license=('custom') url="https://www.zlib.net/" msys2_repository_url="https://github.com/madler/zlib" +msys2_references=( + "cpe: cpe:/a:zlib:zlib" +) makedepends=('gcc' 'make' 'autotools') source=("https://github.com/madler/zlib/releases/download/v${pkgver}/zlib-${pkgver}.tar.xz"{,.asc} zlib-1.2.13-configure.patch diff --git a/znc/PKGBUILD b/znc/PKGBUILD index c3b36ab4..ef88663c 100644 --- a/znc/PKGBUILD +++ b/znc/PKGBUILD @@ -6,6 +6,9 @@ pkgrel=16 pkgdesc='An IRC bouncer with modules & scripts support' url='https://znc.in/' msys2_repository_url="https://github.com/znc/znc" +msys2_references=( + "cpe: cpe:/a:znc:znc" +) license=('spdx:Apache-2.0') arch=('i686' 'x86_64') replaces=('znc-git') diff --git a/zsh/PKGBUILD b/zsh/PKGBUILD index cae29c70..97817236 100644 --- a/zsh/PKGBUILD +++ b/zsh/PKGBUILD @@ -6,6 +6,10 @@ pkgver=5.9 pkgrel=2 arch=('i686' 'x86_64') url='https://www.zsh.org/' +msys2_references=( + "cpe: cpe:/a:zsh_project:zsh" + "cpe: cpe:/a:zsh:zsh" +) license=('custom') makedepends=('ncurses-devel' 'pcre-devel' 'libiconv-devel' 'libgdbm-devel' 'autotools' 'gcc' 'groff') source=("https://www.zsh.org/pub/zsh-${pkgver}.tar.xz"{,.asc} diff --git a/zstd/PKGBUILD b/zstd/PKGBUILD index 50969f5c..7ed2c205 100644 --- a/zstd/PKGBUILD +++ b/zstd/PKGBUILD @@ -8,6 +8,9 @@ pkgdesc="Zstandard - Fast real-time compression algorithm" arch=('i686' 'x86_64') url='https://facebook.github.io/zstd/' msys2_repository_url="https://github.com/facebook/zstd" +msys2_references=( + "cpe: cpe:/a:facebook:zstandard" +) license=('BSD') makedepends=('gcc' 'ninja' 'cmake') source=("https://github.com/facebook/${pkgbase}/releases/download/v${pkgver}/${pkgbase}-${pkgver}.tar.gz"{,.sig})