mirror of
https://git.freebsd.org/ports.git
synced 2026-06-02 11:08:52 +00:00
Mk/Uses: Remove certs.mk
It was a useful shorthand for the security/ca_root_nss dependency. However, several people disagreed. Can anybody explain why libedit.mk is there? It is also a one string substitution. Same with libarchive.mk.
This commit is contained in:
@@ -1,54 +0,0 @@
|
||||
# Handle dependency on the ca_root_nss certificate bundle
|
||||
#
|
||||
# Feature: certs
|
||||
# Usage: USES=certs:args
|
||||
# Valid ARGS: fetch, build, run, test
|
||||
#
|
||||
# At least one argument is required.
|
||||
#
|
||||
# fetch ca_root_nss is added as FETCH_DEPENDS
|
||||
# build ca_root_nss is added as BUILD_DEPENDS
|
||||
# run ca_root_nss is added as RUN_DEPENDS
|
||||
# test ca_root_nss is added as TEST_DEPENDS
|
||||
#
|
||||
# Examples:
|
||||
# USES=certs:fetch,run # Use certificates for fetch and runtime
|
||||
# USES=certs:build # Use certificates at build time
|
||||
#
|
||||
# MAINTAINER: yuri@FreeBSD.org
|
||||
|
||||
.if !defined(_INCLUDE_USES_CERTS_MK)
|
||||
_INCLUDE_USES_CERTS_MK= yes
|
||||
|
||||
# certificate bundle location and port
|
||||
_CERTS_DEP= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
|
||||
|
||||
# all valid arguments
|
||||
_CERTS_ALL_ARGS= fetch build run test
|
||||
|
||||
. if empty(certs_ARGS)
|
||||
IGNORE= USES=certs requires at least one argument (${_CERTS_ALL_ARGS})
|
||||
. endif
|
||||
|
||||
. if !empty(certs_ARGS:Nfetch:Nbuild:Nrun:Ntest)
|
||||
IGNORE= USES=certs has invalid arguments: ${certs_ARGS}. Valid arguments are: ${_CERTS_ALL_ARGS}
|
||||
. endif
|
||||
|
||||
# Set dependencies based on arguments
|
||||
. if ${certs_ARGS:Mfetch}
|
||||
FETCH_DEPENDS+= ${_CERTS_DEP}
|
||||
. endif
|
||||
|
||||
. if ${certs_ARGS:Mbuild}
|
||||
BUILD_DEPENDS+= ${_CERTS_DEP}
|
||||
. endif
|
||||
|
||||
. if ${certs_ARGS:Mrun}
|
||||
RUN_DEPENDS+= ${_CERTS_DEP}
|
||||
. endif
|
||||
|
||||
. if ${certs_ARGS:Mtest}
|
||||
TEST_DEPENDS+= ${_CERTS_DEP}
|
||||
. endif
|
||||
|
||||
.endif # _INCLUDE_USES_CERTS_MK
|
||||
+3
-2
@@ -24,9 +24,10 @@ LIB_DEPENDS= libblas.so:math/blas \
|
||||
libumfpack.so:math/suitesparse-umfpack
|
||||
TEST_DEPENDS= git:devel/git \
|
||||
${PYNUMPY} \
|
||||
${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}
|
||||
${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \
|
||||
${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
|
||||
|
||||
USES= autoreconf bison certs:test gmake fortran libtool localbase perl5 python:test # GNU tools should be used for 7.5 and on until the cmake build is declared stable
|
||||
USES= autoreconf bison gmake fortran libtool localbase perl5 python:test # GNU tools should be used for 7.5 and on until the cmake build is declared stable
|
||||
USE_CXXSTD= c++14 # otherwise configure fails because of c++14 features like std::conditional_t
|
||||
USE_CXXSTD= c++17 # workaround for https://github.com/Xyce/Xyce/issues/97, which occurred when Trilinos was updated to 15.1.0
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
@@ -7,10 +7,11 @@ COMMENT= Agentic coding tool from Anthropic that lives in your terminal
|
||||
WWW= https://github.com/anthropics/claude-code
|
||||
|
||||
FETCH_DEPENDS= npm:www/npm \
|
||||
jq:textproc/jq
|
||||
jq:textproc/jq \
|
||||
${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
|
||||
RUN_DEPENDS= rg:textproc/ripgrep
|
||||
|
||||
USES= certs:fetch nodejs:run
|
||||
USES= nodejs:run
|
||||
|
||||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
|
||||
@@ -15,7 +15,8 @@ ONLY_FOR_ARCHS= aarch64 amd64
|
||||
ONLY_FOR_ARCHS_REASON= binaries are installed in folders with architecture encoded in them, patches are welcome to fix this limitation
|
||||
|
||||
FETCH_DEPENDS= npm:www/npm \
|
||||
jq:textproc/jq
|
||||
jq:textproc/jq \
|
||||
${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
|
||||
BUILD_DEPENDS= npm:www/npm \
|
||||
libsecret>0:security/libsecret \
|
||||
vips>=8.17.2:graphics/vips
|
||||
@@ -23,7 +24,7 @@ RUN_DEPENDS= libsecret>0:security/libsecret \
|
||||
rg:textproc/ripgrep \
|
||||
vips>=8.17.2:graphics/vips
|
||||
|
||||
USES= certs:fetch nodejs:run pkgconfig python:build
|
||||
USES= nodejs:run pkgconfig python:build
|
||||
|
||||
WRKSRC= ${WRKDIR}/copilot-${DISTVERSION}
|
||||
|
||||
|
||||
@@ -16,7 +16,8 @@ ONLY_FOR_ARCHS= aarch64 amd64
|
||||
ONLY_FOR_ARCHS_REASON= binaries are installed in folders with architecture encoded in them, patches are welcome to fix this limitation
|
||||
|
||||
FETCH_DEPENDS= npm:www/npm \
|
||||
jq:textproc/jq
|
||||
jq:textproc/jq \
|
||||
${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
|
||||
BUILD_DEPENDS= npm:www/npm \
|
||||
krb5>0:security/krb5 \
|
||||
sqlite3>0:databases/sqlite3
|
||||
@@ -24,7 +25,7 @@ RUN_DEPENDS= krb5>0:security/krb5 \
|
||||
sqlite3>0:databases/sqlite3 \
|
||||
ripgrep>0:textproc/ripgrep
|
||||
|
||||
USES= certs:fetch nodejs:run pkgconfig python:build
|
||||
USES= nodejs:run pkgconfig python:build
|
||||
|
||||
WRKSRC= ${WRKDIR}/copilot-language-server-${DISTVERSION}
|
||||
|
||||
|
||||
@@ -10,10 +10,11 @@ LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/node_modules/${PACKAGE_NAME}/LICENSE
|
||||
|
||||
FETCH_DEPENDS= npm:www/npm \
|
||||
jq:textproc/jq
|
||||
jq:textproc/jq \
|
||||
${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
|
||||
RUN_DEPENDS= rg:textproc/ripgrep
|
||||
|
||||
USES= certs:fetch nodejs:run
|
||||
USES= nodejs:run
|
||||
|
||||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
|
||||
@@ -9,10 +9,11 @@ WWW= https://github.com/Nano-Collective/nanocoder
|
||||
LICENSE= MIT
|
||||
|
||||
FETCH_DEPENDS= npm:www/npm \
|
||||
jq:textproc/jq
|
||||
jq:textproc/jq \
|
||||
${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
|
||||
BUILD_DEPENDS= npm:www/npm
|
||||
|
||||
USES= certs:fetch nodejs:run
|
||||
USES= nodejs:run
|
||||
|
||||
PACKAGE_NAME= @nanocollective/nanocoder
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ X11_DESC= Build graphics API
|
||||
|
||||
CLIENT_LIB_DEPENDS= libcurl.so:ftp/curl \
|
||||
libfreetype.so:print/freetype2
|
||||
CLIENT_USES= certs:run
|
||||
CLIENT_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
|
||||
CLIENT_USE= RC_SUBR=boinc-client
|
||||
CLIENT_CONFIGURE_ENABLE= client
|
||||
|
||||
|
||||
@@ -15,14 +15,15 @@ WWW= https://github.com/yt-dlp/yt-dlp-ejs
|
||||
LICENSE= UNLICENSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
FETCH_DEPENDS= npm:www/npm
|
||||
FETCH_DEPENDS= npm:www/npm \
|
||||
${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
|
||||
BUILD_DEPENDS= deno:www/deno \
|
||||
npm:www/npm \
|
||||
${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
|
||||
RUN_DEPENDS= deno:www/deno
|
||||
|
||||
USES= certs:fetch python
|
||||
USES= python
|
||||
USE_PYTHON= pep517 autoplist pytest
|
||||
|
||||
SHEBANG_GLOB= *.py
|
||||
|
||||
Reference in New Issue
Block a user