Page MenuHomeFreeBSD

D61941.1795525779.diff
No OneTemporary

Authored By
Unknown
Size
267 KB
Referenced Files
None
Subscribers
None

D61941.1795525779.diff

This file is larger than 256 KB, so syntax highlighting was skipped.
diff --git a/archivers/arj/Makefile b/archivers/arj/Makefile
--- a/archivers/arj/Makefile
+++ b/archivers/arj/Makefile
@@ -23,7 +23,10 @@
hurd_no_fcntl_getlk.patch \
reproducible_help_archive.patch
-USES= autoreconf gmake
+USES= autoreconf cpe gmake
+
+CPE_VENDOR= arj_software
+CPE_PRODUCT= arj_archiver
EXTRA_PATCHES= ${WRKDIR}/debian/patches/*.patch
PATCH_STRIP= -p1
diff --git a/archivers/py-brotlicffi/Makefile b/archivers/py-brotlicffi/Makefile
--- a/archivers/py-brotlicffi/Makefile
+++ b/archivers/py-brotlicffi/Makefile
@@ -18,9 +18,11 @@
LIB_DEPENDS= libbrotlienc.so:archivers/brotli
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.17.0:devel/py-cffi@${PY_FLAVOR}
-USES= localbase python
+USES= cpe localbase python
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= python-hyper
+
MAKE_ENV= USE_SHARED_BROTLI=1
post-patch:
diff --git a/archivers/snappy-java/Makefile b/archivers/snappy-java/Makefile
--- a/archivers/snappy-java/Makefile
+++ b/archivers/snappy-java/Makefile
@@ -24,7 +24,10 @@
BUILD_DEPENDS= sbt:devel/sbt
-USES= cmake:indirect gmake java:build
+USES= cmake:indirect cpe gmake java:build
+
+CPE_VENDOR= xerial
+CPE_PRODUCT= snappy-java
USE_GITHUB= yes
GH_ACCOUNT= xerial
diff --git a/astro/py-astropy/Makefile b/astro/py-astropy/Makefile
--- a/astro/py-astropy/Makefile
+++ b/astro/py-astropy/Makefile
@@ -19,7 +19,7 @@
${PYTHON_PKGNAMEPREFIX}pyerfa>=0:astro/py-pyerfa@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}astropy-iers-data>=0:astro/py-astropy-iers-data@${PY_FLAVOR}
-USES= compiler:c11 python
+USES= compiler:c11 cpe python
USE_PYTHON= autoplist cython distutils
CONFLICTS_INSTALL= p5-Data-ShowTable # bin/showtable
diff --git a/audio/ardour/Makefile b/audio/ardour/Makefile
--- a/audio/ardour/Makefile
+++ b/audio/ardour/Makefile
@@ -45,7 +45,7 @@
libFLAC.so:audio/flac \
libwebsockets.so:net/libwebsockets
-USES= compiler:c++14-lang desktop-file-utils gettext gnome \
+USES= compiler:c++14-lang cpe desktop-file-utils gettext gnome \
libarchive pkgconfig python:build readline ssl tar:bzip2 \
waf xorg shared-mime-info
USE_CXXSTD= c++14
diff --git a/audio/libgme/Makefile b/audio/libgme/Makefile
--- a/audio/libgme/Makefile
+++ b/audio/libgme/Makefile
@@ -11,9 +11,12 @@
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/license.txt
-USES= cmake compiler:c++11-lang dos2unix pathfix
+USES= cmake compiler:c++11-lang cpe dos2unix pathfix
DOS2UNIX_FILES= ${PORTDOCS}
+CPE_VENDOR= ${PORTNAME:tl}
+CPE_PRODUCT= game_music_emu
+
CMAKE_ON= CMAKE_DISABLE_FIND_PACKAGE_SDL2
CMAKE_OFF= ENABLE_UBSAN GME_BUILD_STATIC
diff --git a/audio/musicpd/Makefile b/audio/musicpd/Makefile
--- a/audio/musicpd/Makefile
+++ b/audio/musicpd/Makefile
@@ -14,9 +14,12 @@
LIB_DEPENDS= libfmt.so:devel/libfmt \
libicudata.so:devel/icu
-USES= compiler:c++20-lang localbase:ldflags meson pkgconfig \
+USES= compiler:c++20-lang cpe localbase:ldflags meson pkgconfig \
python:build tar:xz
+CPE_VENDOR= ${PORTNAME:tl}
+CPE_PRODUCT= music_player_daemon
+
USE_RC_SUBR= ${PORTNAME}
MESON_ARGS= --auto-features=disabled \
-Dbzip2=enabled \
diff --git a/audio/nas/Makefile b/audio/nas/Makefile
--- a/audio/nas/Makefile
+++ b/audio/nas/Makefile
@@ -9,7 +9,7 @@
COMMENT= Network Audio System
WWW= https://radscan.com/nas.html
-USES= imake perl5 shebangfix xorg
+USES= cpe imake perl5 shebangfix xorg
SHEBANG_FILES= clients/audio/auscope/auscope
USE_PERL5= run
USE_CSTD= gnu89
@@ -18,6 +18,9 @@
MAKE_ENV+= COMPRESS_CMD="${COMPRESS_CMD:S/c//}"
MAKE_JOBS_UNSAFE= yes
+CPE_VENDOR= radscan
+CPE_PRODUCT= network_audio_system
+
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
FPIC= -fpic
diff --git a/audio/picard/Makefile b/audio/picard/Makefile
--- a/audio/picard/Makefile
+++ b/audio/picard/Makefile
@@ -21,10 +21,13 @@
${PYTHON_PKGNAMEPREFIX}markdown>=3.2:textproc/py-markdown@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyjwt>=2.0:www/py-pyjwt@${PY_FLAVOR}
-USES= desktop-file-utils gettext-tools pyqt:5 python
+USES= cpe desktop-file-utils gettext-tools pyqt:5 python
USE_PYQT= pyqt5:run
USE_PYTHON= autoplist noflavors pep517 unittest
+CPE_VENDOR= metabrainz
+CPE_PRODUCT= musicbrainz_picard
+
CONFLICTS_INSTALL= picard-tools py*-python-picard # bin/picard
OPTIONS_DEFINE= ACOUSTID PLUGINS
diff --git a/audio/py-tinytag/Makefile b/audio/py-tinytag/Makefile
--- a/audio/py-tinytag/Makefile
+++ b/audio/py-tinytag/Makefile
@@ -13,7 +13,7 @@
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2:devel/py-flit-core@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
diff --git a/audio/schismtracker/Makefile b/audio/schismtracker/Makefile
--- a/audio/schismtracker/Makefile
+++ b/audio/schismtracker/Makefile
@@ -13,13 +13,16 @@
LIB_DEPENDS= libutf8proc.so:textproc/utf8proc
-USES= autoreconf compiler:c++11-lib desktop-file-utils \
+USES= autoreconf compiler:c++11-lib cpe desktop-file-utils \
localbase pkgconfig python xorg
USE_GITHUB= yes
USE_XORG= x11 xext xv
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-sdl12
+CPE_VENDOR= ${PORTNAME:tl}
+CPE_PRODUCT= schism_tracker
+
PLIST_FILES= bin/schismtracker \
share/applications/schism.desktop \
share/man/man1/schismtracker.1.gz \
diff --git a/audio/xmp/Makefile b/audio/xmp/Makefile
--- a/audio/xmp/Makefile
+++ b/audio/xmp/Makefile
@@ -12,9 +12,12 @@
LIB_DEPENDS= libxmp.so:audio/libxmp
-USES= gmake localbase:ldflags pkgconfig
+USES= cpe gmake localbase:ldflags pkgconfig
GNU_CONFIGURE= yes
+CPE_VENDOR= extended_module_player_project
+CPE_PRODUCT= extended_module_player
+
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc
CONFIG_FILES= xmp.conf modules.conf
diff --git a/benchmarks/phoronix-test-suite/Makefile b/benchmarks/phoronix-test-suite/Makefile
--- a/benchmarks/phoronix-test-suite/Makefile
+++ b/benchmarks/phoronix-test-suite/Makefile
@@ -14,11 +14,14 @@
RUN_DEPENDS= bash:shells/bash
-USES= php:cli,build,flavors python shebangfix sudo
+USES= cpe php:cli,build,flavors python shebangfix sudo
USE_GITHUB= yes
USE_PHP= curl dom gd pcntl posix simplexml zip zlib
NO_BUILD= yes
+CPE_VENDOR= phoronix-media
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
+
PORTDATA= *
PORTDOCS= *
diff --git a/benchmarks/py-locust/Makefile b/benchmarks/py-locust/Makefile
--- a/benchmarks/py-locust/Makefile
+++ b/benchmarks/py-locust/Makefile
@@ -40,7 +40,7 @@
${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}retry2>=0:devel/py-retry2@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= cryptography_test pep517
NO_ARCH= yes
diff --git a/biology/biosig/Makefile b/biology/biosig/Makefile
--- a/biology/biosig/Makefile
+++ b/biology/biosig/Makefile
@@ -18,10 +18,13 @@
libiconv.so:converters/libiconv \
libtinyxml.so:textproc/tinyxml
-USES= gmake gnome iconv localbase:ldflags tar:xz
+USES= cpe gmake gnome iconv localbase:ldflags tar:xz
USE_GNOME= libxml2
USE_LDCONFIG= yes
+CPE_VENDOR= libbiosig_project
+CPE_PRODUCT= libbiosig
+
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
GNU_CONFIGURE= yes
diff --git a/biology/bwa/Makefile b/biology/bwa/Makefile
--- a/biology/bwa/Makefile
+++ b/biology/bwa/Makefile
@@ -14,11 +14,14 @@
BUILD_DEPENDS= simde>0:devel/simde
-USES= gmake localbase perl5 shebangfix
+USES= cpe gmake localbase perl5 shebangfix
USE_GITHUB= yes
GH_ACCOUNT= lh3
USE_PERL5= run
+CPE_VENDOR= burrow-wheeler_aligner_project
+CPE_PRODUCT= burrow-wheeler_aligner
+
SHEBANG_FILES= qualfa2fq.pl xa2multi.pl
PLIST_FILES= bin/bwa bin/qualfa2fq.pl bin/xa2multi.pl share/man/man1/bwa.1.gz
diff --git a/cad/opencascade/Makefile b/cad/opencascade/Makefile
--- a/cad/opencascade/Makefile
+++ b/cad/opencascade/Makefile
@@ -26,7 +26,7 @@
RUN_DEPENDS= bash:shells/bash
# Check ${WRKSRC}/dox/build/build_occt/building_occt.md
-USES= cmake compiler:c++17-lang eigen:3 gettext-runtime \
+USES= cmake compiler:c++17-lang cpe eigen:3 gettext-runtime \
gl gnome localbase python qmake:no_configure,no_env qt:5\
shebangfix tk xorg
USE_XORG= ice sm x11 xau xcb xdmcp xext xft xi xmu xrender xscrnsaver xt
@@ -35,6 +35,9 @@
USE_QT= buildtools:build core declarative gui network quick3d \
linguisttools widgets xml
+CPE_VENDOR= ${PORTNAME:tl}
+CPE_PRODUCT= open_cascade_technology
+
USE_GITHUB= yes
GH_ACCOUNT= Open-Cascade-SAS
GH_PROJECT= OCCT
diff --git a/chinese/opencc/Makefile b/chinese/opencc/Makefile
--- a/chinese/opencc/Makefile
+++ b/chinese/opencc/Makefile
@@ -15,12 +15,15 @@
LIB_DEPENDS= libmarisa.so:devel/marisa-trie
TEST_DEPENDS= googletest>=0:devel/googletest
-USES= cmake:testing compiler:c++17-lang localbase:ldflags python:build
+USES= cmake:testing compiler:c++17-lang cpe localbase:ldflags python:build
USE_GITHUB= yes
GH_ACCOUNT= BYVoid
GH_PROJECT= OpenCC
USE_LDCONFIG= yes
+CPE_VENDOR= byvoid
+CPE_PRODUCT= open_chinese_convert
+
CMAKE_ON= CMAKE_DISABLE_FIND_PACKAGE_Git \
USE_SYSTEM_MARISA \
USE_SYSTEM_RAPIDJSON \
diff --git a/chinese/phpbb3-tw/Makefile b/chinese/phpbb3-tw/Makefile
--- a/chinese/phpbb3-tw/Makefile
+++ b/chinese/phpbb3-tw/Makefile
@@ -16,7 +16,7 @@
CONFLICTS_INSTALL= phpbb phpbb3 zh-phpbb-tw # share/doc/phpbb/AUTHORS share/doc/phpbb/CHANGELOG.html
-USES= zip
+USES= cpe zip
# The phpBB3 port supports a number of variables that may be tweaked at build
# time. Perform a "make options" to see more information on these variables.
diff --git a/comms/cyclonedds/Makefile b/comms/cyclonedds/Makefile
--- a/comms/cyclonedds/Makefile
+++ b/comms/cyclonedds/Makefile
@@ -12,7 +12,10 @@
LIB_DEPENDS= libiceoryx_binding_c.so:comms/iceoryx
-USES= bison cmake
+USES= bison cmake cpe
+
+CPE_VENDOR= eclipse
+CPE_PRODUCT= cyclone_data_distribution_service
USE_GITHUB= yes
GH_ACCOUNT= eclipse-cyclonedds
diff --git a/databases/hsqldb/Makefile b/databases/hsqldb/Makefile
--- a/databases/hsqldb/Makefile
+++ b/databases/hsqldb/Makefile
@@ -10,7 +10,10 @@
LICENSE= BSD3CLAUSE
-USES= java:ant,run zip
+USES= cpe java:ant,run zip
+
+CPE_VENDOR= ${PORTNAME:tl}
+CPE_PRODUCT= hypersql_database
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME}
BUILD_WRKSRC= ${WRKSRC}/build
diff --git a/databases/mongodb-tools/Makefile b/databases/mongodb-tools/Makefile
--- a/databases/mongodb-tools/Makefile
+++ b/databases/mongodb-tools/Makefile
@@ -10,11 +10,14 @@
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.md
-USES= compiler:c++14-lang go localbase
+USES= compiler:c++14-lang cpe go localbase
USE_GITHUB= yes
GH_ACCOUNT= mongodb
GH_PROJECT= mongo-tools
+CPE_VENDOR= mongodb
+CPE_PRODUCT= database_tools
+
GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT}
GO_BUILDFLAGS= -tags "${USE_MY_TAGS}"
diff --git a/databases/pgvector/Makefile b/databases/pgvector/Makefile
--- a/databases/pgvector/Makefile
+++ b/databases/pgvector/Makefile
@@ -11,9 +11,11 @@
NOT_FOR_ARCHS= i386
-USES= gmake pgsql
+USES= cpe gmake pgsql
WANT_PGSQL= server
+CPE_VENDOR= pgvector_project
+
USE_GITHUB= yes
GH_ACCOUNT= pgvector
GH_PROJECT= pgvector
diff --git a/databases/proxysql/Makefile b/databases/proxysql/Makefile
--- a/databases/proxysql/Makefile
+++ b/databases/proxysql/Makefile
@@ -20,7 +20,7 @@
RUN_DEPENDS= libgcrypt>0:security/libgcrypt \
gnutls>0:security/gnutls
-USES= autoreconf:build bison:build compiler:c++11-lang gmake \
+USES= autoreconf:build bison:build compiler:c++11-lang cpe gmake \
libtool perl5 pkgconfig python:build ssl
USE_CSTD= gnu11
USE_PERL5= build
diff --git a/databases/py-chromadb/Makefile b/databases/py-chromadb/Makefile
--- a/databases/py-chromadb/Makefile
+++ b/databases/py-chromadb/Makefile
@@ -46,9 +46,11 @@
${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.5.0:devel/py-typing-extensions@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}uvicorn>=0.18.3:www/py-uvicorn@${PY_FLAVOR}
-USES= gmake python cargo ssl
+USES= cpe gmake python cargo ssl
USE_PYTHON= autoplist concurrent pep517 pytest
+CPE_VENDOR= trychroma
+
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
swagger-ui-5.17.14.zip:swagger
diff --git a/databases/py-lmdb/Makefile b/databases/py-lmdb/Makefile
--- a/databases/py-lmdb/Makefile
+++ b/databases/py-lmdb/Makefile
@@ -21,9 +21,12 @@
LIB_DEPENDS= liblmdb.so:databases/lmdb0
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
-USES= localbase python
+USES= cpe localbase python
USE_PYTHON= autoplist pep517
+CPE_VENDOR= py-lmdb_project
+CPE_PRODUCT= py-lmdb
+
MAKE_ENV= LMDB_FORCE_SYSTEM=1 \
LMDB_FORCE_CFFI=1
diff --git a/databases/py-mysql-connector-python/Makefile b/databases/py-mysql-connector-python/Makefile
--- a/databases/py-mysql-connector-python/Makefile
+++ b/databases/py-mysql-connector-python/Makefile
@@ -12,11 +12,14 @@
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_GITHUB= yes
GH_ACCOUNT= mysql
USE_PYTHON= autoplist pep517
+CPE_VENDOR= oracle
+CPE_PRODUCT= mysql_connector/python
+
NO_ARCH= yes
PORTSCOUT= skipv:init
diff --git a/databases/py-redis/Makefile b/databases/py-redis/Makefile
--- a/databases/py-redis/Makefile
+++ b/databases/py-redis/Makefile
@@ -16,9 +16,12 @@
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
redis-server:databases/redis
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517 pytest
+CPE_VENDOR= ${PORTNAME:tl}
+CPE_PRODUCT= redis-py
+
NO_ARCH= yes
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}redis \
diff --git a/databases/py-redis2/Makefile b/databases/py-redis2/Makefile
--- a/databases/py-redis2/Makefile
+++ b/databases/py-redis2/Makefile
@@ -18,9 +18,12 @@
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
redis-server:databases/redis
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517 pytest
+CPE_VENDOR= ${PORTNAME:tl}
+CPE_PRODUCT= redis-py
+
NO_ARCH= yes
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}redis \
diff --git a/databases/py-redis5/Makefile b/databases/py-redis5/Makefile
--- a/databases/py-redis5/Makefile
+++ b/databases/py-redis5/Makefile
@@ -19,9 +19,12 @@
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
redis-server:databases/redis
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517 pytest
+CPE_VENDOR= ${PORTNAME:tl}
+CPE_PRODUCT= redis-py
+
NO_ARCH= yes
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}redis \
diff --git a/databases/py-redis6/Makefile b/databases/py-redis6/Makefile
--- a/databases/py-redis6/Makefile
+++ b/databases/py-redis6/Makefile
@@ -17,9 +17,12 @@
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
redis-server:databases/redis
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517 pytest
+CPE_VENDOR= ${PORTNAME:tl}
+CPE_PRODUCT= redis-py
+
NO_ARCH= yes
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}redis \
diff --git a/databases/py-snowflake-connector-python/Makefile b/databases/py-snowflake-connector-python/Makefile
--- a/databases/py-snowflake-connector-python/Makefile
+++ b/databases/py-snowflake-connector-python/Makefile
@@ -29,9 +29,12 @@
${PYTHON_PKGNAMEPREFIX}platformdirs>=2.6.0<5.0.0:devel/py-platformdirs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tomlkit>0:textproc/py-tomlkit@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent cryptography cython pep517
+CPE_VENDOR= snowflake
+CPE_PRODUCT= snowflake_connector
+
post-install:
${STRIP_CMD} \
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/snowflake/connector/nanoarrow_arrow_iterator.cpython-${PYTHON_SUFFIX}.so
diff --git a/databases/sqlite-jdbc/Makefile b/databases/sqlite-jdbc/Makefile
--- a/databases/sqlite-jdbc/Makefile
+++ b/databases/sqlite-jdbc/Makefile
@@ -15,10 +15,13 @@
BUILD_DEPENDS= ${JAVAJARDIR}/slf4j-api.jar:devel/slf4j
LIB_DEPENDS= libsqlite3.so:databases/sqlite3
-USES= gmake java:build
+USES= cpe gmake java:build
USE_GITHUB= yes
GH_ACCOUNT= xerial
+CPE_VENDOR= sqlite_jdbc_project
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
+
MAKE_ARGS+= SQLITE_OBJ="${LOCALBASE}/lib/libsqlite3.so" \
SQLITE_HEADER="${LOCALBASE}/include/sqlite3.h" \
JAVA_CLASSPATH="${JAVAJARDIR}/slf4j-api.jar"
diff --git a/databases/surrealdb/Makefile b/databases/surrealdb/Makefile
--- a/databases/surrealdb/Makefile
+++ b/databases/surrealdb/Makefile
@@ -22,7 +22,7 @@
LIB_DEPENDS= librocksdb.so:databases/rocksdb \
libzstd.so:archivers/zstd
-USES= cargo llvm:15
+USES= cargo cpe llvm:15
USE_GITHUB= yes
diff --git a/deskutils/podman-desktop/Makefile b/deskutils/podman-desktop/Makefile
--- a/deskutils/podman-desktop/Makefile
+++ b/deskutils/podman-desktop/Makefile
@@ -22,7 +22,10 @@
minikube:sysutils/minikube \
podman-compose:sysutils/podman-compose
-USES= desktop-file-utils electronfix:42 shared-mime-info
+USES= cpe desktop-file-utils electronfix:42 shared-mime-info
+
+CPE_VENDOR= linuxfoundation
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
ELECTRONFIX_MAIN_EXECUTABLE= podman-desktop
SUB_FILES= podman-desktop
diff --git a/deskutils/virt-manager/Makefile b/deskutils/virt-manager/Makefile
--- a/deskutils/virt-manager/Makefile
+++ b/deskutils/virt-manager/Makefile
@@ -22,10 +22,12 @@
spice-gtk>=0.26:deskutils/spice-gtk \
ssh-askpass:security/openssh-askpass
-USES= desktop-file-utils gettext gnome meson tar:xz python
+USES= cpe desktop-file-utils gettext gnome meson tar:xz python
USE_GNOME= gtksourceview4 introspection:run intltool librsvg2 pygobject3
GLIB_SCHEMAS= org.virt-manager.virt-manager.gschema.xml
+CPE_VENDOR= redhat
+
MESON_ARGS= -Dtests=disabled
NO_ARCH= yes
diff --git a/devel/abseil/Makefile b/devel/abseil/Makefile
--- a/devel/abseil/Makefile
+++ b/devel/abseil/Makefile
@@ -15,11 +15,14 @@
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= cmake compiler:c++17-lang pathfix
+USES= cmake compiler:c++17-lang cpe pathfix
CMAKE_ARGS= -DBUILD_SHARED_LIBS:BOOL=ON \
-DCMAKE_CXX_STANDARD=17 # force the same highest C++ standard because of ABI differences: see https://github.com/abseil/abseil-cpp/issues/819
PATHFIX_CMAKELISTSTXT= AbseilHelpers.cmake
+CPE_VENDOR= ${PORTNAME:tl}
+CPE_PRODUCT= common_libraries
+
_GET_SOVER= ${GREP} ABSL_SOVERSION ${WRKSRC}/CMakeLists.txt \
2>/dev/null | ${CUT} -d\" -f2
PLIST_SUB+= LIBSUFX=${_GET_SOVER:sh}
diff --git a/devel/apache-commons-io/Makefile b/devel/apache-commons-io/Makefile
--- a/devel/apache-commons-io/Makefile
+++ b/devel/apache-commons-io/Makefile
@@ -12,7 +12,10 @@
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USES= java
+USES= cpe java
+
+CPE_VENDOR= apache
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
NO_ARCH= yes
NO_BUILD= yes
diff --git a/devel/aws-c-io/Makefile b/devel/aws-c-io/Makefile
--- a/devel/aws-c-io/Makefile
+++ b/devel/aws-c-io/Makefile
@@ -14,11 +14,14 @@
libaws-c-common.so:devel/aws-c-common \
libs2n.so:security/s2n-tls
-USES= cmake:testing localbase ssl
+USES= cmake:testing cpe localbase ssl
USE_GITHUB= yes
GH_ACCOUNT= awslabs
USE_LDCONFIG= yes
+CPE_VENDOR= amazon
+CPE_PRODUCT= amazon_web_services_aws-c-io
+
CMAKE_ON= BUILD_SHARED_LIBS
CMAKE_OFF= BUILD_TESTING
diff --git a/devel/bacnet-stack/Makefile b/devel/bacnet-stack/Makefile
--- a/devel/bacnet-stack/Makefile
+++ b/devel/bacnet-stack/Makefile
@@ -11,11 +11,14 @@
LIB_DEPENDS= libdispatch.so:devel/libdispatch
-USES= cmake compiler:c++11-lang localbase:ldflags
+USES= cmake compiler:c++11-lang cpe localbase:ldflags
USE_GITHUB= yes
GH_ACCOUNT= bacnet-stack
GH_TAGNAME= c111154
+CPE_VENDOR= bacnetstack
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
+
LDFLAGS= -lm
.include <bsd.port.mk>
diff --git a/devel/boost-libs/Makefile b/devel/boost-libs/Makefile
--- a/devel/boost-libs/Makefile
+++ b/devel/boost-libs/Makefile
@@ -26,6 +26,10 @@
# -RELEASE built with WITH_LLVM_ASSERTIONS set, then he can't build
# this port successfully on such system. So provide LLVM_FROM_PORTS
# option as a last resort for him.
+USES+= cpe
+
+CPE_PRODUCT= boost
+
OPTIONS_DEFINE= COBALT DEBUG GIL_EXT LLVM_FROM_PORTS OPTIMIZED_CFLAGS ZSTD SBT
OPTIONS_MULTI= LOCALE
OPTIONS_MULTI_LOCALE= ICONV ICU
diff --git a/devel/codeblocks/Makefile b/devel/codeblocks/Makefile
--- a/devel/codeblocks/Makefile
+++ b/devel/codeblocks/Makefile
@@ -19,7 +19,7 @@
libhunspell-1.7.so:textproc/hunspell \
libtinyxml.so:textproc/tinyxml
-USES= autoreconf compiler:c++11-lang desktop-file-utils \
+USES= autoreconf compiler:c++11-lang cpe desktop-file-utils \
gettext-runtime gnome libtool localbase \
pathfix pkgconfig shared-mime-info tar:xz xorg
USE_CXXSTD= c++11
@@ -28,6 +28,9 @@
USE_WX= 3.0+
USE_XORG= x11
+CPE_VENDOR= ${PORTNAME:tl}
+CPE_PRODUCT= code::blocks
+
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS= --with-wx-config=${WX_CONFIG} --disable-pch \
diff --git a/devel/csoap/Makefile b/devel/csoap/Makefile
--- a/devel/csoap/Makefile
+++ b/devel/csoap/Makefile
@@ -10,11 +10,14 @@
WWW= https://csoap.sourceforge.net/
GNU_CONFIGURE= yes
-USES= gnome libtool pathfix
+USES= cpe gnome libtool pathfix
USE_GNOME= libxml2
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
+CPE_VENDOR= libcsoap_project
+CPE_PRODUCT= libcsoap
+
WRKSRC= ${WRKDIR}/libsoap-${PORTVERSION}
.include <bsd.port.mk>
diff --git a/devel/ctags/Makefile b/devel/ctags/Makefile
--- a/devel/ctags/Makefile
+++ b/devel/ctags/Makefile
@@ -10,7 +10,10 @@
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-macro-patterns --with-readlib
-USES= desthack
+USES= cpe desthack
+
+CPE_VENDOR= exuberant_ctags_project
+CPE_PRODUCT= exuberant_ctags
SUB_FILES+= pkg-message
diff --git a/devel/gdcm/Makefile b/devel/gdcm/Makefile
--- a/devel/gdcm/Makefile
+++ b/devel/gdcm/Makefile
@@ -13,9 +13,12 @@
LIB_DEPENDS= libopenjp2.so:graphics/openjpeg \
libexpat.so:textproc/expat2
-USES= cmake compiler:c++11-lang pkgconfig python:build tar:bzip2 ssl
+USES= cmake compiler:c++11-lang cpe pkgconfig python:build tar:bzip2 ssl
USE_LDCONFIG= yes
+CPE_VENDOR= malaterre
+CPE_PRODUCT= grassroots_dicom
+
OPTIONS_DEFINE= VTK
OPTIONS_SUB= yes
diff --git a/devel/gh/Makefile b/devel/gh/Makefile
--- a/devel/gh/Makefile
+++ b/devel/gh/Makefile
@@ -13,7 +13,10 @@
RUN_DEPENDS= git:devel/git
-USES= go:modules
+USES= cpe go:modules
+
+CPE_VENDOR= github
+CPE_PRODUCT= cli
_BUILD_VERSION= ${DISTVERSION}
_BUILD_DATE= $$(date +%Y-%m-%d)
diff --git a/devel/google-perftools/Makefile b/devel/google-perftools/Makefile
--- a/devel/google-perftools/Makefile
+++ b/devel/google-perftools/Makefile
@@ -15,10 +15,13 @@
BROKEN_armv7= error: use of undeclared identifier '_URC_NO_REASON', see https://github.com/gperftools/gperftools/issues/1360
BROKEN_riscv64= error: Cannot calculate stack trace: will need to write for your environment, see https://github.com/gperftools/gperftools/issues/1359
-USES= compiler:c11 gmake libtool localbase:ldflags perl5 # tests also require c++17 compiler
+USES= compiler:c11 cpe gmake libtool localbase:ldflags perl5 # tests also require c++17 compiler
USE_LDCONFIG= yes
USE_PERL5= test
+CPE_VENDOR= gperftools_project
+CPE_PRODUCT= gperftools
+
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
diff --git a/devel/googletest/Makefile b/devel/googletest/Makefile
--- a/devel/googletest/Makefile
+++ b/devel/googletest/Makefile
@@ -11,7 +11,10 @@
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= cmake:testing compiler:c++17-lang python:test
+USES= cmake:testing compiler:c++17-lang cpe python:test
+
+CPE_VENDOR= google
+CPE_PRODUCT= google_test
CMAKE_OFF= GTEST_HAS_ABSL \
gmock_build_tests \
diff --git a/devel/gprbuild/Makefile b/devel/gprbuild/Makefile
--- a/devel/gprbuild/Makefile
+++ b/devel/gprbuild/Makefile
@@ -18,9 +18,12 @@
BUILD_DEPENDS= sphinx-build:textproc/py-sphinx@${PY_FLAVOR}
-USES= ada:run python:build
+USES= ada:run cpe python:build
USE_BINUTILS= yes
+CPE_VENDOR= adacore
+CPE_PRODUCT= gpr_build
+
USE_GITHUB= yes
GH_ACCOUNT= AdaCore
GH_PROJECT= gprconfig_kb:kb xmlada:xa
diff --git a/devel/gson/Makefile b/devel/gson/Makefile
--- a/devel/gson/Makefile
+++ b/devel/gson/Makefile
@@ -11,7 +11,9 @@
LICENSE= APACHE20
-USES= java:run
+USES= cpe java:run
+
+CPE_VENDOR= google
NO_BUILD= yes
NO_ARCH= yes
diff --git a/devel/hs-ShellCheck/Makefile b/devel/hs-ShellCheck/Makefile
--- a/devel/hs-ShellCheck/Makefile
+++ b/devel/hs-ShellCheck/Makefile
@@ -10,7 +10,9 @@
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= cabal
+USES= cabal cpe
+
+CPE_VENDOR= vidarholen
USE_CABAL= Diff-1.0.2 \
OneTuple-0.4.2_1 \
diff --git a/devel/hs-git-annex/Makefile b/devel/hs-git-annex/Makefile
--- a/devel/hs-git-annex/Makefile
+++ b/devel/hs-git-annex/Makefile
@@ -14,9 +14,11 @@
ghc-9.10.3:lang/ghc910
RUN_DEPENDS= ${MY_DEPENDS}
-USES= cabal perl5
+USES= cabal cpe perl5
USE_PERL5= build
+CPE_VENDOR= git-annex_project
+
USE_CABAL= DAV-1.3.4 \
HUnit-1.6.2.0 \
IfElse-0.85 \
diff --git a/devel/ispc/Makefile b/devel/ispc/Makefile
--- a/devel/ispc/Makefile
+++ b/devel/ispc/Makefile
@@ -19,9 +19,12 @@
LIB_DEPENDS= ${LLVM_LIBLLVM}:devel/llvm${LLVM_VERSION} \
libtbb.so:devel/onetbb
-USES= bison cmake compiler:c++17-lang llvm:lib,min=20,max=20 python:build,test shebangfix
+USES= bison cmake compiler:c++17-lang cpe llvm:lib,min=20,max=20 python:build,test shebangfix
USE_LDCONFIG= yes
+CPE_VENDOR= intel
+CPE_PRODUCT= implicit_spmd_program_compiler
+
USE_GITHUB= yes
GH_TUPLE= google:googletest:6a7ed31:googletest/ispcrt/tests/vendor/google/googletest
diff --git a/devel/libzvbi/Makefile b/devel/libzvbi/Makefile
--- a/devel/libzvbi/Makefile
+++ b/devel/libzvbi/Makefile
@@ -13,12 +13,15 @@
LIB_DEPENDS+= libpng.so:graphics/png \
libunicode.so:devel/libunicode
-USES= autoreconf gettext iconv libtool localbase pathfix
+USES= autoreconf cpe gettext iconv libtool localbase pathfix
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-doxygen
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
+CPE_VENDOR= zapping-vbi
+CPE_PRODUCT= zvbi
+
USE_GITHUB= yes
GH_ACCOUNT= zapping-vbi
GH_PROJECT= zvbi
diff --git a/devel/mongo-cxx-driver/Makefile b/devel/mongo-cxx-driver/Makefile
--- a/devel/mongo-cxx-driver/Makefile
+++ b/devel/mongo-cxx-driver/Makefile
@@ -18,10 +18,13 @@
libutf8proc.so:textproc/utf8proc
RUN_DEPENDS= mongo-c-driver>=2.3.3:devel/mongo-c-driver
-USES= cmake compiler:c++17-lang pkgconfig ssl
+USES= cmake compiler:c++17-lang cpe pkgconfig ssl
USE_GITHUB= yes
USE_LDCONFIG= yes
+CPE_VENDOR= mongodb
+CPE_PRODUCT= c++_driver
+
GH_ACCOUNT= mongodb
# USE_CXXSTD=c++17 gets overridden with the default c++11 by cmake
diff --git a/devel/newtonsoft-json/Makefile b/devel/newtonsoft-json/Makefile
--- a/devel/newtonsoft-json/Makefile
+++ b/devel/newtonsoft-json/Makefile
@@ -9,7 +9,10 @@
LICENSE= MIT
-USES= mono
+USES= cpe mono
+
+CPE_VENDOR= newtonsoft
+CPE_PRODUCT= json.net
USE_GITHUB= yes
GH_ACCOUNT= JamesNK
diff --git a/devel/ocaml-opam/Makefile b/devel/ocaml-opam/Makefile
--- a/devel/ocaml-opam/Makefile
+++ b/devel/ocaml-opam/Makefile
@@ -15,7 +15,9 @@
RUN_DEPENDS= curl:ftp/curl \
gmake:devel/gmake
-USES= gmake
+USES= cpe gmake
+
+CPE_VENDOR= ocaml
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-mccs --with-vendored-deps
diff --git a/devel/openapi-generator/Makefile b/devel/openapi-generator/Makefile
--- a/devel/openapi-generator/Makefile
+++ b/devel/openapi-generator/Makefile
@@ -12,7 +12,10 @@
LICENSE= APACHE20
-USES= java:run
+USES= cpe java:run
+
+CPE_VENDOR= ${PORTNAME:tl}
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
NO_ARCH= yes
NO_BUILD= yes
diff --git a/devel/openocd-devel/Makefile b/devel/openocd-devel/Makefile
--- a/devel/openocd-devel/Makefile
+++ b/devel/openocd-devel/Makefile
@@ -10,7 +10,10 @@
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= autoreconf gmake libtool makeinfo pkgconfig
+USES= autoreconf cpe gmake libtool makeinfo pkgconfig
+
+CPE_VENDOR= ${PORTNAME:tl}
+CPE_PRODUCT= open_on-chip_debugger
USE_GITHUB= yes
GH_ACCOUNT= openocd-org
diff --git a/devel/p5-Perl-Tidy/Makefile b/devel/p5-Perl-Tidy/Makefile
--- a/devel/p5-Perl-Tidy/Makefile
+++ b/devel/p5-Perl-Tidy/Makefile
@@ -12,9 +12,12 @@
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= perl5
+USES= cpe perl5
USE_PERL5= configure
+CPE_VENDOR= perltidy_project
+CPE_PRODUCT= ${PORTNAME:tl:S/-//g}
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/devel/perfetto/Makefile b/devel/perfetto/Makefile
--- a/devel/perfetto/Makefile
+++ b/devel/perfetto/Makefile
@@ -15,7 +15,9 @@
BUILD_DEPENDS= gn:devel/gn
-USES= compiler:c++17-lang ninja python:build
+USES= compiler:c++17-lang cpe ninja python:build
+
+CPE_VENDOR= google
OPTIONS_DEFINE= EXAMPLES
OPTIONS_DEFAULT= EXAMPLES
diff --git a/devel/php-swoole/Makefile b/devel/php-swoole/Makefile
--- a/devel/php-swoole/Makefile
+++ b/devel/php-swoole/Makefile
@@ -15,7 +15,7 @@
NOT_FOR_ARCHS= i386 powerpc
NOT_FOR_ARCHS_REASON= upstream drop 32 bits support
-USES= compiler:c11 localbase:ldflags php:ext pkgconfig ssl
+USES= compiler:c11 cpe localbase:ldflags php:ext pkgconfig ssl
IGNORE_WITH_PHP= 86
USE_GITHUB= yes
GH_PROJECT= swoole-src
diff --git a/devel/plan9port/Makefile b/devel/plan9port/Makefile
--- a/devel/plan9port/Makefile
+++ b/devel/plan9port/Makefile
@@ -15,10 +15,12 @@
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
-USES= compiler:c11 localbase:ldflags perl5 shebangfix xorg
+USES= compiler:c11 cpe localbase:ldflags perl5 shebangfix xorg
USE_PERL5= build
USE_XORG= x11 xext xt
+CPE_VENDOR= 9fans
+
USE_GITHUB= yes
GH_ACCOUNT= 9fans
GH_TAGNAME= 13582b1
diff --git a/devel/ptlib/Makefile b/devel/ptlib/Makefile
--- a/devel/ptlib/Makefile
+++ b/devel/ptlib/Makefile
@@ -12,12 +12,15 @@
LIB_DEPENDS= libexpat.so:textproc/expat2
-USES= autoreconf:build bison:wrapper compiler:c11 gmake localbase:ldflags \
+USES= autoreconf:build bison:wrapper compiler:c11 cpe gmake localbase:ldflags \
pathfix pkgconfig ssl tar:xz
BROKEN_SSL= openssl openssl31
BROKEN_SSL_REASON= Uses OpenSSL 3.0.0 deprecated BIO_s_file_internal
USE_LDCONFIG= yes
+CPE_VENDOR= opalvoip
+CPE_PRODUCT= portable_tool_library
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-bsdvideo \
--disable-lua \
diff --git a/devel/py-awscli/Makefile b/devel/py-awscli/Makefile
--- a/devel/py-awscli/Makefile
+++ b/devel/py-awscli/Makefile
@@ -18,9 +18,12 @@
${PYTHON_PKGNAMEPREFIX}s3transfer>=0.6.0:net/py-s3transfer@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyyaml>=3.10:devel/py-pyyaml@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent distutils
+CPE_VENDOR= amazon
+CPE_PRODUCT= aws_command_line_interface
+
NO_ARCH= yes
SUB_FILES= pkg-message
diff --git a/devel/py-b2/Makefile b/devel/py-b2/Makefile
--- a/devel/py-b2/Makefile
+++ b/devel/py-b2/Makefile
@@ -24,9 +24,12 @@
${PYTHON_PKGNAMEPREFIX}tabulate>=0.9.0:devel/py-tabulate@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tqdm>=4.65.0:misc/py-tqdm@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent optsuffix pep517
+CPE_VENDOR= backblaze
+CPE_PRODUCT= b2_command_line_tool
+
CONFLICTS_INSTALL= boost_build
NO_ARCH= yes
diff --git a/devel/py-b2sdk/Makefile b/devel/py-b2sdk/Makefile
--- a/devel/py-b2sdk/Makefile
+++ b/devel/py-b2sdk/Makefile
@@ -22,9 +22,12 @@
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.7.1:devel/py-typing-extensions@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= backblaze
+CPE_PRODUCT= b2-sdk-python
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/devel/py-dj60-strawberry-graphql/Makefile b/devel/py-dj60-strawberry-graphql/Makefile
--- a/devel/py-dj60-strawberry-graphql/Makefile
+++ b/devel/py-dj60-strawberry-graphql/Makefile
@@ -23,9 +23,12 @@
${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.7.0:devel/py-python-dateutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.14.0:devel/py-typing-extensions@${PY_FLAVOR}
-USES= python:3.12+
+USES= cpe python:3.12+
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= strawberry
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
+
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
NO_ARCH= yes
diff --git a/devel/py-future/Makefile b/devel/py-future/Makefile
--- a/devel/py-future/Makefile
+++ b/devel/py-future/Makefile
@@ -11,9 +11,12 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USES= python:2.7+
+USES= cpe python:2.7+
USE_PYTHON= autoplist concurrent distutils pytest
+CPE_VENDOR= pythoncharmers
+CPE_PRODUCT= python-future
+
NO_ARCH= yes
.include <bsd.port.pre.mk>
diff --git a/devel/py-glance-store/Makefile b/devel/py-glance-store/Makefile
--- a/devel/py-glance-store/Makefile
+++ b/devel/py-glance-store/Makefile
@@ -29,9 +29,12 @@
${PYTHON_PKGNAMEPREFIX}retrying>=1.2.3:devel/py-retrying@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}stevedore>=1.20.0:devel/py-stevedore@${PY_FLAVOR}
-USES= python shebangfix
+USES= cpe python shebangfix
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= openstack
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
+
NO_ARCH= yes
SHEBANG_GLOB= *.sh
diff --git a/devel/py-jaraco.context/Makefile b/devel/py-jaraco.context/Makefile
--- a/devel/py-jaraco.context/Makefile
+++ b/devel/py-jaraco.context/Makefile
@@ -21,9 +21,11 @@
${PYTHON_PKGNAMEPREFIX}pytest-flake8>=0:devel/py-pytest-flake8@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-mypy>=0:devel/py-pytest-mypy@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517 pytest
+CPE_VENDOR= jaraco
+
NO_ARCH= yes
.include <bsd.port.pre.mk>
diff --git a/devel/py-jupyter-core/Makefile b/devel/py-jupyter-core/Makefile
--- a/devel/py-jupyter-core/Makefile
+++ b/devel/py-jupyter-core/Makefile
@@ -23,9 +23,12 @@
${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-timeout>=0:devel/py-pytest-timeout@${PY_FLAVOR}
-USES= python shebangfix
+USES= cpe python shebangfix
USE_PYTHON= autoplist concurrent pep517 pytest
+CPE_VENDOR= jupyter
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
+
NO_ARCH= yes
SHEBANG_FILES= jupyter_core/troubleshoot.py
diff --git a/devel/py-lxml-html-clean/Makefile b/devel/py-lxml-html-clean/Makefile
--- a/devel/py-lxml-html-clean/Makefile
+++ b/devel/py-lxml-html-clean/Makefile
@@ -14,9 +14,12 @@
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist distutils pytest
+CPE_VENDOR= fedoralovespython
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/devel/py-marimo/Makefile b/devel/py-marimo/Makefile
--- a/devel/py-marimo/Makefile
+++ b/devel/py-marimo/Makefile
@@ -30,9 +30,11 @@
BUILD_DEPENDS:= ${RUN_DEPENDS} \
${PYTHON_PKGNAMEPREFIX}uv-build>=0.8.3:devel/py-uv-build@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist noflavors pep517
+CPE_VENDOR= coreweave
+
post-patch:
${REINPLACE_CMD} '/jedi/s|>=.*"|"|' ${WRKSRC}/pyproject.toml
diff --git a/devel/py-os-vif/Makefile b/devel/py-os-vif/Makefile
--- a/devel/py-os-vif/Makefile
+++ b/devel/py-os-vif/Makefile
@@ -30,9 +30,11 @@
${PYTHON_PKGNAMEPREFIX}pyroute2>=0.5.13:net/py-pyroute2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}stevedore>=1.20.0:devel/py-stevedore@${PY_FLAVOR}
-USES= python:3.11+
+USES= cpe python:3.11+
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= openstack
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/devel/py-oslo.middleware/Makefile b/devel/py-oslo.middleware/Makefile
--- a/devel/py-oslo.middleware/Makefile
+++ b/devel/py-oslo.middleware/Makefile
@@ -27,9 +27,11 @@
${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.11.0:devel/py-typing-extensions@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}webob>=1.8.0:www/py-webob@${PY_FLAVOR}
-USES= python:3.11+
+USES= cpe python:3.11+
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= openstack
+
NO_ARCH= yes
OPTIONS_DEFINE= TRACING_GRPC TRACING_HTTP
diff --git a/devel/py-oslo.utils/Makefile b/devel/py-oslo.utils/Makefile
--- a/devel/py-oslo.utils/Makefile
+++ b/devel/py-oslo.utils/Makefile
@@ -25,9 +25,11 @@
${PYTHON_PKGNAMEPREFIX}pyparsing>=2.1.0:devel/py-pyparsing@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyyaml>=3.13:devel/py-pyyaml@${PY_FLAVOR}
-USES= python:3.11+
+USES= cpe python:3.11+
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= openstack
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/devel/py-python-engineio/Makefile b/devel/py-python-engineio/Makefile
--- a/devel/py-python-engineio/Makefile
+++ b/devel/py-python-engineio/Makefile
@@ -18,9 +18,11 @@
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}simple-websocket>=0.10.0:www/py-simple-websocket@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= python-engineio_project
+
NO_ARCH= yes
OPTIONS_DEFINE= ASYNCIO_CLIENT CLIENT
diff --git a/devel/py-python-json-logger/Makefile b/devel/py-python-json-logger/Makefile
--- a/devel/py-python-json-logger/Makefile
+++ b/devel/py-python-json-logger/Makefile
@@ -16,9 +16,12 @@
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= nhairs
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/devel/py-rtslib-fb/Makefile b/devel/py-rtslib-fb/Makefile
--- a/devel/py-rtslib-fb/Makefile
+++ b/devel/py-rtslib-fb/Makefile
@@ -16,9 +16,11 @@
${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyudev>=0.18<1:devel/py-pyudev@${PY_FLAVOR}
-USES= python shebangfix
+USES= cpe python shebangfix
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= rtslib-fb_project
+
NO_ARCH= yes
SHEBANG_FILES= rtslib/targetctl.py
diff --git a/devel/py-strawberry-graphql/Makefile b/devel/py-strawberry-graphql/Makefile
--- a/devel/py-strawberry-graphql/Makefile
+++ b/devel/py-strawberry-graphql/Makefile
@@ -23,9 +23,12 @@
${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.7.0:devel/py-python-dateutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.14.0:devel/py-typing-extensions@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= strawberry
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
+
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
NO_ARCH= yes
diff --git a/devel/rubygem-concurrent-ruby/Makefile b/devel/rubygem-concurrent-ruby/Makefile
--- a/devel/rubygem-concurrent-ruby/Makefile
+++ b/devel/rubygem-concurrent-ruby/Makefile
@@ -11,7 +11,10 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= rubyconcurrency
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
NO_ARCH= yes
diff --git a/devel/rubygem-concurrent-ruby11/Makefile b/devel/rubygem-concurrent-ruby11/Makefile
--- a/devel/rubygem-concurrent-ruby11/Makefile
+++ b/devel/rubygem-concurrent-ruby11/Makefile
@@ -11,7 +11,10 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= rubyconcurrency
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
NO_ARCH= yes
diff --git a/devel/rubygem-ffi/Makefile b/devel/rubygem-ffi/Makefile
--- a/devel/rubygem-ffi/Makefile
+++ b/devel/rubygem-ffi/Makefile
@@ -12,6 +12,9 @@
LIB_DEPENDS= libffi.so:devel/libffi
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= ruby-ffi_project
+CPE_PRODUCT= ruby-ffi
.include <bsd.port.mk>
diff --git a/devel/rubygem-git/Makefile b/devel/rubygem-git/Makefile
--- a/devel/rubygem-git/Makefile
+++ b/devel/rubygem-git/Makefile
@@ -14,7 +14,10 @@
rubygem-addressable>=2.8<3:www/rubygem-addressable \
rubygem-rchardet>=1.8<2:textproc/rubygem-rchardet
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= ruby-git_project
+CPE_PRODUCT= ruby-git
NO_ARCH= yes
diff --git a/devel/rubygem-mcp/Makefile b/devel/rubygem-mcp/Makefile
--- a/devel/rubygem-mcp/Makefile
+++ b/devel/rubygem-mcp/Makefile
@@ -12,7 +12,10 @@
RUN_DEPENDS= rubygem-json_schemer>=2.4:devel/rubygem-json_schemer
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= lfprojects
+CPE_PRODUCT= mcp_ruby_sdk
NO_ARCH= yes
diff --git a/devel/rubygem-mongo/Makefile b/devel/rubygem-mongo/Makefile
--- a/devel/rubygem-mongo/Makefile
+++ b/devel/rubygem-mongo/Makefile
@@ -13,7 +13,10 @@
RUN_DEPENDS= rubygem-base64>=0:converters/rubygem-base64 \
rubygem-bson>=4.14.1<6.0.0:devel/rubygem-bson
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= mongodb
+CPE_PRODUCT= ruby_driver
NO_ARCH= yes
diff --git a/devel/rubygem-rack-mini-profiler/Makefile b/devel/rubygem-rack-mini-profiler/Makefile
--- a/devel/rubygem-rack-mini-profiler/Makefile
+++ b/devel/rubygem-rack-mini-profiler/Makefile
@@ -12,7 +12,9 @@
RUN_DEPENDS= rubygem-rack>=1.2.0,3:www/rubygem-rack
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= miniprofiler
NO_ARCH= yes
diff --git a/devel/rubygem-redis-store-gitlab/Makefile b/devel/rubygem-redis-store-gitlab/Makefile
--- a/devel/rubygem-redis-store-gitlab/Makefile
+++ b/devel/rubygem-redis-store-gitlab/Makefile
@@ -14,7 +14,7 @@
RUN_DEPENDS= rubygem-redis-gitlab>=4<6:databases/rubygem-redis-gitlab
-USES= gem
+USES= cpe gem
NO_ARCH= yes
diff --git a/devel/rubygem-redis-store/Makefile b/devel/rubygem-redis-store/Makefile
--- a/devel/rubygem-redis-store/Makefile
+++ b/devel/rubygem-redis-store/Makefile
@@ -13,7 +13,7 @@
RUN_DEPENDS= rubygem-redis>=4<7:databases/rubygem-redis
-USES= gem
+USES= cpe gem
NO_ARCH= yes
diff --git a/devel/rubygem-resque-scheduler/Makefile b/devel/rubygem-resque-scheduler/Makefile
--- a/devel/rubygem-resque-scheduler/Makefile
+++ b/devel/rubygem-resque-scheduler/Makefile
@@ -15,7 +15,9 @@
rubygem-resque>=1.27:devel/rubygem-resque \
rubygem-rufus-scheduler>=3.2<4:devel/rubygem-rufus-scheduler
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= resque-scheduler_project
NO_ARCH= yes
diff --git a/devel/rubygem-ruby-lsp/Makefile b/devel/rubygem-ruby-lsp/Makefile
--- a/devel/rubygem-ruby-lsp/Makefile
+++ b/devel/rubygem-ruby-lsp/Makefile
@@ -15,7 +15,10 @@
rubygem-prism>=1.2<2.0:textproc/rubygem-prism \
rubygem-rbs>=3<5:devel/rubygem-rbs
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= shopify
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
NO_ARCH= yes
diff --git a/devel/rubygem-sidekiq-unique-jobs/Makefile b/devel/rubygem-sidekiq-unique-jobs/Makefile
--- a/devel/rubygem-sidekiq-unique-jobs/Makefile
+++ b/devel/rubygem-sidekiq-unique-jobs/Makefile
@@ -14,7 +14,9 @@
rubygem-sidekiq>=7.0.0<9.0.0:devel/rubygem-sidekiq \
rubygem-thor>=1.0<3.0:devel/rubygem-thor
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= mhenrixon
NO_ARCH= yes
diff --git a/devel/rubygem-yajl-ruby/Makefile b/devel/rubygem-yajl-ruby/Makefile
--- a/devel/rubygem-yajl-ruby/Makefile
+++ b/devel/rubygem-yajl-ruby/Makefile
@@ -10,6 +10,8 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= yajl-ruby_project
.include <bsd.port.mk>
diff --git a/devel/soft-serve/Makefile b/devel/soft-serve/Makefile
--- a/devel/soft-serve/Makefile
+++ b/devel/soft-serve/Makefile
@@ -13,7 +13,7 @@
RUN_DEPENDS= git:devel/git
-USES= go:modules
+USES= cpe go:modules
GO_MODULE= github.com/charmbracelet/soft-serve
GO_TARGET= ./cmd/soft
USE_RC_SUBR= soft-serve
@@ -36,6 +36,9 @@
PLIST_FILES= ${DOCSDIR_REL}/README.md \
bin/${PORTNAME}
+CPE_VENDOR= charm
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
+
.include <bsd.port.options.mk>
post-install:
diff --git a/devel/uv/Makefile b/devel/uv/Makefile
--- a/devel/uv/Makefile
+++ b/devel/uv/Makefile
@@ -16,9 +16,11 @@
LIB_DEPENDS= libzstd.so:archivers/zstd
-USES= cargo gmake localbase perl5 pkgconfig
+USES= cargo cpe gmake localbase perl5 pkgconfig
USE_PERL5= build
+CPE_VENDOR= astral
+
USE_GITHUB= yes
GH_ACCOUNT= astral-sh
diff --git a/devel/vite-plus/Makefile b/devel/vite-plus/Makefile
--- a/devel/vite-plus/Makefile
+++ b/devel/vite-plus/Makefile
@@ -28,7 +28,10 @@
LIB_DEPENDS= libzstd.so:archivers/zstd
-USES= cargo ssl
+USES= cargo cpe ssl
+
+CPE_VENDOR= voidzero
+CPE_PRODUCT= vite+
USE_GITHUB= yes
GH_ACCOUNT= voidzero-dev
diff --git a/devel/wasmer/Makefile b/devel/wasmer/Makefile
--- a/devel/wasmer/Makefile
+++ b/devel/wasmer/Makefile
@@ -20,7 +20,7 @@
LIB_DEPENDS= libffi.so:devel/libffi \
libzstd.so:archivers/zstd
-USES= cargo gmake llvm:22 nodejs:build pkgconfig
+USES= cargo cpe gmake llvm:22 nodejs:build pkgconfig
CARGO_BUILD= no
CARGO_INSTALL= no
diff --git a/devel/woff2/Makefile b/devel/woff2/Makefile
--- a/devel/woff2/Makefile
+++ b/devel/woff2/Makefile
@@ -16,11 +16,13 @@
LIB_DEPENDS= libbrotlidec.so:archivers/brotli
-USES= cmake compiler:c++11-lib pathfix pkgconfig
+USES= cmake compiler:c++11-lib cpe pathfix pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= google
USE_LDCONFIG= yes
+CPE_VENDOR= google
+
PLIST_SUB= SHLIBVER=${DISTVERSION}
CMAKE_ON= CMAKE_SKIP_RPATH
diff --git a/devel/xdg-dbus-proxy/Makefile b/devel/xdg-dbus-proxy/Makefile
--- a/devel/xdg-dbus-proxy/Makefile
+++ b/devel/xdg-dbus-proxy/Makefile
@@ -11,12 +11,14 @@
TEST_DEPENDS= dbus-daemon:devel/dbus
-USES= gnome meson pkgconfig
+USES= cpe gnome meson pkgconfig
USE_GITHUB= yes
USE_GNOME= glib20
GH_ACCOUNT= flatpak
PLIST_FILES= bin/${PORTNAME}
+CPE_VENDOR= flatpak
+
OPTIONS_DEFINE= MANPAGES
OPTIONS_DEFAULT=MANPAGES
diff --git a/devel/xdg-user-dirs/Makefile b/devel/xdg-user-dirs/Makefile
--- a/devel/xdg-user-dirs/Makefile
+++ b/devel/xdg-user-dirs/Makefile
@@ -13,10 +13,12 @@
BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl
-USES= gettext gnome iconv localbase:ldflags meson tar:xz
+USES= cpe gettext gnome iconv localbase:ldflags meson tar:xz
USE_GNOME= libxslt:build
LDFLAGS+= ${ICONV_LIB}
+CPE_VENDOR= freedesktop
+
post-patch:
${REINPLACE_CMD} -e "s|get_option('sysconfdir')|'${PREFIX}/etc'|g" \
-e "s|get_option('localedir')|'${PREFIX}/share/locale'|g" \
diff --git a/devel/yajl/Makefile b/devel/yajl/Makefile
--- a/devel/yajl/Makefile
+++ b/devel/yajl/Makefile
@@ -14,7 +14,9 @@
CFLAGS+= -g -O0
USE_LDCONFIG= yes
-USES= cmake
+USES= cmake cpe
+
+CPE_VENDOR= yajl_project
PLIST_SUB= VERSION=${PORTVERSION}
diff --git a/devel/yaml-cpp/Makefile b/devel/yaml-cpp/Makefile
--- a/devel/yaml-cpp/Makefile
+++ b/devel/yaml-cpp/Makefile
@@ -10,7 +10,7 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= cmake compiler:c++11-lang
+USES= cmake compiler:c++11-lang cpe
USE_GITHUB= yes
GH_ACCOUNT= jbeder
USE_LDCONFIG= yes
@@ -18,6 +18,8 @@
-DYAML_CPP_BUILD_TESTS=OFF \
-DYAML_CPP_BUILD_TOOLS=OFF
+CPE_VENDOR= yaml-cpp_project
+
post-patch:
@${REINPLACE_CMD} "s|%%PREFIX%%|${PREFIX}|" \
${WRKSRC}/yaml-cpp-config.cmake.in
diff --git a/devel/yyjson/Makefile b/devel/yyjson/Makefile
--- a/devel/yyjson/Makefile
+++ b/devel/yyjson/Makefile
@@ -9,7 +9,9 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= cmake:testing pathfix
+USES= cmake:testing cpe pathfix
+
+CPE_VENDOR= ibireme
USE_GITHUB= yes
GH_ACCOUNT= ibireme
diff --git a/dns/aardvark-dns/Makefile b/dns/aardvark-dns/Makefile
--- a/dns/aardvark-dns/Makefile
+++ b/dns/aardvark-dns/Makefile
@@ -11,7 +11,9 @@
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= cargo
+USES= cargo cpe
+
+CPE_VENDOR= containers
USE_GITHUB= yes
GH_ACCOUNT= containers
diff --git a/dns/coredns/Makefile b/dns/coredns/Makefile
--- a/dns/coredns/Makefile
+++ b/dns/coredns/Makefile
@@ -12,7 +12,9 @@
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= go:modules
+USES= cpe go:modules
+
+CPE_VENDOR= coredns.io
GO_MODULE= github.com/${PORTNAME}/${PORTNAME}
diff --git a/dns/knot-resolver/Makefile b/dns/knot-resolver/Makefile
--- a/dns/knot-resolver/Makefile
+++ b/dns/knot-resolver/Makefile
@@ -23,11 +23,14 @@
libzscanner.so:dns/knot3
RUN_DEPENDS= lua51-cqueues>=20200726_1:devel/lua-cqueues@lua51
-USES= cmake:indirect compiler:c11 libedit luajit meson ncurses ninja \
+USES= cmake:indirect compiler:c11 cpe libedit luajit meson ncurses ninja \
pkgconfig python:build shebangfix tar:xz
USE_CXXSTD= c++11
USE_RC_SUBR= krescachegc kresd
+CPE_VENDOR= nic
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
+
SHEBANG_FILES= scripts/bench.sh \
scripts/build-in-obs.sh \
scripts/coverage_c_combine.sh \
diff --git a/dns/knot-resolver6/Makefile b/dns/knot-resolver6/Makefile
--- a/dns/knot-resolver6/Makefile
+++ b/dns/knot-resolver6/Makefile
@@ -27,11 +27,14 @@
libzscanner.so:dns/knot3
RUN_DEPENDS= ${LUA_FLAVOR}-cqueues>=20200726_1:devel/lua-cqueues@${LUA_FLAVOR}
-USES= cmake:indirect compiler:c11 lua:build,run luajit meson ncurses \
+USES= cmake:indirect compiler:c11 cpe lua:build,run luajit meson ncurses \
ninja pkgconfig python:build tar:xz
USE_CXXSTD= c++11
USE_RC_SUBR= krescachegc kresd
+CPE_VENDOR= nic
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
+
CMAKE_ARGS+= -DCLANG_TIDY=${LOCALBASE}/bin/clang-tidy${COMPILER_VERSION:C/.$//} \
-DRUN_CLANG_TIDY=${LOCALBASE}/llvm${COMPILER_VERSION:C/.$//}/bin/run-clang-tidy
diff --git a/dns/libidn2/Makefile b/dns/libidn2/Makefile
--- a/dns/libidn2/Makefile
+++ b/dns/libidn2/Makefile
@@ -14,7 +14,9 @@
BUILD_DEPENDS= help2man:misc/help2man
LIB_DEPENDS= libunistring.so:devel/libunistring
-USES= charsetfix iconv libtool localbase makeinfo
+USES= charsetfix cpe iconv libtool localbase makeinfo
+
+CPE_VENDOR= gnu
CONFIGURE_ARGS= --disable-nls \
--enable-ld-version-script \
diff --git a/dns/py-dnspython/Makefile b/dns/py-dnspython/Makefile
--- a/dns/py-dnspython/Makefile
+++ b/dns/py-dnspython/Makefile
@@ -15,7 +15,7 @@
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517 pytest
BINARY_ALIAS= git=false
diff --git a/dns/py-dnspython1/Makefile b/dns/py-dnspython1/Makefile
--- a/dns/py-dnspython1/Makefile
+++ b/dns/py-dnspython1/Makefile
@@ -16,7 +16,7 @@
DEPRECATED= Depends on expired lang/cython0
EXPIRATION_DATE=2026-09-15
-USES= python:2.7 zip
+USES= cpe python:2.7 zip
USE_PYTHON= autoplist concurrent cython0 distutils
NO_ARCH= yes
diff --git a/dns/py-idna/Makefile b/dns/py-idna/Makefile
--- a/dns/py-idna/Makefile
+++ b/dns/py-idna/Makefile
@@ -14,9 +14,12 @@
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.11<5:devel/py-flit-core@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517 unittest
+CPE_VENDOR= kjd
+CPE_PRODUCT= internationalized_domain_names_in_applications
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/editors/gobby/Makefile b/editors/gobby/Makefile
--- a/editors/gobby/Makefile
+++ b/editors/gobby/Makefile
@@ -20,12 +20,14 @@
libinftext-0.7.so:textproc/libinfinity \
libinftextgtk-0.7.so:textproc/libinfinity
-USES= compiler:c++11-lang desktop-file-utils gettext-tools gmake \
+USES= compiler:c++11-lang cpe desktop-file-utils gettext-tools gmake \
gnome pathfix pkgconfig
USE_CXXSTD= c++11
USE_GNOME= atkmm cairomm glibmm gtkmm30 gtksourceview3 intltool \
libsigc++20 libxml++26 pangomm
+CPE_VENDOR= gobby_project
+
GNU_CONFIGURE= yes
OPTIONS_DEFINE= NLS
diff --git a/editors/hte/Makefile b/editors/hte/Makefile
--- a/editors/hte/Makefile
+++ b/editors/hte/Makefile
@@ -10,13 +10,16 @@
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= autoreconf compiler:c++14-lang makeinfo ncurses tar:bzip2
+USES= autoreconf compiler:c++14-lang cpe makeinfo ncurses tar:bzip2
USE_GITHUB= yes
GH_ACCOUNT= sebastianbiallas
GH_PROJECT= ht
GH_TAGNAME= e9e63373148da5d7df397d8075740d8c096ecb1d
GNU_CONFIGURE= yes
+CPE_VENDOR= ht_editor_project
+CPE_PRODUCT= ht_editor
+
PLIST_FILES= bin/hte
PORTDOCS= README
INFO= hte
diff --git a/editors/lapce/Makefile b/editors/lapce/Makefile
--- a/editors/lapce/Makefile
+++ b/editors/lapce/Makefile
@@ -21,7 +21,7 @@
RUN_DEPENDS= tree-sitter-grammars>0:textproc/tree-sitter-grammars \
xdg-desktop-portal>0:deskutils/xdg-desktop-portal
-USES= cargo desktop-file-utils dos2unix gmake localbase:ldflags perl5 pkgconfig ssl xorg
+USES= cargo cpe desktop-file-utils dos2unix gmake localbase:ldflags perl5 pkgconfig ssl xorg
USE_GITHUB= yes
USE_XORG= xcb
diff --git a/editors/lite-xl/Makefile b/editors/lite-xl/Makefile
--- a/editors/lite-xl/Makefile
+++ b/editors/lite-xl/Makefile
@@ -12,10 +12,13 @@
LIB_DEPENDS= libfreetype.so:print/freetype2 \
libpcre2-8.so:devel/pcre2
-USES= desktop-file-utils lua:54 meson pkgconfig sdl
+USES= cpe desktop-file-utils lua:54 meson pkgconfig sdl
USE_SDL= sdl2
MESON_ARGS= -Duse_system_lua=true
+CPE_VENDOR= ${PORTNAME:tl}
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
+
USE_GITHUB= yes
GH_PROJECT= ${PORTNAME}-colors:colors ${PORTNAME}-plugins:plugins
GH_TAGNAME= 42c897c:colors b25f2b2:plugins
diff --git a/editors/nano/Makefile b/editors/nano/Makefile
--- a/editors/nano/Makefile
+++ b/editors/nano/Makefile
@@ -10,7 +10,7 @@
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= charsetfix ncurses pkgconfig tar:xz
+USES= charsetfix cpe ncurses pkgconfig tar:xz
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CONFIGURE_ARGS= --docdir=${DOCSDIR} --enable-utf8
@@ -22,6 +22,8 @@
NLS_USES= gettext localbase
NLS_CONFIGURE_ENABLE= nls
+CPE_VENDOR= gnu
+
post-patch:
@${REINPLACE_CMD} -e 's/^groff.*/false/' ${WRKSRC}/configure
diff --git a/editors/notepadnext/Makefile b/editors/notepadnext/Makefile
--- a/editors/notepadnext/Makefile
+++ b/editors/notepadnext/Makefile
@@ -13,12 +13,15 @@
LIB_DEPENDS= libuchardet.so:textproc/uchardet \
libxkbcommon.so:x11/libxkbcommon
-USES= cmake desktop-file-utils gl localbase:ldflags qt:6 xorg
+USES= cmake cpe desktop-file-utils gl localbase:ldflags qt:6 xorg
USE_GL= gl opengl
USE_QT= base 5compat tools:build
USE_GL= gl
USE_XORG= xcb
+CPE_VENDOR= dail8859
+CPE_PRODUCT= notepad_next
+
USE_GITHUB= yes
GH_ACCOUNT= dail8859
GH_PROJECT= NotepadNext
diff --git a/editors/vscode/Makefile b/editors/vscode/Makefile
--- a/editors/vscode/Makefile
+++ b/editors/vscode/Makefile
@@ -64,10 +64,13 @@
bash:shells/bash
TEST_DEPENDS= bash:shells/bash
-USES= cargo desktop-file-utils display:test electron:42,build,test \
+USES= cargo cpe desktop-file-utils display:test electron:42,build,test \
gl gmake gnome gssapi:mit iconv:wchar_t jpeg localbase:ldflags \
nodejs:24,build npm:npm pkgconfig python:build shebangfix xorg
+CPE_VENDOR= microsoft
+CPE_PRODUCT= visual_studio_code
+
USE_GITHUB= yes
GH_ACCOUNT= microsoft
GH_TUPLE= web-infra-dev:rspack:v${RSPACK_VERSION}:rspack/rspack \
diff --git a/editors/zed/Makefile b/editors/zed/Makefile
--- a/editors/zed/Makefile
+++ b/editors/zed/Makefile
@@ -29,7 +29,7 @@
npm${NODEJS_SUFFIX}>0:www/npm${NODEJS_SUFFIX} \
xdg-desktop-portal-gtk>0:x11/xdg-desktop-portal-gtk
-USES= cargo cmake:indirect desktop-file-utils gettext-runtime:build \
+USES= cargo cmake:indirect cpe desktop-file-utils gettext-runtime:build \
llvm nodejs:lts,run ssl xorg
USE_GITHUB= yes
diff --git a/emulators/dynamips-community/Makefile b/emulators/dynamips-community/Makefile
--- a/emulators/dynamips-community/Makefile
+++ b/emulators/dynamips-community/Makefile
@@ -19,9 +19,11 @@
CONFLICTS= dynamips dynamips-devel
-USES= cmake:insource
+USES= cmake:insource cpe
USE_GITHUB= yes
+CPE_VENDOR= solarwinds
+
OPTIONS_DEFINE= DOCS
MAKE_JOBS_UNSAFE= yes
diff --git a/emulators/unicorn/Makefile b/emulators/unicorn/Makefile
--- a/emulators/unicorn/Makefile
+++ b/emulators/unicorn/Makefile
@@ -12,8 +12,11 @@
USE_GITHUB= yes
GH_ACCOUNT= unicorn-engine
-USES= cmake:testing pkgconfig
+USES= cmake:testing cpe pkgconfig
USE_LDCONFIG= yes
CMAKE_TESTING_ON= UNICORN_BUILD_TESTS
+CPE_VENDOR= unicorn-engine
+CPE_PRODUCT= unicorn_engine
+
.include <bsd.port.mk>
diff --git a/filesystems/davfs2/Makefile b/filesystems/davfs2/Makefile
--- a/filesystems/davfs2/Makefile
+++ b/filesystems/davfs2/Makefile
@@ -17,9 +17,11 @@
LIB_DEPENDS= libexpat.so:textproc/expat2 \
libneon.so:www/neon
-USES= gmake iconv ssl
+USES= cpe gmake iconv ssl
GNU_CONFIGURE= yes
+CPE_VENDOR= werner_baumann
+
USERS= ${PORTNAME}
GROUPS= ${PORTNAME}
diff --git a/filesystems/ntfs/Makefile b/filesystems/ntfs/Makefile
--- a/filesystems/ntfs/Makefile
+++ b/filesystems/ntfs/Makefile
@@ -15,7 +15,7 @@
LIB_DEPENDS= libuuid.so:misc/libuuid
-USES= fuse pkgconfig iconv libtool localbase:ldflags tar:tgz
+USES= cpe fuse pkgconfig iconv libtool localbase:ldflags tar:tgz
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
@@ -23,6 +23,9 @@
--disable-mtab --with-fuse=external --disable-ldconfig
INSTALL_TARGET= install-strip
+CPE_VENDOR= tuxera
+CPE_PRODUCT= ntfs-3g
+
OPTIONS_DEFINE= CRYPTO DOCS EXTRAS LOCK UBLIO
OPTIONS_DEFAULT=EXTRAS LOCK UBLIO
OPTIONS_SUB= yes
diff --git a/finance/homebox/Makefile b/finance/homebox/Makefile
--- a/finance/homebox/Makefile
+++ b/finance/homebox/Makefile
@@ -17,10 +17,12 @@
ONLY_FOR_ARCHS= aarch64 amd64
ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64
-USES= go:modules
+USES= cpe go:modules
USE_GITHUB= yes
GH_ACCOUNT= sysadminsmedia
+CPE_VENDOR= sysadminsmedia
+
USE_RC_SUBR= ${PORTNAME}
GO_MOD_DIST= github
diff --git a/finance/lnd/Makefile b/finance/lnd/Makefile
--- a/finance/lnd/Makefile
+++ b/finance/lnd/Makefile
@@ -11,7 +11,12 @@
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= go:modules
+USES= cpe go:modules
+
+CPE_VENDOR= lightning_network_daemon_project
+CPE_PRODUCT= lightning_network_daemon
+CPE_VERSION= ${DISTVERSION:C/-.*//}
+CPE_UPDATE= ${DISTVERSION:C/^[^-]*-//:S/-/_/g}
GO_MODULE= github.com/lightningnetwork/lnd
GO_TARGET= ./cmd/lnd \
diff --git a/ftp/axel/Makefile b/ftp/axel/Makefile
--- a/ftp/axel/Makefile
+++ b/ftp/axel/Makefile
@@ -14,7 +14,9 @@
BUILD_DEPENDS= autoconf-archive>=0:devel/autoconf-archive \
txt2man:textproc/txt2man
-USES= autoreconf gettext-tools gmake pkgconfig ssl
+USES= autoreconf cpe gettext-tools gmake pkgconfig ssl
+
+CPE_VENDOR= axel_project
USE_GITHUB= yes
GH_ACCOUNT= axel-download-accelerator
diff --git a/ftp/filezilla/Makefile b/ftp/filezilla/Makefile
--- a/ftp/filezilla/Makefile
+++ b/ftp/filezilla/Makefile
@@ -24,7 +24,7 @@
TEST_DEPENDS= cppunit-config:devel/cppunit
TEST_TARGET= check
-USES= compiler:c++17-lang gmake gnome iconv:wchar_t libtool localbase \
+USES= compiler:c++17-lang cpe gmake gnome iconv:wchar_t libtool localbase \
pkgconfig sqlite tar:xz
USE_GNOME= cairo gtk30 gdkpixbuf
INSTALL_TARGET= install-strip
@@ -33,6 +33,9 @@
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+CPE_VENDOR= filezilla-project
+CPE_PRODUCT= filezilla_client
+
USE_WX= 3.2
WX_CONF_ARGS= relative
diff --git a/ftp/py-curl-cffi/Makefile b/ftp/py-curl-cffi/Makefile
--- a/ftp/py-curl-cffi/Makefile
+++ b/ftp/py-curl-cffi/Makefile
@@ -33,10 +33,13 @@
${PYTHON_PKGNAMEPREFIX}uvicorn>=0.29.0:www/py-uvicorn@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}websockets>=14.0:devel/py-websockets@${PY_FLAVOR}
-USES= dos2unix python ssl
+USES= cpe dos2unix python ssl
DOS2UNIX_FILES= tests/unittest/test_async_websockets.py
USE_PYTHON= pep517 autoplist pytest
+CPE_VENDOR= lexiforest
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
+
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} \
PATH=${STAGEDIR}${PREFIX}/bin:${PATH}
TEST_WRKSRC= ${WRKSRC}/tests/unittest
diff --git a/ftp/sftpgo/Makefile b/ftp/sftpgo/Makefile
--- a/ftp/sftpgo/Makefile
+++ b/ftp/sftpgo/Makefile
@@ -12,9 +12,11 @@
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= go:modules tar:xz
+USES= cpe go:modules tar:xz
USE_RC_SUBR= ${PORTNAME}
+CPE_VENDOR= sftpgo_project
+
NO_WRKSUBDIR= yes
OPTIONS_DEFINE= BASH FISH ZSH MANPAGES
diff --git a/games/chocolate-doom/Makefile b/games/chocolate-doom/Makefile
--- a/games/chocolate-doom/Makefile
+++ b/games/chocolate-doom/Makefile
@@ -8,12 +8,15 @@
LICENSE= GPLv2
-USES= autoreconf gmake pkgconfig python:build sdl
+USES= autoreconf cpe gmake pkgconfig python:build sdl
USE_GITHUB= yes
GH_TAGNAME= ${PORTNAME}-${DISTVERSION}
USE_RC_SUBR= chocolate-server
USE_SDL= mixer2 net2 sdl2
+CPE_VENDOR= ${PORTNAME:tl}
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
+
GNU_CONFIGURE= yes
BINARY_ALIAS= python3=${PYTHON_CMD}
diff --git a/games/crispy-doom/Makefile b/games/crispy-doom/Makefile
--- a/games/crispy-doom/Makefile
+++ b/games/crispy-doom/Makefile
@@ -13,7 +13,10 @@
libpng.so:graphics/png \
libfluidsynth.so:audio/fluidsynth
-USES= autoreconf desktop-file-utils pkgconfig python:build sdl shebangfix
+USES= autoreconf cpe desktop-file-utils pkgconfig python:build sdl shebangfix
+
+CPE_VENDOR= chocolate-doom
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
CONFLICTS_INSTALL= chocolate-doom
diff --git a/games/gargoyle/Makefile b/games/gargoyle/Makefile
--- a/games/gargoyle/Makefile
+++ b/games/gargoyle/Makefile
@@ -18,7 +18,7 @@
libpng.so:graphics/png
RUN_DEPENDS= libxkbcommon>=0.5.0:x11/libxkbcommon
-USES= cmake desktop-file-utils gl jpeg pkgconfig qt:6 sdl \
+USES= cmake cpe desktop-file-utils gl jpeg pkgconfig qt:6 sdl \
shared-mime-info
USE_GITHUB= yes
GH_ACCOUNT= garglk
@@ -27,6 +27,8 @@
USE_QT= base
USE_SDL= mixer2
+CPE_VENDOR= gargoyle_project
+
CMAKE_ON= WITH_QT6
OPTIONS_DEFINE= SPEECHD
diff --git a/games/multimc/Makefile b/games/multimc/Makefile
--- a/games/multimc/Makefile
+++ b/games/multimc/Makefile
@@ -12,7 +12,7 @@
RUN_DEPENDS= lwjgl>=2.9.3:games/lwjgl
-USES= cmake compiler:c++14-lang java qt:5
+USES= cmake compiler:c++14-lang cpe java qt:5
USE_GITHUB= yes
GH_ACCOUNT= MultiMC
GH_PROJECT= MultiMC5
diff --git a/games/prboom-plus/Makefile b/games/prboom-plus/Makefile
--- a/games/prboom-plus/Makefile
+++ b/games/prboom-plus/Makefile
@@ -17,10 +17,12 @@
libfluidsynth.so:audio/fluidsynth \
libvorbisfile.so:audio/libvorbis
-USES= gmake localbase sdl
+USES= cpe gmake localbase sdl
USE_GL= gl
USE_SDL= image mixer net sdl
+CPE_VENDOR= prboom-plus_project
+
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS= --with-waddir=${DATADIR}
diff --git a/games/prismlauncher/Makefile b/games/prismlauncher/Makefile
--- a/games/prismlauncher/Makefile
+++ b/games/prismlauncher/Makefile
@@ -22,7 +22,7 @@
lwjgl3>0:games/lwjgl3 \
xrandr:x11/xrandr
-USES= cmake compiler:c++20-lang desktop-file-utils gl java kde:6 \
+USES= cmake compiler:c++20-lang cpe desktop-file-utils gl java kde:6 \
pkgconfig qt:6 sdl shared-mime-info
USE_GITHUB= nodefault
USE_GL= opengl
@@ -30,6 +30,9 @@
USE_QT= base networkauth
USE_SDL= sdl3
+CPE_VENDOR= ${PORTNAME:tl}
+CPE_PRODUCT= prism_launcher
+
CMAKE_ARGS= -DJAVA_HOME=${JAVA_HOME} \
-DJava_JAVAC_EXECUTABLE=${JAVAC} \
-DLauncher_BUILD_PLATFORM=FreeBSD
diff --git a/games/stonesoup/Makefile b/games/stonesoup/Makefile
--- a/games/stonesoup/Makefile
+++ b/games/stonesoup/Makefile
@@ -15,9 +15,12 @@
FLAVOR?= ${FLAVORS[1]}
sdl_PKGNAMESUFFIX= -sdl
-USES= bison compiler:c++11-lib gmake lua:54 perl5 pkgconfig \
+USES= bison compiler:c++11-lib cpe gmake lua:54 perl5 pkgconfig \
python:build shebangfix sqlite tar:xz
+CPE_VENDOR= dungeon_crawl_stone_soup_project
+CPE_PRODUCT= dungeon_crawl_stone_soup
+
USE_GITHUB= yes
GH_ACCOUNT= crawl
GH_PROJECT= crawl
diff --git a/graphics/apngdis/Makefile b/graphics/apngdis/Makefile
--- a/graphics/apngdis/Makefile
+++ b/graphics/apngdis/Makefile
@@ -14,9 +14,12 @@
NO_WRKSUBDIR= yes
-USES= dos2unix gmake zip
+USES= cpe dos2unix gmake zip
LDFLAGS+= -lz
+CPE_VENDOR= apng_disassembler_project
+CPE_PRODUCT= apng_disassembler
+
PORTDOCS= readme.txt
PLIST_FILES= bin/${PORTNAME}
diff --git a/graphics/atril/Makefile b/graphics/atril/Makefile
--- a/graphics/atril/Makefile
+++ b/graphics/atril/Makefile
@@ -23,7 +23,7 @@
libtiff.so:graphics/tiff \
libspectre.so:print/libspectre
-USES= compiler:c11 desktop-file-utils gettext gmake gnome libarchive \
+USES= compiler:c11 cpe desktop-file-utils gettext gmake gnome libarchive \
libtool mate pathfix pkgconfig tar:xz xorg
USE_MATE= icontheme desktop:build
USE_XORG= ice sm x11
@@ -33,6 +33,8 @@
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
PORTSCOUT= site:https://github.com/mate-desktop/atril/releases/ limitw:1,even
+CPE_VENDOR= mate-desktop
+
SLAVEPORT?= no
CONFIGURE_ARGS= --disable-static \
--disable-synctex
diff --git a/graphics/catimg/Makefile b/graphics/catimg/Makefile
--- a/graphics/catimg/Makefile
+++ b/graphics/catimg/Makefile
@@ -10,10 +10,12 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= cmake
+USES= cmake cpe
USE_GITHUB= yes
GH_ACCOUNT= posva
+CPE_VENDOR= catimg_project
+
PLIST_FILES= bin/catimg \
share/man/man1/catimg.1.gz
diff --git a/graphics/cimg/Makefile b/graphics/cimg/Makefile
--- a/graphics/cimg/Makefile
+++ b/graphics/cimg/Makefile
@@ -24,6 +24,8 @@
BUILD_WRKSRC= ${WRKSRC}/examples
+USES= cpe
+
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
diff --git a/graphics/diplib/Makefile b/graphics/diplib/Makefile
--- a/graphics/diplib/Makefile
+++ b/graphics/diplib/Makefile
@@ -14,7 +14,7 @@
LIB_DEPENDS= libglfw.so:graphics/glfw
TEST_DEPENDS= doctest>0:devel/doctest
-USES= cmake:testing compiler:c++14-lang gl
+USES= cmake:testing compiler:c++14-lang cpe gl
USE_GL= gl glut
USE_LDCONFIG= yes
diff --git a/graphics/gmt/Makefile b/graphics/gmt/Makefile
--- a/graphics/gmt/Makefile
+++ b/graphics/gmt/Makefile
@@ -25,9 +25,11 @@
BUILD_DEPENDS= ${LOCALBASE}/share/dcw-gmt/dcw-gmt.nc:graphics/gmt-dcw \
${LOCALBASE}/share/gshhg-gmt/binned_GSHHS_c.nc:graphics/gmt-gshhg
-USES= blaslapack cmake ghostscript:run shebangfix tar:xz
+USES= blaslapack cmake cpe ghostscript:run shebangfix tar:xz
USE_LDCONFIG= yes
+CPE_VENDOR= generic-mapping-tools
+
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
#SHEBANG_GLOB= *.sh *.in
diff --git a/graphics/gocr/Makefile b/graphics/gocr/Makefile
--- a/graphics/gocr/Makefile
+++ b/graphics/gocr/Makefile
@@ -12,12 +12,15 @@
LIB_DEPENDS= libnetpbm.so:graphics/netpbm
-USES= gmake
+USES= cpe gmake
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS= --with-netpbm=${LOCALBASE}
MAKE_ARGS= prefix=${PREFIX} exec_prefix=${PREFIX}
+CPE_VENDOR= optical_character_recognition_project
+CPE_PRODUCT= optical_character_recognition
+
PLIST_FILES= bin/gocr \
share/man/man1/gocr.1.gz
PORTDOCS= *
diff --git a/graphics/hugin/Makefile b/graphics/hugin/Makefile
--- a/graphics/hugin/Makefile
+++ b/graphics/hugin/Makefile
@@ -26,12 +26,14 @@
gmake:devel/gmake
# compiler:c++17-lang
-USES= cmake desktop-file-utils gettext gl gnome \
+USES= cmake cpe desktop-file-utils gettext gl gnome \
pkgconfig shared-mime-info shebangfix sqlite tar:bzip2 xorg
USE_GL= gl glu glut
USE_WX= 3.2+
USE_XORG= x11
+CPE_VENDOR= hugin_project
+
SHEBANG_FILES= src/hugin_script_interface/hpi.py \
src/hugin_script_interface/plugins/*.py \
src/hugin_script_interface/plugins-dev/*.py
diff --git a/graphics/libdicom/Makefile b/graphics/libdicom/Makefile
--- a/graphics/libdicom/Makefile
+++ b/graphics/libdicom/Makefile
@@ -13,9 +13,11 @@
BUILD_DEPENDS= ${LOCALBASE}/include/utarray.h:devel/uthash
TEST_DEPENDS= check>0:devel/check
-USES= localbase meson pkgconfig
+USES= cpe localbase meson pkgconfig
USE_LDCONFIG= yes
+CPE_VENDOR= nih
+
USE_GITHUB= yes
GH_ACCOUNT= ImagingDataCommons
diff --git a/graphics/libqrencode/Makefile b/graphics/libqrencode/Makefile
--- a/graphics/libqrencode/Makefile
+++ b/graphics/libqrencode/Makefile
@@ -12,12 +12,15 @@
LIB_DEPENDS= libpng.so:graphics/png
-USES= cmake iconv pathfix pkgconfig
+USES= cmake cpe iconv pathfix pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= fukuchi
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
+CPE_VENDOR= qrencode_project
+CPE_PRODUCT= qrencode
+
CMAKE_ARGS= -DBUILD_SHARED_LIBS=ON
PLIST_FILES= bin/qrencode \
include/qrencode.h \
diff --git a/graphics/mapnik/Makefile b/graphics/mapnik/Makefile
--- a/graphics/mapnik/Makefile
+++ b/graphics/mapnik/Makefile
@@ -31,7 +31,7 @@
mapnik:polylabel:1edc167:polylabel/deps/mapbox/polylabel \
mapnik:test-data:5716a27:test_data/test/data
-USES= compiler:c++20-lang cmake:testing gnome pkgconfig ssl
+USES= compiler:c++20-lang cmake:testing cpe gnome pkgconfig ssl
USE_GNOME= libxml2
USE_LDCONFIG= yes
diff --git a/graphics/materialx/Makefile b/graphics/materialx/Makefile
--- a/graphics/materialx/Makefile
+++ b/graphics/materialx/Makefile
@@ -20,7 +20,7 @@
libOpenImageIO.so:graphics/openimageio \
libOpenImageIO_Util.so:graphics/openimageio
-USES= cmake compiler:c++17-lang gl localbase python xorg
+USES= cmake compiler:c++17-lang cpe gl localbase python xorg
USE_GITHUB= yes
GH_ACCOUNT= AcademySoftwareFoundation
GH_PROJECT= MaterialX
@@ -32,6 +32,8 @@
wjakob:nanovg:bf2320d:nanovg/source/MaterialXView/NanoGUI/ext/nanovg \
wjakob:nanovg_metal:075b04f:nanovgmetal/source/MaterialXView/NanoGUI/ext/nanovg_metal
+CPE_VENDOR= linuxfoundation
+
USE_GL= opengl
USE_LDCONFIG= yes
USE_XORG= ice sm x11 xcursor xext xi xinerama xrandr xt xxf86vm
diff --git a/graphics/ogre3d/Makefile b/graphics/ogre3d/Makefile
--- a/graphics/ogre3d/Makefile
+++ b/graphics/ogre3d/Makefile
@@ -15,11 +15,14 @@
libpugixml.so:textproc/pugixml
# libimgui.so:x11-toolkits/imgui
-USES= cmake compiler:c++14-lang pkgconfig sdl xorg
+USES= cmake compiler:c++14-lang cpe pkgconfig sdl xorg
USE_LDCONFIG= yes
USE_SDL= sdl2
USE_XORG= x11 xaw xext xrandr xt
+CPE_VENDOR= ${PORTNAME:tl}
+CPE_PRODUCT= ogre
+
USE_GITHUB= yes
GH_ACCOUNT= OGRECave
GH_PROJECT= ogre
diff --git a/graphics/ogre3d19/Makefile b/graphics/ogre3d19/Makefile
--- a/graphics/ogre3d19/Makefile
+++ b/graphics/ogre3d19/Makefile
@@ -19,7 +19,7 @@
libfreetype.so:print/freetype2 \
libzzip.so:devel/zziplib
-USES= cmake compiler:c++11-lib gl pkgconfig sdl tar:bzip2 xorg
+USES= cmake compiler:c++11-lib cpe gl pkgconfig sdl tar:bzip2 xorg
USE_CXXSTD= c++14
USE_GITHUB= yes
GH_ACCOUNT= OGRECave
@@ -29,6 +29,9 @@
USE_SDL= sdl
USE_XORG= ice sm x11 xaw xext xrandr xt
+CPE_VENDOR= ${PORTNAME:tl}
+CPE_PRODUCT= ogre
+
CONFLICTS= ogre3d
OPTIONS_DEFINE= BOOST DOCS
diff --git a/graphics/oidn/Makefile b/graphics/oidn/Makefile
--- a/graphics/oidn/Makefile
+++ b/graphics/oidn/Makefile
@@ -22,9 +22,12 @@
BUILD_DEPENDS= ispc>=1.14.1:devel/ispc
LIB_DEPENDS= libtbb.so:devel/onetbb
-USES= cmake:noninja compiler:c++14-lang python:build
+USES= cmake:noninja compiler:c++14-lang cpe python:build
USE_LDCONFIG= yes
+CPE_VENDOR= intel
+CPE_PRODUCT= open_image_denoise
+
USE_GITHUB= yes
GH_ACCOUNT= RenderKit
GH_TUPLE= ROCmSoftwarePlatform:composable_kernel:3e6d21a:composable_kernel/external/composable_kernel \
diff --git a/graphics/pcl-pointclouds/Makefile b/graphics/pcl-pointclouds/Makefile
--- a/graphics/pcl-pointclouds/Makefile
+++ b/graphics/pcl-pointclouds/Makefile
@@ -27,10 +27,13 @@
liblz4.so:archivers/liblz4 \
libpcap.so:net/libpcap
-USES= cmake:testing compiler:c++14-lang eigen:3 localbase:ldflags python xorg
+USES= cmake:testing compiler:c++14-lang cpe eigen:3 localbase:ldflags python xorg
USE_XORG= x11 xext xt ice sm
USE_LDCONFIG= yes
+CPE_VENDOR= pointclouds
+CPE_PRODUCT= point_cloud_library
+
#USE_GITHUB= nodefault
USE_GITHUB= yes
#GH_ACCOUNT= google:gtest
diff --git a/graphics/pdfium/Makefile b/graphics/pdfium/Makefile
--- a/graphics/pdfium/Makefile
+++ b/graphics/pdfium/Makefile
@@ -94,7 +94,9 @@
libopenjp2.so:graphics/openjpeg \
libpng.so:graphics/png
-USES= compiler:c++20-lang jpeg llvm:${CLANG_VER} pkgconfig python:build
+USES= compiler:c++20-lang cpe jpeg llvm:${CLANG_VER} pkgconfig python:build
+
+CPE_VENDOR= google
CLANG_VER= ${LLVM_DEFAULT}
diff --git a/graphics/plantuml/Makefile b/graphics/plantuml/Makefile
--- a/graphics/plantuml/Makefile
+++ b/graphics/plantuml/Makefile
@@ -11,7 +11,7 @@
LICENSE= GPLv3
-USES= java
+USES= cpe java
JAVA_VERSION= 11+
NO_ARCH= yes
diff --git a/graphics/py-geopandas/Makefile b/graphics/py-geopandas/Makefile
--- a/graphics/py-geopandas/Makefile
+++ b/graphics/py-geopandas/Makefile
@@ -23,7 +23,7 @@
${PYTHON_PKGNAMEPREFIX}pyproj>=3.5.0:graphics/py-pyproj@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}shapely>=2.0.0:devel/py-shapely@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist cython pep517
NO_ARCH= yes
diff --git a/graphics/py-pillow-heif/Makefile b/graphics/py-pillow-heif/Makefile
--- a/graphics/py-pillow-heif/Makefile
+++ b/graphics/py-pillow-heif/Makefile
@@ -17,9 +17,11 @@
LIB_DEPENDS= libheif.so:graphics/libheif
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>=11.1.0:graphics/py-pillow@${PY_FLAVOR}
-USES= localbase python
+USES= cpe localbase python
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= bigcat88
+
LDFLAGS+= -lheif
post-patch:
diff --git a/graphics/py-pypdf2/Makefile b/graphics/py-pypdf2/Makefile
--- a/graphics/py-pypdf2/Makefile
+++ b/graphics/py-pypdf2/Makefile
@@ -14,9 +14,11 @@
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>0:devel/py-flit-core@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= pypdf2_project
+
NO_ARCH= yes
post-extract:
diff --git a/graphics/rubygem-dragonfly/Makefile b/graphics/rubygem-dragonfly/Makefile
--- a/graphics/rubygem-dragonfly/Makefile
+++ b/graphics/rubygem-dragonfly/Makefile
@@ -16,7 +16,9 @@
rubygem-ostruct>=0.6<1:devel/rubygem-ostruct \
rubygem-rack>=1.3,3:www/rubygem-rack
-USES= gem shebangfix
+USES= cpe gem shebangfix
+
+CPE_VENDOR= dragonfly_project
NO_ARCH= yes
diff --git a/graphics/rubygem-image_processing/Makefile b/graphics/rubygem-image_processing/Makefile
--- a/graphics/rubygem-image_processing/Makefile
+++ b/graphics/rubygem-image_processing/Makefile
@@ -14,7 +14,9 @@
RUN_DEPENDS= rubygem-mini_magick${PKGNAMESUFFIX}>=4.9.5<6:graphics/rubygem-mini_magick \
rubygem-ruby-vips${PKGNAMESUFFIX}>=2.0.17<3:graphics/rubygem-ruby-vips
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= image_processing_project
NO_ARCH= yes
diff --git a/graphics/rubygem-mini_magick/Makefile b/graphics/rubygem-mini_magick/Makefile
--- a/graphics/rubygem-mini_magick/Makefile
+++ b/graphics/rubygem-mini_magick/Makefile
@@ -13,7 +13,10 @@
RUN_DEPENDS= rubygem-logger>=0:devel/rubygem-logger
-USES= gem magick
+USES= cpe gem magick
+
+CPE_VENDOR= minimagick_project
+CPE_PRODUCT= ${PORTNAME:tl:S/_//g}
NO_ARCH= yes
diff --git a/graphics/rubygem-mini_magick4/Makefile b/graphics/rubygem-mini_magick4/Makefile
--- a/graphics/rubygem-mini_magick4/Makefile
+++ b/graphics/rubygem-mini_magick4/Makefile
@@ -12,7 +12,10 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
-USES= gem magick
+USES= cpe gem magick
+
+CPE_VENDOR= minimagick_project
+CPE_PRODUCT= ${PORTNAME:tl:S/_//g}
NO_ARCH= yes
diff --git a/graphics/rubygem-rmagick/Makefile b/graphics/rubygem-rmagick/Makefile
--- a/graphics/rubygem-rmagick/Makefile
+++ b/graphics/rubygem-rmagick/Makefile
@@ -15,7 +15,7 @@
RUN_DEPENDS= rubygem-observer>=0.1<1:devel/rubygem-observer \
rubygem-pkg-config>=1.4<2:devel/rubygem-pkg-config
-USES= gem pkgconfig
+USES= cpe gem pkgconfig
OPTIONS_DEFINE= X11
OPTIONS_DEFAULT=X11
diff --git a/graphics/skia/Makefile b/graphics/skia/Makefile
--- a/graphics/skia/Makefile
+++ b/graphics/skia/Makefile
@@ -22,7 +22,9 @@
libpng16.so:graphics/png \
libwebp.so:graphics/webp
-USES= compiler:c++17-lang jpeg ninja python:build
+USES= compiler:c++17-lang cpe jpeg ninja python:build
+
+CPE_VENDOR= google
USE_LDCONFIG= yes
USE_GITHUB= yes
diff --git a/graphics/svgpp/Makefile b/graphics/svgpp/Makefile
--- a/graphics/svgpp/Makefile
+++ b/graphics/svgpp/Makefile
@@ -11,6 +11,8 @@
LICENSE_FILE= ${WRKSRC}/LICENSE_1_0.txt
USE_GITHUB= yes
+USES= cpe
+
NO_BUILD= yes
NO_ARCH= yes
diff --git a/graphics/swfmill/Makefile b/graphics/swfmill/Makefile
--- a/graphics/swfmill/Makefile
+++ b/graphics/swfmill/Makefile
@@ -16,7 +16,7 @@
libgcrypt.so:security/libgcrypt \
libgpg-error.so:security/libgpg-error
-USES= compiler:c++11-lang dos2unix gmake gnome iconv libtool \
+USES= compiler:c++11-lang cpe dos2unix gmake gnome iconv libtool \
pkgconfig
USE_GNOME= libxml2 libxslt
GNU_CONFIGURE= yes
diff --git a/graphics/timg/Makefile b/graphics/timg/Makefile
--- a/graphics/timg/Makefile
+++ b/graphics/timg/Makefile
@@ -19,10 +19,12 @@
libsixel.so:graphics/libsixel \
libturbojpeg.so:graphics/libjpeg-turbo
-USES= cmake compiler:c++17-lang pkgconfig
+USES= cmake compiler:c++17-lang cpe pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= hzeller
+CPE_VENDOR= hzeller
+
# timg requires libavutil, contained in multimedia/ffmpeg
# isn't splitted libavcodec, libavutil, etc.
CMAKE_ON= WITH_VIDEO_DECODING WITH_VIDEO_DEVICE
diff --git a/graphics/vigra/Makefile b/graphics/vigra/Makefile
--- a/graphics/vigra/Makefile
+++ b/graphics/vigra/Makefile
@@ -14,11 +14,14 @@
LIB_DEPENDS= libImath.so:math/Imath \
libsz.so:science/libaec
-USES= cmake compiler:c++14-lang python:run shebangfix
+USES= cmake compiler:c++14-lang cpe python:run shebangfix
USE_GITHUB= yes
GH_ACCOUNT= ukoethe
USE_LDCONFIG= yes
+CPE_VENDOR= vigra_computer_vision_library_project
+CPE_PRODUCT= vigra_computer_vision_library
+
CFLAGS+= -I${LOCALBASE}/include/Imath
CMAKE_ARGS= -DDEPENDENCY_SEARCH_PREFIX:PATH=${LOCALBASE} \
diff --git a/graphics/xmlgraphics-commons/Makefile b/graphics/xmlgraphics-commons/Makefile
--- a/graphics/xmlgraphics-commons/Makefile
+++ b/graphics/xmlgraphics-commons/Makefile
@@ -13,7 +13,10 @@
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= java
+USES= cpe java
+
+CPE_VENDOR= apache
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
NO_ARCH= yes
NO_BUILD= yes
diff --git a/graphics/zbar/Makefile b/graphics/zbar/Makefile
--- a/graphics/zbar/Makefile
+++ b/graphics/zbar/Makefile
@@ -10,9 +10,11 @@
LICENSE= LGPL21
-USES= autoreconf gettext-tools gmake iconv libtool localbase:ldflags pathfix pkgconfig
+USES= autoreconf cpe gettext-tools gmake iconv libtool localbase:ldflags pathfix pkgconfig
USE_LDCONFIG= yes
+CPE_VENDOR= zbar_project
+
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS= --without-java --without-npapi --without-python \
diff --git a/irc/anope-devel/Makefile b/irc/anope-devel/Makefile
--- a/irc/anope-devel/Makefile
+++ b/irc/anope-devel/Makefile
@@ -15,7 +15,7 @@
FLAVORS= default mysql
FLAVOR?= ${FLAVORS:[1]}
-USES= cmake localbase:ldflags
+USES= cmake cpe localbase:ldflags
USE_GITHUB= yes
USE_RC_SUBR= anope
diff --git a/irc/anope/Makefile b/irc/anope/Makefile
--- a/irc/anope/Makefile
+++ b/irc/anope/Makefile
@@ -9,7 +9,7 @@
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/docs/COPYING
-USES= cmake localbase:ldflags shebangfix
+USES= cmake cpe localbase:ldflags shebangfix
USE_GITHUB= yes
USE_RC_SUBR= anope
SHEBANG_FILES= ${WRKSRC}/src/tools/*.sh
diff --git a/irc/halloy/Makefile b/irc/halloy/Makefile
--- a/irc/halloy/Makefile
+++ b/irc/halloy/Makefile
@@ -13,7 +13,7 @@
LIB_DEPENDS= libasound.so:audio/alsa-lib \
libzstd.so:archivers/zstd
-USES= cargo desktop-file-utils xorg
+USES= cargo cpe desktop-file-utils xorg
USE_GITHUB= yes
GH_ACCOUNT= squidowl
USE_XORG= xcb
diff --git a/java/apache-bcel/Makefile b/java/apache-bcel/Makefile
--- a/java/apache-bcel/Makefile
+++ b/java/apache-bcel/Makefile
@@ -12,7 +12,10 @@
LICENSE= APACHE20
-USES= java
+USES= cpe java
+
+CPE_VENDOR= apache
+CPE_PRODUCT= commons_bcel
NO_BUILD= yes
diff --git a/java/apache-commons-beanutils/Makefile b/java/apache-commons-beanutils/Makefile
--- a/java/apache-commons-beanutils/Makefile
+++ b/java/apache-commons-beanutils/Makefile
@@ -17,9 +17,12 @@
RUN_DEPENDS= ${JAVALIBDIR}/commons-logging.jar:java/apache-commons-logging \
${JAVALIBDIR}/commons-collections.jar:java/apache-commons-collections
-USES= dos2unix java:ant,run
+USES= cpe dos2unix java:ant,run
DOS2UNIX_FILES= build.xml
+CPE_VENDOR= apache
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
+
MAKE_ARGS+= -Dcommons-collections.jar=${JAVALIBDIR}/commons-collections.jar \
-Dcommons-logging.jar=${JAVALIBDIR}/commons-logging.jar
ALL_TARGET= dist
diff --git a/java/apache-commons-collections/Makefile b/java/apache-commons-collections/Makefile
--- a/java/apache-commons-collections/Makefile
+++ b/java/apache-commons-collections/Makefile
@@ -13,9 +13,12 @@
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USES= java:ant,run
+USES= cpe java:ant,run
JAVA_VERSION= 8 11 17 18 19 20
+CPE_VENDOR= apache
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
+
ALL_TARGET= jar
NO_ARCH= yes
PLIST_FILES= ${JAVAJARDIR}/${PORTNAME}.jar
diff --git a/java/apache-commons-collections4/Makefile b/java/apache-commons-collections4/Makefile
--- a/java/apache-commons-collections4/Makefile
+++ b/java/apache-commons-collections4/Makefile
@@ -13,7 +13,10 @@
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USES= java:run
+USES= cpe java:run
+
+CPE_VENDOR= apache
+CPE_PRODUCT= commons_collections
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
NO_BUILD= yes
diff --git a/java/icedtea-web/Makefile b/java/icedtea-web/Makefile
--- a/java/icedtea-web/Makefile
+++ b/java/icedtea-web/Makefile
@@ -19,7 +19,7 @@
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
-USES= autoreconf compiler:c++11-lang desktop-file-utils gmake java \
+USES= autoreconf compiler:c++11-lang cpe desktop-file-utils gmake java \
pkgconfig shebangfix xorg
JAVA_VERSION= 8
JAVA_OS= native
@@ -30,6 +30,8 @@
GH_PROJECT= IcedTea-Web
SHEBANG_FILES= jrunscript.in shell-launcher/launchers.sh.in
+CPE_VENDOR= icedtea-web_project
+
CONFIGURE_ARGS= --with-hamcrest="${HAMCREST_JAR}"
CONFIGURE_ARGS+= --with-jdk-home="${JAVA_HOME}"
CONFIGURE_ARGS+= --with-junit="${JUNIT_JAR}"
diff --git a/java/wildfly/Makefile b/java/wildfly/Makefile
--- a/java/wildfly/Makefile
+++ b/java/wildfly/Makefile
@@ -10,10 +10,12 @@
LICENSE= GPLv2
-USES= java
+USES= cpe java
JAVA_VERSION= 21+
USE_RC_SUBR= wildfly
+CPE_VENDOR= redhat
+
NO_BUILD= yes
SUB_FILES= pkg-message
SUB_LIST= APP_SHORTNAME=${PORTNAME} \
diff --git a/lang/apache-commons-jelly/Makefile b/lang/apache-commons-jelly/Makefile
--- a/lang/apache-commons-jelly/Makefile
+++ b/lang/apache-commons-jelly/Makefile
@@ -11,7 +11,10 @@
LICENSE= APACHE20
-USES= java
+USES= cpe java
+
+CPE_VENDOR= apache
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
NO_BUILD= yes
diff --git a/lang/bun/Makefile b/lang/bun/Makefile
--- a/lang/bun/Makefile
+++ b/lang/bun/Makefile
@@ -48,7 +48,9 @@
${LOCALBASE}/bin/npm:www/npm-node24
TEST_DEPENDS= bash:shells/bash
-USES= shebangfix
+USES= cpe shebangfix
+
+CPE_VENDOR= anthropic
USE_GITHUB= yes
GH_ACCOUNT= oven-sh
diff --git a/lang/chaiscript/Makefile b/lang/chaiscript/Makefile
--- a/lang/chaiscript/Makefile
+++ b/lang/chaiscript/Makefile
@@ -12,7 +12,7 @@
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= cmake localbase:ldflags readline
+USES= cmake cpe localbase:ldflags readline
USE_GITHUB= yes
USE_LDCONFIG= ${PREFIX}/lib/chaiscript
diff --git a/lang/clojure/Makefile b/lang/clojure/Makefile
--- a/lang/clojure/Makefile
+++ b/lang/clojure/Makefile
@@ -14,7 +14,7 @@
RUN_DEPENDS= bash:shells/bash \
rlwrap:devel/rlwrap
-USES= java
+USES= cpe java
NO_ARCH= yes
NO_BUILD= yes
diff --git a/lang/duktape-lib/Makefile b/lang/duktape-lib/Makefile
--- a/lang/duktape-lib/Makefile
+++ b/lang/duktape-lib/Makefile
@@ -13,9 +13,11 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USES= gmake tar:xz
+USES= cpe gmake tar:xz
USE_LDCONFIG= yes
+CPE_VENDOR= duktape_project
+
MAKEFILE= Makefile.sharedlibrary
MAKE_ARGS= INSTALL_PREFIX=${PREFIX}
diff --git a/lang/duktape/Makefile b/lang/duktape/Makefile
--- a/lang/duktape/Makefile
+++ b/lang/duktape/Makefile
@@ -11,7 +11,9 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USES= tar:xz
+USES= cpe tar:xz
+
+CPE_VENDOR= duktape_project
MAKEFILE= Makefile.cmdline
ALL_TARGET= duk
diff --git a/lang/fasm/Makefile b/lang/fasm/Makefile
--- a/lang/fasm/Makefile
+++ b/lang/fasm/Makefile
@@ -21,6 +21,11 @@
CONFLICTS_INSTALL= fasm-fpga SASM # bin/fasm
+USES= cpe
+
+CPE_VENDOR= flatassembler
+CPE_PRODUCT= flat_assembler
+
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
diff --git a/lang/gleam/Makefile b/lang/gleam/Makefile
--- a/lang/gleam/Makefile
+++ b/lang/gleam/Makefile
@@ -15,10 +15,12 @@
TEST_DEPENDS= erlang:lang/erlang
-USES= cargo
+USES= cargo cpe
USE_GITHUB= yes
GH_ACCOUNT= gleam-lang
+CPE_VENDOR= lpil
+
CARGO_UPDATE_ARGS= --offline
RUSTFLAGS+= --cap-lints=warn
diff --git a/lang/janet/Makefile b/lang/janet/Makefile
--- a/lang/janet/Makefile
+++ b/lang/janet/Makefile
@@ -10,11 +10,13 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= inotify meson
+USES= cpe inotify meson
USE_GITHUB= yes
GH_ACCOUNT= janet-lang
USE_LDCONFIG= yes
+CPE_VENDOR= janet-lang
+
PLIST_SUB= SOVERSION=${DISTVERSION} \
SOVERSION_R=${DISTVERSION:R}
diff --git a/lang/kotlin/Makefile b/lang/kotlin/Makefile
--- a/lang/kotlin/Makefile
+++ b/lang/kotlin/Makefile
@@ -13,7 +13,9 @@
RUN_DEPENDS= bash:shells/bash
-USES= java zip
+USES= cpe java zip
+
+CPE_VENDOR= jetbrains
CONFLICTS= kotlin22
diff --git a/lang/mawk/Makefile b/lang/mawk/Makefile
--- a/lang/mawk/Makefile
+++ b/lang/mawk/Makefile
@@ -11,7 +11,10 @@
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
-USES= tar:tgz
+USES= cpe tar:tgz
+
+CPE_VENDOR= invisible-island
+CPE_VERSION= ${DISTVERSION:S/-/_/}
PLIST_FILES= bin/mawk \
share/man/man1/mawk.1.gz \
diff --git a/lang/micropython/Makefile b/lang/micropython/Makefile
--- a/lang/micropython/Makefile
+++ b/lang/micropython/Makefile
@@ -12,7 +12,7 @@
LIB_DEPENDS= libffi.so:devel/libffi
-USES= gmake pkgconfig python:,build
+USES= cpe gmake pkgconfig python:,build
USE_GCC= yes
USE_GITHUB= yes
GH_TUPLE= micropython:axtls:531cab9:axtls \
diff --git a/lang/pomsky/Makefile b/lang/pomsky/Makefile
--- a/lang/pomsky/Makefile
+++ b/lang/pomsky/Makefile
@@ -14,10 +14,12 @@
LICENSE_FILE_APACHE20= ${WRKSRC}/../LICENSE-APACHE
LICENSE_FILE_MIT= ${WRKSRC}/../LICENSE-MIT
-USES= cargo
+USES= cargo cpe
USE_GITHUB= yes
GH_ACCOUNT= rulex-rs
+CPE_VENDOR= pomsky-lang
+
WRKSRC_SUBDIR= pomsky-bin
CARGO_CRATES= addr2line-0.25.1 \
diff --git a/lang/py-lupa/Makefile b/lang/py-lupa/Makefile
--- a/lang/py-lupa/Makefile
+++ b/lang/py-lupa/Makefile
@@ -15,9 +15,11 @@
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-USES= lua pkgconfig python
+USES= cpe lua pkgconfig python
USE_PYTHON= autoplist concurrent cython pep517 unittest
+CPE_VENDOR= scoder
+
MAKE_ARGS= --no-bundle --with-cython --with-lua-checks
TEST_ARGS= lupa.tests.test
diff --git a/lang/rhino/Makefile b/lang/rhino/Makefile
--- a/lang/rhino/Makefile
+++ b/lang/rhino/Makefile
@@ -31,10 +31,14 @@
OPTIONS_DEFAULT= LINEDIT
OPTIONS_DEFINE= LINEDIT
-USES= zip
+USES= cpe zip
USE_GITHUB= yes
GH_ACCOUNT= mozilla
+CPE_VENDOR= mozilla
+CPE_VERSION= ${DISTVERSION:C/R.*//:S/_/./g}
+CPE_UPDATE= ${DISTVERSION:C/^[^R]*//:tl}
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MLINEDIT}
diff --git a/lang/rizin/Makefile b/lang/rizin/Makefile
--- a/lang/rizin/Makefile
+++ b/lang/rizin/Makefile
@@ -26,7 +26,7 @@
libzstd.so:archivers/zstd \
libZydis.so:devel/zydis
-USES= cmake:indirect localbase meson pkgconfig python:build
+USES= cmake:indirect cpe localbase meson pkgconfig python:build
USE_GITHUB= yes
GH_ACCOUNT= rizinorg
diff --git a/lang/squirrel/Makefile b/lang/squirrel/Makefile
--- a/lang/squirrel/Makefile
+++ b/lang/squirrel/Makefile
@@ -10,9 +10,11 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
-USES= cmake compiler:c++11-lang
+USES= cmake compiler:c++11-lang cpe
USE_LDCONFIG= yes
+CPE_VENDOR= squirrel-lang
+
USE_GITHUB= yes
GH_ACCOUNT= albertodemichelis
diff --git a/mail/mailpit/Makefile b/mail/mailpit/Makefile
--- a/mail/mailpit/Makefile
+++ b/mail/mailpit/Makefile
@@ -18,12 +18,14 @@
BUILD_DEPENDS= npm>0:www/npm
-USES= go:modules tar:zstd
+USES= cpe go:modules tar:zstd
USE_RC_SUBR= mailpit
GO_MODULE= github.com/axllent/mailpit
GO_BUILDFLAGS= -ldflags="-s -w -X \"github.com/axllent/mailpit/config.Version=${DISTVERSIONPREFIX}${DISTVERSION}\""
MAKE_ENV= npm_config_offline=true
+CPE_VENDOR= axllent
+
SUB_FILES= pkg-message
PLIST_FILES= bin/${PORTNAME}
diff --git a/mail/py-postfix-mta-sts-resolver/Makefile b/mail/py-postfix-mta-sts-resolver/Makefile
--- a/mail/py-postfix-mta-sts-resolver/Makefile
+++ b/mail/py-postfix-mta-sts-resolver/Makefile
@@ -17,12 +17,14 @@
${PYTHON_PKGNAMEPREFIX}aiohttp>=3.4.4:www/py-aiohttp@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyyaml>=3.12:devel/py-pyyaml@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_GITHUB= yes
GH_ACCOUNT= Snawoot
USE_PYTHON= autoplist pep517
USE_RC_SUBR= mta_sts
+CPE_VENDOR= postfix-mta-sts-resolver_project
+
NO_ARCH= yes
SUB_LIST= PYTHON_CMD=${PYTHON_CMD}
diff --git a/mail/rubygem-net-imap-gitlab/Makefile b/mail/rubygem-net-imap-gitlab/Makefile
--- a/mail/rubygem-net-imap-gitlab/Makefile
+++ b/mail/rubygem-net-imap-gitlab/Makefile
@@ -15,7 +15,10 @@
RUN_DEPENDS= rubygem-date>=0:devel/rubygem-date \
rubygem-net-protocol>=0:net/rubygem-net-protocol
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= ruby-lang
+CPE_PRODUCT= net::imap
NO_ARCH= yes
diff --git a/mail/rubygem-net-imap/Makefile b/mail/rubygem-net-imap/Makefile
--- a/mail/rubygem-net-imap/Makefile
+++ b/mail/rubygem-net-imap/Makefile
@@ -14,7 +14,10 @@
RUN_DEPENDS= rubygem-date>=0:devel/rubygem-date \
rubygem-net-protocol>=0:net/rubygem-net-protocol
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= ruby-lang
+CPE_PRODUCT= net::imap
NO_ARCH= yes
diff --git a/mail/vexim/Makefile b/mail/vexim/Makefile
--- a/mail/vexim/Makefile
+++ b/mail/vexim/Makefile
@@ -15,9 +15,12 @@
SUB_FILES= pkg-message
NO_ARCH= yes
NO_BUILD= yes
-USES= gettext php:flavors
+USES= cpe gettext php:flavors
USE_PHP= gettext session posix
+CPE_VENDOR= virtual_exim_project
+CPE_PRODUCT= virtual_exim_2
+
USE_GITHUB= yes
GH_PROJECT= ${PORTNAME}2
GH_TAGNAME= 986a5fe
diff --git a/math/cgal/Makefile b/math/cgal/Makefile
--- a/math/cgal/Makefile
+++ b/math/cgal/Makefile
@@ -20,7 +20,10 @@
#TODO math/mpfi, math/rs, graphics/qglviewer
#Not yet in ports
-USES= cmake eigen:3 shebangfix tar:xz
+USES= cmake cpe eigen:3 shebangfix tar:xz
+
+CPE_VENDOR= ${PORTNAME:tl}
+CPE_PRODUCT= computational_geometry_algorithms_library
NO_ARCH= yes
diff --git a/math/flintqs/Makefile b/math/flintqs/Makefile
--- a/math/flintqs/Makefile
+++ b/math/flintqs/Makefile
@@ -12,11 +12,13 @@
LIB_DEPENDS= libgmp.so:math/gmp
-USES= autoreconf gmake localbase:ldflags
+USES= autoreconf cpe gmake localbase:ldflags
GNU_CONFIGURE= yes
USE_GITHUB= yes
GH_ACCOUNT= sagemath
+CPE_VENDOR= sagemath
+
USE_CXXSTD= c++14 # fix compilation failure on 14 due to use of the 'register' keyword
PLIST_FILES= bin/QuadraticSieve
diff --git a/math/gsl/Makefile b/math/gsl/Makefile
--- a/math/gsl/Makefile
+++ b/math/gsl/Makefile
@@ -9,11 +9,14 @@
LICENSE= GPLv3
-USES= libtool pathfix
+USES= cpe libtool pathfix
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
+CPE_VENDOR= gnu
+CPE_PRODUCT= gnu_scientific_library
+
INFO= gsl-ref
#prevent regression test coredumps from causing failures on the
diff --git a/math/libtommath/Makefile b/math/libtommath/Makefile
--- a/math/libtommath/Makefile
+++ b/math/libtommath/Makefile
@@ -12,7 +12,9 @@
LICENSE= UNLICENSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= cmake:testing tar:xz
+USES= cmake:testing cpe tar:xz
+
+CPE_VENDOR= libtom
OPTIONS_DEFINE= OPTIMIZED_CFLAGS LTO
OPTIONS_DEFAULT=OPTIMIZED_CFLAGS LTO
diff --git a/math/minisat/Makefile b/math/minisat/Makefile
--- a/math/minisat/Makefile
+++ b/math/minisat/Makefile
@@ -11,7 +11,7 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= gmake
+USES= cpe gmake
USE_LDCONFIG= yes
MAKE_ENV= prefix=${PREFIX} CFLAGS="-std=gnu++98"
diff --git a/math/mpfr/Makefile b/math/mpfr/Makefile
--- a/math/mpfr/Makefile
+++ b/math/mpfr/Makefile
@@ -18,7 +18,10 @@
LIB_DEPENDS= libgmp.so:math/gmp
-USES= gmake libtool pathfix tar:xz
+USES= cpe gmake libtool pathfix tar:xz
+
+CPE_VENDOR= ${PORTNAME:tl}
+CPE_PRODUCT= gnu_mpfr
#PATCHLEVEL= 12
#PATCHFILES!= /usr/bin/jot -s " " -w patch%02d ${PATCHLEVEL} 1 ${PATCHLEVEL}
diff --git a/math/py-keras/Makefile b/math/py-keras/Makefile
--- a/math/py-keras/Makefile
+++ b/math/py-keras/Makefile
@@ -30,7 +30,7 @@
EXTRA_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jax>0:math/py-jax@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytorch>0:misc/py-pytorch@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= pep517 concurrent autoplist
NO_ARCH= yes
diff --git a/math/singular/Makefile b/math/singular/Makefile
--- a/math/singular/Makefile
+++ b/math/singular/Makefile
@@ -19,7 +19,7 @@
libmpfr.so:math/mpfr
RUN_DEPENDS= bash:shells/bash
-USES= autoreconf gmake libtool ncurses perl5 pkgconfig readline shebangfix
+USES= autoreconf cpe gmake libtool ncurses perl5 pkgconfig readline shebangfix
USE_CXXSTD= c++14
USE_LDCONFIG= yes
USE_PERL5= build
diff --git a/math/vtk9/Makefile b/math/vtk9/Makefile
--- a/math/vtk9/Makefile
+++ b/math/vtk9/Makefile
@@ -21,7 +21,7 @@
libpng.so:graphics/png \
libtiff.so:graphics/tiff
-USES= cmake compiler:c++11-lang gl jpeg localbase xorg
+USES= cmake compiler:c++11-lang cpe gl jpeg localbase xorg
USE_GL= gl glu
USE_LDCONFIG= ${PREFIX}/lib/vtk-${VTK_SHORT_VER}
USE_XORG= ice x11 xt xext sm xcursor xfixes xrender
diff --git a/math/z3/Makefile b/math/z3/Makefile
--- a/math/z3/Makefile
+++ b/math/z3/Makefile
@@ -12,7 +12,9 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USES= cmake:testing compiler:c++20-lang localbase:ldflags
+USES= cmake:testing compiler:c++20-lang cpe localbase:ldflags
+
+CPE_VENDOR= microsoft
CMAKE_ARGS= -DCMAKE_INSTALL_PKGCONFIGDIR=${PREFIX}/libdata/pkgconfig
CMAKE_OFF= Z3_ENABLE_EXAMPLE_TARGETS
diff --git a/misc/astc-encoder/Makefile b/misc/astc-encoder/Makefile
--- a/misc/astc-encoder/Makefile
+++ b/misc/astc-encoder/Makefile
@@ -11,7 +11,10 @@
BROKEN_riscv64= ld: error: lto.tmp: cannot link object files with different floating-point ABI
-USES= cmake:testing compiler:c++14-lang python:test
+USES= cmake:testing compiler:c++14-lang cpe python:test
+
+CPE_VENDOR= arm
+CPE_PRODUCT= adaptive_scalable_texture_compression_encoder
USE_GITHUB= yes
GH_ACCOUNT= ARM-software
diff --git a/misc/binbloom/Makefile b/misc/binbloom/Makefile
--- a/misc/binbloom/Makefile
+++ b/misc/binbloom/Makefile
@@ -10,7 +10,9 @@
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= autoreconf gmake
+USES= autoreconf cpe gmake
+
+CPE_VENDOR= quarkslab
USE_GITHUB= yes
GH_ACCOUNT= quarkslab
diff --git a/misc/claude-code-legacy/Makefile b/misc/claude-code-legacy/Makefile
--- a/misc/claude-code-legacy/Makefile
+++ b/misc/claude-code-legacy/Makefile
@@ -17,7 +17,10 @@
EXTRACT_DEPENDS= curl:ftp/curl
RUN_DEPENDS= rg:textproc/ripgrep
-USES= nodejs:run
+USES= cpe nodejs:run
+
+CPE_VENDOR= anthropic
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
JS_ARCH= ${ARCH:S/amd64/x64/:S/aarch64/arm64/:S/i386/ia32/:S/powerpc64le/ppc64le/:S/powerpc64/ppc64/:C/armv[67]/arm/} # modeled after electron.mk
PLIST_SUB= JS_ARCH=${JS_ARCH}
diff --git a/misc/claude-code/Makefile b/misc/claude-code/Makefile
--- a/misc/claude-code/Makefile
+++ b/misc/claude-code/Makefile
@@ -22,9 +22,12 @@
RUN_DEPENDS= bash:shells/bash
-USES= linux:rl9
+USES= cpe linux:rl9
USE_LINUX= base
+CPE_VENDOR= anthropic
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
+
STRIP= # elftoolchain strip fails on these Linux binaries
NO_BUILD= yes
SUB_FILES= claude
diff --git a/misc/fabric/Makefile b/misc/fabric/Makefile
--- a/misc/fabric/Makefile
+++ b/misc/fabric/Makefile
@@ -12,7 +12,9 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= go:modules
+USES= cpe go:modules
+
+CPE_VENDOR= danielmiessler
GO_MODULE= github.com/danielmiessler/fabric
GO_TARGET= ./cmd/fabric
diff --git a/misc/github-copilot-cli/Makefile b/misc/github-copilot-cli/Makefile
--- a/misc/github-copilot-cli/Makefile
+++ b/misc/github-copilot-cli/Makefile
@@ -15,9 +15,12 @@
ONLY_FOR_ARCHS= aarch64 amd64
ONLY_FOR_ARCHS_REASON= is a Linux binary with a limited platform support
-USES= linux:rl9
+USES= cpe linux:rl9
USE_LINUX= base
+CPE_VENDOR= github
+CPE_PRODUCT= copilot-cli
+
NO_BUILD= yes
NO_WRKSUBDIR= yes
diff --git a/misc/lesspipe/Makefile b/misc/lesspipe/Makefile
--- a/misc/lesspipe/Makefile
+++ b/misc/lesspipe/Makefile
@@ -14,7 +14,9 @@
BUILD_DEPENDS= ${MY_DEPENDS}
RUN_DEPENDS= ${MY_DEPENDS}
-USES= perl5 shebangfix
+USES= cpe perl5 shebangfix
+
+CPE_VENDOR= lesspipe_project
USE_GITHUB= yes
GH_ACCOUNT= wofr06
diff --git a/misc/llama-cpp/Makefile b/misc/llama-cpp/Makefile
--- a/misc/llama-cpp/Makefile
+++ b/misc/llama-cpp/Makefile
@@ -17,7 +17,10 @@
LIB_DEPENDS= libggml-base.so:misc/ggml
-USES= cmake:testing compiler:c++11-lang python:run shebangfix ssl
+USES= cmake:testing compiler:c++11-lang cpe python:run shebangfix ssl
+
+CPE_VENDOR= ggml
+CPE_PRODUCT= llama.cpp
BROKEN_armv7= clang crashes, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278810
BROKEN_i386= compilation fails, see https://github.com/ggml-org/llama.cpp/issues/9545
diff --git a/misc/mc/Makefile b/misc/mc/Makefile
--- a/misc/mc/Makefile
+++ b/misc/mc/Makefile
@@ -18,11 +18,14 @@
RUN_DEPENDS+= gdiff:textproc/diffutils
.endif
-USES= gmake gnome libtool perl5 pkgconfig python:run tar:xz
+USES= cpe gmake gnome libtool perl5 pkgconfig python:run tar:xz
USE_GNOME= glib20
GNU_CONFIGURE= yes
CONFIGURE_ENV= ZIP=${LOCALBASE}/bin/zip UNZIP=${UNZIP_NATIVE_CMD}
+CPE_VENDOR= midnight-commander
+CPE_PRODUCT= midnight_commander
+
CONFLICTS_INSTALL= ${PORTNAME}6
PORTDOCS= AUTHORS FAQ HACKING NEWS README TODO
diff --git a/misc/netron/Makefile b/misc/netron/Makefile
--- a/misc/netron/Makefile
+++ b/misc/netron/Makefile
@@ -15,9 +15,11 @@
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytorch>0:misc/py-pytorch@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= pep517 autoplist noflavors
+CPE_VENDOR= lutzroeder
+
USE_GITHUB= yes
GH_ACCOUNT= lutzroeder
diff --git a/misc/ollama/Makefile b/misc/ollama/Makefile
--- a/misc/ollama/Makefile
+++ b/misc/ollama/Makefile
@@ -23,7 +23,7 @@
${LOCALBASE}/include/stb/stb_image.h:devel/stb \
patchelf:sysutils/patchelf
-USES= cmake:indirect go:modules localbase pkgconfig
+USES= cmake:indirect cpe go:modules localbase pkgconfig
USE_LDCONFIG= ${PREFIX}/lib/ollama ${PREFIX}/lib/ollama/vulkan
USE_RC_SUBR= ollama
diff --git a/misc/ompl/Makefile b/misc/ompl/Makefile
--- a/misc/ompl/Makefile
+++ b/misc/ompl/Makefile
@@ -13,10 +13,13 @@
LIB_DEPENDS= libboost_thread.so:devel/boost-libs
-USES= cmake:testing compiler:c++17-lang eigen:3 pkgconfig python:run shebangfix
+USES= cmake:testing compiler:c++17-lang cpe eigen:3 pkgconfig python:run shebangfix
USE_GITHUB= yes
USE_LDCONFIG= yes
+CPE_VENDOR= rice
+CPE_PRODUCT= open_motion_planning_library
+
SHEBANG_FILES= scripts/ompl_benchmark_statistics.py
CMAKE_OFF= OMPL_BUILD_TESTS OMPL_BUILD_VAMP OMPL_VERSIONED_INSTALL
diff --git a/misc/onnx/Makefile b/misc/onnx/Makefile
--- a/misc/onnx/Makefile
+++ b/misc/onnx/Makefile
@@ -15,7 +15,9 @@
LIB_DEPENDS= libabsl_base.so:devel/abseil \
libprotobuf.so:devel/protobuf
-USES= cmake:testing compiler:c++17-lang python:build
+USES= cmake:testing compiler:c++17-lang cpe python:build
+
+CPE_VENDOR= linuxfoundation
USE_GITHUB= yes
diff --git a/misc/picoclaw/Makefile b/misc/picoclaw/Makefile
--- a/misc/picoclaw/Makefile
+++ b/misc/picoclaw/Makefile
@@ -11,7 +11,9 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= go:modules
+USES= cpe go:modules
+
+CPE_VENDOR= sipeed
BROKEN_i386= vendored modernc.org/libc + modernc.org/sqlite broken on 386
BROKEN_armv7= vendored modernc.org/libc + modernc.org/sqlite broken on arm
diff --git a/misc/pinfo/Makefile b/misc/pinfo/Makefile
--- a/misc/pinfo/Makefile
+++ b/misc/pinfo/Makefile
@@ -17,10 +17,12 @@
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= autoreconf gettext-tools libtool localbase makeinfo ncurses
+USES= autoreconf cpe gettext-tools libtool localbase makeinfo ncurses
USE_GITHUB= yes
GH_ACCOUNT= baszoetekouw
+CPE_VENDOR= surf
+
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CONFIGURE_ARGS= --with-curses=${NCURSESBASE}
diff --git a/misc/py-crewai/Makefile b/misc/py-crewai/Makefile
--- a/misc/py-crewai/Makefile
+++ b/misc/py-crewai/Makefile
@@ -47,7 +47,7 @@
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-recording>=0:devel/py-pytest-recording@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}vcrpy>=0:devel/py-vcrpy@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517 pytest
NO_ARCH= yes
diff --git a/misc/py-datasets/Makefile b/misc/py-datasets/Makefile
--- a/misc/py-datasets/Makefile
+++ b/misc/py-datasets/Makefile
@@ -55,9 +55,11 @@
${PYTHON_PKGNAMEPREFIX}zstandard>=0:archivers/py-zstandard@${PY_FLAVOR}
# missing TEST_DEPENDS: jaxlib, joblibspark, py7zr, pyspark, tensorflow, transformers
-USES= python
+USES= cpe python
USE_PYTHON= pep517 concurrent autoplist pytest
+CPE_VENDOR= huggingface
+
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} \
DATASETS_TEST_SKIP_TF=yes
PYTEST_ARGS= tests/
diff --git a/misc/py-deepspeed/Makefile b/misc/py-deepspeed/Makefile
--- a/misc/py-deepspeed/Makefile
+++ b/misc/py-deepspeed/Makefile
@@ -26,9 +26,11 @@
bash:shells/bash
# many extras exist in setup.py
-USES= python shebangfix
+USES= cpe python shebangfix
USE_PYTHON= distutils autoplist pytest # some tests fail, tests consume gigabytes of disk space
+CPE_VENDOR= microsoft
+
SHEBANG_FILES= bin/ds_ssh
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
diff --git a/misc/py-diffusers/Makefile b/misc/py-diffusers/Makefile
--- a/misc/py-diffusers/Makefile
+++ b/misc/py-diffusers/Makefile
@@ -25,9 +25,11 @@
${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}safetensors>0:misc/py-safetensors@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= pep517 concurrent autoplist
+CPE_VENDOR= huggingface
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/misc/py-fastmcp/Makefile b/misc/py-fastmcp/Makefile
--- a/misc/py-fastmcp/Makefile
+++ b/misc/py-fastmcp/Makefile
@@ -61,9 +61,11 @@
${PYTHON_PKGNAMEPREFIX}ruff>=0.12.8:devel/py-ruff@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ty>0:devel/py-ty@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= pep517 autoplist pytest
+CPE_VENDOR= jlowin
+
MAKE_ENV+= UV_DYNAMIC_VERSIONING_BYPASS=${DISTVERSION}
BINARY_ALIAS= python=${PYTHON_CMD}
diff --git a/misc/py-haystack_ai/Makefile b/misc/py-haystack_ai/Makefile
--- a/misc/py-haystack_ai/Makefile
+++ b/misc/py-haystack_ai/Makefile
@@ -30,10 +30,13 @@
${PYTHON_PKGNAMEPREFIX}tqdm>=0:misc/py-tqdm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.7:devel/py-typing-extensions@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
+CPE_VENDOR= deepset
+CPE_PRODUCT= haystack
+
post-extract:
@${REINPLACE_CMD} -e 's/^license = "\([^"]*\)"/license = {text = "\1"}/' -e '/^license-files/d' ${WRKSRC}/pyproject.toml
diff --git a/misc/py-langsmith/Makefile b/misc/py-langsmith/Makefile
--- a/misc/py-langsmith/Makefile
+++ b/misc/py-langsmith/Makefile
@@ -43,9 +43,11 @@
${PYTHON_PKGNAMEPREFIX}pytest-xdist>=3.5.0:devel/py-pytest-xdist@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}vcrpy>=7.0.0:devel/py-vcrpy@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= pep517 autoplist pytest
+CPE_VENDOR= langchain
+
NO_ARCH= yes
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
diff --git a/misc/py-litellm/Makefile b/misc/py-litellm/Makefile
--- a/misc/py-litellm/Makefile
+++ b/misc/py-litellm/Makefile
@@ -29,7 +29,7 @@
${PYTHON_PKGNAMEPREFIX}jsonschema>=4.0.0<5.0:devel/py-jsonschema@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}boto3>=1.43.1<2.0:www/py-boto3@${PY_FLAVOR}
-USES= cargo python shebangfix
+USES= cargo cpe python shebangfix
USE_PYTHON= autoplist concurrent pep517 pytest
SHEBANG_FILES= litellm/proxy/start.sh
diff --git a/misc/py-onnx/Makefile b/misc/py-onnx/Makefile
--- a/misc/py-onnx/Makefile
+++ b/misc/py-onnx/Makefile
@@ -35,9 +35,11 @@
${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.7.1:devel/py-typing-extensions@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}parameterized>0:devel/py-parameterized@${PY_FLAVOR}
-USES= compiler:c++17-lang python shebangfix
+USES= compiler:c++17-lang cpe python shebangfix
USE_PYTHON= pep517 concurrent autoplist pytest
+CPE_VENDOR= linuxfoundation
+
CXXFLAGS+= -Dstat64=stat
MAKE_ENV+= CMAKE_ARGS=-DProtobuf_PROTOC_EXECUTABLE=${LOCALBASE}/bin/protoc
diff --git a/misc/py-paddlepaddle/Makefile b/misc/py-paddlepaddle/Makefile
--- a/misc/py-paddlepaddle/Makefile
+++ b/misc/py-paddlepaddle/Makefile
@@ -43,7 +43,7 @@
${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} \
gfortran${GCC_DEFAULT}:lang/gcc${GCC_DEFAULT}
-USES= cmake llvm:21 python
+USES= cmake cpe llvm:21 python
USE_PYTHON= autoplist
USE_GITHUB= yes
diff --git a/misc/py-pytorch-lightning/Makefile b/misc/py-pytorch-lightning/Makefile
--- a/misc/py-pytorch-lightning/Makefile
+++ b/misc/py-pytorch-lightning/Makefile
@@ -26,9 +26,12 @@
${PYTHON_PKGNAMEPREFIX}tqdm>=4.57.0:misc/py-tqdm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}typing-extensions>4.5.0:devel/py-typing-extensions@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= pep517 autoplist pytest
+CPE_VENDOR= lightningai
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
+
#USE_GITHUB= yes
#GH_ACCOUNT= Lightning-AI
diff --git a/misc/py-pytorch/Makefile b/misc/py-pytorch/Makefile
--- a/misc/py-pytorch/Makefile
+++ b/misc/py-pytorch/Makefile
@@ -58,9 +58,11 @@
${PYTHON_PKGNAMEPREFIX}pytest-rerunfailures>0:devel/py-pytest-rerunfailures@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist@${PY_FLAVOR}
-USES= compiler:c++17-lang localbase:ldflags mpi:openmpi python shebangfix
+USES= compiler:c++17-lang cpe localbase:ldflags mpi:openmpi python shebangfix
USE_PYTHON= pep517 autoplist
+CPE_VENDOR= linuxfoundation
+
SHEBANG_FILES= torch/utils/hipify/hipify_python.py # installed executable, unlike with the pre-2.14 setuptools build
USE_LDCONFIG= ${PYTHON_SITELIBDIR}/torch/lib
diff --git a/misc/py-smolagents/Makefile b/misc/py-smolagents/Makefile
--- a/misc/py-smolagents/Makefile
+++ b/misc/py-smolagents/Makefile
@@ -24,9 +24,11 @@
${PYTHON_PKGNAMEPREFIX}numpy>=1.21.2:math/py-numpy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pandas>=2.2.3:math/py-pandas@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517 pytest
+CPE_VENDOR= huggingface
+
TEST_ENV= PYTHONPATH=${WRKSRC}/src
TEST_ARGS= --deselect tests/test_local_python_executor.py::TestEvaluatePythonCode::test_can_import_scipy_if_explicitly_authorized \
--deselect tests/test_local_python_executor.py::TestEvaluatePythonCode::test_can_import_sklearn_if_explicitly_authorized \
diff --git a/misc/py-torchvision/Makefile b/misc/py-torchvision/Makefile
--- a/misc/py-torchvision/Makefile
+++ b/misc/py-torchvision/Makefile
@@ -27,9 +27,11 @@
RUN_DEPENDS= ${PY_DEPENDS}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}onnxruntime>0:misc/py-onnxruntime@${PY_FLAVOR}
-USES= compiler:c++17-lang jpeg python
+USES= compiler:c++17-lang cpe jpeg python
USE_PYTHON= pep517 autoplist pytest # tests run in a very high memory ; in 0.17.1 tests fail to run, see https://github.com/pytorch/vision/issues/8278
+CPE_VENDOR= linuxfoundation
+
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
TEST_WRKSRC= ${WRKSRC}
TEST_ARGS= --disable-plugin-autoload \
diff --git a/misc/py-transformers/Makefile b/misc/py-transformers/Makefile
--- a/misc/py-transformers/Makefile
+++ b/misc/py-transformers/Makefile
@@ -53,9 +53,11 @@
${PYTHON_PKGNAMEPREFIX}timm>=1.0.19:misc/py-timm@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}parameterized>0:devel/py-parameterized@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= pep517 autoplist pytest
+CPE_VENDOR= huggingface
+
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
TEST_WRKSRC= ${WRKSRC}/tests
diff --git a/misc/py-vllm/Makefile b/misc/py-vllm/Makefile
--- a/misc/py-vllm/Makefile
+++ b/misc/py-vllm/Makefile
@@ -94,7 +94,7 @@
${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=1.3.0:devel/py-pytest-asyncio@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tblib>=3.2.2:devel/py-tblib@${PY_FLAVOR}
-USES= cmake:indirect python
+USES= cmake:indirect cpe python
USE_PYTHON= pep517 autoplist pytest
# Build the CPU extension using clang (same ABI as PyTorch on FreeBSD).
diff --git a/misc/py-xgrammar/Makefile b/misc/py-xgrammar/Makefile
--- a/misc/py-xgrammar/Makefile
+++ b/misc/py-xgrammar/Makefile
@@ -21,9 +21,11 @@
${PYTHON_PKGNAMEPREFIX}transformers>=4.38.0:misc/py-transformers@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.9.0:devel/py-typing-extensions@${PY_FLAVOR}
-USES= cmake:indirect python pytest
+USES= cmake:indirect cpe python pytest
USE_PYTHON= pep517 autoplist
+CPE_VENDOR= mlc-ai
+
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
TEST_WRKSRC= ${WRKSRC}/tests
diff --git a/misc/pytorch/Makefile b/misc/pytorch/Makefile
--- a/misc/pytorch/Makefile
+++ b/misc/pytorch/Makefile
@@ -28,7 +28,9 @@
libprotobuf.so:devel/protobuf \
libsleef.so:math/sleef
-USES= compiler:c++17-lang cmake:noninja gmake localbase:ldflags python # requires python even with PYTHON=off
+USES= compiler:c++17-lang cmake:noninja cpe gmake localbase:ldflags python # requires python even with PYTHON=off
+
+CPE_VENDOR= linuxfoundation
CMAKE_OFF= BUILD_CUSTOM_PROTOBUF USE_CUDA USE_ROCM USE_NNPACK USE_QNNPACK USE_PYTORCH_QNNPACK \
USE_FBGEMM # workaround recommended by the upstream here: https://github.com/pytorch/pytorch/issues/28337
diff --git a/misc/shc/Makefile b/misc/shc/Makefile
--- a/misc/shc/Makefile
+++ b/misc/shc/Makefile
@@ -10,7 +10,9 @@
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= tar:tgz
+USES= cpe tar:tgz
+
+CPE_VENDOR= neurobin
GNU_CONFIGURE= yes
diff --git a/multimedia/emby-server/Makefile b/multimedia/emby-server/Makefile
--- a/multimedia/emby-server/Makefile
+++ b/multimedia/emby-server/Makefile
@@ -72,10 +72,12 @@
pango>0:x11-toolkits/pango \
tiff>0:graphics/tiff
-USES= compiler:c11 gmake iconv libarchive:run localbase:ldflags pkgconfig sqlite ssl:run
+USES= compiler:c11 cpe gmake iconv libarchive:run localbase:ldflags pkgconfig sqlite ssl:run
USE_GNOME= cairo glib20 librsvg2
USE_RC_SUBR= ${PORTNAME}
+CPE_PRODUCT= emby
+
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --cc="${CC}" \
--disable-alsa \
diff --git a/multimedia/flvmeta/Makefile b/multimedia/flvmeta/Makefile
--- a/multimedia/flvmeta/Makefile
+++ b/multimedia/flvmeta/Makefile
@@ -11,7 +11,7 @@
LIB_DEPENDS= libyaml.so:textproc/libyaml
-USES= cmake
+USES= cmake cpe
USE_GITHUB= yes
GH_ACCOUNT= noirotm
GH_TAGNAME= f412a33
diff --git a/multimedia/gpac/Makefile b/multimedia/gpac/Makefile
--- a/multimedia/gpac/Makefile
+++ b/multimedia/gpac/Makefile
@@ -9,7 +9,7 @@
LICENSE= LGPL21
-USES= gmake pkgconfig ssl
+USES= cpe gmake pkgconfig ssl
USE_GITHUB= yes
GH_ACCOUNT= gpac
diff --git a/multimedia/intel-media-sdk/Makefile b/multimedia/intel-media-sdk/Makefile
--- a/multimedia/intel-media-sdk/Makefile
+++ b/multimedia/intel-media-sdk/Makefile
@@ -17,7 +17,7 @@
RUN_DEPENDS= cmrtlib>0:multimedia/cmrtlib
TEST_DEPENDS= googletest>0:devel/googletest
-USES= cmake:testing compiler:c++11-lib localbase:ldflags pkgconfig
+USES= cmake:testing compiler:c++11-lib cpe localbase:ldflags pkgconfig
USE_GITHUB= yes
USE_LDCONFIG= yes
GH_ACCOUNT= Intel-Media-SDK
@@ -25,6 +25,10 @@
CMAKE_ON= BUILD_TOOLS
CMAKE_TESTING_ON= BUILD_TESTS USE_SYSTEM_GTEST
PLIST_SUB= ARCH_SUFX=${ARCH:S/i386/32/:S/amd//:S/x86_//}
+
+CPE_VENDOR= intel
+CPE_PRODUCT= media_sdk
+
# https://github.com/Intel-Media-SDK/MediaSDK/issues/1844
LLD_UNSAFE= yes
diff --git a/multimedia/jellyfin/Makefile b/multimedia/jellyfin/Makefile
--- a/multimedia/jellyfin/Makefile
+++ b/multimedia/jellyfin/Makefile
@@ -28,7 +28,7 @@
TEST_DEPENDS= npm:www/npm${NODEJS_SUFFIX} \
dotnet:lang/dotnet
-USES= nodejs:24,build sqlite:3 ssl elfctl
+USES= cpe nodejs:24,build sqlite:3 ssl elfctl
USE_GITHUB= nodefault
GH_ACCOUNT= jellyfin:server,ui
diff --git a/multimedia/libuvc/Makefile b/multimedia/libuvc/Makefile
--- a/multimedia/libuvc/Makefile
+++ b/multimedia/libuvc/Makefile
@@ -13,7 +13,7 @@
TEST_DEPENDS= googletest>0:devel/googletest
-USES= cmake:testing jpeg pkgconfig
+USES= cmake:testing cpe jpeg pkgconfig
USE_GITHUB= yes
USE_LDCONFIG= yes
diff --git a/multimedia/libwebm/Makefile b/multimedia/libwebm/Makefile
--- a/multimedia/libwebm/Makefile
+++ b/multimedia/libwebm/Makefile
@@ -11,7 +11,9 @@
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
-USES= cmake:testing compiler:c++11-lang
+USES= cmake:testing compiler:c++11-lang cpe
+
+CPE_VENDOR= webmproject
USE_GITHUB= yes
GH_ACCOUNT= webmproject
diff --git a/multimedia/snapcast/Makefile b/multimedia/snapcast/Makefile
--- a/multimedia/snapcast/Makefile
+++ b/multimedia/snapcast/Makefile
@@ -21,7 +21,9 @@
libvorbis.so:audio/libvorbis \
libsoxr.so:audio/libsoxr
-USES= cmake compiler:c++17-lang pkgconfig python shebangfix
+USES= cmake compiler:c++17-lang cpe pkgconfig python shebangfix
+
+CPE_VENDOR= badaix
USE_GITHUB= yes
GH_ACCOUNT= badaix
diff --git a/multimedia/streamlink/Makefile b/multimedia/streamlink/Makefile
--- a/multimedia/streamlink/Makefile
+++ b/multimedia/streamlink/Makefile
@@ -28,7 +28,7 @@
${PYTHON_PKGNAMEPREFIX}pytest-trio>0:devel/py-pytest-trio@${PY_FLAVOR}\
${PYTHON_PKGNAMEPREFIX}requests-mock>0:www/py-requests-mock@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist pep517 pytest
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
NO_ARCH= yes
diff --git a/net-im/conduit/Makefile b/net-im/conduit/Makefile
--- a/net-im/conduit/Makefile
+++ b/net-im/conduit/Makefile
@@ -17,7 +17,7 @@
LIB_DEPENDS= librocksdb.so:databases/rocksdb
RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
-USES= cargo gmake
+USES= cargo cpe gmake
USE_RC_SUBR= ${PORTNAME}
USERS= ${PORTNAME}
GROUPS= ${USERS}
diff --git a/net-im/mastodon/Makefile b/net-im/mastodon/Makefile
--- a/net-im/mastodon/Makefile
+++ b/net-im/mastodon/Makefile
@@ -22,10 +22,12 @@
wget>0:ftp/wget \
yarn>:www/yarn
-USES= magick:7,run pgsql sudo
+USES= cpe magick:7,run pgsql sudo
USE_GITHUB= yes
USE_RC_SUBR= mastodon_sidekiq mastodon_streaming mastodon_web
+CPE_VENDOR= joinmastodon
+
EXTRACT_AFTER_ARGS= ${.circleci .devcontainer .git* .dockerignore \
dist/*.service docker-compose.yml \
Dockerfile Vagrantfile:L:S|^|--exclude |} \
diff --git a/net-im/nheko/Makefile b/net-im/nheko/Makefile
--- a/net-im/nheko/Makefile
+++ b/net-im/nheko/Makefile
@@ -29,7 +29,7 @@
libolm.so:security/olm \
libqt6keychain.so:security/qtkeychain@qt6
-USES= cmake compiler:c++20-lang desktop-file-utils \
+USES= cmake compiler:c++20-lang cpe desktop-file-utils \
localbase:ldflags pkgconfig qt:6 ssl tar:xz
USE_GITHUB= yes
GH_ACCOUNT= Nheko-Reborn
@@ -37,6 +37,8 @@
USE_QT= base declarative multimedia svg \
tools:build translations:build
+CPE_VENDOR= nheko-reborn
+
# There is one external dependency: lmdb++
# - lmdb++ is a single header file, it just needs to be included
CMAKE_ARGS= -DLMDBXX_INCLUDE_DIR=${WRKSRC}/deps/lmdb \
diff --git a/net-im/py-apprise/Makefile b/net-im/py-apprise/Makefile
--- a/net-im/py-apprise/Makefile
+++ b/net-im/py-apprise/Makefile
@@ -23,9 +23,11 @@
${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${PY_FLAVOR}
-USES= pytest python
+USES= cpe pytest python
USE_PYTHON= autoplist concurrent cryptography pep517
+CPE_VENDOR= nuxref
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/net-im/signal-desktop/Makefile b/net-im/signal-desktop/Makefile
--- a/net-im/signal-desktop/Makefile
+++ b/net-im/signal-desktop/Makefile
@@ -50,11 +50,13 @@
libxkbcommon.so:x11/libxkbcommon \
libxshmfence.so:x11/libxshmfence
-USES= desktop-file-utils gettext-runtime gl gnome jpeg nodejs:24,build pkgconfig python:build ssl xorg
+USES= cpe desktop-file-utils gettext-runtime gl gnome jpeg nodejs:24,build pkgconfig python:build ssl xorg
USE_GITHUB= yes
GH_ACCOUNT= signalapp
GH_PROJECT= Signal-Desktop
+CPE_VENDOR= signal
+
USE_GL= gbm gl
USE_GNOME= atk cairo gdkpixbuf glib20 gtk30 libxml2 libxslt pango
USE_XORG= x11 xcb xcomposite xdamage xext xfixes xi xrandr xrender xtst
diff --git a/net-mgmt/fastnetmon/Makefile b/net-mgmt/fastnetmon/Makefile
--- a/net-mgmt/fastnetmon/Makefile
+++ b/net-mgmt/fastnetmon/Makefile
@@ -24,7 +24,9 @@
libabsl_base.so:devel/abseil \
libhiredis.so:databases/hiredis
-USES= cmake compiler:c++20-lang localbase:ldflags pkgconfig ssl
+USES= cmake compiler:c++20-lang cpe localbase:ldflags pkgconfig ssl
+
+CPE_VENDOR= pavel-odintsov
USE_GITHUB= yes
GH_ACCOUNT= pavel-odintsov
diff --git a/net-mgmt/fence-agents/Makefile b/net-mgmt/fence-agents/Makefile
--- a/net-mgmt/fence-agents/Makefile
+++ b/net-mgmt/fence-agents/Makefile
@@ -15,9 +15,11 @@
${PYTHON_PKGNAMEPREFIX}pycurl>0:ftp/py-pycurl@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}
-USES= autoreconf gmake libtool pkgconfig python shebangfix
+USES= autoreconf cpe gmake libtool pkgconfig python shebangfix
SHEBANG_FILES= agents/manual/fence_ack_manual.in
+CPE_VENDOR= clusterlabs
+
USE_GITHUB= yes
GH_ACCOUNT= ClusterLabs
diff --git a/net-mgmt/icingaweb2-module-icingadb/Makefile b/net-mgmt/icingaweb2-module-icingadb/Makefile
--- a/net-mgmt/icingaweb2-module-icingadb/Makefile
+++ b/net-mgmt/icingaweb2-module-icingadb/Makefile
@@ -18,7 +18,11 @@
icingadb>0:net-mgmt/icingadb \
icingaweb2${PHP_PKGNAMESUFFIX}>=2.9:net-mgmt/icingaweb2@${PHP_FLAVOR}
-USES= php:web,flavors shebangfix
+USES= cpe php:web,flavors shebangfix
+
+CPE_VENDOR= icinga
+CPE_PRODUCT= icinga_db_web
+
# php json extension is required but it's statically linked in default php
USE_PHP= curl dom xml
IGNORE_WITH_PHP= 86
diff --git a/net-mgmt/icingaweb2-module-incubator/Makefile b/net-mgmt/icingaweb2-module-incubator/Makefile
--- a/net-mgmt/icingaweb2-module-incubator/Makefile
+++ b/net-mgmt/icingaweb2-module-incubator/Makefile
@@ -11,7 +11,9 @@
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= php:web,flavors
+USES= cpe php:web,flavors
+
+CPE_VENDOR= icinga
USE_GITHUB= yes
GH_ACCOUNT= icinga
diff --git a/net-mgmt/icingaweb2-module-jira/Makefile b/net-mgmt/icingaweb2-module-jira/Makefile
--- a/net-mgmt/icingaweb2-module-jira/Makefile
+++ b/net-mgmt/icingaweb2-module-jira/Makefile
@@ -14,9 +14,12 @@
RUN_DEPENDS= icingaweb2${PHP_PKGNAMESUFFIX}>=2.11.4:net-mgmt/icingaweb2@${PHP_FLAVOR}
-USES= php:web,flavors
+USES= cpe php:web,flavors
IGNORE_WITH_PHP= 86
+CPE_VENDOR= icinga
+CPE_PRODUCT= icinga_web_jira_integration
+
USE_GITHUB= yes
GH_ACCOUNT= icinga
diff --git a/net-mgmt/icingaweb2/Makefile b/net-mgmt/icingaweb2/Makefile
--- a/net-mgmt/icingaweb2/Makefile
+++ b/net-mgmt/icingaweb2/Makefile
@@ -16,13 +16,16 @@
icingaweb2-module-incubator${PHP_PKGNAMESUFFIX}>=0.20.0:net-mgmt/icingaweb2-module-incubator@${PHP_FLAVOR} \
icingaweb2-module-monitoring${PHP_PKGNAMESUFFIX}>=2.12.6:net-mgmt/icingaweb2-module-monitoring@${PHP_FLAVOR}
-USES= php:build,web,flavors shebangfix gettext
+USES= cpe php:build,web,flavors shebangfix gettext
USE_PHP= bcmath bitset ctype curl dom fileinfo filter gd gettext iconv intl ldap \
mbstring mcrypt memcache memcached opcache pdo \
pdo_sqlite posix session simplexml soap sockets sqlite3 xml \
zlib
IGNORE_WITH_PHP= 86
+CPE_VENDOR= icinga
+CPE_PRODUCT= icinga_web_2
+
USE_GITHUB= yes
GH_ACCOUNT= icinga
diff --git a/net-mgmt/mac-telnet/Makefile b/net-mgmt/mac-telnet/Makefile
--- a/net-mgmt/mac-telnet/Makefile
+++ b/net-mgmt/mac-telnet/Makefile
@@ -9,9 +9,11 @@
LICENSE= GPLv2
-USES= autoreconf libtool pkgconfig gettext ssl
+USES= autoreconf cpe libtool pkgconfig gettext ssl
USE_GITHUB= yes
+CPE_VENDOR= mac-telnet_project
+
GH_ACCOUNT= haakonnessjoen
GH_PROJECT= MAC-Telnet
GH_TAGNAME= v${PORTVERSION}
diff --git a/net-mgmt/ndoutils/Makefile b/net-mgmt/ndoutils/Makefile
--- a/net-mgmt/ndoutils/Makefile
+++ b/net-mgmt/ndoutils/Makefile
@@ -11,9 +11,11 @@
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= compiler:c11 mysql perl5 ssl
+USES= compiler:c11 cpe mysql perl5 ssl
USE_RC_SUBR= ndo2db
+CPE_VENDOR= nagios
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc/ndoutils \
--localstatedir=/var/run --enable-mysql \
diff --git a/net-mgmt/ocsinventory-server/Makefile b/net-mgmt/ocsinventory-server/Makefile
--- a/net-mgmt/ocsinventory-server/Makefile
+++ b/net-mgmt/ocsinventory-server/Makefile
@@ -23,7 +23,7 @@
p5-Switch>=0:lang/p5-Switch \
p5-Plack>=0:www/p5-Plack
-USES= apache:run mysql perl5
+USES= apache:run cpe mysql perl5
NO_ARCH= yes
NO_BUILD= yes
SUB_FILES= pkg-message
@@ -32,6 +32,9 @@
GH_ACCOUNT= OCSInventory-NG
GH_PROJECT= OCSInventory-Server
+CPE_VENDOR= ocsinventory-ng
+CPE_PRODUCT= ocs_inventory_server
+
OPTIONS_DEFINE= DOCS OCSREPORTS
OPTIONS_DEFAULT= OCSREPORTS
OCSREPORTS_DESC= Install ocsreports admin console
diff --git a/net-mgmt/p5-Data-Validate-IP/Makefile b/net-mgmt/p5-Data-Validate-IP/Makefile
--- a/net-mgmt/p5-Data-Validate-IP/Makefile
+++ b/net-mgmt/p5-Data-Validate-IP/Makefile
@@ -19,7 +19,10 @@
p5-Test-Taint>=0:devel/p5-Test-Taint
NO_ARCH= yes
-USES= perl5
+USES= cpe perl5
USE_PERL5= configure
+CPE_VENDOR= data::validate::ip_project
+CPE_PRODUCT= data::validate::ip
+
.include <bsd.port.mk>
diff --git a/net-mgmt/rubygem-oxidized-web/Makefile b/net-mgmt/rubygem-oxidized-web/Makefile
--- a/net-mgmt/rubygem-oxidized-web/Makefile
+++ b/net-mgmt/rubygem-oxidized-web/Makefile
@@ -22,7 +22,10 @@
rubygem-sinatra-contrib>=4.1.1:www/rubygem-sinatra-contrib \
rubygem-sinatra>=4.1.1:www/rubygem-sinatra
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= oxidized_web_project
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
NO_ARCH= yes
diff --git a/net-p2p/bazarr/Makefile b/net-p2p/bazarr/Makefile
--- a/net-p2p/bazarr/Makefile
+++ b/net-p2p/bazarr/Makefile
@@ -21,7 +21,7 @@
ffprobe:multimedia/ffmpeg \
unrar:archivers/unrar
-USES= python zip
+USES= cpe python zip
USE_RC_SUBR= bazarr
diff --git a/net-p2p/libtorrent-rasterbar2/Makefile b/net-p2p/libtorrent-rasterbar2/Makefile
--- a/net-p2p/libtorrent-rasterbar2/Makefile
+++ b/net-p2p/libtorrent-rasterbar2/Makefile
@@ -19,10 +19,12 @@
libboost_random.so:devel/boost-libs \
libboost_thread.so:devel/boost-libs
-USES= cmake:testing compiler:c++11-lib iconv:wchar_t \
+USES= cmake:testing compiler:c++11-lib cpe iconv:wchar_t \
localbase:ldflags pathfix pkgconfig python:test shebangfix ssl
USE_LDCONFIG= yes
+CPE_PRODUCT= libtorrent
+
SHEBANG_GLOB= *.py
USE_GITHUB= yes
diff --git a/net-p2p/monero-cli/Makefile b/net-p2p/monero-cli/Makefile
--- a/net-p2p/monero-cli/Makefile
+++ b/net-p2p/monero-cli/Makefile
@@ -30,8 +30,12 @@
libunbound.so:dns/unbound \
libzmq.so:net/libzmq4
-USES= cmake compiler:c++14-lang pkgconfig readline ssl
+USES= cmake compiler:c++14-lang cpe pkgconfig readline ssl
USE_GITHUB= yes
+
+CPE_VENDOR= getmonero
+CPE_PRODUCT= monero
+
.if defined(PKGNAMESUFFIX)
GIT_COMMIT= ${PKGNAMESUFFIX:C/-git-//}
.else
diff --git a/net-p2p/py-nicotine-plus/Makefile b/net-p2p/py-nicotine-plus/Makefile
--- a/net-p2p/py-nicotine-plus/Makefile
+++ b/net-p2p/py-nicotine-plus/Makefile
@@ -15,8 +15,11 @@
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gdbm>=3.6:databases/py-gdbm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mutagen>=1.42:audio/py-mutagen@${PY_FLAVOR}
-USES= gettext-tools gnome python
+USES= cpe gettext-tools gnome python
USE_GNOME= gtk30 pygobject3:run
USE_PYTHON= autoplist concurrent distutils unittest
+CPE_VENDOR= ${PORTNAME:tl}
+CPE_PRODUCT= nicotine+
+
.include <bsd.port.mk>
diff --git a/net-p2p/readarr/Makefile b/net-p2p/readarr/Makefile
--- a/net-p2p/readarr/Makefile
+++ b/net-p2p/readarr/Makefile
@@ -20,7 +20,7 @@
libinotify>0:devel/libinotify \
libunwind>0:devel/libunwind
-USES= sqlite:3 ssl:run
+USES= cpe sqlite:3 ssl:run
USE_RC_SUBR= ${PORTNAME}
diff --git a/net-p2p/sonarr/Makefile b/net-p2p/sonarr/Makefile
--- a/net-p2p/sonarr/Makefile
+++ b/net-p2p/sonarr/Makefile
@@ -19,7 +19,7 @@
libinotify>0:devel/libinotify \
libunwind>0:devel/libunwind
-USES= sqlite:3 ssl:run
+USES= cpe sqlite:3 ssl:run
USE_RC_SUBR= sonarr
CONFLICTS_INSTALL= sonarr
diff --git a/net-p2p/twitch-tui/Makefile b/net-p2p/twitch-tui/Makefile
--- a/net-p2p/twitch-tui/Makefile
+++ b/net-p2p/twitch-tui/Makefile
@@ -14,7 +14,9 @@
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT
-USES= cargo
+USES= cargo cpe
+
+CPE_VENDOR= xithrius
USE_GITHUB= yes
GH_ACCOUNT= Xithrius
diff --git a/net-p2p/warpinator/Makefile b/net-p2p/warpinator/Makefile
--- a/net-p2p/warpinator/Makefile
+++ b/net-p2p/warpinator/Makefile
@@ -24,13 +24,15 @@
${PYTHON_PKGNAMEPREFIX}zeroconf>=0.27.0:net/py-zeroconf@${PY_FLAVOR} \
xapp>=0:x11/xapp
-USES= gettext gnome meson python shebangfix
+USES= cpe gettext gnome meson python shebangfix
USE_GITHUB= yes
GH_ACCOUNT= linuxmint
USE_GNOME= glib20 gtk30 pygobject3
USE_PYTHON= cryptography
GLIB_SCHEMAS= org.x.Warpinator.gschema.xml
+CPE_VENDOR= linuxmint
+
SHEBANG_FILES= bin/warpinator-send.in bin/warpinator.in data/warpinator-send-check \
generate-protobuf testing/testrun
SHEBANG_GLOB= *.py
diff --git a/net/boinc-client/Makefile b/net/boinc-client/Makefile
--- a/net/boinc-client/Makefile
+++ b/net/boinc-client/Makefile
@@ -12,12 +12,15 @@
LICENSE= LGPL3+
LICENSE_FILE= ${WRKSRC}/COPYING.LESSER
-USES= autoreconf compiler:c++11-lang gmake libtool localbase:ldflags pkgconfig ssl
+USES= autoreconf compiler:c++11-lang cpe gmake libtool localbase:ldflags pkgconfig ssl
USE_GITHUB= yes
GH_ACCOUNT= BOINC
GH_PROJECT= boinc
USE_LDCONFIG= yes
+CPE_VENDOR= universityofcalifornia
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-server
CONFIGURE_ENV= OBJCXX="${CXX}"
diff --git a/net/cloud-init/Makefile b/net/cloud-init/Makefile
--- a/net/cloud-init/Makefile
+++ b/net/cloud-init/Makefile
@@ -24,11 +24,13 @@
${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR}
-USES= python shebangfix sudo
+USES= cpe python shebangfix sudo
USE_GITHUB= yes
GH_ACCOUNT= canonical
USE_PYTHON= autoplist distutils
+CPE_VENDOR= canonical
+
SHEBANG_FILES= tools/hook-hotplug tools/read-dependencies tools/read-version \
tools/validate-yaml.py
diff --git a/net/croc/Makefile b/net/croc/Makefile
--- a/net/croc/Makefile
+++ b/net/croc/Makefile
@@ -11,9 +11,11 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= go:modules
+USES= cpe go:modules
USE_RC_SUBR= croc
+CPE_VENDOR= schollz
+
GO_MODULE= github.com/schollz/croc/v11
PLIST_FILES= bin/croc
diff --git a/net/eternalterminal/Makefile b/net/eternalterminal/Makefile
--- a/net/eternalterminal/Makefile
+++ b/net/eternalterminal/Makefile
@@ -15,11 +15,14 @@
libsodium.so:security/libsodium \
libunwind.so:devel/libunwind
-USES= cmake:testing ssl
+USES= cmake:testing cpe ssl
USE_GITHUB= yes
GH_ACCOUNT= MisterTea
GH_PROJECT= EternalTerminal
+CPE_VENDOR= eternal_terminal_project
+CPE_PRODUCT= eternal_terminal
+
CMAKE_ON= DISABLE_VCPKG
CMAKE_OFF= BUILD_TESTING
CMAKE_TESTING_ON= BUILD_TESTING
diff --git a/net/fort/Makefile b/net/fort/Makefile
--- a/net/fort/Makefile
+++ b/net/fort/Makefile
@@ -16,10 +16,13 @@
libmicrohttpd.so:www/libmicrohttpd
RUN_DEPENDS= ${LOCALBASE}/bin/rsync:net/rsync
-USES= gnome localbase:ldflags pkgconfig ssl
+USES= cpe gnome localbase:ldflags pkgconfig ssl
USE_GNOME= libxml2
USE_RC_SUBR= fort
+CPE_VENDOR= nicmx
+CPE_PRODUCT= fort_validator
+
GNU_CONFIGURE= yes
SUB_FILES= pkg-message
diff --git a/net/frp/Makefile b/net/frp/Makefile
--- a/net/frp/Makefile
+++ b/net/frp/Makefile
@@ -11,7 +11,9 @@
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= go:modules
+USES= cpe go:modules
+
+CPE_VENDOR= fatedier
GO_MODULE= github.com/fatedier/frp
GO_TARGET= ./cmd/frpc ./cmd/frps
diff --git a/net/gamenetworkingsockets/Makefile b/net/gamenetworkingsockets/Makefile
--- a/net/gamenetworkingsockets/Makefile
+++ b/net/gamenetworkingsockets/Makefile
@@ -13,7 +13,10 @@
LIB_DEPENDS= libprotobuf.so:devel/protobuf
-USES= cmake compiler:c++17-lang
+USES= cmake compiler:c++17-lang cpe
+
+CPE_VENDOR= valvesoftware
+CPE_PRODUCT= game_networking_sockets
USE_GITHUB= yes
GH_ACCOUNT= ValveSoftware
diff --git a/net/gnetcat/Makefile b/net/gnetcat/Makefile
--- a/net/gnetcat/Makefile
+++ b/net/gnetcat/Makefile
@@ -9,9 +9,12 @@
COMMENT= GPL'ed re-write of the well known networking tool netcat
WWW= https://netcat.sourceforge.net/
-USES= gettext iconv tar:bzip2
+USES= cpe gettext iconv tar:bzip2
GNU_CONFIGURE= yes
+CPE_VENDOR= netcat_project
+CPE_PRODUCT= netcat
+
INFO= gnetcat
PLIST_FILES= bin/gnetcat share/man/man1/gnetcat.1.gz
diff --git a/net/gobgp/Makefile b/net/gobgp/Makefile
--- a/net/gobgp/Makefile
+++ b/net/gobgp/Makefile
@@ -12,11 +12,13 @@
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= go:modules
+USES= cpe go:modules
USE_RC_SUBR= gobgpd
GO_MODULE= github.com/osrg/gobgp/v3
GO_TARGET= ./cmd/gobgp ./cmd/gobgpd:${PREFIX}/libexec/gobgpd
+CPE_VENDOR= osrg
+
SUB_FILES= gobgpd
PLIST_FILES= bin/gobgp libexec/gobgpd
diff --git a/net/gotify-server/Makefile b/net/gotify-server/Makefile
--- a/net/gotify-server/Makefile
+++ b/net/gotify-server/Makefile
@@ -18,7 +18,7 @@
BUILD_DEPENDS= yarn${NODEJS_SUFFIX}>=1.10.0:www/yarn${NODEJS_SUFFIX} \
-USES= go:modules nodejs:build
+USES= cpe go:modules nodejs:build
USE_GITHUB= yes
GH_ACCOUNT= gotify
GH_PROJECT= server
@@ -26,6 +26,9 @@
GO_MOD_DIST= github
GO_MODULE= github.com/gotify/server/v2
+CPE_VENDOR= gotify
+CPE_PRODUCT= server
+
_BUILD_DATE= $$(date -u "+%Y-%m-%d-%H%M UTC")
#GO_TARGET= ./
GO_BUILDFLAGS= -buildmode=pie -modcacherw \
diff --git a/net/gtk-vnc/Makefile b/net/gtk-vnc/Makefile
--- a/net/gtk-vnc/Makefile
+++ b/net/gtk-vnc/Makefile
@@ -15,12 +15,14 @@
libgpg-error.so:security/libgpg-error \
libsasl2.so:security/cyrus-sasl2
-USES= gettext gnome localbase meson perl5 pkgconfig python \
+USES= cpe gettext gnome localbase meson perl5 pkgconfig python \
tar:xz vala:build xorg
USE_GNOME= cairo gdkpixbuf gtk30 introspection:build
USE_XORG= x11
USE_LDCONFIG= yes
+CPE_VENDOR= gnome
+
OPTIONS_DEFINE= DOCS PULSEAUDIO
OPTIONS_DEFAULT=PULSEAUDIO
OPTIONS_SUB= yes
diff --git a/net/igmpproxy/Makefile b/net/igmpproxy/Makefile
--- a/net/igmpproxy/Makefile
+++ b/net/igmpproxy/Makefile
@@ -11,12 +11,14 @@
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= autoreconf
+USES= autoreconf cpe
USE_GITHUB= yes
GH_ACCOUNT= pali
GNU_CONFIGURE= yes
USE_RC_SUBR= igmpproxy
+CPE_VENDOR= pali
+
post-install:
${INSTALL_DATA} ${WRKSRC}/igmpproxy.conf \
${STAGEDIR}${PREFIX}/etc/igmpproxy.conf.sample
diff --git a/net/iipsrv/Makefile b/net/iipsrv/Makefile
--- a/net/iipsrv/Makefile
+++ b/net/iipsrv/Makefile
@@ -13,11 +13,14 @@
LIB_DEPENDS= libtiff.so:graphics/tiff
-USES= autoreconf jpeg libtool pkgconfig localbase
+USES= autoreconf cpe jpeg libtool pkgconfig localbase
USE_GITHUB= yes
GH_ACCOUNT= ruven
USE_RC_SUBR= ${PORTNAME}
+CPE_VENDOR= high_resolution_streaming_image_server_project
+CPE_PRODUCT= high_resolution_streaming_image_server
+
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
diff --git a/net/irrd/Makefile b/net/irrd/Makefile
--- a/net/irrd/Makefile
+++ b/net/irrd/Makefile
@@ -45,13 +45,16 @@
${PYTHON_PKGNAMEPREFIX}pytest-cov>=2.12.1:devel/py-pytest-cov@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}twisted>=21.7.0:devel/py-twisted@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_GITHUB= yes
GH_ACCOUNT= irrdnet
GH_PROJECT= ${PORTNAME}
USE_PYTHON= autoplist concurrent distutils pytest
USE_RC_SUBR= irrd4
+CPE_VENDOR= internet_routing_registry_daemon_project
+CPE_PRODUCT= internet_routing_registry_daemon
+
NO_ARCH= yes
SUB_FILES= pkg-message
SUB_LIST= GROUPS=${GROUPS} \
diff --git a/net/jgroups/Makefile b/net/jgroups/Makefile
--- a/net/jgroups/Makefile
+++ b/net/jgroups/Makefile
@@ -10,7 +10,9 @@
LICENSE= LGPL21
-USES= java:ant,run
+USES= cpe java:ant,run
+
+CPE_VENDOR= redhat
OPTIONS_DEFINE= DOCS
diff --git a/net/jose/Makefile b/net/jose/Makefile
--- a/net/jose/Makefile
+++ b/net/jose/Makefile
@@ -13,9 +13,11 @@
BUILD_DEPENDS= jq:textproc/jq
LIB_DEPENDS= libjansson.so:devel/jansson
-USES= compiler:c11 meson pkgconfig ssl tar:xz
+USES= compiler:c11 cpe meson pkgconfig ssl tar:xz
USE_LDCONFIG= yes
+CPE_VENDOR= latchset
+
OPTIONS_DEFINE= MANPAGES
OPTIONS_DEFAULT=MANPAGES
OPTIONS_SUB= yes
diff --git a/net/knc/Makefile b/net/knc/Makefile
--- a/net/knc/Makefile
+++ b/net/knc/Makefile
@@ -11,10 +11,13 @@
LICENSE= BSD2CLAUSE MIT
LICENSE_COMB= multi
-USES= libtool
+USES= cpe libtool
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
+CPE_VENDOR= secure-endpoints
+CPE_PRODUCT= kerberised_netcat
+
PLIST_FILES= bin/knc \
share/man/man1/knc.1.gz
diff --git a/net/krill/Makefile b/net/krill/Makefile
--- a/net/krill/Makefile
+++ b/net/krill/Makefile
@@ -13,10 +13,12 @@
ONLY_FOR_ARCHS= amd64 powerpc64 powerpc64le
ONLY_FOR_ARCHS_REASON= ring crate not ported to other architectures
-USES= cargo ssl
+USES= cargo cpe ssl
USE_GITHUB= yes
GH_ACCOUNT= NLnetLabs
+CPE_VENDOR= nlnetlabs
+
USE_RC_SUBR= ${PORTNAME}
# SUB_FILES= pkg-message
diff --git a/net/lavinmq/Makefile b/net/lavinmq/Makefile
--- a/net/lavinmq/Makefile
+++ b/net/lavinmq/Makefile
@@ -47,7 +47,7 @@
LIB_DEPENDS= liblz4.so:archivers/liblz4 \
libpcre2-8.so:devel/pcre2
-USES= pkgconfig ssl:build
+USES= cpe pkgconfig ssl:build
USE_GITHUB= yes
GH_ACCOUNT= cloudamqp
GH_TUPLE= 84codes:lz4.cr:${_LZ4}:a/deps/lz4.cr \
@@ -56,6 +56,8 @@
cloudamqp:amqp-client.cr:v${_AMQP_CLIENT}:client/deps/amqp-client.cr \
84codes:mqtt-protocol.cr:v${_MQTT}:mqtt/deps/mqtt-protocol.cr
+CPE_VENDOR= 84codes
+
USE_RC_SUBR= lavinmq
USERS= lavinmq
diff --git a/net/libngtcp2-boringssl/Makefile b/net/libngtcp2-boringssl/Makefile
--- a/net/libngtcp2-boringssl/Makefile
+++ b/net/libngtcp2-boringssl/Makefile
@@ -17,7 +17,9 @@
libngtcp2>=${PORTVERSION}<${PORTVERSION}_99:net/libngtcp2
RUN_DEPENDS= libngtcp2>=${PORTVERSION}<${PORTVERSION}_99:net/libngtcp2
-USES= libtool pkgconfig tar:xz
+USES= cpe libtool pkgconfig tar:xz
+
+CPE_VENDOR= tatsuhiro-t
CONFIGURE_ARGS= --enable-lib-only \
--with-boringssl \
diff --git a/net/libngtcp2-gnutls/Makefile b/net/libngtcp2-gnutls/Makefile
--- a/net/libngtcp2-gnutls/Makefile
+++ b/net/libngtcp2-gnutls/Makefile
@@ -17,7 +17,9 @@
LIB_DEPENDS= libgnutls.so:security/gnutls
RUN_DEPENDS= libngtcp2>=${PORTVERSION}<${PORTVERSION}_99:net/libngtcp2
-USES= libtool pkgconfig tar:xz
+USES= cpe libtool pkgconfig tar:xz
+
+CPE_VENDOR= tatsuhiro-t
CONFIGURE_ARGS= --enable-lib-only \
--with-gnutls \
diff --git a/net/libngtcp2-wolfssl/Makefile b/net/libngtcp2-wolfssl/Makefile
--- a/net/libngtcp2-wolfssl/Makefile
+++ b/net/libngtcp2-wolfssl/Makefile
@@ -17,7 +17,9 @@
LIB_DEPENDS= libwolfssl.so:security/wolfssl
RUN_DEPENDS= libngtcp2>=${PORTVERSION}<${PORTVERSION}_99:net/libngtcp2
-USES= libtool pkgconfig tar:xz
+USES= cpe libtool pkgconfig tar:xz
+
+CPE_VENDOR= tatsuhiro-t
CONFIGURE_ARGS= --enable-lib-only \
--with-jemalloc \
diff --git a/net/libngtcp2/Makefile b/net/libngtcp2/Makefile
--- a/net/libngtcp2/Makefile
+++ b/net/libngtcp2/Makefile
@@ -12,7 +12,9 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= libtool pkgconfig tar:xz
+USES= cpe libtool pkgconfig tar:xz
+
+CPE_VENDOR= tatsuhiro-t
CONFIGURE_ARGS= --enable-lib-only \
--with-jemalloc \
diff --git a/net/libosip2/Makefile b/net/libosip2/Makefile
--- a/net/libosip2/Makefile
+++ b/net/libosip2/Makefile
@@ -9,9 +9,12 @@
LICENSE= LGPL21
-USES= libtool pathfix pkgconfig
+USES= cpe libtool pathfix pkgconfig
USE_LDCONFIG= yes
+CPE_VENDOR= gnu
+CPE_PRODUCT= osip
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-trace
diff --git a/net/librest1/Makefile b/net/librest1/Makefile
--- a/net/librest1/Makefile
+++ b/net/librest1/Makefile
@@ -17,12 +17,14 @@
PORTSCOUT= limitw:1,even
-USES= gettext-tools gnome localbase meson pkgconfig python tar:xz
+USES= cpe gettext-tools gnome localbase meson pkgconfig python tar:xz
USE_GNOME= glib20 introspection:build libadwaita libxml2
USE_LDCONFIG= yes
MESON_ARGS= -Dca_certificates=true \
-Dca_certificates_path=/etc/ssl/cert.pem
+CPE_VENDOR= gnome
+
OPTIONS_DEFINE= DOCS EXAMPLES
OPTIONS_SUB= yes
diff --git a/net/libusrsctp/Makefile b/net/libusrsctp/Makefile
--- a/net/libusrsctp/Makefile
+++ b/net/libusrsctp/Makefile
@@ -9,9 +9,12 @@
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.md
-USES= cmake
+USES= cmake cpe
USE_LDCONFIG= yes
+CPE_VENDOR= usrsctp_project
+CPE_PRODUCT= usrsctp
+
USE_GITHUB= yes
GH_ACCOUNT= sctplab
GH_PROJECT= usrsctp
diff --git a/net/libyang2/Makefile b/net/libyang2/Makefile
--- a/net/libyang2/Makefile
+++ b/net/libyang2/Makefile
@@ -14,9 +14,11 @@
LIB_DEPENDS= libpcre2-8.so:devel/pcre2
TEST_DEPENDS= cmocka>0:sysutils/cmocka
-USES= cmake compiler:c++11-lang localbase:ldflags pkgconfig
+USES= cmake compiler:c++11-lang cpe localbase:ldflags pkgconfig
USE_LDCONFIG= yes
+CPE_VENDOR= cesnet
+
USE_GITHUB= yes
GH_ACCOUNT= CESNET
diff --git a/net/libyang3/Makefile b/net/libyang3/Makefile
--- a/net/libyang3/Makefile
+++ b/net/libyang3/Makefile
@@ -14,9 +14,11 @@
LIB_DEPENDS= libpcre2-8.so:devel/pcre2
TEST_DEPENDS= cmocka>0:sysutils/cmocka
-USES= cmake compiler:c++11-lang pkgconfig
+USES= cmake compiler:c++11-lang cpe pkgconfig
USE_LDCONFIG= yes
+CPE_VENDOR= cesnet
+
USE_GITHUB= yes
GH_ACCOUNT= CESNET
diff --git a/net/lldap/Makefile b/net/lldap/Makefile
--- a/net/lldap/Makefile
+++ b/net/lldap/Makefile
@@ -16,7 +16,7 @@
wasm-bindgen:www/wasm-bindgen-cli
LIB_DEPENDS= libzstd.so:archivers/zstd
-USES= cargo
+USES= cargo cpe
USE_GITHUB= yes
GH_ACCOUNT= inejge:ldap3
diff --git a/net/nats-nkeys/Makefile b/net/nats-nkeys/Makefile
--- a/net/nats-nkeys/Makefile
+++ b/net/nats-nkeys/Makefile
@@ -12,7 +12,9 @@
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= go:modules
+USES= cpe go:modules
+
+CPE_VENDOR= nats
GO_MODULE= github.com/nats-io/nkeys
GO_TARGET= ./nk
diff --git a/net/nats-streaming-server/Makefile b/net/nats-streaming-server/Makefile
--- a/net/nats-streaming-server/Makefile
+++ b/net/nats-streaming-server/Makefile
@@ -14,7 +14,7 @@
DEPRECATED= Deprecated by upstream, use JetStream in net/nats-server instead
EXPIRATION_DATE=2026-12-31
-USES= go:modules
+USES= cpe go:modules
USE_GITHUB= yes
GH_ACCOUNT= nats-io
GH_TUPLE= armon:go-metrics:v0.4.1:armon_go_metrics/vendor/github.com/armon/go-metrics \
@@ -44,6 +44,9 @@
nats-io:stan.go:v0.10.4:nats_io_stan_go/vendor/github.com/nats-io/stan.go \
prometheus:procfs:v0.11.0:prometheus_procfs/vendor/github.com/prometheus/procfs
+CPE_VENDOR= nats
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
+
USE_RC_SUBR= nats_streaming.sh
GO_BUILDFLAGS= -buildvcs=false
diff --git a/net/neatvnc/Makefile b/net/neatvnc/Makefile
--- a/net/neatvnc/Makefile
+++ b/net/neatvnc/Makefile
@@ -13,13 +13,15 @@
BUILD_DEPENDS= ${LOCALBASE}/include/libdrm/drm_fourcc.h:graphics/libdrm
LIB_DEPENDS= libaml.so:devel/aml
-USES= compiler:c11 meson pkgconfig xorg
+USES= compiler:c11 cpe meson pkgconfig xorg
USE_GITHUB= yes
USE_XORG= pixman
USE_LDCONFIG= yes
GH_ACCOUNT= any1
PLIST_SUB= VERSION=${PORTVERSION}
+CPE_VENDOR= any1
+
OPTIONS_DEFINE= FFMPEG GNUTLS JPEG NETTLE OPENGL
OPTIONS_DEFAULT=FFMPEG GNUTLS JPEG NETTLE OPENGL
diff --git a/net/nqptp/Makefile b/net/nqptp/Makefile
--- a/net/nqptp/Makefile
+++ b/net/nqptp/Makefile
@@ -9,10 +9,13 @@
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= autoreconf
+USES= autoreconf cpe
USE_GITHUB= yes
GH_ACCOUNT= mikebrady
+CPE_VENDOR= mikebrady
+CPE_PRODUCT= not_quite_ptp
+
GNU_CONFIGURE= yes
PLIST_FILES= bin/nqptp \
diff --git a/net/ntpd-rs/Makefile b/net/ntpd-rs/Makefile
--- a/net/ntpd-rs/Makefile
+++ b/net/ntpd-rs/Makefile
@@ -16,7 +16,9 @@
NOT_FOR_ARCHS= i386
NOT_FOR_ARCHS_REASON= the ring crate requires SSE2 instruction on intel cpu
-USES= cargo
+USES= cargo cpe
+
+CPE_VENDOR= tweedegolf
USE_GITHUB= yes
GH_ACCOUNT= pendulum-project
diff --git a/net/otelcol-contrib/Makefile b/net/otelcol-contrib/Makefile
--- a/net/otelcol-contrib/Makefile
+++ b/net/otelcol-contrib/Makefile
@@ -12,7 +12,10 @@
ONLY_FOR_ARCHS= amd64
-USES= linux:rl9
+USES= cpe linux:rl9
+
+CPE_VENDOR= opentelemetry
+CPE_PRODUCT= opentelemetry_collector_contrib
NO_BUILD= yes
NO_WRKSUBDIR= yes
diff --git a/net/p5-Net-Ping-External/Makefile b/net/p5-Net-Ping-External/Makefile
--- a/net/p5-Net-Ping-External/Makefile
+++ b/net/p5-Net-Ping-External/Makefile
@@ -11,8 +11,10 @@
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
-USES= perl5
+USES= cpe perl5
USE_PERL5= configure
NO_ARCH= yes
+CPE_VENDOR= net-ping-external_project
+
.include <bsd.port.mk>
diff --git a/net/pear-XML_RPC/Makefile b/net/pear-XML_RPC/Makefile
--- a/net/pear-XML_RPC/Makefile
+++ b/net/pear-XML_RPC/Makefile
@@ -7,6 +7,8 @@
WWW= https://pear.php.net/package/XML_RPC
USE_PHP= xml
-USES= pear php
+USES= cpe pear php
+
+CPE_VENDOR= php
.include <bsd.port.mk>
diff --git a/net/proxychains-ng/Makefile b/net/proxychains-ng/Makefile
--- a/net/proxychains-ng/Makefile
+++ b/net/proxychains-ng/Makefile
@@ -11,10 +11,12 @@
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= gmake tar:xz
+USES= cpe gmake tar:xz
USE_LDCONFIG= yes
HAS_CONFIGURE= yes
+CPE_VENDOR= proxychains-ng_project
+
CONFLICTS= proxychains
PORTDOCS= AUTHORS README TODO
diff --git a/net/py-cloudflare-scrape/Makefile b/net/py-cloudflare-scrape/Makefile
--- a/net/py-cloudflare-scrape/Makefile
+++ b/net/py-cloudflare-scrape/Makefile
@@ -13,9 +13,11 @@
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}PyExecJS>=0:devel/py-PyExecJS@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist distutils
+CPE_VENDOR= cloudflare-scrape_project
+
USE_GITHUB= yes
GH_ACCOUNT= Anorov
diff --git a/net/py-gdown/Makefile b/net/py-gdown/Makefile
--- a/net/py-gdown/Makefile
+++ b/net/py-gdown/Makefile
@@ -20,9 +20,11 @@
${PYTHON_PKGNAMEPREFIX}tqdm>=0:misc/py-tqdm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}urllib3>=0,1:net/py-urllib3@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= wkentaro
+
NO_ARCH= yes
.include <bsd.port.pre.mk>
diff --git a/net/py-kafka-python/Makefile b/net/py-kafka-python/Makefile
--- a/net/py-kafka-python/Makefile
+++ b/net/py-kafka-python/Makefile
@@ -12,7 +12,9 @@
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= python
+USES= cpe python
+
+CPE_VENDOR= dpkp
USE_PYTHON= autoplist distutils
NO_ARCH= yes
diff --git a/net/py-python-glanceclient/Makefile b/net/py-python-glanceclient/Makefile
--- a/net/py-python-glanceclient/Makefile
+++ b/net/py-python-glanceclient/Makefile
@@ -26,9 +26,12 @@
${PYTHON_PKGNAMEPREFIX}warlock>=1.2.0:devel/py-warlock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wrapt>=1.7.0:devel/py-wrapt@${PY_FLAVOR}
-USES= python:3.11+
+USES= cpe python:3.11+
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= openstack
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
+
NO_ARCH= yes
post-patch:
diff --git a/net/quiche/Makefile b/net/quiche/Makefile
--- a/net/quiche/Makefile
+++ b/net/quiche/Makefile
@@ -12,12 +12,14 @@
BUILD_DEPENDS= git>0:devel/git
-USES= cargo llvm:build,lib
+USES= cargo cpe llvm:build,lib
USE_GITHUB= yes
GH_ACCOUNT= cloudflare
GH_TUPLE= google:boringssl:e1d6cd95a:boringssl/quiche/deps/boringssl
USE_LDCONFIG= yes
+CPE_VENDOR= cloudflare
+
CARGO_FEATURES= ffi pkg-config-meta
CARGO_BUILD= yes
CARGO_BUILD_ARGS+= --workspace
diff --git a/net/rabbitmq-c/Makefile b/net/rabbitmq-c/Makefile
--- a/net/rabbitmq-c/Makefile
+++ b/net/rabbitmq-c/Makefile
@@ -12,11 +12,13 @@
LIB_DEPENDS= libpopt.so:devel/popt
-USES= cmake localbase ssl
+USES= cmake cpe localbase ssl
USE_GITHUB= yes
GH_ACCOUNT= alanxz
USE_LDCONFIG= yes
+CPE_VENDOR= rabbitmq-c_project
+
CMAKE_ON= BUILD_TOOLS
CMAKE_OFF= BUILD_EXAMPLES
TEST_TARGET= test
diff --git a/net/rosenpass/Makefile b/net/rosenpass/Makefile
--- a/net/rosenpass/Makefile
+++ b/net/rosenpass/Makefile
@@ -16,7 +16,7 @@
LIB_DEPENDS= libsodium.so:security/libsodium
RUN_DEPENDS= bash:shells/bash
-USES= cargo llvm:build pkgconfig shebangfix
+USES= cargo cpe llvm:build pkgconfig shebangfix
USE_GITHUB= yes
CARGO_INSTALL_PATH= rosenpass
diff --git a/net/rubygem-net-ldap-gitlab/Makefile b/net/rubygem-net-ldap-gitlab/Makefile
--- a/net/rubygem-net-ldap-gitlab/Makefile
+++ b/net/rubygem-net-ldap-gitlab/Makefile
@@ -14,7 +14,9 @@
RUN_DEPENDS= rubygem-base64>=0:converters/rubygem-base64 \
rubygem-ostruct>=0:devel/rubygem-ostruct
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= net-ldap_project
NO_ARCH= yes
diff --git a/net/rubygem-net-ldap/Makefile b/net/rubygem-net-ldap/Makefile
--- a/net/rubygem-net-ldap/Makefile
+++ b/net/rubygem-net-ldap/Makefile
@@ -13,7 +13,9 @@
RUN_DEPENDS= rubygem-base64>=0:converters/rubygem-base64 \
rubygem-ostruct>=0:devel/rubygem-ostruct
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= net-ldap_project
NO_ARCH= yes
diff --git a/net/rubygem-net-ldap017/Makefile b/net/rubygem-net-ldap017/Makefile
--- a/net/rubygem-net-ldap017/Makefile
+++ b/net/rubygem-net-ldap017/Makefile
@@ -11,7 +11,9 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/License.rdoc
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= net-ldap_project
NO_ARCH= yes
diff --git a/net/rubygem-octokit-gitlab/Makefile b/net/rubygem-octokit-gitlab/Makefile
--- a/net/rubygem-octokit-gitlab/Makefile
+++ b/net/rubygem-octokit-gitlab/Makefile
@@ -16,7 +16,9 @@
RUN_DEPENDS= rubygem-faraday-gitlab>=1<3:www/rubygem-faraday-gitlab \
rubygem-sawyer-gitlab>=0.9<1:www/rubygem-sawyer-gitlab
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= octokit_project
NO_ARCH= yes
diff --git a/net/rubygem-octokit/Makefile b/net/rubygem-octokit/Makefile
--- a/net/rubygem-octokit/Makefile
+++ b/net/rubygem-octokit/Makefile
@@ -14,7 +14,9 @@
RUN_DEPENDS= rubygem-faraday>=1<3:www/rubygem-faraday \
rubygem-sawyer>=0.9<1:www/rubygem-sawyer
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= octokit_project
NO_ARCH= yes
diff --git a/net/rubygem-octokit4/Makefile b/net/rubygem-octokit4/Makefile
--- a/net/rubygem-octokit4/Makefile
+++ b/net/rubygem-octokit4/Makefile
@@ -15,7 +15,9 @@
RUN_DEPENDS= rubygem-faraday>=1<3:www/rubygem-faraday \
rubygem-sawyer>=0.9<1:www/rubygem-sawyer
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= octokit_project
NO_ARCH= yes
diff --git a/net/rubygem-omniauth-auth0-gitlab/Makefile b/net/rubygem-omniauth-auth0-gitlab/Makefile
--- a/net/rubygem-omniauth-auth0-gitlab/Makefile
+++ b/net/rubygem-omniauth-auth0-gitlab/Makefile
@@ -14,7 +14,9 @@
RUN_DEPENDS= rubygem-omniauth-gl>=2.0<3:security/rubygem-omniauth-gl \
rubygem-omniauth-oauth2-gitlab>=1.4<2:net/rubygem-omniauth-oauth2-gitlab
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= auth0
NO_ARCH= yes
diff --git a/net/rubygem-omniauth-auth0/Makefile b/net/rubygem-omniauth-auth0/Makefile
--- a/net/rubygem-omniauth-auth0/Makefile
+++ b/net/rubygem-omniauth-auth0/Makefile
@@ -12,7 +12,9 @@
RUN_DEPENDS= rubygem-omniauth>=2.0<3:security/rubygem-omniauth \
rubygem-omniauth-oauth2>=1.4<2:net/rubygem-omniauth-oauth2
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= auth0
NO_ARCH= yes
diff --git a/net/rubygem-open-uri-cached/Makefile b/net/rubygem-open-uri-cached/Makefile
--- a/net/rubygem-open-uri-cached/Makefile
+++ b/net/rubygem-open-uri-cached/Makefile
@@ -10,7 +10,9 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= open-uri-cached_project
NO_ARCH= yes
diff --git a/net/rubygem-twitter-stream/Makefile b/net/rubygem-twitter-stream/Makefile
--- a/net/rubygem-twitter-stream/Makefile
+++ b/net/rubygem-twitter-stream/Makefile
@@ -15,7 +15,9 @@
rubygem-http_parser.rb>=0.5.1:net/rubygem-http_parser.rb \
rubygem-simple_oauth>=0.1.4:net/rubygem-simple_oauth
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= twitter-stream_project
NO_ARCH= yes
diff --git a/net/rubygem-uri-gitlab/Makefile b/net/rubygem-uri-gitlab/Makefile
--- a/net/rubygem-uri-gitlab/Makefile
+++ b/net/rubygem-uri-gitlab/Makefile
@@ -13,7 +13,9 @@
LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/BSDL
LICENSE_FILE_RUBY= ${WRKSRC}/COPYING
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= ruby-lang
NO_ARCH= yes
diff --git a/net/rubygem-uri/Makefile b/net/rubygem-uri/Makefile
--- a/net/rubygem-uri/Makefile
+++ b/net/rubygem-uri/Makefile
@@ -12,7 +12,9 @@
LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/BSDL
LICENSE_FILE_RUBY= ${WRKSRC}/COPYING
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= ruby-lang
NO_ARCH= yes
diff --git a/net/rustdesk-server/Makefile b/net/rustdesk-server/Makefile
--- a/net/rustdesk-server/Makefile
+++ b/net/rustdesk-server/Makefile
@@ -12,7 +12,7 @@
LIB_DEPENDS= libzstd.so:archivers/zstd
-USES= cargo ssl
+USES= cargo cpe ssl
USE_GITHUB= yes
GH_ACCOUNT= rustdesk
GH_PROJECT= hbb_common:common
@@ -20,6 +20,9 @@
GH_TAGNAME= 073403e:common
USE_RC_SUBR= rustdesk-hbbr rustdesk-hbbs
+CPE_VENDOR= rustdesk
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
+
USERS= rustdesk
GROUPS= rustdesk
diff --git a/net/seaweedfs/Makefile b/net/seaweedfs/Makefile
--- a/net/seaweedfs/Makefile
+++ b/net/seaweedfs/Makefile
@@ -10,7 +10,7 @@
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= go:modules
+USES= cpe go:modules
USE_RC_SUBR= seaweedfs
diff --git a/net/sing-box/Makefile b/net/sing-box/Makefile
--- a/net/sing-box/Makefile
+++ b/net/sing-box/Makefile
@@ -12,7 +12,9 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= go:modules
+USES= cpe go:modules
+
+CPE_VENDOR= sagernet
GO_MODULE= github.com/sagernet/sing-box
GO_TARGET= ./cmd/sing-box
diff --git a/net/sngrep/Makefile b/net/sngrep/Makefile
--- a/net/sngrep/Makefile
+++ b/net/sngrep/Makefile
@@ -13,7 +13,9 @@
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= cmake ncurses pkgconfig
+USES= cmake cpe ncurses pkgconfig
+
+CPE_VENDOR= irontec
TEST_TARGET= tests
diff --git a/net/sniproxy/Makefile b/net/sniproxy/Makefile
--- a/net/sniproxy/Makefile
+++ b/net/sniproxy/Makefile
@@ -14,7 +14,9 @@
libpcre2-8.so:devel/pcre2 \
libudns.so:dns/udns
-USES= autoreconf localbase pkgconfig
+USES= autoreconf cpe localbase pkgconfig
+
+CPE_VENDOR= sniproxy_project
USE_GITHUB= yes
GH_ACCOUNT= dlundquist
diff --git a/net/sofia-sip/Makefile b/net/sofia-sip/Makefile
--- a/net/sofia-sip/Makefile
+++ b/net/sofia-sip/Makefile
@@ -10,7 +10,9 @@
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= autoreconf gmake gnome libtool pathfix pkgconfig ssl
+USES= autoreconf cpe gmake gnome libtool pathfix pkgconfig ssl
+
+CPE_VENDOR= signalwire
USE_GITHUB= yes
GH_ACCOUNT= freeswitch
diff --git a/net/ssldump/Makefile b/net/ssldump/Makefile
--- a/net/ssldump/Makefile
+++ b/net/ssldump/Makefile
@@ -10,7 +10,9 @@
COMMENT= SSLv3/TLS network protocol analyzer
WWW= https://sourceforge.net/projects/ssldump/
-USES= ssl
+USES= cpe ssl
+
+CPE_VENDOR= rtfm
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-openssl=${OPENSSLBASE} \
diff --git a/net/turnserver/Makefile b/net/turnserver/Makefile
--- a/net/turnserver/Makefile
+++ b/net/turnserver/Makefile
@@ -13,12 +13,15 @@
LIB_DEPENDS= libevent.so:devel/libevent
-USES= perl5 pkgconfig shebangfix ssl
+USES= cpe perl5 pkgconfig shebangfix ssl
USE_GITHUB= yes
GH_ACCOUNT= coturn
GH_PROJECT= coturn
USE_RC_SUBR= turnserver
+CPE_VENDOR= coturn_project
+CPE_PRODUCT= coturn
+
SHEBANG_FILES= examples/scripts/restapi/shared_secret_maintainer.pl
HAS_CONFIGURE= yes
diff --git a/net/yate/Makefile b/net/yate/Makefile
--- a/net/yate/Makefile
+++ b/net/yate/Makefile
@@ -16,7 +16,7 @@
libgsm.so:audio/gsm \
libspeex.so:audio/speex
-USES= autoreconf bison gmake shebangfix
+USES= autoreconf bison cpe gmake shebangfix
USE_CSTD= gnu11
USE_GITHUB= yes
GH_ACCOUNT= yatevoip
@@ -25,6 +25,9 @@
USE_LDCONFIG= yes
USE_RC_SUBR= yate
+CPE_VENDOR= ${PORTNAME:tl}
+CPE_PRODUCT= yet_another_telephony_engine
+
SHEBANG_FILES= share/scripts/banbrutes.php \
share/scripts/leavemail.php \
share/scripts/queue_in.php \
diff --git a/net/zerotier/Makefile b/net/zerotier/Makefile
--- a/net/zerotier/Makefile
+++ b/net/zerotier/Makefile
@@ -18,9 +18,12 @@
BUILD_DEPENDS= as:devel/binutils
-USES= gmake compiler:c++14-lang
+USES= cpe gmake compiler:c++14-lang
USE_RC_SUBR= zerotier
+CPE_VENDOR= ${PORTNAME:tl}
+CPE_PRODUCT= zerotierone
+
USE_GITHUB= yes
GH_PROJECT= ZeroTierOne
diff --git a/news/sabnzbd/Makefile b/news/sabnzbd/Makefile
--- a/news/sabnzbd/Makefile
+++ b/news/sabnzbd/Makefile
@@ -64,7 +64,7 @@
${PYTHON_PKGNAMEPREFIX}werkzeug>=0:www/py-werkzeug@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xmltodict>=0:devel/py-xmltodict@${PY_FLAVOR}
-USES= python shebangfix
+USES= cpe python shebangfix
USE_PYTHON= pytest
# 13345 passed, 41 skipped, 28 deselected, 2 xfailed, 1 xpassed, 8 warnings
# Selenium has no FreeBSD driver, TestWiki needs network and extract_pot
diff --git a/print/fpdf/Makefile b/print/fpdf/Makefile
--- a/print/fpdf/Makefile
+++ b/print/fpdf/Makefile
@@ -15,7 +15,7 @@
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
FETCH_CMD= ${FETCH_BINARY} -ARr -o ${DISTDIR}/${DISTFILES}
-USES= dos2unix php tar:tgz
+USES= cpe dos2unix php tar:tgz
USE_PHP= zlib
NO_BUILD= yes
NO_ARCH= yes
diff --git a/print/pdftk/Makefile b/print/pdftk/Makefile
--- a/print/pdftk/Makefile
+++ b/print/pdftk/Makefile
@@ -16,11 +16,14 @@
BUILD_DEPENDS= ${JAVALIBDIR}/commons-lang3.jar:java/apache-commons-lang3
RUN_DEPENDS= ${JAVALIBDIR}/commons-lang3.jar:java/apache-commons-lang3
-USES= java:ant,run
+USES= cpe java:ant,run
USE_GITLAB= yes
GL_ACCOUNT= pdftk-java
GL_TAGNAME= e4292c8f1bd2580a44d3cbf3570a4505bd3a74b6
+CPE_VENDOR= pdftk-java_project
+CPE_PRODUCT= pdftk-java
+
ALL_TARGET= jar
NO_ARCH= yes
SUB_FILES= pdftk
diff --git a/print/py-fonttools/Makefile b/print/py-fonttools/Makefile
--- a/print/py-fonttools/Makefile
+++ b/print/py-fonttools/Makefile
@@ -15,7 +15,7 @@
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ufolib2>=0:print/py-ufolib2@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent cython pep517
OPTIONS_DEFINE= GRAPHITE INTERPOLATABLE LXML PLOT REPACKER SYMFONT UNICODE WOFF
diff --git a/print/py-weasyprint/Makefile b/print/py-weasyprint/Makefile
--- a/print/py-weasyprint/Makefile
+++ b/print/py-weasyprint/Makefile
@@ -23,10 +23,12 @@
${PYTHON_PKGNAMEPREFIX}pyphen>=0.9.1:textproc/py-pyphen@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tinycss2>=1.5.1:textproc/py-tinycss2@${PY_FLAVOR}
-USES= gnome python
+USES= cpe gnome python
USE_PYTHON= autoplist pep517
USE_GNOME= gdkpixbuf pango
+CPE_VENDOR= kozea
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/science/dlib-cpp/Makefile b/science/dlib-cpp/Makefile
--- a/science/dlib-cpp/Makefile
+++ b/science/dlib-cpp/Makefile
@@ -14,7 +14,7 @@
LIB_DEPENDS= libpng.so:graphics/png \
libgif.so:graphics/giflib
-USES= cmake compiler:c++11-lang jpeg pkgconfig sqlite tar:bzip2
+USES= cmake compiler:c++11-lang cpe jpeg pkgconfig sqlite tar:bzip2
USE_LDCONFIG= yes
USE_GITHUB= yes
diff --git a/science/hdf5/Makefile b/science/hdf5/Makefile
--- a/science/hdf5/Makefile
+++ b/science/hdf5/Makefile
@@ -14,7 +14,7 @@
LICENSE= BSD4CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= cmake:testing compiler:c11 localbase perl5
+USES= cmake:testing compiler:c11 cpe localbase perl5
USE_PERL5= build
CFLAGS+= -D__LONG_LONG_SUPPORTED
diff --git a/science/netcdf/Makefile b/science/netcdf/Makefile
--- a/science/netcdf/Makefile
+++ b/science/netcdf/Makefile
@@ -17,7 +17,9 @@
libhdf5.so:science/hdf5 \
libzstd.so:archivers/zstd
-USES= gmake libtool localbase ncurses pkgconfig:run
+USES= cpe gmake libtool localbase ncurses pkgconfig:run
+
+CPE_VENDOR= unidata
CONFIGURE_ARGS= --disable-filter-testing --disable-libxml2 \
--enable-byterange --enable-curl --enable-dap --enable-hdf5 --enable-logging
diff --git a/science/openmodelica/Makefile b/science/openmodelica/Makefile
--- a/science/openmodelica/Makefile
+++ b/science/openmodelica/Makefile
@@ -38,7 +38,7 @@
RUN_DEPENDS= bash:shells/bash \
gmake:devel/gmake
-USES= cmake compiler:c++14-lang iconv fortran gettext-runtime gl \
+USES= cmake compiler:c++14-lang cpe iconv fortran gettext-runtime gl \
gnome blaslapack localbase:ldflags qt:6 readline pkgconfig \
python:build shebangfix java
USE_QT= 5compat base declarative positioning webchannel webengine svg tools:build
@@ -46,6 +46,9 @@
USE_GNOME= libxml2
USE_LDCONFIG= ${PREFIX}/lib/omc ${PREFIX}/lib/omc/OMSimulator ${PREFIX}/lib/omc/cpp ${PREFIX}/lib/omc/ffi # https://github.com/OpenModelica/OpenModelica/issues/9925
+CPE_VENDOR= ${PORTNAME:tl}
+CPE_PRODUCT= omcompiler
+
USE_GITHUB= yes
GH_ACCOUNT= OpenModelica
GH_PROJECT= OpenModelica
diff --git a/science/orthanc/Makefile b/science/orthanc/Makefile
--- a/science/orthanc/Makefile
+++ b/science/orthanc/Makefile
@@ -25,7 +25,9 @@
libpugixml.so:textproc/pugixml \
libuuid.so:misc/libuuid
-USES= cmake gnome iconv jpeg lua python:build sqlite ssl
+USES= cmake cpe gnome iconv jpeg lua python:build sqlite ssl
+
+CPE_VENDOR= orthanc-server
USE_RC_SUBR= orthanc
diff --git a/science/py-pydicom/Makefile b/science/py-pydicom/Makefile
--- a/science/py-pydicom/Makefile
+++ b/science/py-pydicom/Makefile
@@ -12,7 +12,7 @@
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2<4:devel/py-flit-core@${PY_FLAVOR}
-USES= python shebangfix
+USES= cpe python shebangfix
USE_GITHUB= yes
USE_PYTHON= autoplist pep517
NO_ARCH= yes
diff --git a/science/py-pymatgen/Makefile b/science/py-pymatgen/Makefile
--- a/science/py-pymatgen/Makefile
+++ b/science/py-pymatgen/Makefile
@@ -33,9 +33,11 @@
${PYTHON_PKGNAMEPREFIX}seekpath>=2.0.1:science/py-seekpath@${PY_FLAVOR} # optional dependencies
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pybtex>0:textproc/py-pybtex@${PY_FLAVOR}
-USES= compiler:c++11-lang python
+USES= compiler:c++11-lang cpe python
USE_PYTHON= pep517 cython concurrent autoplist pytest
+CPE_VENDOR= materialsvirtuallab
+
USE_GITHUB= yes
GH_ACCOUNT= materialsproject
diff --git a/science/py-qiskit/Makefile b/science/py-qiskit/Makefile
--- a/science/py-qiskit/Makefile
+++ b/science/py-qiskit/Makefile
@@ -24,9 +24,11 @@
${PYTHON_PKGNAMEPREFIX}dill>=0.3:devel/py-dill@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}stevedore>=0:devel/py-stevedore@${PY_FLAVOR}
-USES= cargo python
+USES= cargo cpe python
USE_PYTHON= autoplist pep517 pytest
+CPE_VENDOR= ibm
+
USE_GITHUB= yes
GH_ACCOUNT= Qiskit
diff --git a/science/py-scikit-learn/Makefile b/science/py-scikit-learn/Makefile
--- a/science/py-scikit-learn/Makefile
+++ b/science/py-scikit-learn/Makefile
@@ -21,7 +21,7 @@
RUN_DEPENDS:= ${BUILD_DEPENDS}
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}meson-python>=0.17.1:devel/meson-python@${PY_FLAVOR}
-USES= fortran python localbase shebangfix
+USES= cpe fortran python localbase shebangfix
USE_PYTHON= autoplist cython pep517 pytest
TEST_ARGS= sklearn
diff --git a/science/py-tensorflow/Makefile b/science/py-tensorflow/Makefile
--- a/science/py-tensorflow/Makefile
+++ b/science/py-tensorflow/Makefile
@@ -57,7 +57,7 @@
${PYTHON_PKGNAMEPREFIX}ml-dtypes>=0.3.1:math/py-ml-dtypes@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}opt-einsum>=3.3.0:math/py-opt-einsum@${PY_FLAVOR}
-USES= java jpeg perl5 python shebangfix ssl
+USES= cpe java jpeg perl5 python shebangfix ssl
JAVA_VERSION= 21
JAVA_VENDOR= openjdk
USE_CXXSTD= c++17
@@ -65,6 +65,8 @@
USE_PERL5= build
USE_PYTHON= cython distutils
+CPE_VENDOR= google
+
SHEBANG_GLOB= *.py
BINARY_ALIAS= python3=${PYTHON_CMD}
diff --git a/security/acme.sh/Makefile b/security/acme.sh/Makefile
--- a/security/acme.sh/Makefile
+++ b/security/acme.sh/Makefile
@@ -9,9 +9,11 @@
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE.md
-USES= shebangfix
+USES= cpe shebangfix
SHEBANG_FILES= deploy/synology_dsm.sh
+CPE_VENDOR= acme.sh_project
+
USE_GITHUB= yes
GH_ACCOUNT= acmesh-official
diff --git a/security/afl++/Makefile b/security/afl++/Makefile
--- a/security/afl++/Makefile
+++ b/security/afl++/Makefile
@@ -21,7 +21,12 @@
FLAVORS= llvm # gcc
FLAVOR?= ${FLAVORS:[1]}
-USES= gmake shebangfix tar:tgz
+USES= cpe gmake shebangfix tar:tgz
+
+CPE_VENDOR= afl++_project
+CPE_PRODUCT= afl++
+CPE_VERSION= ${DISTVERSION:tl}
+
.if ${FLAVOR} == llvm
USES+= llvm:build,run
.endif
diff --git a/security/aws-iam-authenticator/Makefile b/security/aws-iam-authenticator/Makefile
--- a/security/aws-iam-authenticator/Makefile
+++ b/security/aws-iam-authenticator/Makefile
@@ -10,7 +10,9 @@
LICENSE= APACHE20
-USES= go:modules
+USES= cpe go:modules
+
+CPE_VENDOR= kubernetes
# Exit "workspace mode" so "go mod vendor" can be used
MAKE_ENV= GOWORK=off
diff --git a/security/aws-lc/Makefile b/security/aws-lc/Makefile
--- a/security/aws-lc/Makefile
+++ b/security/aws-lc/Makefile
@@ -17,7 +17,10 @@
libunwind>=0:devel/libunwind \
pkgconf>=0:devel/pkgconf
-USES= cmake:testing
+USES= cmake:testing cpe
+
+CPE_VENDOR= amazon
+CPE_PRODUCT= aws_libcrypto
CMAKE_OFF= BUILD_TESTING \
DISABLE_CPU_JITTER_ENTROPY \
diff --git a/security/binwalk/Makefile b/security/binwalk/Makefile
--- a/security/binwalk/Makefile
+++ b/security/binwalk/Makefile
@@ -13,11 +13,13 @@
# yeslogic-fontconfig-sys needs this
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig
-USES= cargo pkgconfig
+USES= cargo cpe pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= ReFirmLabs
PLIST_FILES= bin/binwalk
+CPE_VENDOR= microsoft
+
CARGO_CRATES= adler-1.0.2 \
adler2-2.0.0 \
aho-corasick-1.1.3 \
diff --git a/security/cowrie/Makefile b/security/cowrie/Makefile
--- a/security/cowrie/Makefile
+++ b/security/cowrie/Makefile
@@ -26,7 +26,7 @@
${PYTHON_PKGNAMEPREFIX}treq>=22.2.0:www/py-treq@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}twisted>=25.5.0:devel/py-twisted@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_GITHUB= yes
USE_PYTHON= pep517 autoplist noflavors
diff --git a/security/easy-rsa/Makefile b/security/easy-rsa/Makefile
--- a/security/easy-rsa/Makefile
+++ b/security/easy-rsa/Makefile
@@ -13,7 +13,9 @@
LICENSE= GPLv2
-USES= tar:tgz
+USES= cpe tar:tgz
+
+CPE_VENDOR= openvpn
PATCH_STRIP= -p1
diff --git a/security/gokey/Makefile b/security/gokey/Makefile
--- a/security/gokey/Makefile
+++ b/security/gokey/Makefile
@@ -13,7 +13,9 @@
BUILD_DEPENDS= ${LOCALBASE}/bin/go-md2man:textproc/go-md2man
-USES= go:modules
+USES= cpe go:modules
+
+CPE_VENDOR= cloudflare
GO_MODULE= github.com/cloudflare/gokey
GO_TARGET= ./cmd/gokey
diff --git a/security/gost-engine/Makefile b/security/gost-engine/Makefile
--- a/security/gost-engine/Makefile
+++ b/security/gost-engine/Makefile
@@ -11,11 +11,13 @@
FLAVORS= base openssl30
-USES= cmake ssl
+USES= cmake cpe ssl
USE_GITHUB= yes
GH_ACCOUNT= gost-engine
GH_PROJECT= engine
+CPE_VENDOR= gost-engine_project
+
openssl30_PKGNAMESUFFIX= -${FLAVOR}
BROKEN_SSL= libressl libressl-devel openssl35 openssl36
diff --git a/security/gsa/Makefile b/security/gsa/Makefile
--- a/security/gsa/Makefile
+++ b/security/gsa/Makefile
@@ -14,7 +14,10 @@
BUILD_DEPENDS= npm-node24>0:www/npm-node24
RUN_DEPENDS= ${LOCALBASE}/sbin/gsad:security/gsad
-USES= nodejs:24,build
+USES= cpe nodejs:24,build
+
+CPE_VENDOR= greenbone
+CPE_PRODUCT= greenbone_security_assistant
USE_GITHUB= yes
GH_ACCOUNT= greenbone
diff --git a/security/gsasl/Makefile b/security/gsasl/Makefile
--- a/security/gsasl/Makefile
+++ b/security/gsasl/Makefile
@@ -12,7 +12,10 @@
LIB_DEPENDS= libgsasl.so:security/libgsasl
-USES= charsetfix libtool localbase pkgconfig readline
+USES= charsetfix cpe libtool localbase pkgconfig readline
+
+CPE_VENDOR= gnu
+CPE_PRODUCT= gnu_sasl
CONFIGURE_ARGS= --disable-rpath \
--without-gssapi-impl
diff --git a/security/hashcat/Makefile b/security/hashcat/Makefile
--- a/security/hashcat/Makefile
+++ b/security/hashcat/Makefile
@@ -19,7 +19,7 @@
rustc:lang/${RUST_DEFAULT}
LIB_DEPENDS= libiconv.so:converters/libiconv
-USES= cargo compiler:c++11-lang gmake iconv localbase \
+USES= cargo compiler:c++11-lang cpe gmake iconv localbase \
python:3.12+,build shebangfix
USE_GITHUB= yes
diff --git a/security/headscale/Makefile b/security/headscale/Makefile
--- a/security/headscale/Makefile
+++ b/security/headscale/Makefile
@@ -18,9 +18,11 @@
RUN_DEPENDS= ca_root_nss>0:security/ca_root_nss
-USES= go:modules
+USES= cpe go:modules
USE_RC_SUBR= ${PORTNAME}
+CPE_VENDOR= juanfont
+
GO_MODULE= github.com/juanfont/headscale
GO_TARGET= ./cmd/headscale
diff --git a/security/i2pd/Makefile b/security/i2pd/Makefile
--- a/security/i2pd/Makefile
+++ b/security/i2pd/Makefile
@@ -13,7 +13,7 @@
BUILD_DEPENDS= boost-libs>=1.72.0_5:devel/boost-libs
LIB_DEPENDS= libboost_thread.so:devel/boost-libs
-USES= cmake:insource compiler:c++17-lang ssl
+USES= cmake:insource compiler:c++17-lang cpe ssl
USE_GITHUB= yes
GH_ACCOUNT= PurpleI2P
USE_RC_SUBR= ${PORTNAME}
diff --git a/security/interactsh/Makefile b/security/interactsh/Makefile
--- a/security/interactsh/Makefile
+++ b/security/interactsh/Makefile
@@ -10,7 +10,9 @@
LICENSE= MIT
-USES= go:modules
+USES= cpe go:modules
+
+CPE_VENDOR= projectdiscovery
GO_MODULE= github.com/projectdiscovery/${PORTNAME}
GO_TARGET= ./cmd/${PORTNAME}-server ./cmd/${PORTNAME}-client
diff --git a/security/keepassxc/Makefile b/security/keepassxc/Makefile
--- a/security/keepassxc/Makefile
+++ b/security/keepassxc/Makefile
@@ -22,7 +22,7 @@
libbotan-3.so:security/botan3 \
libqrencode.so:graphics/libqrencode
-USES= cmake compiler:c++17-lang desktop-file-utils minizip \
+USES= cmake compiler:c++17-lang cpe desktop-file-utils minizip \
pkgconfig qt:5 readline shared-mime-info tar:xz xorg
USE_QT= concurrent core dbus gui network svg wayland widgets x11extras \
diff --git a/security/keepassxc276/Makefile b/security/keepassxc276/Makefile
--- a/security/keepassxc276/Makefile
+++ b/security/keepassxc276/Makefile
@@ -27,7 +27,7 @@
libqrencode.so:graphics/libqrencode \
libbotan-3.so:security/botan3
-USES= cmake compiler:c++17-lang desktop-file-utils pkgconfig qt:5 \
+USES= cmake compiler:c++17-lang cpe desktop-file-utils pkgconfig qt:5 \
readline shared-mime-info tar:xz xorg
USE_QT= concurrent core dbus gui network svg widgets buildtools:build \
linguisttools:build qmake:build testlib:build x11extras
diff --git a/security/libargon2/Makefile b/security/libargon2/Makefile
--- a/security/libargon2/Makefile
+++ b/security/libargon2/Makefile
@@ -10,9 +10,12 @@
LICENSE= CC0-1.0
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= gmake
+USES= cpe gmake
USE_LDCONFIG= yes
+CPE_VENDOR= argon2_project
+CPE_PRODUCT= argon2
+
USE_GITHUB= yes
GH_ACCOUNT= P-H-C
GH_PROJECT= phc-winner-argon2
diff --git a/security/libgsasl/Makefile b/security/libgsasl/Makefile
--- a/security/libgsasl/Makefile
+++ b/security/libgsasl/Makefile
@@ -16,7 +16,10 @@
libidn.so:dns/libidn \
libntlm.so:security/libntlm
-USES= charsetfix libtool pkgconfig ssl
+USES= charsetfix cpe libtool pkgconfig ssl
+
+CPE_VENDOR= gnu
+CPE_PRODUCT= gnu_sasl
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
diff --git a/security/liboqs/Makefile b/security/liboqs/Makefile
--- a/security/liboqs/Makefile
+++ b/security/liboqs/Makefile
@@ -14,9 +14,11 @@
${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} \
bash:shells/bash
-USES= cmake:testing python:test shebangfix ssl
+USES= cmake:testing cpe python:test shebangfix ssl
USE_LDCONFIG= yes
+CPE_VENDOR= openquantumsafe
+
USE_GITHUB= yes
GH_ACCOUNT= open-quantum-safe
diff --git a/security/mbedtls3/Makefile b/security/mbedtls3/Makefile
--- a/security/mbedtls3/Makefile
+++ b/security/mbedtls3/Makefile
@@ -12,9 +12,12 @@
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= cmake:testing python:build,test shebangfix tar:bz2
+USES= cmake:testing cpe python:build,test shebangfix tar:bz2
USE_LDCONFIG= yes
+CPE_VENDOR= trustedfirmware
+CPE_PRODUCT= mbed_tls
+
SHEBANG_FILES= scripts/*.py tests/scripts/*.py
CMAKE_ON= CMAKE_BUILD_RPATH_USE_ORIGIN \
diff --git a/security/mbedtls4/Makefile b/security/mbedtls4/Makefile
--- a/security/mbedtls4/Makefile
+++ b/security/mbedtls4/Makefile
@@ -12,9 +12,12 @@
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= cmake:testing python:build,test shebangfix tar:bz2
+USES= cmake:testing cpe python:build,test shebangfix tar:bz2
USE_LDCONFIG= yes
+CPE_VENDOR= trustedfirmware
+CPE_PRODUCT= mbed_tls
+
SHEBANG_FILES= scripts/*.py tests/scripts/*.py
CMAKE_ON= CMAKE_BUILD_RPATH_USE_ORIGIN \
diff --git a/security/nuclei/Makefile b/security/nuclei/Makefile
--- a/security/nuclei/Makefile
+++ b/security/nuclei/Makefile
@@ -10,9 +10,11 @@
LICENSE= MIT
-USES= go:modules
+USES= cpe go:modules
GO_MODULE= github.com/projectdiscovery/nuclei/v3
+CPE_VENDOR= projectdiscovery
+
GO_TARGET= ./cmd/${PORTNAME}
PLIST_FILES= bin/${PORTNAME}
diff --git a/security/openbao/Makefile b/security/openbao/Makefile
--- a/security/openbao/Makefile
+++ b/security/openbao/Makefile
@@ -19,7 +19,7 @@
LICENSE= MPL20
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= go:modules
+USES= cpe go:modules
USE_GITHUB= yes
USE_RC_SUBR= ${PORTNAME}
diff --git a/security/opencryptoki/Makefile b/security/opencryptoki/Makefile
--- a/security/opencryptoki/Makefile
+++ b/security/opencryptoki/Makefile
@@ -16,7 +16,7 @@
LIB_DEPENDS= libtspi.so:security/trousers \
libepoll-shim.so:devel/libepoll-shim
-USES= autoreconf bison gmake ldap libtool localbase ssl tar:tgz
+USES= autoreconf bison cpe gmake ldap libtool localbase ssl tar:tgz
USE_LDCONFIG= ${PREFIX}/lib/opencryptoki
USE_GITHUB= yes
GNU_CONFIGURE= yes
@@ -45,6 +45,8 @@
USERS= _pkcs11
GROUPS= _pkcs11
+CPE_VENDOR= opencryptoki_project
+
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD
diff --git a/security/opendoas/Makefile b/security/opendoas/Makefile
--- a/security/opendoas/Makefile
+++ b/security/opendoas/Makefile
@@ -20,11 +20,13 @@
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= auto-accept dist-mirror pkg-mirror
-USES= gmake
+USES= cpe gmake
USE_GITHUB= yes
GH_ACCOUNT= Duncaen
GH_PROJECT= OpenDoas
+CPE_VENDOR= opendoas_project
+
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --sysconfdir=${LOCALBASE}/etc \
--with-timestamp \
diff --git a/security/openssl-pkcs11provider/Makefile b/security/openssl-pkcs11provider/Makefile
--- a/security/openssl-pkcs11provider/Makefile
+++ b/security/openssl-pkcs11provider/Makefile
@@ -11,9 +11,12 @@
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSES/Apache-2.0.txt
-USES= meson ssl
+USES= cpe meson ssl
USE_LDCONFIG= yes
+CPE_VENDOR= latchset
+CPE_PRODUCT= pkcs11-provider
+
TEST_ENVIRONMENT= OPENSSL_INSTALL=${LOCALBASE}/bin/openssl
CFLAGS+= -I${OPENSSLINC}
diff --git a/security/opkssh/Makefile b/security/opkssh/Makefile
--- a/security/opkssh/Makefile
+++ b/security/opkssh/Makefile
@@ -14,11 +14,13 @@
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= go:modules
+USES= cpe go:modules
USE_GITHUB= yes
GH_ACCOUNT= openpubkey
GO_BUILDFLAGS= -ldflags "-X main.Version=${DISTVERSIONPREFIX}${DISTVERSION}"
+CPE_VENDOR= openpubkey
+
SUB_FILES= pkg-message
SUB_LIST= GROUP=${OPKSSH_GROUP} \
USER=${OPKSSH_USER}
diff --git a/security/osslsigncode/Makefile b/security/osslsigncode/Makefile
--- a/security/osslsigncode/Makefile
+++ b/security/osslsigncode/Makefile
@@ -9,10 +9,12 @@
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING.txt
-USES= cmake pkgconfig python ssl
+USES= cmake cpe pkgconfig python ssl
USE_GITHUB= yes
GH_ACCOUNT= mtrojnar
+CPE_VENDOR= osslsigncode_project
+
PLIST_FILES= bin/osslsigncode \
share/bash-completion/completions/osslsigncode.bash
diff --git a/security/p5-Net-SAML2/Makefile b/security/p5-Net-SAML2/Makefile
--- a/security/p5-Net-SAML2/Makefile
+++ b/security/p5-Net-SAML2/Makefile
@@ -52,9 +52,12 @@
p5-Test-Pod>=0:devel/p5-Test-Pod \
p5-Test-Pod-Coverage>=0:devel/p5-Test-Pod-Coverage
-USES= perl5
+USES= cpe perl5
USE_PERL5= configure
+CPE_VENDOR= timlegge
+CPE_PRODUCT= net::saml2
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/security/pam_u2f/Makefile b/security/pam_u2f/Makefile
--- a/security/pam_u2f/Makefile
+++ b/security/pam_u2f/Makefile
@@ -13,7 +13,7 @@
BUILD_DEPENDS= a2x:textproc/asciidoc
LIB_DEPENDS= libfido2.so:security/libfido2
-USES= autoreconf libtool pkgconfig ssl
+USES= autoreconf cpe libtool pkgconfig ssl
USE_GITHUB= yes
GH_ACCOUNT= Yubico
GH_PROJECT= pam-u2f
@@ -21,6 +21,9 @@
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS= --with-pam-dir=${PREFIX}/lib
+CPE_VENDOR= yubico
+CPE_PRODUCT= ${PORTNAME:tl:S/_/-/g}
+
PLIST_FILES= bin/pamu2fcfg \
lib/pam_u2f.so \
share/man/man1/pamu2fcfg.1.gz \
diff --git a/security/pdfcrack/Makefile b/security/pdfcrack/Makefile
--- a/security/pdfcrack/Makefile
+++ b/security/pdfcrack/Makefile
@@ -10,6 +10,10 @@
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
+USES= cpe
+
+CPE_VENDOR= pdfcrack_project
+
ALL_TARGET= pdfcrack pdfreader
PLIST_FILES= bin/pdfcrack bin/pdfreader share/man/man1/pdfcrack.1.gz
diff --git a/security/py-authlib/Makefile b/security/py-authlib/Makefile
--- a/security/py-authlib/Makefile
+++ b/security/py-authlib/Makefile
@@ -16,7 +16,7 @@
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}joserfc>=1.6.1:security/py-joserfc@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent cryptography pep517
NO_ARCH= yes
diff --git a/security/py-badkeys/Makefile b/security/py-badkeys/Makefile
--- a/security/py-badkeys/Makefile
+++ b/security/py-badkeys/Makefile
@@ -16,7 +16,7 @@
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gmpy2>0:math/py-gmpy2@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist cryptography pep517
NO_ARCH= yes
diff --git a/security/py-ecdsa/Makefile b/security/py-ecdsa/Makefile
--- a/security/py-ecdsa/Makefile
+++ b/security/py-ecdsa/Makefile
@@ -16,9 +16,11 @@
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517 pytest
+CPE_VENDOR= tlsfuzzer
+
NO_ARCH= yes
OPTIONS_RADIO= FASTER
diff --git a/security/py-flask-httpauth/Makefile b/security/py-flask-httpauth/Makefile
--- a/security/py-flask-httpauth/Makefile
+++ b/security/py-flask-httpauth/Makefile
@@ -16,7 +16,9 @@
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flask>0:www/py-flask@${PY_FLAVOR}
NO_ARCH= yes
-USES= python
+USES= cpe python
USE_PYTHON= autoplist pep517
+CPE_VENDOR= miguelgrinberg
+
.include <bsd.port.mk>
diff --git a/security/py-joserfc/Makefile b/security/py-joserfc/Makefile
--- a/security/py-joserfc/Makefile
+++ b/security/py-joserfc/Makefile
@@ -15,9 +15,11 @@
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent cryptography pep517
+CPE_VENDOR= hsiaoming
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/security/py-jwcrypto/Makefile b/security/py-jwcrypto/Makefile
--- a/security/py-jwcrypto/Makefile
+++ b/security/py-jwcrypto/Makefile
@@ -15,9 +15,11 @@
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.5.0:devel/py-typing-extensions@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent cryptography pep517
+CPE_VENDOR= latchset
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/security/py-kerberos/Makefile b/security/py-kerberos/Makefile
--- a/security/py-kerberos/Makefile
+++ b/security/py-kerberos/Makefile
@@ -19,9 +19,12 @@
GSSAPI_HEIMDAL_USES= gssapi:heimdal
GSSAPI_MIT_USES= gssapi:mit
-USES= python
+USES= cpe python
USE_PYTHON= distutils autoplist
+CPE_VENDOR= apple
+CPE_PRODUCT= pykerberos
+
GSSAPI_BASE_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src_kerberosbasic.h \
${PATCHDIR}/extra-patch-src_kerberosgss.c \
${PATCHDIR}/extra-patch-src_kerberosgss.h \
diff --git a/security/py-oauthlib/Makefile b/security/py-oauthlib/Makefile
--- a/security/py-oauthlib/Makefile
+++ b/security/py-oauthlib/Makefile
@@ -15,9 +15,11 @@
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov>=2.6:devel/py-pytest-cov@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517 pytest
+CPE_VENDOR= oauthlib_project
+
NO_ARCH= yes
OPTIONS_DEFINE= RSA SIGNALS SIGNEDTOKEN
diff --git a/security/py-pysrp/Makefile b/security/py-pysrp/Makefile
--- a/security/py-pysrp/Makefile
+++ b/security/py-pysrp/Makefile
@@ -12,11 +12,13 @@
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>1.16.0:devel/py-six@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_GITHUB= yes
GH_ACCOUNT= cocagne
USE_PYTHON= autoplist concurrent distutils
+CPE_VENDOR= pysrp_project
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/security/py-python-jose/Makefile b/security/py-python-jose/Makefile
--- a/security/py-python-jose/Makefile
+++ b/security/py-python-jose/Makefile
@@ -19,9 +19,11 @@
${PYTHON_PKGNAMEPREFIX}pyasn1>=0.5.0:devel/py-pyasn1@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}rsa>=4.0<5.0:security/py-rsa@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= python-jose_project
+
NO_ARCH= yes
OPTIONS_DEFINE= CRYPTOGRAPHY PYCRYPTODOME
diff --git a/security/py-requests-kerberos/Makefile b/security/py-requests-kerberos/Makefile
--- a/security/py-requests-kerberos/Makefile
+++ b/security/py-requests-kerberos/Makefile
@@ -16,9 +16,11 @@
${PYTHON_PKGNAMEPREFIX}kerberos>1.1.1:security/py-kerberos@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyspnego>0:security/py-pyspnego@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= distutils autoplist
+CPE_VENDOR= requests-kerberos_project
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/security/py-tlslite-ng/Makefile b/security/py-tlslite-ng/Makefile
--- a/security/py-tlslite-ng/Makefile
+++ b/security/py-tlslite-ng/Makefile
@@ -17,9 +17,11 @@
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ecdsa>=0.18.0:security/py-ecdsa@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= tlslite-ng_project
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/security/rnp/Makefile b/security/rnp/Makefile
--- a/security/rnp/Makefile
+++ b/security/rnp/Makefile
@@ -22,10 +22,12 @@
TEST_DEPENDS= googletest>0:devel/googletest \
gpgme>0:security/gpgme
-USES= cmake:testing compiler:c++20-lang pathfix pkgconfig \
+USES= cmake:testing compiler:c++20-lang cpe pathfix pkgconfig \
python:env,test shebangfix
PATHFIX_WRKSRC= ${WRKSRC}/src/lib
+CPE_VENDOR= ribose
+
USE_LDCONFIG= yes
SHEBANG_FILES= src/tests/cli_perf.py src/tests/cli_tests.py \
diff --git a/security/rubygem-bcrypt/Makefile b/security/rubygem-bcrypt/Makefile
--- a/security/rubygem-bcrypt/Makefile
+++ b/security/rubygem-bcrypt/Makefile
@@ -10,6 +10,9 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= bcrypt-ruby_project
+CPE_PRODUCT= bcrypt-ruby
.include <bsd.port.mk>
diff --git a/security/rubygem-devise-two-factor-rails-gitlab/Makefile b/security/rubygem-devise-two-factor-rails-gitlab/Makefile
--- a/security/rubygem-devise-two-factor-rails-gitlab/Makefile
+++ b/security/rubygem-devise-two-factor-rails-gitlab/Makefile
@@ -16,7 +16,9 @@
rubygem-railties-gitlab>=7.2<8.2:www/rubygem-railties-gitlab \
rubygem-rotp>=6.0<7:devel/rubygem-rotp
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= tinfoilsecurity
NO_ARCH= yes
diff --git a/security/rubygem-devise-two-factor-rails5/Makefile b/security/rubygem-devise-two-factor-rails5/Makefile
--- a/security/rubygem-devise-two-factor-rails5/Makefile
+++ b/security/rubygem-devise-two-factor-rails5/Makefile
@@ -17,7 +17,9 @@
rubygem-railties5>=0<7.1:www/rubygem-railties5 \
rubygem-rotp>=6.0<7:devel/rubygem-rotp
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= tinfoilsecurity
NO_ARCH= yes
diff --git a/security/rubygem-devise-two-factor-rails70/Makefile b/security/rubygem-devise-two-factor-rails70/Makefile
--- a/security/rubygem-devise-two-factor-rails70/Makefile
+++ b/security/rubygem-devise-two-factor-rails70/Makefile
@@ -16,7 +16,9 @@
rubygem-railties70>=7.0<8.2:www/rubygem-railties70 \
rubygem-rotp>=6.0<7:devel/rubygem-rotp
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= tinfoilsecurity
NO_ARCH= yes
diff --git a/security/rubygem-devise-two-factor/Makefile b/security/rubygem-devise-two-factor/Makefile
--- a/security/rubygem-devise-two-factor/Makefile
+++ b/security/rubygem-devise-two-factor/Makefile
@@ -15,7 +15,9 @@
rubygem-railties81>=7.0<8.2:www/rubygem-railties81 \
rubygem-rotp>=6.0<7:devel/rubygem-rotp
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= tinfoilsecurity
NO_ARCH= yes
diff --git a/security/rubygem-net-ssh-gitlab/Makefile b/security/rubygem-net-ssh-gitlab/Makefile
--- a/security/rubygem-net-ssh-gitlab/Makefile
+++ b/security/rubygem-net-ssh-gitlab/Makefile
@@ -13,7 +13,7 @@
RUN_DEPENDS= rubygem-logger-gitlab>=0:devel/rubygem-logger-gitlab
-USES= gem shebangfix
+USES= cpe gem shebangfix
NO_ARCH= yes
diff --git a/security/rubygem-net-ssh/Makefile b/security/rubygem-net-ssh/Makefile
--- a/security/rubygem-net-ssh/Makefile
+++ b/security/rubygem-net-ssh/Makefile
@@ -11,7 +11,7 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USES= gem shebangfix
+USES= cpe gem shebangfix
NO_ARCH= yes
diff --git a/security/rubygem-net-ssh5/Makefile b/security/rubygem-net-ssh5/Makefile
--- a/security/rubygem-net-ssh5/Makefile
+++ b/security/rubygem-net-ssh5/Makefile
@@ -12,7 +12,7 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USES= gem shebangfix
+USES= cpe gem shebangfix
OPTIONS_DEFINE= PROMPT_PASSPHRASES
OPTIONS_DEFAULT=PROMPT_PASSPHRASES
diff --git a/security/rubygem-net-ssh6/Makefile b/security/rubygem-net-ssh6/Makefile
--- a/security/rubygem-net-ssh6/Makefile
+++ b/security/rubygem-net-ssh6/Makefile
@@ -11,7 +11,7 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USES= gem shebangfix
+USES= cpe gem shebangfix
NO_ARCH= yes
diff --git a/security/rubygem-omniauth-saml-gitlab/Makefile b/security/rubygem-omniauth-saml-gitlab/Makefile
--- a/security/rubygem-omniauth-saml-gitlab/Makefile
+++ b/security/rubygem-omniauth-saml-gitlab/Makefile
@@ -14,7 +14,10 @@
RUN_DEPENDS= rubygem-omniauth-gl>=2.1<3:security/rubygem-omniauth-gl \
rubygem-ruby-saml-gitlab>=1.18<2:security/rubygem-ruby-saml-gitlab
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= omniauth
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
NO_ARCH= yes
diff --git a/security/rubygem-omniauth-saml/Makefile b/security/rubygem-omniauth-saml/Makefile
--- a/security/rubygem-omniauth-saml/Makefile
+++ b/security/rubygem-omniauth-saml/Makefile
@@ -13,7 +13,10 @@
RUN_DEPENDS= rubygem-omniauth>=2.1<3:security/rubygem-omniauth \
rubygem-ruby-saml>=1.18<2:security/rubygem-ruby-saml
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= omniauth
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
NO_ARCH= yes
diff --git a/security/rubygem-omniauth-saml1/Makefile b/security/rubygem-omniauth-saml1/Makefile
--- a/security/rubygem-omniauth-saml1/Makefile
+++ b/security/rubygem-omniauth-saml1/Makefile
@@ -14,7 +14,10 @@
RUN_DEPENDS= rubygem-omniauth1>=1.3.2:security/rubygem-omniauth1 \
rubygem-ruby-saml>=1.9<2:security/rubygem-ruby-saml
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= omniauth
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
NO_ARCH= yes
diff --git a/security/rubygem-ruby-saml-gitlab/Makefile b/security/rubygem-ruby-saml-gitlab/Makefile
--- a/security/rubygem-ruby-saml-gitlab/Makefile
+++ b/security/rubygem-ruby-saml-gitlab/Makefile
@@ -15,7 +15,9 @@
RUN_DEPENDS= rubygem-nokogiri>=1.13.10:textproc/rubygem-nokogiri \
rubygem-rexml>=0:textproc/rubygem-rexml
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= onelogin
NO_ARCH= yes
diff --git a/security/rubygem-ruby-saml/Makefile b/security/rubygem-ruby-saml/Makefile
--- a/security/rubygem-ruby-saml/Makefile
+++ b/security/rubygem-ruby-saml/Makefile
@@ -14,7 +14,9 @@
RUN_DEPENDS= rubygem-nokogiri>=1.13.10:textproc/rubygem-nokogiri \
rubygem-rexml>=0:textproc/rubygem-rexml
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= onelogin
NO_ARCH= yes
diff --git a/security/snuffleupagus/Makefile b/security/snuffleupagus/Makefile
--- a/security/snuffleupagus/Makefile
+++ b/security/snuffleupagus/Makefile
@@ -13,11 +13,13 @@
LIB_DEPENDS= libpcre2-8.so:devel/pcre2
-USES= localbase:ldflags php:ext
+USES= cpe localbase:ldflags php:ext
USE_GITHUB= yes
GH_ACCOUNT= jvoisin
USE_PHP= session:build
+CPE_VENDOR= jvoisin
+
CONFIGURE_ARGS= --enable-snuffleupagus
TEST_TARGET= test
diff --git a/security/sudo-rs/Makefile b/security/sudo-rs/Makefile
--- a/security/sudo-rs/Makefile
+++ b/security/sudo-rs/Makefile
@@ -13,10 +13,13 @@
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT
-USES= cargo
+USES= cargo cpe
USE_GITHUB= yes
GH_ACCOUNT= trifectatechfoundation
+CPE_VENDOR= trifectatech
+CPE_PRODUCT= sudo
+
FLAVORS= default coexist
FLAVOR?= ${FLAVORS:[1]}
diff --git a/security/syft/Makefile b/security/syft/Makefile
--- a/security/syft/Makefile
+++ b/security/syft/Makefile
@@ -15,11 +15,13 @@
GO_WRKSRC= ${WRKSRC}
-USES= go:modules
+USES= cpe go:modules
USE_GITHUB= yes
GH_ACCOUNT= anchore
USE_GITLAB= nodefault
+CPE_VENDOR= anchore
+
GO_TARGET= ./cmd/syft
GO_BUILDFLAGS= -ldflags="-s -w -X main.version=${DISTVERSION}"
diff --git a/security/teleport/Makefile b/security/teleport/Makefile
--- a/security/teleport/Makefile
+++ b/security/teleport/Makefile
@@ -17,7 +17,7 @@
# If you need the auth service to work, you need to compile this port with
# Go 1.17 or older. In case tsh is what you're after, Go 1.19 is fine.
-USES= compiler gmake go
+USES= compiler cpe gmake go
USE_GITHUB= yes
GH_ACCOUNT= gravitational
GH_TUPLE= gravitational:webassets:8ace0cf:webassets/webassets
@@ -25,6 +25,8 @@
GH_TAG_COMMIT= ${DISTVERSIONPREFIX}${DISTVERSION}-0-g${GH_COMMIT_SHORT}
USE_RC_SUBR= teleport
+CPE_VENDOR= goteleport
+
# Extra assets are stored in the binary and must not be inadvertently removed
STRIP=
NOPRECIOUSMAKEVARS= YES
diff --git a/security/tpm2-tools/Makefile b/security/tpm2-tools/Makefile
--- a/security/tpm2-tools/Makefile
+++ b/security/tpm2-tools/Makefile
@@ -14,7 +14,9 @@
libcurl.so:ftp/curl \
libuuid.so:misc/libuuid
-USES= compiler:c11 gmake libtool pkgconfig ssl
+USES= compiler:c11 cpe gmake libtool pkgconfig ssl
+
+CPE_VENDOR= tpm2-tools_project
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
diff --git a/security/trivy/Makefile b/security/trivy/Makefile
--- a/security/trivy/Makefile
+++ b/security/trivy/Makefile
@@ -13,7 +13,9 @@
ONLY_FOR_ARCHS= aarch64 amd64
ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64
-USES= go:modules
+USES= cpe go:modules
+
+CPE_VENDOR= aquasec
USE_GITHUB= yes
GH_ACCOUNT= aquasecurity
diff --git a/security/trufflehog/Makefile b/security/trufflehog/Makefile
--- a/security/trufflehog/Makefile
+++ b/security/trufflehog/Makefile
@@ -15,7 +15,9 @@
BROKEN_armv7= compilation fails see details here: https://github.com/trufflesecurity/trufflehog/issues/3791
BROKEN_i386= compilation fails see details here: https://github.com/trufflesecurity/trufflehog/issues/3791
-USES= go:modules
+USES= cpe go:modules
+
+CPE_VENDOR= trufflesecurity
GO_MODULE= github.com/trufflesecurity/trufflehog/v3
#GO_TARGET= ./${PORTNAME}
diff --git a/security/vaultwarden/Makefile b/security/vaultwarden/Makefile
--- a/security/vaultwarden/Makefile
+++ b/security/vaultwarden/Makefile
@@ -17,7 +17,9 @@
libnettle.so:security/nettle \
libzstd.so:archivers/zstd
-USES= cargo ssl
+USES= cargo cpe ssl
+
+CPE_VENDOR= dani-garcia
# make makeplist > pkg-plist #One has to edit/review the generated plist
# make generate-plist && make check-plist
diff --git a/security/wazuh-server/Makefile b/security/wazuh-server/Makefile
--- a/security/wazuh-server/Makefile
+++ b/security/wazuh-server/Makefile
@@ -13,7 +13,7 @@
LICENSE= GPLv2
-USES= dos2unix
+USES= cpe dos2unix
NO_BUILD= yes
DOS2UNIX_FILES= ${WRKDIR}/wazuh-template.json
diff --git a/security/wolfssh/Makefile b/security/wolfssh/Makefile
--- a/security/wolfssh/Makefile
+++ b/security/wolfssh/Makefile
@@ -13,7 +13,7 @@
LIB_DEPENDS= libwolfssl.so:security/wolfssl
TEST_DEPENDS= bash:shells/bash
-USES= libtool localbase shebangfix
+USES= cpe libtool localbase shebangfix
CONFIGURE_ARGS= --disable-smallstack \
--enable-agent \
diff --git a/security/zaproxy/Makefile b/security/zaproxy/Makefile
--- a/security/zaproxy/Makefile
+++ b/security/zaproxy/Makefile
@@ -12,10 +12,13 @@
BUILD_DEPENDS= gradle8:devel/gradle8
-USES= gettext-runtime java
+USES= cpe gettext-runtime java
USE_GITHUB= yes
JAVA_VERSION= 17 21
+CPE_VENDOR= owasp
+CPE_PRODUCT= zed_attack_proxy
+
NO_ARCH= yes
MAKE_ENV+= GRADLE_USER_HOME=${WRKDIR}
diff --git a/shells/ohmyzsh/Makefile b/shells/ohmyzsh/Makefile
--- a/shells/ohmyzsh/Makefile
+++ b/shells/ohmyzsh/Makefile
@@ -14,6 +14,11 @@
USE_GITHUB= yes
GH_TAGNAME= 69a6359f7cf8978d464573fb7b023ee3cd00181a
+USES= cpe
+
+CPE_VENDOR= planetargon
+CPE_PRODUCT= oh_my_zsh
+
NO_ARCH= yes
NO_BUILD= yes
diff --git a/shells/powershell/Makefile b/shells/powershell/Makefile
--- a/shells/powershell/Makefile
+++ b/shells/powershell/Makefile
@@ -20,7 +20,9 @@
${LOCALBASE}/lib/powershell/libpsl-native.so:shells/libpowershell-native \
${LOCALBASE}/lib/libicuuc.so:devel/icu
-USES= gssapi:mit ssl:run
+USES= cpe gssapi:mit ssl:run
+
+CPE_VENDOR= microsoft
USE_GITHUB= yes
GH_ACCOUNT= PowerShell
diff --git a/shells/starship/Makefile b/shells/starship/Makefile
--- a/shells/starship/Makefile
+++ b/shells/starship/Makefile
@@ -18,7 +18,7 @@
LIB_DEPENDS= libgit2.so:devel/libgit2 \
libssh2.so:security/libssh2
-USES= cargo ssl
+USES= cargo cpe ssl
CARGO_CRATES= aho-corasick-1.1.4 \
allocator-api2-0.2.21 \
diff --git a/sysutils/alloy/Makefile b/sysutils/alloy/Makefile
--- a/sysutils/alloy/Makefile
+++ b/sysutils/alloy/Makefile
@@ -11,7 +11,9 @@
LICENSE= MIT
# no_targets: we supply do-build/do-install for the collector submodule.
-USES= go:modules,no_targets
+USES= cpe go:modules,no_targets
+
+CPE_VENDOR= grafana
USE_GITHUB= yes
GH_ACCOUNT= grafana
diff --git a/sysutils/amazon-ssm-agent/Makefile b/sysutils/amazon-ssm-agent/Makefile
--- a/sysutils/amazon-ssm-agent/Makefile
+++ b/sysutils/amazon-ssm-agent/Makefile
@@ -12,7 +12,10 @@
RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
-USES= go
+USES= cpe go
+
+CPE_VENDOR= amazon
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
USE_GITHUB= yes
GH_ACCOUNT= aws
diff --git a/sysutils/azure-agent/Makefile b/sysutils/azure-agent/Makefile
--- a/sysutils/azure-agent/Makefile
+++ b/sysutils/azure-agent/Makefile
@@ -20,7 +20,10 @@
NO_ARCH= yes
NO_BUILD= yes
-USES= python shebangfix sudo
+USES= cpe python shebangfix sudo
+
+CPE_VENDOR= microsoft
+CPE_PRODUCT= walinuxagent
SHEBANG_FILES= bin/waagent bin/waagent2.0
diff --git a/sysutils/bacnet-stack-apps/Makefile b/sysutils/bacnet-stack-apps/Makefile
--- a/sysutils/bacnet-stack-apps/Makefile
+++ b/sysutils/bacnet-stack-apps/Makefile
@@ -13,11 +13,14 @@
LIB_DEPENDS= libdispatch.so:devel/libdispatch
RUN_DEPENDS= bash:shells/bash
-USES= gmake compiler:c++11-lang localbase:ldflags shebangfix
+USES= cpe gmake compiler:c++11-lang localbase:ldflags shebangfix
USE_GITHUB= yes
GH_ACCOUNT= bacnet-stack
GH_TAGNAME= c111154
+CPE_VENDOR= bacnetstack
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
+
LDFLAGS= -lm
ALL_TARGET= bsd
diff --git a/sysutils/buildah/Makefile b/sysutils/buildah/Makefile
--- a/sysutils/buildah/Makefile
+++ b/sysutils/buildah/Makefile
@@ -20,7 +20,9 @@
containers-common>=0:sysutils/containers-common \
ocijail:sysutils/ocijail
-USES= gmake go:no_targets pkgconfig
+USES= cpe gmake go:no_targets pkgconfig
+
+CPE_VENDOR= buildah_project
USE_GITHUB= yes
GH_ACCOUNT= containers
diff --git a/sysutils/bulk_extractor/Makefile b/sysutils/bulk_extractor/Makefile
--- a/sysutils/bulk_extractor/Makefile
+++ b/sysutils/bulk_extractor/Makefile
@@ -19,11 +19,13 @@
libgpg-error.so:security/libgpg-error \
libre2.so:devel/re2
-USES= autoreconf compiler:c++17-lang gnome iconv:wchar_t \
+USES= autoreconf compiler:c++17-lang cpe gnome iconv:wchar_t \
libtool pkgconfig python:build sqlite ssl
USE_GITHUB= yes
GH_ACCOUNT= simsong
+CPE_VENDOR= simsong
+
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CONFIGURE_ARGS= --enable-exiv2=true
diff --git a/sysutils/cilium/Makefile b/sysutils/cilium/Makefile
--- a/sysutils/cilium/Makefile
+++ b/sysutils/cilium/Makefile
@@ -11,7 +11,10 @@
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= go:modules
+USES= cpe go:modules
+
+CPE_VENDOR= ${PORTNAME:tl}
+CPE_PRODUCT= cilium-cli
GO_MODULE= github.com/cilium/cilium-cli
GO_BUILDFLAGS= -ldflags="\
diff --git a/sysutils/deskflow/Makefile b/sysutils/deskflow/Makefile
--- a/sysutils/deskflow/Makefile
+++ b/sysutils/deskflow/Makefile
@@ -17,7 +17,7 @@
libportal.so:deskutils/libportal \
libxkbcommon.so:x11/libxkbcommon
-USES= cmake compiler:c++20-lang gl gnome pkgconfig qt:6 ssl xorg
+USES= cmake compiler:c++20-lang cpe gl gnome pkgconfig qt:6 ssl xorg
USE_GITHUB= yes
USE_GL= opengl
USE_GNOME= glib20
diff --git a/sysutils/digdag/Makefile b/sysutils/digdag/Makefile
--- a/sysutils/digdag/Makefile
+++ b/sysutils/digdag/Makefile
@@ -12,10 +12,12 @@
LICENSE= APACHE20
-USES= java
+USES= cpe java
JAVA_VENDOR= openjdk
USE_RC_SUBR= ${PORTNAME}
+CPE_VENDOR= treasuredata
+
NO_ARCH= yes
NO_BUILD= yes
diff --git a/sysutils/docker-machine/Makefile b/sysutils/docker-machine/Makefile
--- a/sysutils/docker-machine/Makefile
+++ b/sysutils/docker-machine/Makefile
@@ -15,7 +15,10 @@
USE_GITHUB= yes
-USES= go
+USES= cpe go
+
+CPE_VENDOR= docker
+CPE_PRODUCT= machine
GH_ACCOUNT= docker
GH_PROJECT= machine
diff --git a/sysutils/docker-registry/Makefile b/sysutils/docker-registry/Makefile
--- a/sysutils/docker-registry/Makefile
+++ b/sysutils/docker-registry/Makefile
@@ -11,7 +11,10 @@
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= go
+USES= cpe go
+
+CPE_VENDOR= docker
+CPE_PRODUCT= registry
USE_RC_SUBR= docker_registry
USE_GITHUB= yes
diff --git a/sysutils/eza/Makefile b/sysutils/eza/Makefile
--- a/sysutils/eza/Makefile
+++ b/sysutils/eza/Makefile
@@ -13,7 +13,9 @@
LICENSE= EUPL12
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USES= cargo
+USES= cargo cpe
+
+CPE_VENDOR= eza.rocks
USE_GITHUB= yes
GH_ACCOUNT= eza-community
diff --git a/sysutils/fluent-bit/Makefile b/sysutils/fluent-bit/Makefile
--- a/sysutils/fluent-bit/Makefile
+++ b/sysutils/fluent-bit/Makefile
@@ -12,11 +12,14 @@
LIB_DEPENDS= libyaml.so:textproc/libyaml \
libzstd.so:archivers/zstd
-USES= bison cmake:noninja compiler:c11 gmake localbase:ldflags
+USES= bison cmake:noninja compiler:c11 cpe gmake localbase:ldflags
USE_GITHUB= yes
GH_ACCOUNT= fluent
USE_RC_SUBR= ${PORTNAME}
+CPE_VENDOR= treasuredata
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
+
CMAKE_ARGS= -DFLB_DEBUG=Off \
-DFLB_TRACE=Off
LDFLAGS+= -lexecinfo
diff --git a/sysutils/google-compute-engine-oslogin/Makefile b/sysutils/google-compute-engine-oslogin/Makefile
--- a/sysutils/google-compute-engine-oslogin/Makefile
+++ b/sysutils/google-compute-engine-oslogin/Makefile
@@ -15,13 +15,16 @@
RUN_DEPENDS= gsed:textproc/gsed \
${LOCALBASE}/lib/pam_mkhomedir.so:security/pam_mkhomedir
-USES= compiler:c++11-lang gmake localbase:ldflags
+USES= compiler:c++11-lang cpe gmake localbase:ldflags
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= GoogleCloudPlatform
GH_PROJECT= guest-oslogin
GH_TAGNAME= 5a710bb
+CPE_VENDOR= google
+CPE_PRODUCT= guest-oslogin
+
PLIST_SUB+= DISTVERSION=${DISTVERSION}
MAKE_ARGS= CPPFLAGS="-Iinclude -I${LOCALBASE}/include/json-c -I${LOCALBASE}/include" \
diff --git a/sysutils/i2c-tools/Makefile b/sysutils/i2c-tools/Makefile
--- a/sysutils/i2c-tools/Makefile
+++ b/sysutils/i2c-tools/Makefile
@@ -10,9 +10,11 @@
LICENSE= GPLv2
NO_BUILD= yes
-USES= perl5 shebangfix tar:xz
+USES= cpe perl5 shebangfix tar:xz
USE_PERL5= run
+CPE_VENDOR= i2c-tools_project
+
PLIST_FILES= sbin/decode-dimms share/man/man1/decode-dimms.1.gz
SHEBANG_FILES= eeprom/decode-dimms
diff --git a/sysutils/kops/Makefile b/sysutils/kops/Makefile
--- a/sysutils/kops/Makefile
+++ b/sysutils/kops/Makefile
@@ -14,7 +14,10 @@
BUILD_DEPENDS= go-bindata:devel/go-bindata
-USES= go:modules
+USES= cpe go:modules
+
+CPE_VENDOR= kubernetes
+CPE_PRODUCT= operations
USE_GITHUB= yes
GH_ACCOUNT= kubernetes
diff --git a/sysutils/ldap-account-manager/Makefile b/sysutils/ldap-account-manager/Makefile
--- a/sysutils/ldap-account-manager/Makefile
+++ b/sysutils/ldap-account-manager/Makefile
@@ -13,10 +13,13 @@
RUN_DEPENDS= p5-perl-ldap>=0:net/p5-perl-ldap \
p5-Quota>=0:sysutils/p5-Quota
-USES= perl5 php:web shebangfix tar:bzip2
+USES= cpe perl5 php:web shebangfix tar:bzip2
USE_PHP= curl filter gd gettext gmp iconv ldap mbstring \
session simplexml xml xmlreader xmlwriter zip
+CPE_VENDOR= ${PORTNAME:tl}
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
+
SHEBANG_FILES= lib/lamdaemon.pl
WWWDIR= ${PREFIX}/www/${SHORTNAME}
diff --git a/sysutils/libtpms/Makefile b/sysutils/libtpms/Makefile
--- a/sysutils/libtpms/Makefile
+++ b/sysutils/libtpms/Makefile
@@ -12,7 +12,7 @@
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-USES= autoreconf gmake libtool pathfix pkgconfig ssl
+USES= autoreconf cpe gmake libtool pathfix pkgconfig ssl
USE_GITHUB= yes
GH_ACCOUNT= stefanberger
USE_LDCONFIG= yes
@@ -20,4 +20,6 @@
INSTALL_TARGET= install-strip
PLIST_SUB= DISTVERSION=${DISTVERSION}
+CPE_VENDOR= libtpms_project
+
.include <bsd.port.mk>
diff --git a/sysutils/mise/Makefile b/sysutils/mise/Makefile
--- a/sysutils/mise/Makefile
+++ b/sysutils/mise/Makefile
@@ -21,7 +21,9 @@
libzstd.so:archivers/zstd
RUN_DEPENDS= ${LOCALBASE}/llvm${LLVM_DEFAULT}/lib/libclang.so:devel/llvm${LLVM_DEFAULT}
-USES= cargo localbase:ldflags pkgconfig ssl
+USES= cargo cpe localbase:ldflags pkgconfig ssl
+
+CPE_VENDOR= jdx
USE_GITHUB= yes
GH_ACCOUNT= jdx
diff --git a/sysutils/nginx-ui/Makefile b/sysutils/nginx-ui/Makefile
--- a/sysutils/nginx-ui/Makefile
+++ b/sysutils/nginx-ui/Makefile
@@ -18,10 +18,13 @@
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= go:1.27+,modules
+USES= cpe go:1.27+,modules
USE_GITHUB= yes
GH_ACCOUNT= 0xJacky
+CPE_VENDOR= nginxui
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
+
USE_RC_SUBR= ${PORTNAME}
GO_BUILDFLAGS= -ldflags "\
diff --git a/sysutils/osquery/Makefile b/sysutils/osquery/Makefile
--- a/sysutils/osquery/Makefile
+++ b/sysutils/osquery/Makefile
@@ -42,10 +42,12 @@
libyara.so:security/yara \
libzstd.so:archivers/zstd
-USES= cmake compiler:c++17-lang localbase:ldflags \
+USES= cmake compiler:c++17-lang cpe localbase:ldflags \
pkgconfig python:build,3.7+ sqlite ssl
USE_RC_SUBR= osqueryd
+CPE_VENDOR= linuxfoundation
+
USE_GITHUB= yes
GH_ACCOUNT= osquery
GH_TAGNAME= ${DISTVERSION}
diff --git a/sysutils/password-store/Makefile b/sysutils/password-store/Makefile
--- a/sysutils/password-store/Makefile
+++ b/sysutils/password-store/Makefile
@@ -16,7 +16,9 @@
gnupg>=2:security/gnupg \
tree>=1.7:sysutils/tree
-USES= tar:xz
+USES= cpe tar:xz
+
+CPE_VENDOR= zx2c4
NO_ARCH= yes
NO_BUILD= yes
diff --git a/sysutils/patchelf/Makefile b/sysutils/patchelf/Makefile
--- a/sysutils/patchelf/Makefile
+++ b/sysutils/patchelf/Makefile
@@ -10,7 +10,9 @@
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= autoreconf compiler:c++11-lang gmake tar:bz2
+USES= autoreconf compiler:c++11-lang cpe gmake tar:bz2
+
+CPE_VENDOR= nixos
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
diff --git a/sysutils/pax-utils/Makefile b/sysutils/pax-utils/Makefile
--- a/sysutils/pax-utils/Makefile
+++ b/sysutils/pax-utils/Makefile
@@ -13,10 +13,12 @@
BUILD_DEPENDS= xmlto:textproc/xmlto
-USES= gmake tar:xz
+USES= cpe gmake tar:xz
USE_GITHUB= yes
GH_ACCOUNT= gentoo
+CPE_VENDOR= gentoo
+
PLIST_FILES= bin/dumpelf \
bin/pspax \
bin/scanelf \
diff --git a/sysutils/podman/Makefile b/sysutils/podman/Makefile
--- a/sysutils/podman/Makefile
+++ b/sysutils/podman/Makefile
@@ -20,11 +20,13 @@
containers-common>=0:sysutils/containers-common \
ocijail:sysutils/ocijail
-USES= gmake go:no_targets pkgconfig python:build shebangfix
+USES= cpe gmake go:no_targets pkgconfig python:build shebangfix
USE_GITHUB= yes
GH_ACCOUNT= podman-container-tools
USE_RC_SUBR= podman podman_service
+CPE_VENDOR= podman_project
+
SHEBANG_FILES= ${WRKSRC}/hack/markdown-preprocess
MAKE_ARGS= SHELL=${LOCALBASE}/bin/bash
MAKE_ENV+= GOTOOLCHAIN=local
diff --git a/sysutils/py-azure-cli/Makefile b/sysutils/py-azure-cli/Makefile
--- a/sysutils/py-azure-cli/Makefile
+++ b/sysutils/py-azure-cli/Makefile
@@ -125,9 +125,12 @@
${PYTHON_PKGNAMEPREFIX}websocket-client>=1.8.0:www/py-websocket-client@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xmltodict>=0.12:devel/py-xmltodict@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent cryptography pep517
+CPE_VENDOR= microsoft
+CPE_PRODUCT= azure_command-line_interface
+
NO_ARCH= yes
post-patch:
diff --git a/sysutils/py-docker/Makefile b/sysutils/py-docker/Makefile
--- a/sysutils/py-docker/Makefile
+++ b/sysutils/py-docker/Makefile
@@ -24,9 +24,12 @@
${PYTHON_PKGNAMEPREFIX}urllib3>=1.26.0:net/py-urllib3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}websocket-client>=1.3.0:www/py-websocket-client@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist pep517
+CPE_VENDOR= ${PORTNAME:tl}
+CPE_PRODUCT= docker-py
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/sysutils/py-glances/Makefile b/sysutils/py-glances/Makefile
--- a/sysutils/py-glances/Makefile
+++ b/sysutils/py-glances/Makefile
@@ -19,11 +19,13 @@
${PYTHON_PKGNAMEPREFIX}ujson>=0:devel/py-ujson@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0.15.2:devel/py-coverage@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_GITHUB= yes
GH_ACCOUNT= nicolargo
USE_PYTHON= autoplist concurrent distutils
+CPE_VENDOR= nicolargo
+
NO_ARCH= yes
PLIST_FILES= ${ETCDIR}/${PORTNAME}.conf.sample \
diff --git a/sysutils/py-healthchecks/Makefile b/sysutils/py-healthchecks/Makefile
--- a/sysutils/py-healthchecks/Makefile
+++ b/sysutils/py-healthchecks/Makefile
@@ -14,7 +14,7 @@
BUILD_DEPENDS= ${ALL_DEPENDS}
RUN_DEPENDS= ${ALL_DEPENDS}
-USES= python shebangfix
+USES= cpe python shebangfix
USE_GITHUB= yes
SHEBANG_FILES= ${WRKSRC}/manage.py
diff --git a/sysutils/py-keep/Makefile b/sysutils/py-keep/Makefile
--- a/sysutils/py-keep/Makefile
+++ b/sysutils/py-keep/Makefile
@@ -18,9 +18,11 @@
${PYTHON_PKGNAMEPREFIX}terminaltables3>0:textproc/py-terminaltables3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}PyGithub>0:devel/py-PyGithub@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist pep517
+CPE_VENDOR= keep_project
+
SUB_FILES= pkg-message
PORTDATA= completions/keep.zsh \
diff --git a/sysutils/rubygem-rubyipmi/Makefile b/sysutils/rubygem-rubyipmi/Makefile
--- a/sysutils/rubygem-rubyipmi/Makefile
+++ b/sysutils/rubygem-rubyipmi/Makefile
@@ -13,7 +13,9 @@
rubygem-logger>=0:devel/rubygem-logger \
rubygem-observer>=0.1.0<0.2:devel/rubygem-observer
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= logicminds
NO_ARCH= yes
diff --git a/sysutils/rust-coreutils/Makefile b/sysutils/rust-coreutils/Makefile
--- a/sysutils/rust-coreutils/Makefile
+++ b/sysutils/rust-coreutils/Makefile
@@ -9,12 +9,15 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= cargo ssl
+USES= cargo cpe ssl
USE_GITHUB= yes
GH_ACCOUNT= uutils
GH_PROJECT= coreutils
GH_TUPLE= uutils:coreutils-l10n:${DISTVERSION}:l10n
+CPE_VENDOR= uutils
+CPE_PRODUCT= coreutils
+
CARGO_FEATURES= unix openssl
# Use the base system OpenSSL rather than the bundled openssl-src copy.
CARGO_ENV= OPENSSL_NO_VENDOR=1
diff --git a/sysutils/skopeo/Makefile b/sysutils/skopeo/Makefile
--- a/sysutils/skopeo/Makefile
+++ b/sysutils/skopeo/Makefile
@@ -17,10 +17,12 @@
LIB_DEPENDS= libgpgme.so:security/gpgme
RUN_DEPENDS= ${LOCALBASE}/etc/containers/containers.conf.sample:sysutils/containers-common
-USES= gmake go:modules,no_targets pkgconfig
+USES= cpe gmake go:modules,no_targets pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= containers
+CPE_VENDOR= skopeo_project
+
do-install:
${SETENV} ${MAKE_ENV} ${GO_ENV} ${GMAKE} -C ${WRKSRC} \
DESTDIR=${STAGEDIR} GOCACHE=${TMPDIR} \
diff --git a/sysutils/sleuthkit/Makefile b/sysutils/sleuthkit/Makefile
--- a/sysutils/sleuthkit/Makefile
+++ b/sysutils/sleuthkit/Makefile
@@ -23,11 +23,14 @@
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
-USES= compiler:c++11-lang libtool perl5 sqlite
+USES= compiler:c++11-lang cpe libtool perl5 sqlite
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
DATADIR= ${PREFIX}/share/tsk
+CPE_VENDOR= ${PORTNAME:tl}
+CPE_PRODUCT= the_sleuth_kit
+
PORTDOCS= NEWS.txt README.md
OPTIONS_DEFINE= AFFLIB DOCS LIBEWF LIBVHDI LIBVMDK
diff --git a/sysutils/swtpm/Makefile b/sysutils/swtpm/Makefile
--- a/sysutils/swtpm/Makefile
+++ b/sysutils/swtpm/Makefile
@@ -22,7 +22,7 @@
libtasn1.so:security/libtasn1 \
libtpms.so:sysutils/libtpms
-USES= autoreconf gettext-runtime gmake gnome libtool pathfix \
+USES= autoreconf cpe gettext-runtime gmake gnome libtool pathfix \
pkgconfig python:env,test shebangfix ssl
USE_GITHUB= yes
GH_ACCOUNT= stefanberger
@@ -31,6 +31,8 @@
USE_RC_SUBR= ${PORTNAME}
SHEBANG_FILES= tests/_* tests/test_clientfds.py tests/test_setdatafd.py
+CPE_VENDOR= swtpm_project
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-tss-group=${GROUPS} \
--with-tss-user=${USERS}
diff --git a/sysutils/tempo/Makefile b/sysutils/tempo/Makefile
--- a/sysutils/tempo/Makefile
+++ b/sysutils/tempo/Makefile
@@ -14,11 +14,13 @@
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= go:modules
+USES= cpe go:modules
USE_GITHUB= yes
GH_ACCOUNT= grafana
GH_PROJECT= tempo
+CPE_VENDOR= grafana
+
USE_RC_SUBR= tempo
GO_MODULE= github.com/${GH_ACCOUNT}/${GH_PROJECT}
diff --git a/sysutils/toybox/Makefile b/sysutils/toybox/Makefile
--- a/sysutils/toybox/Makefile
+++ b/sysutils/toybox/Makefile
@@ -14,7 +14,9 @@
BUILD_DEPENDS= bash:shells/bash gsed:textproc/gsed
-USES= gmake shebangfix
+USES= cpe gmake shebangfix
+
+CPE_VENDOR= toybox_project
SHEBANG_FILES= mkroot/record-commands scripts/probes/bloatcheck \
scripts/mcm-buildall.sh scripts/change.sh \
diff --git a/sysutils/ttyd/Makefile b/sysutils/ttyd/Makefile
--- a/sysutils/ttyd/Makefile
+++ b/sysutils/ttyd/Makefile
@@ -15,11 +15,13 @@
libuv.so:devel/libuv \
libwebsockets.so:net/libwebsockets
-USES= cmake pkgconfig ssl
+USES= cmake cpe pkgconfig ssl
USE_GITHUB= yes
GH_ACCOUNT= tsl0922
USE_RC_SUBR= ${PORTNAME}
+CPE_VENDOR= ttyd_project
+
CMAKE_ARGS= -DCMAKE_DISABLE_FIND_PACKAGE_Git:BOOL=True
PLIST_FILES= bin/${PORTNAME} \
diff --git a/sysutils/uptimed/Makefile b/sysutils/uptimed/Makefile
--- a/sysutils/uptimed/Makefile
+++ b/sysutils/uptimed/Makefile
@@ -11,12 +11,14 @@
LICENSE_FILE= ${WRKSRC}/COPYING
#USES= autoreconf gmake libtool
-USES= autoreconf libtool
+USES= autoreconf cpe libtool
USE_GITHUB= yes
GH_ACCOUNT= rpodgorny
USE_LDCONFIG= yes
USE_RC_SUBR= ${PORTNAME}
+CPE_VENDOR= uptimed_project
+
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
INSTALL_TARGET= install-strip
diff --git a/sysutils/util-linux/Makefile b/sysutils/util-linux/Makefile
--- a/sysutils/util-linux/Makefile
+++ b/sysutils/util-linux/Makefile
@@ -21,9 +21,11 @@
libuuid.so:misc/libuuid
RUN_DEPENDS= bash:shells/bash
-USES= autoreconf gettext-tools gmake libtool ncurses pkgconfig \
+USES= autoreconf cpe gettext-tools gmake libtool ncurses pkgconfig \
shebangfix tar:xz
+CPE_VENDOR= kernel
+
USE_LDCONFIG= yes
SHEBANG_FILES= misc-utils/getopt-example.bash \
diff --git a/sysutils/xfce4-settings/Makefile b/sysutils/xfce4-settings/Makefile
--- a/sysutils/xfce4-settings/Makefile
+++ b/sysutils/xfce4-settings/Makefile
@@ -17,12 +17,14 @@
libxklavier.so:x11/libxklavier
RUN_DEPENDS= hwdata>0:misc/hwdata
-USES= compiler:c11 desktop-file-utils gettext-tools gmake gnome \
+USES= compiler:c11 cpe desktop-file-utils gettext-tools gmake gnome \
libtool pkgconfig python shebangfix tar:bzip2 xfce xorg
USE_GNOME= cairo gdkpixbuf glib20 gtk30 libxml2:build
USE_XFCE= garcon libexo xfconf
USE_XORG= x11 xcursor xext xi xorgproto xrandr
+CPE_VENDOR= xfce
+
SHEBANG_FILES= dialogs/mime-settings/helpers/xfce4-compose-mail
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-x11 \
diff --git a/textproc/cmark-gfm/Makefile b/textproc/cmark-gfm/Makefile
--- a/textproc/cmark-gfm/Makefile
+++ b/textproc/cmark-gfm/Makefile
@@ -9,7 +9,10 @@
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= cmake:testing pathfix python:test
+USES= cmake:testing cpe pathfix python:test
+
+CPE_VENDOR= github
+CPE_VERSION= ${DISTVERSION}
USE_GITHUB= yes
GH_ACCOUNT= github
diff --git a/textproc/comrak/Makefile b/textproc/comrak/Makefile
--- a/textproc/comrak/Makefile
+++ b/textproc/comrak/Makefile
@@ -13,7 +13,9 @@
LIB_DEPENDS= libonig.so:devel/oniguruma
-USES= cargo pkgconfig
+USES= cargo cpe pkgconfig
+
+CPE_VENDOR= comrak_project
USE_GITHUB= yes
GH_ACCOUNT= kivikakk
diff --git a/textproc/consul-template/Makefile b/textproc/consul-template/Makefile
--- a/textproc/consul-template/Makefile
+++ b/textproc/consul-template/Makefile
@@ -10,9 +10,12 @@
LICENSE= MPL20
-USES= go:modules
+USES= cpe go:modules
USE_RC_SUBR= consul-template
+CPE_VENDOR= hashicorp
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
+
GO_MODULE= github.com/hashicorp/consul-template
GO_BUILDFLAGS= -ldflags='\
-s -w -X github.com/hashicorp/consul-template/version.Name=${PORTNAME} \
diff --git a/textproc/cpp-peglib/Makefile b/textproc/cpp-peglib/Makefile
--- a/textproc/cpp-peglib/Makefile
+++ b/textproc/cpp-peglib/Makefile
@@ -12,7 +12,9 @@
TEST_DEPENDS= googletest>0:devel/googletest
-USES= cmake:testing compiler:c++17-lang localbase:ldflags
+USES= cmake:testing compiler:c++17-lang cpe localbase:ldflags
+
+CPE_VENDOR= cpp-peglib_project
USE_GITHUB= yes
GH_ACCOUNT= yhirose
diff --git a/textproc/dasel/Makefile b/textproc/dasel/Makefile
--- a/textproc/dasel/Makefile
+++ b/textproc/dasel/Makefile
@@ -11,7 +11,9 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= go:modules
+USES= cpe go:modules
+
+CPE_VENDOR= tomwright
GO_MODULE= github.com/tomwright/${PORTNAME}/v2
GO_TARGET= ./cmd/${PORTNAME}
diff --git a/textproc/fcitx5/Makefile b/textproc/fcitx5/Makefile
--- a/textproc/fcitx5/Makefile
+++ b/textproc/fcitx5/Makefile
@@ -28,9 +28,12 @@
xkeyboard-config>=0:x11/xkeyboard-config
# gettext-tools for both build-time hard requirement and Fcitx5 helper shell scripts
-USES= cmake compiler:c++20-lang gettext-runtime \
+USES= cmake compiler:c++20-lang cpe gettext-runtime \
gettext-tools:build,run gnome kde pkgconfig tar:zst
+CPE_VENDOR= fcitx_5_project
+CPE_PRODUCT= fcitx_5
+
CXXFLAGS+= -fexperimental-library
PLIST_SUB= VER=${DISTVERSION}
diff --git a/textproc/fop/Makefile b/textproc/fop/Makefile
--- a/textproc/fop/Makefile
+++ b/textproc/fop/Makefile
@@ -18,7 +18,10 @@
EXTRACT_DEPENDS= ${UNZIP_CMD}:archivers/unzip
-USES= java:ant,run
+USES= cpe java:ant,run
+
+CPE_VENDOR= apache
+CPE_PRODUCT= formatting_objects_processor
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
PORTDOCS= *
diff --git a/textproc/fzf/Makefile b/textproc/fzf/Makefile
--- a/textproc/fzf/Makefile
+++ b/textproc/fzf/Makefile
@@ -11,10 +11,12 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= go:modules
+USES= cpe go:modules
GO_MODULE= github.com/junegunn/fzf
GO_BUILDFLAGS= -ldflags="-X main.version=${DISTVERSION} -X main.revision=${COMMIT_ID} -s -w"
+CPE_VENDOR= junegunn
+
COMMIT_ID= 15f64c4
PLIST_FILES= bin/fzf share/man/man1/fzf.1.gz
diff --git a/textproc/html2xhtml/Makefile b/textproc/html2xhtml/Makefile
--- a/textproc/html2xhtml/Makefile
+++ b/textproc/html2xhtml/Makefile
@@ -10,9 +10,11 @@
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= iconv
+USES= cpe iconv
GNU_CONFIGURE= yes
+CPE_VENDOR= html2xhtml_project
+
CONFLICTS_INSTALL= p5-HTML-HTML5-Parser p5-XML-Driver-HTML # bin/html2xhtml
PLIST_FILES= bin/dtdquery \
diff --git a/textproc/libcue/Makefile b/textproc/libcue/Makefile
--- a/textproc/libcue/Makefile
+++ b/textproc/libcue/Makefile
@@ -16,8 +16,10 @@
GH_ACCOUNT= lipnitsk
USE_LDCONFIG= yes
-USES= bison cmake pathfix
+USES= bison cmake cpe pathfix
CMAKE_ARGS+= -DBUILD_SHARED_LIBS=1
PLIST_SUB= SOVERSION=${PORTVERSION}
+CPE_VENDOR= lipnitsk
+
.include <bsd.port.mk>
diff --git a/textproc/libgepub/Makefile b/textproc/libgepub/Makefile
--- a/textproc/libgepub/Makefile
+++ b/textproc/libgepub/Makefile
@@ -14,10 +14,12 @@
LIB_DEPENDS= libsoup-3.0.so:devel/libsoup3
-USES= compiler:c11 gettext-runtime gnome libarchive meson \
+USES= compiler:c11 cpe gettext-runtime gnome libarchive meson \
pkgconfig tar:xz
USE_GNOME= glib20 introspection:build libxml2
+CPE_VENDOR= gnome
+
MESON_ARGS= -Dwidget=false
.include <bsd.port.mk>
diff --git a/textproc/libinfinity/Makefile b/textproc/libinfinity/Makefile
--- a/textproc/libinfinity/Makefile
+++ b/textproc/libinfinity/Makefile
@@ -19,10 +19,12 @@
libgsasl.so:security/libgsasl \
libharfbuzz.so:print/harfbuzz
-USES= gettext gmake gnome libtool:build pathfix pkgconfig
+USES= cpe gettext gmake gnome libtool:build pathfix pkgconfig
USE_GNOME= cairo gdkpixbuf glib20 gtk30 intltool libxml2 pango
USE_LDCONFIG= yes
+CPE_VENDOR= libinfinity_project
+
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
diff --git a/textproc/libucl/Makefile b/textproc/libucl/Makefile
--- a/textproc/libucl/Makefile
+++ b/textproc/libucl/Makefile
@@ -10,11 +10,13 @@
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= autoreconf gmake libtool pathfix pkgconfig
+USES= autoreconf cpe gmake libtool pathfix pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= vstakhov
USE_LDCONFIG= yes
+CPE_VENDOR= vstakhov
+
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
diff --git a/textproc/obsidian/Makefile b/textproc/obsidian/Makefile
--- a/textproc/obsidian/Makefile
+++ b/textproc/obsidian/Makefile
@@ -27,7 +27,7 @@
LICENSE_TEXT= See https://obsidian.md/terms
LICENSE_PERMS=
-USES= electronfix:43
+USES= cpe electronfix:43
ELECTRONFIX_MAIN_EXECUTABLE= obsidian
SUB_FILES= obsidian
diff --git a/textproc/p5-MARC-XML/Makefile b/textproc/p5-MARC-XML/Makefile
--- a/textproc/p5-MARC-XML/Makefile
+++ b/textproc/p5-MARC-XML/Makefile
@@ -17,7 +17,9 @@
p5-MARC-Charset>=0.98:textproc/p5-MARC-Charset \
p5-XML-SAX>=0.12:textproc/p5-XML-SAX
-USES= perl5
+USES= cpe perl5
USE_PERL5= configure
+CPE_VENDOR= galen_charlton
+
.include <bsd.port.mk>
diff --git a/textproc/py-docling-core/Makefile b/textproc/py-docling-core/Makefile
--- a/textproc/py-docling-core/Makefile
+++ b/textproc/py-docling-core/Makefile
@@ -57,9 +57,11 @@
${CHUNKING_DEPENDS} \
${CHUNKING_OPENAI_DEPENDS}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517 pytest
+CPE_VENDOR= docling
+
USE_GITHUB= yes
GH_ACCOUNT= docling-project
GH_PROJECT= docling-core
diff --git a/textproc/py-docling/Makefile b/textproc/py-docling/Makefile
--- a/textproc/py-docling/Makefile
+++ b/textproc/py-docling/Makefile
@@ -46,7 +46,7 @@
${PYTHON_PKGNAMEPREFIX}typer>=0.12.5:devel/py-typer@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}websockets>=14.0:devel/py-websockets@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
diff --git a/textproc/py-mako/Makefile b/textproc/py-mako/Makefile
--- a/textproc/py-mako/Makefile
+++ b/textproc/py-mako/Makefile
@@ -15,9 +15,11 @@
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markupsafe>=0.9.2:textproc/py-markupsafe@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= sqlalchemy
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/textproc/py-markdown-it-py/Makefile b/textproc/py-markdown-it-py/Makefile
--- a/textproc/py-markdown-it-py/Makefile
+++ b/textproc/py-markdown-it-py/Makefile
@@ -16,9 +16,11 @@
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.4<4:devel/py-flit-core@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mdurl>=0.1<1:textproc/py-mdurl@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= executablebooks
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/textproc/py-markdown2/Makefile b/textproc/py-markdown2/Makefile
--- a/textproc/py-markdown2/Makefile
+++ b/textproc/py-markdown2/Makefile
@@ -14,9 +14,12 @@
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= python-markdown2_project
+CPE_PRODUCT= python-markdown2
+
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
NO_ARCH= yes
diff --git a/textproc/py-markdownify/Makefile b/textproc/py-markdownify/Makefile
--- a/textproc/py-markdownify/Makefile
+++ b/textproc/py-markdownify/Makefile
@@ -18,9 +18,11 @@
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup4>=4.9:www/py-beautifulsoup4@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.15:devel/py-six@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist pep517
+CPE_VENDOR= matthewwithanm
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/textproc/py-pymdown-extensions/Makefile b/textproc/py-pymdown-extensions/Makefile
--- a/textproc/py-pymdown-extensions/Makefile
+++ b/textproc/py-pymdown-extensions/Makefile
@@ -16,9 +16,12 @@
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markdown>=3.6:textproc/py-markdown@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist pep517
+CPE_VENDOR= facelessuser
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
+
NO_ARCH= yes
OPTIONS_DEFINE= EXTRA
diff --git a/textproc/py-pyrdfa3/Makefile b/textproc/py-pyrdfa3/Makefile
--- a/textproc/py-pyrdfa3/Makefile
+++ b/textproc/py-pyrdfa3/Makefile
@@ -20,9 +20,11 @@
${PYTHON_PKGNAMEPREFIX}html5lib>=1.1:www/py-html5lib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.32.3:www/py-requests@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= pep517 autoplist
+CPE_VENDOR= pyrdfa3_project
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/textproc/py-python-docx/Makefile b/textproc/py-python-docx/Makefile
--- a/textproc/py-python-docx/Makefile
+++ b/textproc/py-python-docx/Makefile
@@ -16,8 +16,10 @@
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=3.3.4:devel/py-lxml@${PY_FLAVOR}
# Python3 ready
-USES= python
+USES= cpe python
USE_PYTHON= autoplist pep517 pytest
NO_ARCH= yes
+CPE_VENDOR= python-openxml_project
+
.include <bsd.port.mk>
diff --git a/textproc/py-sentencepiece/Makefile b/textproc/py-sentencepiece/Makefile
--- a/textproc/py-sentencepiece/Makefile
+++ b/textproc/py-sentencepiece/Makefile
@@ -15,9 +15,11 @@
protobuf>0:devel/protobuf
LIB_DEPENDS= libsentencepiece.so:textproc/sentencepiece
-USES= compiler:c++17-lang pkgconfig python
+USES= compiler:c++17-lang cpe pkgconfig python
USE_PYTHON= distutils autoplist
+CPE_VENDOR= google
+
USE_GITHUB= yes
GH_ACCOUNT= google
diff --git a/textproc/py-spacy/Makefile b/textproc/py-spacy/Makefile
--- a/textproc/py-spacy/Makefile
+++ b/textproc/py-spacy/Makefile
@@ -41,9 +41,11 @@
${PYTHON_PKGNAMEPREFIX}wasabi>=0.9.1<1.2.0:textproc/py-wasabi@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}weasel>=1.0.0<2.0.0:devel/py-weasel@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent cython pep517
+CPE_VENDOR= explosion
+
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
diff --git a/textproc/py-untangle/Makefile b/textproc/py-untangle/Makefile
--- a/textproc/py-untangle/Makefile
+++ b/textproc/py-untangle/Makefile
@@ -15,9 +15,11 @@
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}defusedxml>=0.7.1<0.8.0:devel/py-defusedxml@${PY_FLAVOR}
-USES= python shebangfix
+USES= cpe python shebangfix
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= untangle_project
+
NO_ARCH= yes
SHEBANG_FILES= untangle.py
diff --git a/textproc/raptor2/Makefile b/textproc/raptor2/Makefile
--- a/textproc/raptor2/Makefile
+++ b/textproc/raptor2/Makefile
@@ -22,10 +22,13 @@
CONFLICTS= raptor-1.4.1[0-9]* raptor-1.4.21
-USES= gnome libtool:keepla localbase pathfix pkgconfig
+USES= cpe gnome libtool:keepla localbase pathfix pkgconfig
USE_GNOME= libxml2 libxslt
USE_LDCONFIG= yes
+CPE_VENDOR= librdf
+CPE_PRODUCT= raptor_rdf_syntax_library
+
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
INSTALL_TARGET= install-strip
diff --git a/textproc/rubygem-asciidoctor-include-ext/Makefile b/textproc/rubygem-asciidoctor-include-ext/Makefile
--- a/textproc/rubygem-asciidoctor-include-ext/Makefile
+++ b/textproc/rubygem-asciidoctor-include-ext/Makefile
@@ -12,7 +12,9 @@
RUN_DEPENDS= rubygem-asciidoctor>=1.5.6<3.0.0:textproc/rubygem-asciidoctor
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= asciidoctor-include-ext_project
NO_ARCH= yes
diff --git a/textproc/rubygem-asciidoctor/Makefile b/textproc/rubygem-asciidoctor/Makefile
--- a/textproc/rubygem-asciidoctor/Makefile
+++ b/textproc/rubygem-asciidoctor/Makefile
@@ -12,7 +12,7 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= gem
+USES= cpe gem
NO_ARCH= yes
diff --git a/textproc/rubygem-commonmarker/Makefile b/textproc/rubygem-commonmarker/Makefile
--- a/textproc/rubygem-commonmarker/Makefile
+++ b/textproc/rubygem-commonmarker/Makefile
@@ -14,7 +14,9 @@
RUN_DEPENDS= rubygem-rb_sys>=0.9<1:lang/rubygem-rb_sys
-USES= cargo gem gmake llvm
+USES= cargo cpe gem gmake llvm
+
+CPE_VENDOR= gjtorikian
CARGO_BUILD= no
CARGO_INSTALL= no
diff --git a/textproc/rubygem-commonmarker0/Makefile b/textproc/rubygem-commonmarker0/Makefile
--- a/textproc/rubygem-commonmarker0/Makefile
+++ b/textproc/rubygem-commonmarker0/Makefile
@@ -11,7 +11,9 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= gjtorikian
PLIST_FILES= bin/commonmarker
diff --git a/textproc/rubygem-css_parser/Makefile b/textproc/rubygem-css_parser/Makefile
--- a/textproc/rubygem-css_parser/Makefile
+++ b/textproc/rubygem-css_parser/Makefile
@@ -14,7 +14,9 @@
rubygem-base64>=0:converters/rubygem-base64 \
rubygem-ssrf_filter>=1.2<2:security/rubygem-ssrf_filter
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= premailer
NO_ARCH= yes
diff --git a/textproc/rubygem-css_parser1/Makefile b/textproc/rubygem-css_parser1/Makefile
--- a/textproc/rubygem-css_parser1/Makefile
+++ b/textproc/rubygem-css_parser1/Makefile
@@ -13,7 +13,9 @@
RUN_DEPENDS= rubygem-addressable>=0:www/rubygem-addressable
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= premailer
NO_ARCH= yes
diff --git a/textproc/rubygem-diffy/Makefile b/textproc/rubygem-diffy/Makefile
--- a/textproc/rubygem-diffy/Makefile
+++ b/textproc/rubygem-diffy/Makefile
@@ -10,7 +10,9 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= diffy_project
NO_ARCH= yes
diff --git a/textproc/rubygem-elastic-apm/Makefile b/textproc/rubygem-elastic-apm/Makefile
--- a/textproc/rubygem-elastic-apm/Makefile
+++ b/textproc/rubygem-elastic-apm/Makefile
@@ -14,7 +14,10 @@
rubygem-http>=3.0<7.0:www/rubygem-http \
rubygem-ruby2_keywords>=0:devel/rubygem-ruby2_keywords
-USES= gem shebangfix
+USES= cpe gem shebangfix
+
+CPE_VENDOR= elastic
+CPE_PRODUCT= apm-agent-ruby
NO_ARCH= yes
diff --git a/textproc/rubygem-rdiscount/Makefile b/textproc/rubygem-rdiscount/Makefile
--- a/textproc/rubygem-rdiscount/Makefile
+++ b/textproc/rubygem-rdiscount/Makefile
@@ -11,7 +11,9 @@
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= dafoster
PLIST_FILES= bin/rdiscount
diff --git a/textproc/sassc/Makefile b/textproc/sassc/Makefile
--- a/textproc/sassc/Makefile
+++ b/textproc/sassc/Makefile
@@ -11,7 +11,9 @@
LIB_DEPENDS= libsass.so:textproc/libsass
-USES= autoreconf compiler:c++11-lib gmake libtool localbase
+USES= autoreconf compiler:c++11-lib cpe gmake libtool localbase
+
+CPE_VENDOR= sass-lang
GH_ACCOUNT= sass
GNU_CONFIGURE= yes
diff --git a/textproc/sd/Makefile b/textproc/sd/Makefile
--- a/textproc/sd/Makefile
+++ b/textproc/sd/Makefile
@@ -11,11 +11,13 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= cargo
+USES= cargo cpe
CARGO_INSTALL_PATH= sd-cli
USE_GITHUB= yes
GH_ACCOUNT= chmln
+CPE_VENDOR= chmln
+
PLIST_FILES= bin/sd \
etc/bash_completion.d/sd.bash \
share/fish/completions/sd.fish \
diff --git a/textproc/sentencepiece/Makefile b/textproc/sentencepiece/Makefile
--- a/textproc/sentencepiece/Makefile
+++ b/textproc/sentencepiece/Makefile
@@ -13,9 +13,11 @@
LIB_DEPENDS= libabsl_strings.so:devel/abseil \
libprotobuf-lite.so:devel/protobuf
-USES= cmake:testing compiler:c++17-lang
+USES= cmake:testing compiler:c++17-lang cpe
USE_LDCONFIG= yes
+CPE_VENDOR= google
+
USE_GITHUB= yes
GH_ACCOUNT= google
diff --git a/textproc/xerces-j/Makefile b/textproc/xerces-j/Makefile
--- a/textproc/xerces-j/Makefile
+++ b/textproc/xerces-j/Makefile
@@ -11,7 +11,10 @@
LICENSE= APACHE20
-USES= java
+USES= cpe java
+
+CPE_VENDOR= apache
+CPE_PRODUCT= xerces2_java
NO_BUILD= yes
NO_ARCH= yes
diff --git a/textproc/xlnt/Makefile b/textproc/xlnt/Makefile
--- a/textproc/xlnt/Makefile
+++ b/textproc/xlnt/Makefile
@@ -16,7 +16,9 @@
BUILD_DEPENDS= fast_float>0:math/fast_float
LIB_DEPENDS= libfmt.so:devel/libfmt
-USES= cmake:testing compiler:c++14-lang localbase
+USES= cmake:testing compiler:c++14-lang cpe localbase
+
+CPE_VENDOR= xlnt-community
USE_GITHUB= yes
GH_ACCOUNT= xlnt-community
diff --git a/textproc/xlsxio/Makefile b/textproc/xlsxio/Makefile
--- a/textproc/xlsxio/Makefile
+++ b/textproc/xlsxio/Makefile
@@ -13,7 +13,9 @@
LIB_DEPENDS= libexpat.so:textproc/expat2 \
libminizip.so:archivers/minizip
-USES= cmake tar:xz
+USES= cmake cpe tar:xz
+
+CPE_VENDOR= xlsxio_project
CMAKE_OFF= BUILD_DOCUMENTATION \
BUILD_EXAMPLES \
diff --git a/www/bacula-web/Makefile b/www/bacula-web/Makefile
--- a/www/bacula-web/Makefile
+++ b/www/bacula-web/Makefile
@@ -13,10 +13,12 @@
RUN_DEPENDS= ${LOCALBASE}/bin/composer:devel/php-composer@${PHP_FLAVOR}
-USES= php:flavors,web
+USES= cpe php:flavors,web
USE_GITHUB= yes
USE_PHP= dom gd gettext posix session simplexml tokenizer xml xmlwriter
+CPE_VENDOR= bacula
+
NO_ARCH= yes
NO_BUILD= yes
SUB_FILES= pkg-message
diff --git a/www/caddy-custom/Makefile b/www/caddy-custom/Makefile
--- a/www/caddy-custom/Makefile
+++ b/www/caddy-custom/Makefile
@@ -16,7 +16,11 @@
BUILD_DEPENDS= xcaddy:www/xcaddy
-USES= go:no_targets
+USES= cpe go:no_targets
+
+CPE_VENDOR= caddyserver
+CPE_PRODUCT= caddy
+CPE_VERSION= ${CADDY_VERSION}
NO_PACKAGE= Requires network access (see pkg-descr)
diff --git a/www/cpp-httplib/Makefile b/www/cpp-httplib/Makefile
--- a/www/cpp-httplib/Makefile
+++ b/www/cpp-httplib/Makefile
@@ -12,7 +12,9 @@
TEST_DEPENDS= gmake:devel/gmake
-USES= cmake localbase:ldflags python:build,test # localbase only for tests, python:build only for BINARY_ALIAS
+USES= cmake cpe localbase:ldflags python:build,test # localbase only for tests, python:build only for BINARY_ALIAS
+
+CPE_VENDOR= yhirose
USE_GITHUB= yes
GH_ACCOUNT= yhirose
diff --git a/www/dasherr/Makefile b/www/dasherr/Makefile
--- a/www/dasherr/Makefile
+++ b/www/dasherr/Makefile
@@ -10,7 +10,9 @@
LICENSE= GPLv3
-USES= php zip
+USES= cpe php zip
+
+CPE_VENDOR= dasherr_project
NO_ARCH= yes
NO_BUILD= yes
diff --git a/www/dmarcts-report-viewer/Makefile b/www/dmarcts-report-viewer/Makefile
--- a/www/dmarcts-report-viewer/Makefile
+++ b/www/dmarcts-report-viewer/Makefile
@@ -13,12 +13,15 @@
LICENSE_FILE_GPLv3= ${WRKSRC}/LICENSE
LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/highlight.js/LICENSE
-USES= php
+USES= cpe php
USE_PHP= dom pdo xml
USE_GITHUB= yes
GH_ACCOUNT= techsneeze
GH_TAGNAME= 4730985
+CPE_VENDOR= techsneeze
+CPE_PRODUCT= dmarc_report
+
NO_ARCH= yes
NO_BUILD= yes
PLIST_SUB= PORTNAME=${PORTNAME}
diff --git a/www/drogon/Makefile b/www/drogon/Makefile
--- a/www/drogon/Makefile
+++ b/www/drogon/Makefile
@@ -13,7 +13,7 @@
LIB_DEPENDS= libjsoncpp.so:devel/jsoncpp \
libtrantor.so:net/trantor
-USES= cmake ssl
+USES= cmake cpe ssl
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= drogonframework
diff --git a/www/fabio/Makefile b/www/fabio/Makefile
--- a/www/fabio/Makefile
+++ b/www/fabio/Makefile
@@ -11,7 +11,9 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= go:modules
+USES= cpe go:modules
+
+CPE_VENDOR= fabiolb
USE_RC_SUBR= fabio
diff --git a/www/filebrowser/Makefile b/www/filebrowser/Makefile
--- a/www/filebrowser/Makefile
+++ b/www/filebrowser/Makefile
@@ -18,7 +18,7 @@
DEPRECATED= Upstream repo archived on Aug 31, 2026
EXPIRATION_DATE= 2026-11-07
-USES= go:modules
+USES= cpe go:modules
USE_GITHUB= yes
USE_RC_SUBR= ${PORTNAME}
diff --git a/www/gallery2/Makefile b/www/gallery2/Makefile
--- a/www/gallery2/Makefile
+++ b/www/gallery2/Makefile
@@ -13,9 +13,12 @@
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= php:web
+USES= cpe php:web
USE_PHP= session
+CPE_VENDOR= menalto
+CPE_PRODUCT= gallery
+
NO_ARCH= yes
NO_BUILD= yes
diff --git a/www/grist-core/Makefile b/www/grist-core/Makefile
--- a/www/grist-core/Makefile
+++ b/www/grist-core/Makefile
@@ -22,7 +22,9 @@
RUN_DEPENDS= ${MY_DEPENDS} \
${PYTHON_PKGNAMEPREFIX}pip>=22.2.2:devel/py-pip@${PY_FLAVOR}
-USES= compiler:c++17-lang gmake nodejs python shebangfix
+USES= compiler:c++17-lang cpe gmake nodejs python shebangfix
+
+CPE_VENDOR= getgrist
USE_GITHUB= yes
GH_ACCOUNT= gristlabs
diff --git a/www/hedgedoc/Makefile b/www/hedgedoc/Makefile
--- a/www/hedgedoc/Makefile
+++ b/www/hedgedoc/Makefile
@@ -18,7 +18,7 @@
BUILD_DEPENDS= ${LOCALBASE}/include/uv.h:devel/libuv \
${PY_SETUPTOOLS}
-USES= gmake localbase nodejs:24,build,run python:build shebangfix
+USES= cpe gmake localbase nodejs:24,build,run python:build shebangfix
USE_RC_SUBR= ${PORTNAME}
BINARY_ALIAS= python3=${PYTHON_CMD}
diff --git a/www/jmeter/Makefile b/www/jmeter/Makefile
--- a/www/jmeter/Makefile
+++ b/www/jmeter/Makefile
@@ -69,9 +69,12 @@
${JAVALIBDIR}/xmlgraphics-commons.jar:graphics/xmlgraphics-commons \
${JAVALIBDIR}/xstream.jar:textproc/xstream
-USES= java tar:tgz
+USES= cpe java tar:tgz
JAVA_VERSION= 17+
+CPE_VENDOR= apache
+CPE_PRODUCT= jmeter
+
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
# Do not even extract the MS-DOS files nor the JARs,
# that are already provided by other ports:
diff --git a/www/lexbor/Makefile b/www/lexbor/Makefile
--- a/www/lexbor/Makefile
+++ b/www/lexbor/Makefile
@@ -11,7 +11,7 @@
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= cmake:testing
+USES= cmake:testing cpe
USE_GITHUB= yes
USE_LDCONFIG= yes
diff --git a/www/libjwt/Makefile b/www/libjwt/Makefile
--- a/www/libjwt/Makefile
+++ b/www/libjwt/Makefile
@@ -15,7 +15,7 @@
LIB_DEPENDS= libjansson.so:devel/jansson
TEST_DEPENDS= check>=0.9.4:devel/check
-USES= gmake libtool pkgconfig ssl tar:xz
+USES= cpe gmake libtool pkgconfig ssl tar:xz
CONFIGURE_ARGS= --disable-doxygen-chi \
--disable-doxygen-chm \
diff --git a/www/libjwt3/Makefile b/www/libjwt3/Makefile
--- a/www/libjwt3/Makefile
+++ b/www/libjwt3/Makefile
@@ -17,7 +17,7 @@
TEST_DEPENDS= bash>=0:shells/bash \
check>=0.9.10:devel/check
-USES= cmake:testing pkgconfig ssl tar:xz
+USES= cmake:testing cpe pkgconfig ssl tar:xz
CMAKE_OFF= CODE_COVERAGE_VERBOSE \
ENABLE_COVERAGE \
diff --git a/www/lycheeorg/Makefile b/www/lycheeorg/Makefile
--- a/www/lycheeorg/Makefile
+++ b/www/lycheeorg/Makefile
@@ -13,12 +13,15 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= php zip
+USES= cpe php zip
USE_PHP= bcmath ctype dom exif fileinfo filter gd intl json mbstring mysqli \
opcache openssl pcre pdo pdo_mysql pdo_pgsql pdo_sqlite pgsql \
phar session simplexml sodium sqlite3 tokenizer xml xmlwriter \
zlib
+CPE_VENDOR= ${PORTNAME:tl}
+CPE_PRODUCT= lychee
+
NO_ARCH= yes
NO_BUILD= yes
diff --git a/www/mathjax3/Makefile b/www/mathjax3/Makefile
--- a/www/mathjax3/Makefile
+++ b/www/mathjax3/Makefile
@@ -13,6 +13,10 @@
GH_ACCOUNT= mathjax
GH_PROJECT= MathJax
+USES= cpe
+
+CPE_PRODUCT= mathjax
+
NO_ARCH= yes
NO_BUILD= yes
diff --git a/www/microbin/Makefile b/www/microbin/Makefile
--- a/www/microbin/Makefile
+++ b/www/microbin/Makefile
@@ -19,7 +19,7 @@
LIB_DEPENDS= libonig.so:devel/oniguruma \
libzstd.so:archivers/zstd
-USES= cargo perl5
+USES= cargo cpe perl5
USE_PERL5= build
USE_GITHUB= yes
diff --git a/www/miniflux/Makefile b/www/miniflux/Makefile
--- a/www/miniflux/Makefile
+++ b/www/miniflux/Makefile
@@ -10,7 +10,9 @@
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= go:modules
+USES= cpe go:modules
+
+CPE_VENDOR= miniflux_project
USE_GITHUB= yes
GH_PROJECT= v2
diff --git a/www/mod_http2/Makefile b/www/mod_http2/Makefile
--- a/www/mod_http2/Makefile
+++ b/www/mod_http2/Makefile
@@ -13,9 +13,11 @@
LIB_DEPENDS= libnghttp2.so:www/libnghttp2
-USES= apache libtool ssl pkgconfig
+USES= apache cpe libtool ssl pkgconfig
GNU_CONFIGURE= yes
+CPE_VENDOR= icing
+
CONFIGURE_ARGS= --without-curl
MODULENAME= mod_h2
diff --git a/www/mod_jk/Makefile b/www/mod_jk/Makefile
--- a/www/mod_jk/Makefile
+++ b/www/mod_jk/Makefile
@@ -12,10 +12,12 @@
LICENSE= APACHE20
-USES= apache gmake
+USES= apache cpe gmake
APACHE_VER= 2.0
GNU_CONFIGURE= yes
+CPE_VENDOR= apache
+
CONFIGURE_ARGS+= --with-apxs=${APXS}
WRKSRC= ${WRKDIR}/tomcat-connectors-${PORTVERSION}-src/native
diff --git a/www/mod_security/Makefile b/www/mod_security/Makefile
--- a/www/mod_security/Makefile
+++ b/www/mod_security/Makefile
@@ -19,7 +19,7 @@
libgdbm.so:databases/gdbm \
libexpat.so:textproc/expat2
-USES= apache gnome perl5 pkgconfig shebangfix autoreconf libtool:build
+USES= apache cpe gnome perl5 pkgconfig shebangfix autoreconf libtool:build
USE_GITHUB= yes
GH_ACCOUNT= owasp-modsecurity
GH_PROJECT= ModSecurity
@@ -27,6 +27,10 @@
USE_GNOME= libxml2
GNU_CONFIGURE= yes
SHEBANG_FILES= tools/rules-updater.pl.in mlogc/mlogc-batch-load.pl.in
+
+CPE_VENDOR= owasp
+CPE_PRODUCT= ${PORTNAME:tl:S/_//g}
+
perl_OLD_CMD= @PERL@
AP_INC= ${LOCALBASE}/include/libxml2
diff --git a/www/oatpp/Makefile b/www/oatpp/Makefile
--- a/www/oatpp/Makefile
+++ b/www/oatpp/Makefile
@@ -10,7 +10,10 @@
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= cmake:testing compiler:c++11-lang
+USES= cmake:testing compiler:c++11-lang cpe
+
+CPE_VENDOR= ${PORTNAME:tl}
+CPE_PRODUCT= oat++
CMAKE_OFF= OATPP_BUILD_TESTS \
OATPP_COMPAT_BUILD_NO_SET_AFFINITY \
diff --git a/www/oauth2-proxy/Makefile b/www/oauth2-proxy/Makefile
--- a/www/oauth2-proxy/Makefile
+++ b/www/oauth2-proxy/Makefile
@@ -11,10 +11,13 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= go:modules
+USES= cpe go:modules
USE_GITHUB= yes
USE_RC_SUBR= oauth2_proxy
+CPE_VENDOR= oauth2_proxy_project
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
+
GO_MOD_DIST= github
GO_MODULE= github.com/${PORTNAME}/${PORTNAME}
GO_BUILDFLAGS= -v -ldflags="-s -X github.com/${PORTNAME}/${PORTNAME}/v7/pkg/version.VERSION=${PORTVERSION}"
diff --git a/www/p5-HTML-Scrubber/Makefile b/www/p5-HTML-Scrubber/Makefile
--- a/www/p5-HTML-Scrubber/Makefile
+++ b/www/p5-HTML-Scrubber/Makefile
@@ -17,9 +17,11 @@
TEST_DEPENDS= p5-Test-Differences>=0:devel/p5-Test-Differences \
p5-Test-Memory-Cycle>=0:devel/p5-Test-Memory-Cycle
-USES= perl5
+USES= cpe perl5
USE_PERL5= configure
+CPE_VENDOR= html-scrubber_project
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/www/pacparser/Makefile b/www/pacparser/Makefile
--- a/www/pacparser/Makefile
+++ b/www/pacparser/Makefile
@@ -12,11 +12,13 @@
BUILD_DEPENDS= bash:shells/bash
-USES= gmake
+USES= cpe gmake
USE_GITHUB= yes
GH_ACCOUNT= manugarg
USE_LDCONFIG= yes
+CPE_VENDOR= pacparser_project
+
MAKE_ENV+= NO_INTERNET=1
MAKE_JOBS_UNSAFE= yes
diff --git a/www/php-http/Makefile b/www/php-http/Makefile
--- a/www/php-http/Makefile
+++ b/www/php-http/Makefile
@@ -18,13 +18,16 @@
libicudata.so:devel/icu
RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/raphf.so:devel/php-raphf@${PHP_FLAVOR}
-USES= php:ext
+USES= cpe php:ext
USE_GITHUB= yes
GH_ACCOUNT= m6w6
GH_PROJECT= ext-${PORTNAME}
USE_PHP= iconv:build zlib:build
IGNORE_WITH_PHP= 86
+CPE_VENDOR= php
+CPE_PRODUCT= ext-http
+
CONFIGURE_SHELL= ${LOCALBASE}/bin/bash
.include <bsd.port.mk>
diff --git a/www/pocket-id/Makefile b/www/pocket-id/Makefile
--- a/www/pocket-id/Makefile
+++ b/www/pocket-id/Makefile
@@ -16,10 +16,13 @@
ONLY_FOR_ARCHS= aarch64 amd64
ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64
-USES= go:modules
+USES= cpe go:modules
USE_GITHUB= yes
USE_RC_SUBR= ${PORTNAME}
+CPE_VENDOR= ${PORTNAME:tl}
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
+
GO_MOD_DIST= github
GO_MODULE= https://github.com/pocket-id/${PORTNAME}
GO_TARGET= ./cmd:${PORTNAME}
diff --git a/www/pocketbase/Makefile b/www/pocketbase/Makefile
--- a/www/pocketbase/Makefile
+++ b/www/pocketbase/Makefile
@@ -11,7 +11,7 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
-USES= go:1.27+,modules
+USES= cpe go:1.27+,modules
GO_MODULE= github.com/pocketbase/pocketbase
GO_TARGET= ./examples/base:${PORTNAME}
diff --git a/www/py-calibreweb/Makefile b/www/py-calibreweb/Makefile
--- a/www/py-calibreweb/Makefile
+++ b/www/py-calibreweb/Makefile
@@ -37,10 +37,13 @@
${PYTHON_PKGNAMEPREFIX}urllib3>=0:net/py-urllib3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wand>=0:graphics/py-wand@${PY_FLAVOR}
-USES= python ssl
+USES= cpe python ssl
USE_PYTHON= autoplist cryptography pep517
USE_RC_SUBR= ${PORTNAME}
+CPE_VENDOR= janeczku
+CPE_PRODUCT= calibre-web
+
NO_ARCH= yes
SUB_FILES= pkg-message
diff --git a/www/py-channels/Makefile b/www/py-channels/Makefile
--- a/www/py-channels/Makefile
+++ b/www/py-channels/Makefile
@@ -18,9 +18,11 @@
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asgiref>=3.9.0<4:www/py-asgiref@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}django52>=4.2:www/py-django52@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= djangoproject
+
NO_ARCH= yes
OPTIONS_DEFINE= DAPHNE
diff --git a/www/py-daphne/Makefile b/www/py-daphne/Makefile
--- a/www/py-daphne/Makefile
+++ b/www/py-daphne/Makefile
@@ -17,9 +17,11 @@
${PYTHON_PKGNAMEPREFIX}autobahn>=22.4.2:www/py-autobahn@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}twisted>=22.4:devel/py-twisted@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= djangoproject
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/www/py-dash/Makefile b/www/py-dash/Makefile
--- a/www/py-dash/Makefile
+++ b/www/py-dash/Makefile
@@ -28,9 +28,11 @@
${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.1.1:devel/py-typing-extensions@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}werkzeug>=0<3.2:www/py-werkzeug@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= plotly
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/www/py-dj60-channels/Makefile b/www/py-dj60-channels/Makefile
--- a/www/py-dj60-channels/Makefile
+++ b/www/py-dj60-channels/Makefile
@@ -17,9 +17,11 @@
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asgiref>=3.9.0<4:www/py-asgiref@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}django60>=4.2:www/py-django60@${PY_FLAVOR}
-USES= python:3.12+
+USES= cpe python:3.12+
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= djangoproject
+
NO_ARCH= yes
OPTIONS_DEFINE= DAPHNE
diff --git a/www/py-dj60-django-filter/Makefile b/www/py-dj60-django-filter/Makefile
--- a/www/py-dj60-django-filter/Makefile
+++ b/www/py-dj60-django-filter/Makefile
@@ -15,9 +15,11 @@
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2<4:devel/py-flit-core@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django60>=5.2:www/py-django60@${PY_FLAVOR}
-USES= python:3.12+
+USES= cpe python:3.12+
USE_PYTHON= autoplist pep517
+CPE_VENDOR= django-filter_project
+
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
NO_ARCH= yes
diff --git a/www/py-dj60-djangorestframework/Makefile b/www/py-dj60-djangorestframework/Makefile
--- a/www/py-dj60-djangorestframework/Makefile
+++ b/www/py-dj60-djangorestframework/Makefile
@@ -15,9 +15,12 @@
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django60>=4.2:www/py-django60@${PY_FLAVOR}
-USES= python:3.12+
+USES= cpe python:3.12+
USE_PYTHON= autoplist pep517
+CPE_VENDOR= django-rest-framework
+CPE_PRODUCT= django_rest_framework
+
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
NO_ARCH= yes
diff --git a/www/py-dj61-djangorestframework/Makefile b/www/py-dj61-djangorestframework/Makefile
--- a/www/py-dj61-djangorestframework/Makefile
+++ b/www/py-dj61-djangorestframework/Makefile
@@ -15,9 +15,12 @@
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django61>=6.1:www/py-django61@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist pep517
+CPE_VENDOR= django-rest-framework
+CPE_PRODUCT= django_rest_framework
+
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
NO_ARCH= yes
diff --git a/www/py-django-allauth/Makefile b/www/py-django-allauth/Makefile
--- a/www/py-django-allauth/Makefile
+++ b/www/py-django-allauth/Makefile
@@ -20,9 +20,11 @@
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asgiref>=3.8.1:www/py-asgiref@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}django52>=4.2.16:www/py-django52@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517
+CPE_PRODUCT= allauth
+
NO_ARCH= yes
OPTIONS_DEFINE= HEADLESS HEADLESS_SPEC IDP_OIDC MFA OPENID SAML SOCIALACCOUNT STEAM
diff --git a/www/py-django-celery-results/Makefile b/www/py-django-celery-results/Makefile
--- a/www/py-django-celery-results/Makefile
+++ b/www/py-django-celery-results/Makefile
@@ -16,7 +16,9 @@
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=3.2:www/py-django52@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}celery>=5.3.6:devel/py-celery@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist distutils
+CPE_VENDOR= django-celery-results_project
+
.include <bsd.port.mk>
diff --git a/www/py-django-filter/Makefile b/www/py-django-filter/Makefile
--- a/www/py-django-filter/Makefile
+++ b/www/py-django-filter/Makefile
@@ -15,9 +15,11 @@
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2<4:devel/py-flit-core@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=5.2:www/py-django52@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist pep517
+CPE_VENDOR= django-filter_project
+
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
NO_ARCH= yes
diff --git a/www/py-django-photologue/Makefile b/www/py-django-photologue/Makefile
--- a/www/py-django-photologue/Makefile
+++ b/www/py-django-photologue/Makefile
@@ -18,9 +18,11 @@
${PYTHON_PKGNAMEPREFIX}ExifRead>=3:graphics/py-exifread@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pillow>=10:graphics/py-pillow@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist pep517
+CPE_VENDOR= django-photologue_project
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/www/py-django-registration/Makefile b/www/py-django-registration/Makefile
--- a/www/py-django-registration/Makefile
+++ b/www/py-django-registration/Makefile
@@ -17,9 +17,11 @@
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}confusable-homoglyphs>=3.0:devel/py-confusable-homoglyphs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}django52>=4.2:www/py-django52@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist pep517
+CPE_VENDOR= django-registration_project
+
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-registration-redux
NO_ARCH= yes
diff --git a/www/py-djangorestframework/Makefile b/www/py-djangorestframework/Makefile
--- a/www/py-djangorestframework/Makefile
+++ b/www/py-djangorestframework/Makefile
@@ -16,9 +16,12 @@
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=5.2:www/py-django52@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist pep517
+CPE_VENDOR= django-rest-framework
+CPE_PRODUCT= django_rest_framework
+
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
NO_ARCH= yes
diff --git a/www/py-flask-cors/Makefile b/www/py-flask-cors/Makefile
--- a/www/py-flask-cors/Makefile
+++ b/www/py-flask-cors/Makefile
@@ -19,9 +19,11 @@
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flask>=0.9:www/py-flask@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}werkzeug>=0.7:www/py-werkzeug@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517 pytest
+CPE_VENDOR= flask-cors_project
+
NO_ARCH= yes
.include <bsd.port.pre.mk>
diff --git a/www/py-flask-restx/Makefile b/www/py-flask-restx/Makefile
--- a/www/py-flask-restx/Makefile
+++ b/www/py-flask-restx/Makefile
@@ -18,7 +18,9 @@
${PYTHON_PKGNAMEPREFIX}werkzeug>0:www/py-werkzeug@${PY_FLAVOR}
NO_ARCH= yes
-USES= python
+USES= cpe python
USE_PYTHON= autoplist distutils
+CPE_VENDOR= flask-restx_project
+
.include <bsd.port.mk>
diff --git a/www/py-flower/Makefile b/www/py-flower/Makefile
--- a/www/py-flower/Makefile
+++ b/www/py-flower/Makefile
@@ -21,9 +21,11 @@
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.8.2:devel/py-python-dateutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist distutils
+CPE_VENDOR= flower_project
+
TEST_ENV= PYTHONPATH=${WRKSRC}/src
NO_ARCH= yes
diff --git a/www/py-hyperkitty/Makefile b/www/py-hyperkitty/Makefile
--- a/www/py-hyperkitty/Makefile
+++ b/www/py-hyperkitty/Makefile
@@ -27,9 +27,11 @@
${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.0:devel/py-python-dateutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}robot-detection>=0.3:www/py-robot-detection@${PY_FLAVOR}
-USES= python shebangfix
+USES= cpe python shebangfix
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= hyperkitty_project
+
SHEBANG_FILES= hyperkitty/contrib/check_hk_import \
hyperkitty/contrib/cleanarch3
diff --git a/www/py-litestar/Makefile b/www/py-litestar/Makefile
--- a/www/py-litestar/Makefile
+++ b/www/py-litestar/Makefile
@@ -23,7 +23,7 @@
${PYTHON_PKGNAMEPREFIX}pydantic2>=0:devel/py-pydantic2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}uvicorn>=0:www/py-uvicorn@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
diff --git a/www/py-mechanicalsoup/Makefile b/www/py-mechanicalsoup/Makefile
--- a/www/py-mechanicalsoup/Makefile
+++ b/www/py-mechanicalsoup/Makefile
@@ -27,9 +27,11 @@
${PYTHON_PKGNAMEPREFIX}requests-mock>=1.3.0:www/py-requests-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}werkzeug>=3.0.3:www/py-werkzeug@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517 pytest
+CPE_VENDOR= mechanicalsoup_project
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/www/py-mechanize/Makefile b/www/py-mechanize/Makefile
--- a/www/py-mechanize/Makefile
+++ b/www/py-mechanize/Makefile
@@ -14,9 +14,11 @@
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>=0.9:www/py-html5lib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}html5-parser>0:www/py-html5-parser@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= distutils autoplist
+CPE_VENDOR= mechanize_project
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/www/py-nicegui/Makefile b/www/py-nicegui/Makefile
--- a/www/py-nicegui/Makefile
+++ b/www/py-nicegui/Makefile
@@ -43,9 +43,11 @@
${PYTHON_PKGNAMEPREFIX}vbuild>=0:textproc/py-vbuild@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}watchfiles>=0:devel/py-watchfiles@${PY_FLAVOR}
-USES= python shebangfix
+USES= cpe python shebangfix
USE_PYTHON= autoplist pep517
+CPE_VENDOR= zauberzeug
+
SHEBANG_FILES= nicegui/scripts/pack.py
CONFLICTS_INSTALL?= www/py-nicegui-nogui
diff --git a/www/py-planet/Makefile b/www/py-planet/Makefile
--- a/www/py-planet/Makefile
+++ b/www/py-planet/Makefile
@@ -24,7 +24,7 @@
${PYTHON_PKGNAMEPREFIX}tqdm>=4.56:misc/py-tqdm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
diff --git a/www/py-priority/Makefile b/www/py-priority/Makefile
--- a/www/py-priority/Makefile
+++ b/www/py-priority/Makefile
@@ -16,9 +16,12 @@
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= python
+CPE_PRODUCT= python_priority_library
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/www/py-priority1/Makefile b/www/py-priority1/Makefile
--- a/www/py-priority1/Makefile
+++ b/www/py-priority1/Makefile
@@ -17,9 +17,12 @@
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= python
+CPE_PRODUCT= python_priority_library
+
NO_ARCH= yes
PORTSCOUT= limit:^1\.
diff --git a/www/py-python-dotenv/Makefile b/www/py-python-dotenv/Makefile
--- a/www/py-python-dotenv/Makefile
+++ b/www/py-python-dotenv/Makefile
@@ -15,9 +15,11 @@
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= saurabh-kumar
+
CONFLICTS_INSTALL= rubygem-dotenv # bin/dotenv
NO_ARCH= yes
diff --git a/www/py-python-multipart/Makefile b/www/py-python-multipart/Makefile
--- a/www/py-python-multipart/Makefile
+++ b/www/py-python-multipart/Makefile
@@ -18,9 +18,11 @@
${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= fastapiexpert
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/www/py-quart/Makefile b/www/py-quart/Makefile
--- a/www/py-quart/Makefile
+++ b/www/py-quart/Makefile
@@ -22,9 +22,11 @@
${PYTHON_PKGNAMEPREFIX}markupsafe>=0:textproc/py-markupsafe@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}werkzeug>=3.0:www/py-werkzeug@${PY_FLAVOR}
-USES= python:3.12+
+USES= cpe python:3.12+
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= palletsprojects
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/www/py-soupsieve/Makefile b/www/py-soupsieve/Makefile
--- a/www/py-soupsieve/Makefile
+++ b/www/py-soupsieve/Makefile
@@ -17,9 +17,12 @@
${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}beautifulsoup4>4:www/py-beautifulsoup4@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517 pytest
+CPE_VENDOR= facelessuser
+CPE_PRODUCT= soup_sieve
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/www/py-starlette/Makefile b/www/py-starlette/Makefile
--- a/www/py-starlette/Makefile
+++ b/www/py-starlette/Makefile
@@ -15,9 +15,11 @@
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}anyio>=3.6.2<5:devel/py-anyio@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= encode
+
NO_ARCH= yes
OPTIONS_DEFINE= FULL
diff --git a/www/py-streamlit/Makefile b/www/py-streamlit/Makefile
--- a/www/py-streamlit/Makefile
+++ b/www/py-streamlit/Makefile
@@ -41,9 +41,11 @@
${PYTHON_PKGNAMEPREFIX}watchdog>0:devel/py-watchdog@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}websockets>=12.0.0:devel/py-websockets@${PY_FLAVOR}
-USES= python shebangfix
+USES= cpe python shebangfix
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= snowflake
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/www/py-wagtail-2fa/Makefile b/www/py-wagtail-2fa/Makefile
--- a/www/py-wagtail-2fa/Makefile
+++ b/www/py-wagtail-2fa/Makefile
@@ -21,9 +21,11 @@
${PYTHON_PKGNAMEPREFIX}six>=1.14.0:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wagtail>=7.0:www/py-wagtail@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist concurrent pep517
+CPE_VENDOR= labdigital
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/www/py-webob/Makefile b/www/py-webob/Makefile
--- a/www/py-webob/Makefile
+++ b/www/py-webob/Makefile
@@ -16,8 +16,11 @@
${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-xdist>=3.8.0:devel/py-pytest-xdist@${PY_FLAVOR}
-USES= python
+USES= cpe python
USE_PYTHON= autoplist pep517
+
+CPE_VENDOR= pylonsproject
+
# tests: 2488 passed, 1 xfailed, 9 skipped
USE_PYTHON+= pytest
diff --git a/www/py-wsgidav/Makefile b/www/py-wsgidav/Makefile
--- a/www/py-wsgidav/Makefile
+++ b/www/py-wsgidav/Makefile
@@ -35,9 +35,11 @@
${PYTHON_PKGNAMEPREFIX}webtest>=2.0:www/py-webtest@${PY_FLAVOR} \
mercurial>=0:devel/mercurial
-USES= python
+USES= cpe python
USE_PYTHON= distutils autoplist
+CPE_VENDOR= wsgidav_project
+
NO_ARCH= yes
OPTIONS_DEFINE= CHEROOT CHERRYPY FLUP PASTE WSGIUTILS
diff --git a/www/py-yt-dlp/Makefile b/www/py-yt-dlp/Makefile
--- a/www/py-yt-dlp/Makefile
+++ b/www/py-yt-dlp/Makefile
@@ -23,9 +23,11 @@
${PYTHON_PKGNAMEPREFIX}websockets>=13.0:devel/py-websockets@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yt-dlp-ejs>0:www/py-yt-dlp-ejs@${PY_FLAVOR}
-USES= gmake python shebangfix
+USES= cpe gmake python shebangfix
USE_PYTHON= concurrent flavors
+CPE_VENDOR= yt-dlp_project
+
SHEBANG_GLOB= *.py
NO_BUILD= yes
diff --git a/www/qdecoder/Makefile b/www/qdecoder/Makefile
--- a/www/qdecoder/Makefile
+++ b/www/qdecoder/Makefile
@@ -11,6 +11,10 @@
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
+USES= cpe
+
+CPE_VENDOR= qdecoder_project
+
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
diff --git a/www/rubygem-bootstrap-sass/Makefile b/www/rubygem-bootstrap-sass/Makefile
--- a/www/rubygem-bootstrap-sass/Makefile
+++ b/www/rubygem-bootstrap-sass/Makefile
@@ -13,7 +13,9 @@
RUN_DEPENDS= rubygem-autoprefixer-rails>=5.2.1:textproc/rubygem-autoprefixer-rails \
rubygem-sassc>=2.0.0:textproc/rubygem-sassc
-USES= gem shebangfix
+USES= cpe gem shebangfix
+
+CPE_VENDOR= getbootstrap
NO_ARCH= yes
diff --git a/www/rubygem-cloudinary/Makefile b/www/rubygem-cloudinary/Makefile
--- a/www/rubygem-cloudinary/Makefile
+++ b/www/rubygem-cloudinary/Makefile
@@ -16,7 +16,7 @@
rubygem-faraday-multipart>=1.0.4<2:www/rubygem-faraday-multipart \
rubygem-ostruct>=0:devel/rubygem-ostruct
-USES= gem
+USES= cpe gem
NO_ARCH= yes
diff --git a/www/rubygem-em-http-request/Makefile b/www/rubygem-em-http-request/Makefile
--- a/www/rubygem-em-http-request/Makefile
+++ b/www/rubygem-em-http-request/Makefile
@@ -15,7 +15,9 @@
rubygem-eventmachine>=1.0.3:devel/rubygem-eventmachine \
rubygem-http_parser.rb>=0.6.0:net/rubygem-http_parser.rb
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= em-http-request_project
NO_ARCH= yes
diff --git a/www/rubygem-gollum-grit_adapter/Makefile b/www/rubygem-gollum-grit_adapter/Makefile
--- a/www/rubygem-gollum-grit_adapter/Makefile
+++ b/www/rubygem-gollum-grit_adapter/Makefile
@@ -11,7 +11,10 @@
RUN_DEPENDS= rubygem-gitlab-grit>=2.7.1<3:textproc/rubygem-gitlab-grit
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= gollum_project
+CPE_PRODUCT= grit_adapter
NO_ARCH= yes
diff --git a/www/rubygem-gollum-lib/Makefile b/www/rubygem-gollum-lib/Makefile
--- a/www/rubygem-gollum-lib/Makefile
+++ b/www/rubygem-gollum-lib/Makefile
@@ -19,7 +19,9 @@
rubygem-rouge3>=3.1<4:textproc/rubygem-rouge3 \
rubygem-twitter-text1>=1.14.7<1.14.8:textproc/rubygem-twitter-text1
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= gollum_project
NO_ARCH= yes
diff --git a/www/rubygem-http/Makefile b/www/rubygem-http/Makefile
--- a/www/rubygem-http/Makefile
+++ b/www/rubygem-http/Makefile
@@ -13,7 +13,10 @@
RUN_DEPENDS= rubygem-http-cookie>=1.0<2:www/rubygem-http-cookie \
rubygem-llhttp>=0.6.1<0.7:www/rubygem-llhttp
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= http.rb_project
+CPE_PRODUCT= http.rb
NO_ARCH= yes
diff --git a/www/rubygem-http3/Makefile b/www/rubygem-http3/Makefile
--- a/www/rubygem-http3/Makefile
+++ b/www/rubygem-http3/Makefile
@@ -17,7 +17,10 @@
rubygem-http-form_data2>=2.0<3:www/rubygem-http-form_data2 \
rubygem-http_parser.rb>=0.6.0<1:net/rubygem-http_parser.rb
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= http.rb_project
+CPE_PRODUCT= http.rb
NO_ARCH= yes
diff --git a/www/rubygem-http4/Makefile b/www/rubygem-http4/Makefile
--- a/www/rubygem-http4/Makefile
+++ b/www/rubygem-http4/Makefile
@@ -17,7 +17,10 @@
rubygem-http-form_data2>=2.2<3:www/rubygem-http-form_data2 \
rubygem-http-parser>=1.2.0<1.3:net/rubygem-http-parser
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= http.rb_project
+CPE_PRODUCT= http.rb
NO_ARCH= yes
diff --git a/www/rubygem-json-jwt-gitlab/Makefile b/www/rubygem-json-jwt-gitlab/Makefile
--- a/www/rubygem-json-jwt-gitlab/Makefile
+++ b/www/rubygem-json-jwt-gitlab/Makefile
@@ -19,7 +19,9 @@
rubygem-faraday-gitlab>=2.0<3:www/rubygem-faraday-gitlab \
rubygem-faraday-follow_redirects-gitlab>=0:www/rubygem-faraday-follow_redirects-gitlab
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= json-jwt_project
NO_ARCH= yes
diff --git a/www/rubygem-json-jwt/Makefile b/www/rubygem-json-jwt/Makefile
--- a/www/rubygem-json-jwt/Makefile
+++ b/www/rubygem-json-jwt/Makefile
@@ -17,7 +17,9 @@
rubygem-faraday>=2.0<3:www/rubygem-faraday \
rubygem-faraday-follow_redirects>=0:www/rubygem-faraday-follow_redirects
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= json-jwt_project
NO_ARCH= yes
diff --git a/www/rubygem-protocol-http1/Makefile b/www/rubygem-protocol-http1/Makefile
--- a/www/rubygem-protocol-http1/Makefile
+++ b/www/rubygem-protocol-http1/Makefile
@@ -13,7 +13,9 @@
RUN_DEPENDS= rubygem-protocol-http>=0.68<1:www/rubygem-protocol-http
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= socketry
NO_ARCH= yes
diff --git a/www/rubygem-rack-session-gitlab/Makefile b/www/rubygem-rack-session-gitlab/Makefile
--- a/www/rubygem-rack-session-gitlab/Makefile
+++ b/www/rubygem-rack-session-gitlab/Makefile
@@ -13,7 +13,9 @@
RUN_DEPENDS= rubygem-rack-gitlab>=2<3:www/rubygem-rack-gitlab
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= rack
NO_ARCH= yes
diff --git a/www/rubygem-rack-session/Makefile b/www/rubygem-rack-session/Makefile
--- a/www/rubygem-rack-session/Makefile
+++ b/www/rubygem-rack-session/Makefile
@@ -13,7 +13,9 @@
RUN_DEPENDS= rubygem-base64>=0.1.0:converters/rubygem-base64 \
rubygem-rack>=3.0.0,3:www/rubygem-rack
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= rack
NO_ARCH= yes
diff --git a/www/rubygem-rack-session10/Makefile b/www/rubygem-rack-session10/Makefile
--- a/www/rubygem-rack-session10/Makefile
+++ b/www/rubygem-rack-session10/Makefile
@@ -13,7 +13,9 @@
RUN_DEPENDS= rubygem-rack22>=2,3<3,3:www/rubygem-rack22
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= rack
NO_ARCH= yes
PORTSCOUT= limit:^1\.0\.
diff --git a/www/rubygem-rest-client-gitlab/Makefile b/www/rubygem-rest-client-gitlab/Makefile
--- a/www/rubygem-rest-client-gitlab/Makefile
+++ b/www/rubygem-rest-client-gitlab/Makefile
@@ -16,7 +16,9 @@
rubygem-mime-types-gitlab>=1.16<4.0:misc/rubygem-mime-types-gitlab \
rubygem-netrc>=0.8<1:net/rubygem-netrc
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= rest-client_project
NO_ARCH= yes
diff --git a/www/rubygem-rest-client/Makefile b/www/rubygem-rest-client/Makefile
--- a/www/rubygem-rest-client/Makefile
+++ b/www/rubygem-rest-client/Makefile
@@ -15,7 +15,9 @@
rubygem-mime-types>=1.16<4.0:misc/rubygem-mime-types \
rubygem-netrc>=0.8<1:net/rubygem-netrc
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= rest-client_project
NO_ARCH= yes
diff --git a/www/rubygem-websocket-driver/Makefile b/www/rubygem-websocket-driver/Makefile
--- a/www/rubygem-websocket-driver/Makefile
+++ b/www/rubygem-websocket-driver/Makefile
@@ -13,6 +13,8 @@
RUN_DEPENDS= rubygem-base64>=0:converters/rubygem-base64 \
rubygem-websocket-extensions>=0.1.0:www/rubygem-websocket-extensions
-USES= gem
+USES= cpe gem
+
+CPE_VENDOR= faye
.include <bsd.port.mk>
diff --git a/www/sarg/Makefile b/www/sarg/Makefile
--- a/www/sarg/Makefile
+++ b/www/sarg/Makefile
@@ -17,7 +17,7 @@
PHP_DESC= Install PHP for reporting generating
-USES= autoreconf gmake
+USES= autoreconf cpe gmake
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CONFIGURE_ARGS= --sysconfdir="${ETCDIR}" \
@@ -27,6 +27,9 @@
LIBS+= -L${LOCALBASE}/lib
CFLAGS+= -fcommon
+CPE_VENDOR= squid_analysis_report_generator_project
+CPE_PRODUCT= squid_analysis_report_generator
+
NLS_USES= gettext
NLS_USES_OFF= gettext-tools
NLS_CONFIGURE_ENABLE= nls
diff --git a/www/shiori/Makefile b/www/shiori/Makefile
--- a/www/shiori/Makefile
+++ b/www/shiori/Makefile
@@ -11,9 +11,11 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= go:modules
+USES= cpe go:modules
USE_RC_SUBR= ${PORTNAME}
+CPE_VENDOR= go-shiori
+
GO_MODULE= github.com/go-shiori/shiori
SUB_LIST= USER=${USERS:[1]} \
diff --git a/www/spawn-fcgi/Makefile b/www/spawn-fcgi/Makefile
--- a/www/spawn-fcgi/Makefile
+++ b/www/spawn-fcgi/Makefile
@@ -8,10 +8,12 @@
COMMENT= Spawns fastcgi applications
WWW= https://redmine.lighttpd.net/projects/spawn-fcgi
-USES= cmake
+USES= cmake cpe
CMAKE_ARGS= -DCMAKE_MAN_DIR:string=${PREFIX}/share/man
USE_RC_SUBR= spawn-fcgi
+CPE_VENDOR= lighttpd
+
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/www/srt/Makefile b/www/srt/Makefile
--- a/www/srt/Makefile
+++ b/www/srt/Makefile
@@ -14,7 +14,10 @@
TEST_DEPENDS= googletest>=0:devel/googletest
-USES= cmake:testing compiler:c++17-lang pathfix shebangfix
+USES= cmake:testing compiler:c++17-lang cpe pathfix shebangfix
+
+CPE_VENDOR= srtalliance
+CPE_PRODUCT= secure_reliable_transport
USE_GITHUB= yes
GH_ACCOUNT= Haivision
diff --git a/www/tikiwiki/Makefile b/www/tikiwiki/Makefile
--- a/www/tikiwiki/Makefile
+++ b/www/tikiwiki/Makefile
@@ -11,11 +11,13 @@
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/license.txt
-USES= php:web
+USES= cpe php:web
USE_PHP= calendar dom fileinfo gd gettext intl mbstring mcrypt \
posix session xml zip zlib
IGNORE_WITH_PHP= 86
+CPE_PRODUCT= tiki
+
NO_BUILD= yes
NO_MTREE= yes
NO_ARCH= yes
diff --git a/www/tinyauth/Makefile b/www/tinyauth/Makefile
--- a/www/tinyauth/Makefile
+++ b/www/tinyauth/Makefile
@@ -19,7 +19,7 @@
ONLY_FOR_ARCHS= aarch64 amd64
ONLY_FOR_ARCHS_REASON= module modernc.org/sqlite only supported on aarch64 and amd64
-USES= go:modules
+USES= cpe go:modules
USE_GITHUB= yes
GH_ACCOUNT= steveiliop56
diff --git a/www/varnish-libvmod-digest/Makefile b/www/varnish-libvmod-digest/Makefile
--- a/www/varnish-libvmod-digest/Makefile
+++ b/www/varnish-libvmod-digest/Makefile
@@ -13,12 +13,15 @@
BUILD_DEPENDS= rst2man:textproc/py-docutils@${PY_FLAVOR}
LIB_DEPENDS= libmhash.so:security/mhash
-USES= autoreconf gmake libtool pkgconfig python:build varnish:7
+USES= autoreconf cpe gmake libtool pkgconfig python:build varnish:7
USE_GITHUB= yes
GH_ACCOUNT= varnish
GH_TAGNAME= e745761
USE_LDCONFIG= ${PREFIX}/lib/varnach/vmods
+CPE_VENDOR= varnish-software
+CPE_PRODUCT= vmod_digest
+
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS= --disable-static
diff --git a/www/wabt/Makefile b/www/wabt/Makefile
--- a/www/wabt/Makefile
+++ b/www/wabt/Makefile
@@ -12,7 +12,9 @@
TEST_DEPENDS= googletest>0:devel/googletest
-USES= cmake:testing localbase:ldflags python ssl
+USES= cmake:testing cpe localbase:ldflags python ssl
+
+CPE_VENDOR= webassembly
USE_GITHUB= yes
GH_ACCOUNT= WebAssembly
diff --git a/www/wasmtime/Makefile b/www/wasmtime/Makefile
--- a/www/wasmtime/Makefile
+++ b/www/wasmtime/Makefile
@@ -12,7 +12,9 @@
LIB_DEPENDS= libzstd.so:archivers/zstd
-USES= cargo
+USES= cargo cpe
+
+CPE_VENDOR= bytecodealliance
USE_GITHUB= yes
GH_ACCOUNT= bytecodealliance
diff --git a/www/wp-cli/Makefile b/www/wp-cli/Makefile
--- a/www/wp-cli/Makefile
+++ b/www/wp-cli/Makefile
@@ -15,7 +15,7 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= php:cli,flavors
+USES= cpe php:cli,flavors
USE_GITHUB= yes
USE_PHP= filter mbstring mysqli phar simplexml tokenizer xml xmlreader \
xmlwriter zip zlib
diff --git a/www/yt-dlp/Makefile b/www/yt-dlp/Makefile
--- a/www/yt-dlp/Makefile
+++ b/www/yt-dlp/Makefile
@@ -25,7 +25,9 @@
${PY_DEPENDS}
RUN_DEPENDS= ${PY_DEPENDS}
-USES= gmake python shebangfix
+USES= cpe gmake python shebangfix
+
+CPE_VENDOR= yt-dlp_project
SHEBANG_GLOB= devscripts/*.py
diff --git a/x11-fm/xfe/Makefile b/x11-fm/xfe/Makefile
--- a/x11-fm/xfe/Makefile
+++ b/x11-fm/xfe/Makefile
@@ -16,11 +16,14 @@
libpng.so:graphics/png \
libxcb-util.so:x11/xcb-util
-USES= desktop-file-utils gmake gnome localbase pathfix pkgconfig \
+USES= cpe desktop-file-utils gmake gnome localbase pathfix pkgconfig \
tar:xz xorg
USE_GNOME= intltool
USE_XORG= x11 xcb xft xrandr xrender
+CPE_VENDOR= x_file_explorer_project
+CPE_PRODUCT= x_file_explorer
+
GNU_CONFIGURE= yes
LDFLAGS+= -pthread
diff --git a/x11-fonts/font-awesome/Makefile b/x11-fonts/font-awesome/Makefile
--- a/x11-fonts/font-awesome/Makefile
+++ b/x11-fonts/font-awesome/Makefile
@@ -13,7 +13,10 @@
LICENSE= OFL11
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USES= fonts zip
+USES= cpe fonts zip
+
+CPE_VENDOR= fontawesome
+CPE_PRODUCT= ${PORTNAME:tl:S/-/_/g}
NO_ARCH= yes
NO_BUILD= yes
diff --git a/x11-fonts/ots/Makefile b/x11-fonts/ots/Makefile
--- a/x11-fonts/ots/Makefile
+++ b/x11-fonts/ots/Makefile
@@ -21,7 +21,10 @@
liblz4.so:archivers/liblz4 \
libwoff2dec.so:devel/woff2
-USES= compiler:c++17-lang meson pkgconfig tar:xz
+USES= compiler:c++17-lang cpe meson pkgconfig tar:xz
+
+CPE_VENDOR= opentype_sanitiser_project
+CPE_PRODUCT= opentype_sanitiser
MESON_ARGS= --default-library=both \
-Dcolr-cycle-check=true \
diff --git a/x11/cde-devel/Makefile b/x11/cde-devel/Makefile
--- a/x11/cde-devel/Makefile
+++ b/x11/cde-devel/Makefile
@@ -39,7 +39,7 @@
sessreg:x11/sessreg
LIB_DEPENDS= liblmdb.so:databases/lmdb0
-USES= autoreconf:build iconv gmake jpeg libtool motif perl5 \
+USES= autoreconf:build cpe iconv gmake jpeg libtool motif perl5 \
pkgconfig shebangfix tcl:86 xorg
SHEBANG_LANG= pl
SHEBANG_FILES= programs/dtinfo/tools/bin/ccdate \
@@ -49,6 +49,9 @@
USE_RC_SUBR= dtcms dtlogin
USE_XORG= ice sm x11 xau xdmcp xext xinerama xmu xscrnsaver xt
+CPE_VENDOR= common_desktop_environment_project
+CPE_PRODUCT= _common_desktop_environment
+
GNU_CONFIGURE= yes
GNU_CONFIGURE_PREFIX= ${DT_PREFIX}
GNU_CONFIGURE_MANPREFIX= ${DT_PREFIX}/share
diff --git a/x11/cde/Makefile b/x11/cde/Makefile
--- a/x11/cde/Makefile
+++ b/x11/cde/Makefile
@@ -28,7 +28,7 @@
sessreg:x11/sessreg
LIB_DEPENDS= liblmdb.so:databases/lmdb0
-USES= autoreconf:build iconv gmake jpeg libtool motif perl5 \
+USES= autoreconf:build cpe iconv gmake jpeg libtool motif perl5 \
shebangfix tcl:86 xorg
SHEBANG_LANG= pl
SHEBANG_FILES= programs/dtinfo/tools/bin/ccdate \
@@ -38,6 +38,9 @@
USE_RC_SUBR= dtcms dtlogin
USE_XORG= ice sm x11 xau xdmcp xext xinerama xmu xscrnsaver xt
+CPE_VENDOR= common_desktop_environment_project
+CPE_PRODUCT= _common_desktop_environment
+
GNU_CONFIGURE= yes
GNU_CONFIGURE_PREFIX= ${DT_PREFIX}
GNU_CONFIGURE_MANPREFIX= ${DT_PREFIX}/share
diff --git a/x11/ghostty/Makefile b/x11/ghostty/Makefile
--- a/x11/ghostty/Makefile
+++ b/x11/ghostty/Makefile
@@ -19,7 +19,7 @@
libsimdutf.so:converters/simdutf \
libspirv-cross-c-shared.so:graphics/spirv-cross
-USES= gettext-runtime gettext-tools gnome pkgconfig zig:015
+USES= cpe gettext-runtime gettext-tools gnome pkgconfig zig:015
USE_GITHUB= yes
GH_ACCOUNT= ghostty-org
diff --git a/x11/guake/Makefile b/x11/guake/Makefile
--- a/x11/guake/Makefile
+++ b/x11/guake/Makefile
@@ -26,7 +26,7 @@
libnotify>0:devel/libnotify \
libwnck3>0:x11-toolkits/libwnck3
-USES= desktop-file-utils gettext gmake gnome libtool localbase \
+USES= cpe desktop-file-utils gettext gmake gnome libtool localbase \
pkgconfig python shebangfix
USE_GNOME= cairo dconf glib20 gtk30 pygobject3 vte3
USE_PYTHON= distutils noflavors
diff --git a/x11/mate-screensaver/Makefile b/x11/mate-screensaver/Makefile
--- a/x11/mate-screensaver/Makefile
+++ b/x11/mate-screensaver/Makefile
@@ -19,7 +19,7 @@
libnotify.so:devel/libnotify \
libstartup-notification-1.so:x11/startup-notification
-USES= gettext gl gmake gnome localbase mate pathfix pkgconfig tar:xz \
+USES= cpe gettext gl gmake gnome localbase mate pathfix pkgconfig tar:xz \
xorg
USE_GL= gl
USE_MATE= desktop libmatekbd menus session:run
@@ -31,6 +31,8 @@
CONFIGURE_ARGS= --with-console-kit=yes \
--with-systemd=no
+CPE_VENDOR= mate-desktop
+
GLIB_SCHEMAS= org.mate.screensaver.gschema.xml
SUB_FILES+= mate-screensaver.pam
diff --git a/x11/waveterm/Makefile b/x11/waveterm/Makefile
--- a/x11/waveterm/Makefile
+++ b/x11/waveterm/Makefile
@@ -29,9 +29,12 @@
BUILD_DEPENDS= task:devel/task
LIB_DEPENDS= libvips.so:graphics/vips
-USES= cargo electron:41 gmake go:modules,no_targets \
+USES= cargo cpe electron:41 gmake go:modules,no_targets \
nodejs:24,build npm:npm python:build
+CPE_VENDOR= ${PORTNAME:tl}
+CPE_PRODUCT= wave_terminal
+
USE_GITHUB= yes
GH_ACCOUNT= wavetermdev
GH_TUPLE= swc-project:swc:v1.15.11:swc/swc
diff --git a/x11/yelp/Makefile b/x11/yelp/Makefile
--- a/x11/yelp/Makefile
+++ b/x11/yelp/Makefile
@@ -23,7 +23,7 @@
libwebkit2gtk-4.1.so:www/webkit2-gtk@41
RUN_DEPENDS= yelp-xsl>=0:textproc/yelp-xsl
-USES= compiler:c11 desktop-file-utils gettext gnome meson \
+USES= compiler:c11 cpe desktop-file-utils gettext gnome meson \
pkgconfig shebangfix sqlite tar:xz xorg
USE_GNOME= cairo gdkpixbuf gtk30 libxml2 libxslt
USE_XORG= ice x11
@@ -32,6 +32,8 @@
GLIB_SCHEMAS= org.gnome.yelp.gschema.xml
USE_LDCONFIG= yes
+CPE_VENDOR= gnome
+
post-patch:
@${REINPLACE_CMD} -e 's|%%LIBEXECDIR%%|${PREFIX}/libexec|g' \
${WRKSRC}/libyelp/yelp-man-parser.c

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 24, 1:09 PM (17 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41955321
Default Alt Text
D61941.1795525779.diff (267 KB)

Event Timeline