diff --git a/Mk/Uses/cargo.mk b/Mk/Uses/cargo.mk index 9206938b544f..ea8409eb87b5 100644 --- a/Mk/Uses/cargo.mk +++ b/Mk/Uses/cargo.mk @@ -1,415 +1,420 @@ # This file contains logic to ease porting of Rust packages or # binaries using the `cargo` command. # # Feature: cargo # Usage: USES=cargo # Valid ARGS: none # # MAINTAINER: rust@FreeBSD.org .if !defined(_INCLUDE_USES_CARGO_MK) _INCLUDE_USES_CARGO_MK= yes . if !empty(cargo_ARGS) IGNORE+= USES=cargo takes no arguments . endif .sinclude "${MASTERDIR}/Makefile.crates" # List of static dependencies. The format is cratename-version. # CARGO_CRATES will be downloaded from MASTER_SITE_CRATESIO. CARGO_CRATES?= # List of features to build (space separated list). # Use special token --no-default-features to disable default # features by passing it to cargo build/install/test. CARGO_FEATURES?= # Name of the local directory for vendoring crates. CARGO_VENDOR_DIR?= ${WRKSRC}/cargo-crates # Default path for cargo manifest. CARGO_CARGOTOML?= ${WRKSRC}/Cargo.toml CARGO_CARGOLOCK?= ${WRKSRC}/Cargo.lock # Save crates inside ${DISTDIR}/rust/crates by default. CARGO_DIST_SUBDIR?= rust/crates # Generate list of DISTFILES. # Prefer canonical file extension .crate going forward . if make(makesum) CARGO_CRATE_EXT= .crate . else # If there is a rust/crates/*.tar.gz in distinfo keep using the old # extension. We need to delay eval until the last moment for # DISTINFO_FILE. We cache the command output to avoid multiple # slow grep runs for every CARGO_CRATE_EXT access. CARGO_CRATE_EXT= ${defined(_CARGO_CRATE_EXT_CACHE):?${_CARGO_CRATE_EXT_CACHE}:${:!if ${GREP} -q '\(${CARGO_DIST_SUBDIR}/.*\.tar\.gz\)' "${DISTINFO_FILE}" 2>/dev/null; then ${ECHO_CMD} .tar.gz; else ${ECHO_CMD} .crate; fi!:_=_CARGO_CRATE_EXT_CACHE}} . endif _CARGO_CRATES:= ${CARGO_CRATES:N*@git+*} _CARGO_GIT_SOURCES:= ${CARGO_CRATES:M*@git+*} # enumerate crates for unqiue and sane distfile group names _CARGO_CRATES:= ${empty(_CARGO_CRATES):?:${_CARGO_CRATES:range:@i@$i ${_CARGO_CRATES:[$i]}@}} # split up crates into (index, crate, name, version) 4-tuples _CARGO_CRATES:= ${_CARGO_CRATES:C/^([-_a-zA-Z0-9]+)-([0-9].*)/\0 \1 \2/} . for _index _crate _name _version in ${_CARGO_CRATES} # Resolving CRATESIO alias is very inefficient with many MASTER_SITES, consume MASTER_SITE_CRATESIO directly MASTER_SITES+= ${MASTER_SITE_CRATESIO:S,%SUBDIR%,${_name}/${_version},:S,$,:_cargo_${_index},} DISTFILES+= ${CARGO_DIST_SUBDIR}/${_crate}${CARGO_CRATE_EXT}:_cargo_${_index} # Provide pointer to the crate's extraction dir WRKSRC_crate_${_name}= ${CARGO_VENDOR_DIR}/${_crate} # ... also with version suffix in case of multiple versions of the # same crate WRKSRC_crate_${_crate}= ${CARGO_VENDOR_DIR}/${_crate} . endfor _CARGO_AWK= ${AWK} -vCP="${CP}" -vFIND="${FIND}" -vGREP="${GREP}" \ -vCARGO_VENDOR_DIR="${CARGO_VENDOR_DIR}" \ -vGIT_SOURCES="${_CARGO_GIT_SOURCES}" \ -vWRKDIR="${WRKDIR}" -vWRKSRC="${WRKSRC}" \ -f${SCRIPTSDIR}/split-url.awk \ -f${SCRIPTSDIR}/cargo-crates-git-common.awk -f . if !empty(_CARGO_GIT_SOURCES) . for _index _site _filename _wrksrc _crates in ${:!${_CARGO_AWK} ${SCRIPTSDIR}/cargo-crates-git-fetch.awk /dev/null!} MASTER_SITES+= ${_site}:_cargo_git${_index} DISTFILES+= ${_filename}:_cargo_git${_index} . for _crate in ${_crates:S/,/ /g} # Make sure the build dependencies checks below can work for git sourced crates too _CARGO_CRATES+= @git ${_crate} ${_crate} @git # Provide pointer to the crate's extraction dir # # This might not point to the actual crate's sources since a # single git source can contain multiple crates. We cannot collect # subdir information until after the full extraction is done and we # cannot set make variables at that point. This is better than # nothing. WRKSRC_crate_${_crate}= ${WRKDIR}/${_wrksrc} . endfor . endfor . endif # Build dependencies. CARGO_BUILDDEP?= yes . if ${CARGO_BUILDDEP:tl} == "yes" BUILD_DEPENDS+= ${RUST_DEFAULT}>=1.68.0:lang/${RUST_DEFAULT} . elif ${CARGO_BUILDDEP:tl} == "any-version" BUILD_DEPENDS+= ${RUST_DEFAULT}>=0:lang/${RUST_DEFAULT} . endif # Location of toolchain (default to lang/rust's toolchain) CARGO?= ${LOCALBASE}/bin/cargo RUSTC?= ${LOCALBASE}/bin/rustc RUSTDOC?= ${LOCALBASE}/bin/rustdoc # Location of the cargo output directory. CARGO_TARGET_DIR?= ${WRKDIR}/target # Default target platform (affects some RUSTFLAGS if passed) CARGO_BUILD_TARGET?= ${_CARGO_RUST_ARCH_${ARCH}:U${ARCH}}-unknown-${OPSYS:tl} _CARGO_RUST_ARCH_amd64= x86_64 _CARGO_RUST_ARCH_i386= i686 _CARGO_RUST_ARCH_riscv64= riscv64gc # Environment for cargo # - CARGO_HOME: local cache of the registry index # - CARGO_BUILD_JOBS: configure number of jobs to run # - CARGO_TARGET_DIR: location of where to place all generated artifacts # - RUST_BACKTRACE: produce backtraces when something in the build panics # - RUSTC: path of rustc binary (default to lang/rust) # - RUSTDOC: path of rustdoc binary (default to lang/rust) # - RUSTFLAGS: custom flags to pass to all compiler invocations that Cargo performs CARGO_ENV+= \ CARGO_HOME=${WRKDIR}/cargo-home \ CARGO_BUILD_JOBS=${MAKE_JOBS_NUMBER} \ CARGO_BUILD_TARGET=${CARGO_BUILD_TARGET} \ CARGO_TARGET_DIR=${CARGO_TARGET_DIR} \ CARGO_TARGET_${CARGO_BUILD_TARGET:S/-/_/g:tu}_LINKER="${CC}" \ RUSTC=${RUSTC} \ RUSTDOC=${RUSTDOC} \ RUSTFLAGS="${RUSTFLAGS} ${LDFLAGS:C/.+/-C link-arg=&/}" . if ${ARCH} != powerpc CARGO_ENV+= RUST_BACKTRACE=1 . endif . if !defined(LTO_UNSAFE) || (defined(LTO_DISABLE_CHECK) && ${ARCH} == powerpc64) || (defined(LTO_DISABLE_CHECK) && ${ARCH} == riscv64) _CARGO_MSG= "===> Additional optimization to port applied" WITH_LTO= yes . endif # Adjust -C target-cpu if -march/-mcpu is set by bsd.cpu.mk . if ${ARCH} == amd64 || ${ARCH} == i386 RUSTFLAGS+= ${CFLAGS:M-march=*:S/-march=/-C target-cpu=/} . elif ${ARCH:Mpowerpc*} RUSTFLAGS+= ${CFLAGS:M-mcpu=*:S/-mcpu=/-C target-cpu=/:S/power/pwr/} . else RUSTFLAGS+= ${CFLAGS:M-mcpu=*:S/-mcpu=/-C target-cpu=/} . endif . if defined(PPC_ABI) && ${PPC_ABI} == ELFv1 USE_GCC?= yes STRIP_CMD= ${LOCALBASE}/bin/strip # unsupported e_type with base strip . endif # Helper to shorten cargo calls. _CARGO_RUN= ${SETENV} ${MAKE_ENV} ${CARGO_ENV} ${CARGO} CARGO_CARGO_RUN= cd ${WRKSRC}; ${SETENV} CARGO_FREEBSD_PORTS_SKIP_GIT_UPDATE=1 ${_CARGO_RUN} # User arguments for cargo targets. CARGO_BUILD_ARGS?= CARGO_INSTALL_ARGS?= CARGO_INSTALL_PATH?= . CARGO_TEST_ARGS?= CARGO_UPDATE_ARGS?= # Use module targets ? CARGO_BUILD?= yes CARGO_CONFIGURE?= yes CARGO_INSTALL?= yes CARGO_TEST?= yes # rustc stashes intermediary files in TMPDIR (default /tmp) which # might cause issues for users that for some reason space limit # their /tmp. WRKDIR should have plenty of space. # Allow users and ports to still overwrite it. . if ${TMPDIR:U/tmp} == /tmp TMPDIR= ${WRKDIR} . endif # Manage crate features. . if !empty(CARGO_FEATURES:M--no-default-features) CARGO_BUILD_ARGS+= --no-default-features CARGO_INSTALL_ARGS+= --no-default-features CARGO_TEST_ARGS+= --no-default-features . endif . if !empty(CARGO_FEATURES:N--no-default-features) CARGO_BUILD_ARGS+= --features='${CARGO_FEATURES:N--no-default-features}' CARGO_INSTALL_ARGS+= --features='${CARGO_FEATURES:N--no-default-features}' CARGO_TEST_ARGS+= --features='${CARGO_FEATURES:N--no-default-features}' . endif . if !defined(WITH_DEBUG) CARGO_BUILD_ARGS+= --release CARGO_TEST_ARGS+= --release . else CARGO_INSTALL_ARGS+= --debug . endif . if ${_CARGO_CRATES:Mcmake} BUILD_DEPENDS+= cmake:devel/cmake-core . endif . if ${_CARGO_CRATES:Mgettext-sys} CARGO_ENV+= GETTEXT_BIN_DIR=${LOCALBASE}/bin \ GETTEXT_INCLUDE_DIR=${LOCALBASE}/include \ GETTEXT_LIB_DIR=${LOCALBASE}/lib . endif . if ${_CARGO_CRATES:Mjemalloc-sys} BUILD_DEPENDS+= gmake:devel/gmake . endif . if ${_CARGO_CRATES:Mlibgit2-sys} # Use the system's libgit2 instead of building the bundled version CARGO_ENV+= LIBGIT2_SYS_USE_PKG_CONFIG=1 . endif . if ${_CARGO_CRATES:Mlibssh2-sys} # Use the system's libssh2 instead of building the bundled version CARGO_ENV+= LIBSSH2_SYS_USE_PKG_CONFIG=1 . endif . if ${_CARGO_CRATES:Monig_sys} # onig_sys always prefers the system library but will try to link # statically with it. Since devel/oniguruma doesn't provide a static # library it'll link to libonig.so instead. Strictly speaking setting # RUSTONIG_SYSTEM_LIBONIG is not necessary, but will force onig_sys to # always use the system's libonig as returned by `pkg-config oniguruma`. CARGO_ENV+= RUSTONIG_SYSTEM_LIBONIG=1 . endif . if ${_CARGO_CRATES:Mopenssl-src} DEV_WARNING+= "Please make sure this port uses the system OpenSSL and consider removing CARGO_CRATES=${CARGO_CRATES:Mopenssl-src-[0-9]*} (a vendored copy of OpenSSL) from the build, e.g., by patching Cargo.toml appropriately." . endif . if ${_CARGO_CRATES:Mopenssl-sys} # Make sure that openssl-sys can find the correct version of OpenSSL CARGO_ENV+= OPENSSL_LIB_DIR=${OPENSSLLIB} \ OPENSSL_INCLUDE_DIR=${OPENSSLINC} . endif . if ${_CARGO_CRATES:Mpkg-config} .include "${USESDIR}/pkgconfig.mk" . endif +. if ${_CARGO_CRATES:Mzstd-sys} +# Use the system's zstd instead of building the bundled version +CARGO_ENV+= ZSTD_SYS_USE_PKG_CONFIG=1 +. endif + . for _index _crate _name _version in ${_CARGO_CRATES} # Split up semantic version and try to sanitize it by removing # pre-release identifier (-) or build metadata (+) . if ${_version:S/./ /:S/./ /:C/[-+].*//:_:[#]} == 3 . for _major _minor _patch in $_ # FreeBSD 12.0 changed ABI: r318736 and r320043 # https://github.com/rust-lang/libc/commit/78f93220d70e # https://github.com/rust-lang/libc/commit/969ad2b73cdc . if ${_name} == libc && ${_major} == 0 && (${_minor} < 2 || (${_minor} == 2 && ${_patch} < 38)) DEV_ERROR+= "CARGO_CRATES=${_crate} may be unstable on FreeBSD 12.0. Consider updating to the latest version \(higher than 0.2.37\)." . endif . if ${_name} == libc && ${_major} == 0 && (${_minor} < 2 || (${_minor} == 2 && ${_patch} < 49)) DEV_ERROR+= "CARGO_CRATES=${_crate} may be unstable on aarch64 or not build on armv6, armv7, powerpc64. Consider updating to the latest version \(higher than 0.2.49\)." . endif # FreeBSD 12.0 updated base OpenSSL in r339270: # https://github.com/sfackler/rust-openssl/commit/276577553501 . if ${_name} == openssl && !exists(${PATCHDIR}/patch-openssl-1.1.1) && ${_major} == 0 && (${_minor} < 10 || (${_minor} == 10 && ${_patch} < 4)) DEV_WARNING+= "CARGO_CRATES=${_crate} does not support OpenSSL 1.1.1. Consider updating to the latest version \(higher than 0.10.3\)." . endif . endfor . endif . endfor _USES_extract+= 600:cargo-extract cargo-extract: # target for preparing crates directory. It will put all crates in # the local crates directory. @${ECHO_MSG} "===> Moving crates to ${CARGO_VENDOR_DIR}" @${MKDIR} ${CARGO_VENDOR_DIR} . for _index _crate _name _version in ${_CARGO_CRATES} . if ${_index} != @git @${MV} ${WRKDIR}/${_crate} ${CARGO_VENDOR_DIR}/${_crate} @${PRINTF} '{"package":"%s","files":{}}' \ $$(${SHA256} -q ${DISTDIR}/${CARGO_DIST_SUBDIR}/${_crate}${CARGO_CRATE_EXT}) \ > ${CARGO_VENDOR_DIR}/${_crate}/.cargo-checksum.json @if [ -r ${CARGO_VENDOR_DIR}/${_crate}/Cargo.toml.orig ]; then \ ${MV} ${CARGO_VENDOR_DIR}/${_crate}/Cargo.toml.orig \ ${CARGO_VENDOR_DIR}/${_crate}/Cargo.toml.orig-cargo; \ fi . endif . endfor . if ${CARGO_CONFIGURE:tl} == "yes" _USES_configure+= 250:cargo-configure # configure hook. Place a config file for overriding crates-io index # by local source directory. cargo-configure: # Check that the running kernel has COMPAT_FREEBSD11 required by lang/rust post-ino64 @${SETENV} CC="${CC}" OPSYS="${OPSYS}" OSVERSION="${OSVERSION}" WRKDIR="${WRKDIR}" \ ${SH} ${SCRIPTSDIR}/rust-compat11-canary.sh . if defined(_CARGO_MSG) @${ECHO_MSG} ${_CARGO_MSG} . endif @${ECHO_MSG} "===> Cargo config:" @${MKDIR} ${WRKDIR}/.cargo @: > ${WRKDIR}/.cargo/config.toml @${ECHO_CMD} "[source.cargo]" >> ${WRKDIR}/.cargo/config.toml @${ECHO_CMD} "directory = '${CARGO_VENDOR_DIR}'" >> ${WRKDIR}/.cargo/config.toml @${ECHO_CMD} "[source.crates-io]" >> ${WRKDIR}/.cargo/config.toml @${ECHO_CMD} "replace-with = 'cargo'" >> ${WRKDIR}/.cargo/config.toml . if !empty(_CARGO_GIT_SOURCES) @${_CARGO_AWK} ${SCRIPTSDIR}/cargo-crates-git-configure.awk \ /dev/null >> ${WRKDIR}/.cargo/config.toml . endif @${CAT} ${WRKDIR}/.cargo/config.toml @if ! ${GREP} -qF '[profile.release]' ${CARGO_CARGOTOML}; then \ ${ECHO_CMD} "" >> ${CARGO_CARGOTOML}; \ ${ECHO_CMD} "[profile.release]" >> ${CARGO_CARGOTOML}; \ ${ECHO_CMD} "opt-level = 2" >> ${CARGO_CARGOTOML}; \ ${ECHO_CMD} "debug = false" >> ${CARGO_CARGOTOML}; \ fi @${ECHO_MSG} "===> Updating Cargo.lock" @${CARGO_CARGO_RUN} update \ --manifest-path ${CARGO_CARGOTOML} \ --verbose \ --verbose \ ${CARGO_UPDATE_ARGS} . endif . if !target(do-build) && ${CARGO_BUILD:tl} == "yes" do-build: @${CARGO_CARGO_RUN} build \ --manifest-path ${CARGO_CARGOTOML} \ --verbose \ --verbose \ ${CARGO_BUILD_ARGS} . endif . if !target(do-install) && ${CARGO_INSTALL:tl} == "yes" do-install: . for path in ${CARGO_INSTALL_PATH} @${CARGO_CARGO_RUN} install \ --no-track \ --path "${path}" \ --root "${STAGEDIR}${PREFIX}" \ --verbose \ --verbose \ ${CARGO_INSTALL_ARGS} . endfor . endif . if !target(do-test) && ${CARGO_TEST:tl} == "yes" do-test: @${CARGO_CARGO_RUN} test \ --manifest-path ${CARGO_CARGOTOML} \ --verbose \ --verbose \ ${CARGO_TEST_ARGS} . endif # # Helper targets for port maintainers # # cargo-audit generates a vulnerability report using # security/cargo-audit based on the crates in Cargo.lock. cargo-audit: configure @if ! type cargo-audit > /dev/null 2>&1; then \ ${ECHO_MSG} "===> Please install \"security/cargo-audit\""; exit 1; \ fi @${ECHO_MSG} "===> Checking for vulnerable crates" @${CARGO} audit --file ${CARGO_CARGOLOCK} # cargo-crates will output the crates list from Cargo.lock. If there # is no Cargo.lock for some reason, try and generate it first. cargo-crates: cargo-crates-generate-lockfile @${_CARGO_AWK} ${SCRIPTSDIR}/cargo-crates.awk ${CARGO_CARGOLOCK} # cargo-crates-generate-lockfile will try to generate a Cargo.lock file # if it does not exist. cargo-crates-generate-lockfile: extract @if [ ! -r "${CARGO_CARGOLOCK}" ]; then \ ${ECHO_MSG} "===> ${CARGO_CARGOLOCK} not found. Trying to generate it..."; \ cd ${WRKSRC}; ${_CARGO_RUN} generate-lockfile \ --manifest-path ${CARGO_CARGOTOML} \ --verbose; \ fi # cargo-crates-licenses will try to grab license information from # all downloaded crates. cargo-crates-licenses: configure @${FIND} ${CARGO_VENDOR_DIR} -name 'Cargo.toml' -maxdepth 2 \ -exec ${GREP} -H '^license' {} \; \ | ${SED} \ -e 's@^${CARGO_VENDOR_DIR}/@@' \ -e 's@/Cargo.toml:license.*= *"@|@' \ -e 's@"$$@@g' | sort | /usr/bin/column -t -s '|' # cargo-crates-merge will in-place update CARGO_CRATES in the port # based on the crates list from Cargo.lock. If there is no Cargo.lock # for some reason, try and generate it first. cargo-crates-merge: @if ! type portedit > /dev/null 2>&1; then \ ${ECHO_MSG} "===> Please install \"ports-mgmt/portfmt\""; exit 1; \ fi @${MAKE} clean cargo-crates-generate-lockfile @f="${MASTERDIR}/Makefile"; [ -r "${MASTERDIR}/Makefile.crates" ] && f="${MASTERDIR}/Makefile.crates"; \ ${_CARGO_AWK} ${SCRIPTSDIR}/cargo-crates.awk ${CARGO_CARGOLOCK} | \ portedit merge -i $$f; \ ${MAKE} clean makesum; \ ${ECHO_MSG} "${DISTINFO_FILE} and CARGO_CRATES in $$f were updated"; .endif diff --git a/devel/git-cinnabar/Makefile b/devel/git-cinnabar/Makefile index 54be58e62026..a6d001f0a0ec 100644 --- a/devel/git-cinnabar/Makefile +++ b/devel/git-cinnabar/Makefile @@ -1,34 +1,36 @@ PORTNAME= git-cinnabar DISTVERSION= 0.6.0 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= jbeich@FreeBSD.org COMMENT= Git remote helper to interact with Mercurial repositories WWW= https://github.com/glandium/git-cinnabar LICENSE= GPLv2 MPL20 LICENSE_COMB= multi -LIB_DEPENDS= libcurl.so:ftp/curl +LIB_DEPENDS= libzstd.so:archivers/zstd \ + libcurl.so:ftp/curl RUN_DEPENDS= git:devel/git USES= cargo gmake USE_GITHUB= yes GH_ACCOUNT= glandium GH_TUPLE= git-for-windows:git:v2.40.0.windows.1:git/git-core DATADIR= ${PREFIX}/libexec/git-core PORTDATA= * PORTDOCS= README.md OPTIONS_DEFINE= DOCS post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${MKDIR} ${STAGEDIR}${DATADIR} ${MV} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${STAGEDIR}${DATADIR} ${RLN} ${STAGEDIR}${DATADIR}/${PORTNAME} \ ${STAGEDIR}${DATADIR}/git-remote-hg (cd ${WRKSRC} && ${COPYTREE_SHARE} \ "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}) .include diff --git a/games/jumpy/Makefile b/games/jumpy/Makefile index d5fee92d81da..ec3b07fb0735 100644 --- a/games/jumpy/Makefile +++ b/games/jumpy/Makefile @@ -1,36 +1,38 @@ PORTNAME= jumpy DISTVERSIONPREFIX= v DISTVERSION= 0.6.1 +PORTREVISION= 1 CATEGORIES= games wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Tactical 2D shooter in fishy pixels style WWW= https://fishfolk.org/games/jumpy/ LICENSE= CC-BY-NC-4.0 MIT LICENSE_COMB= multi LICENSE_FILE_MIT= ${WRKSRC}/licenses/LICENSE-MIT -LIB_DEPENDS= libasound.so:audio/alsa-lib \ +LIB_DEPENDS= libzstd.so:archivers/zstd \ + libasound.so:audio/alsa-lib \ libudev.so:devel/libudev-devd RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins \ ${LOCALBASE}/lib/libvulkan.so:graphics/vulkan-loader USES= cargo USE_GITHUB= yes GH_ACCOUNT= fishfolk LTO_UNSAFE= yes # bevy_dylib fails with -C panic=abort PLIST_FILES= bin/${PORTNAME} PLIST_FILES+= "@comment bin/core" # not packaged in vendor binaries PORTDATA= * post-patch: # Search assets under PREFIX instead of current directory @${REINPLACE_CMD} 's,assets",../${DATADIR_REL}/&,' \ ${WRKSRC}/src/main.rs \ ${WRKSRC}/cargo-crates/bevy_asset-*/src/lib.rs post-install: (cd ${WRKSRC} && ${COPYTREE_SHARE} "assets" ${STAGEDIR}${DATADIR}) .include diff --git a/security/arti/Makefile b/security/arti/Makefile index 4958b12ada34..39dce967b574 100644 --- a/security/arti/Makefile +++ b/security/arti/Makefile @@ -1,460 +1,463 @@ PORTNAME= arti DISTVERSION= 1.1.3 +PORTREVISION= 1 CATEGORIES= security MAINTAINER= cs@FreeBSD.org COMMENT= Implementation of Tor, in Rust WWW= https://arti.torproject.org/ LICENSE= MIT +LIB_DEPENDS= libzstd.so:archivers/zstd + USES= cargo sqlite ssl USE_RC_SUBR= arti GROUPS= _arti USERS= _arti SUB_LIST= USERS="${USERS}" GROUPS="${GROUPS}" PLIST_SUB= USERS="${USERS}" GROUPS="${GROUPS}" USE_GITLAB= yes GL_SITE= https://gitlab.torproject.org GL_ACCOUNT= tpo/core GL_COMMIT= d3a727a5a124ffe80a32058a5a297eaa75e57af6 CARGO_FEATURES= tokio rustls CARGO_INSTALL= no CARGO_CRATES= addr2line-0.19.0 \ adler-1.0.2 \ aes-0.8.2 \ ahash-0.7.6 \ aho-corasick-0.7.20 \ android_system_properties-0.1.5 \ anyhow-1.0.70 \ approx-0.5.1 \ arbitrary-1.3.0 \ arrayref-0.3.7 \ async-broadcast-0.5.1 \ async-channel-1.8.0 \ async-compression-0.3.15 \ async-ctrlc-1.2.0 \ async-executor-1.5.0 \ async-global-executor-2.3.1 \ async-io-1.13.0 \ async-lock-2.7.0 \ async-native-tls-0.5.0 \ async-process-1.6.0 \ async-rustls-0.3.0 \ async-std-1.12.0 \ async-task-4.4.0 \ async-trait-0.1.68 \ async_executors-0.6.0 \ asynchronous-codec-0.6.1 \ atomic-0.5.1 \ atomic-waker-1.1.0 \ atty-0.2.14 \ autocfg-1.1.0 \ backtrace-0.3.67 \ base64-0.13.1 \ base64ct-1.6.0 \ bitflags-1.3.2 \ bitflags-2.0.2 \ blanket-0.2.0 \ block-buffer-0.9.0 \ block-buffer-0.10.4 \ blocking-1.3.0 \ bounded-vec-deque-0.1.1 \ bumpalo-3.12.0 \ by_address-1.1.0 \ bytemuck-1.13.1 \ byteorder-1.4.3 \ bytes-1.4.0 \ cc-1.0.79 \ cfg-if-1.0.0 \ chrono-0.4.24 \ cipher-0.4.4 \ clap-3.2.23 \ clap_lex-0.2.4 \ coarsetime-0.1.23 \ codespan-reporting-0.11.1 \ concurrent-queue-2.1.0 \ config-0.13.3 \ const-oid-0.9.2 \ convert_case-0.4.0 \ core-foundation-0.9.3 \ core-foundation-sys-0.8.3 \ cpufeatures-0.2.6 \ crc32fast-1.3.2 \ crossbeam-channel-0.5.7 \ crossbeam-queue-0.3.8 \ crossbeam-utils-0.8.15 \ crypto-common-0.1.6 \ ctor-0.1.26 \ ctr-0.9.2 \ ctrlc-3.2.5 \ curve25519-dalek-3.2.0 \ cxx-1.0.94 \ cxx-build-1.0.94 \ cxxbridge-flags-1.0.94 \ cxxbridge-macro-1.0.94 \ darling-0.14.4 \ darling_core-0.14.4 \ darling_macro-0.14.4 \ dashmap-5.4.0 \ data-encoding-2.3.3 \ der-0.6.1 \ derive_arbitrary-1.3.0 \ derive_builder_core_fork_arti-0.11.2 \ derive_builder_fork_arti-0.11.2 \ derive_builder_macro_fork_arti-0.11.2 \ derive_more-0.99.17 \ digest-0.9.0 \ digest-0.10.6 \ directories-5.0.0 \ dirs-5.0.0 \ dirs-sys-0.4.0 \ displaydoc-0.2.3 \ downcast-rs-1.2.0 \ dyn-clone-1.0.11 \ ed25519-1.5.3 \ ed25519-dalek-1.0.1 \ educe-0.4.20 \ either-1.8.1 \ enum-as-inner-0.5.1 \ enum-ordinalize-3.1.12 \ env_logger-0.5.13 \ errno-0.3.0 \ errno-dragonfly-0.1.2 \ event-listener-2.5.3 \ fallible-iterator-0.2.0 \ fallible-streaming-iterator-0.1.9 \ fastrand-1.9.0 \ filetime-0.2.20 \ flate2-1.0.25 \ float-cmp-0.9.0 \ float-ord-0.3.2 \ float_eq-1.0.1 \ fluid-let-1.0.0 \ fnv-1.0.7 \ foreign-types-0.3.2 \ foreign-types-shared-0.1.1 \ form_urlencoded-1.1.0 \ fslock-0.2.1 \ futures-0.3.28 \ futures-await-test-0.3.0 \ futures-await-test-macro-0.3.0 \ futures-channel-0.3.28 \ futures-core-0.3.28 \ futures-executor-0.3.28 \ futures-io-0.3.28 \ futures-lite-1.12.0 \ futures-macro-0.3.28 \ futures-sink-0.3.28 \ futures-task-0.3.28 \ futures-util-0.3.28 \ generic-array-0.14.7 \ getrandom-0.1.16 \ getrandom-0.2.8 \ gimli-0.27.2 \ gloo-timers-0.2.6 \ hashbrown-0.12.3 \ hashlink-0.8.1 \ heck-0.4.1 \ hermit-abi-0.1.19 \ hermit-abi-0.2.6 \ hermit-abi-0.3.1 \ hex-0.4.3 \ hex-literal-0.3.4 \ hkdf-0.12.3 \ hmac-0.12.1 \ hostname-validator-1.1.1 \ http-0.2.9 \ http-body-0.4.5 \ httparse-1.8.0 \ httpdate-1.0.2 \ humantime-1.3.0 \ humantime-2.1.0 \ humantime-serde-1.1.1 \ hyper-0.14.25 \ iana-time-zone-0.1.55 \ iana-time-zone-haiku-0.1.1 \ ident_case-1.0.1 \ idna-0.2.3 \ idna-0.3.0 \ indexmap-1.9.3 \ inotify-0.9.6 \ inotify-sys-0.1.5 \ inout-0.1.3 \ instant-0.1.12 \ io-lifetimes-1.0.9 \ ipnet-2.7.2 \ itertools-0.10.5 \ itoa-1.0.6 \ jobserver-0.1.26 \ js-sys-0.3.61 \ keccak-0.1.3 \ kqueue-1.0.7 \ kqueue-sys-1.0.3 \ kv-log-macro-1.0.7 \ lazy_static-1.4.0 \ libc-0.2.140 \ libm-0.2.6 \ libsqlite3-sys-0.26.0 \ link-cplusplus-1.0.8 \ linux-raw-sys-0.3.0 \ lock_api-0.4.9 \ log-0.4.17 \ lzma-sys-0.1.20 \ matchers-0.1.0 \ matches-0.1.10 \ matrixmultiply-0.3.2 \ memchr-2.5.0 \ memmap2-0.5.10 \ merlin-2.0.1 \ minimal-lexical-0.2.1 \ miniz_oxide-0.6.2 \ mio-0.8.6 \ nalgebra-0.29.0 \ nalgebra-macros-0.1.0 \ native-tls-0.2.11 \ nix-0.26.2 \ nom-7.1.3 \ notify-5.1.0 \ nu-ansi-term-0.46.0 \ num-bigint-0.4.3 \ num-bigint-dig-0.8.2 \ num-complex-0.4.3 \ num-integer-0.1.45 \ num-iter-0.1.43 \ num-rational-0.4.1 \ num-traits-0.2.15 \ num_cpus-1.15.0 \ num_enum-0.5.11 \ num_enum_derive-0.5.11 \ object-0.30.3 \ once_cell-1.17.1 \ opaque-debug-0.3.0 \ openssl-0.10.48 \ openssl-macros-0.1.0 \ openssl-probe-0.1.5 \ openssl-src-111.25.2+1.1.1t \ openssl-sys-0.9.83 \ os_str_bytes-6.5.0 \ overload-0.1.1 \ parking-2.0.0 \ parking_lot-0.12.1 \ parking_lot_core-0.9.7 \ paste-1.0.12 \ pathdiff-0.2.1 \ pem-0.8.3 \ pem-rfc7468-0.6.0 \ percent-encoding-2.2.0 \ phf-0.11.1 \ phf_generator-0.11.1 \ phf_macros-0.11.1 \ phf_shared-0.11.1 \ pin-project-1.0.12 \ pin-project-internal-1.0.12 \ pin-project-lite-0.2.9 \ pin-utils-0.1.0 \ pkcs1-0.4.1 \ pkcs8-0.9.0 \ pkg-config-0.3.26 \ polling-2.6.0 \ postage-0.5.0 \ ppv-lite86-0.2.17 \ proc-macro-crate-1.3.1 \ proc-macro2-1.0.54 \ quick-error-1.2.3 \ quote-1.0.26 \ rand-0.7.3 \ rand-0.8.5 \ rand_chacha-0.2.2 \ rand_chacha-0.3.1 \ rand_core-0.5.1 \ rand_core-0.6.4 \ rand_distr-0.4.3 \ rand_hc-0.2.0 \ rawpointer-0.2.1 \ redox_syscall-0.2.16 \ redox_syscall-0.3.5 \ redox_users-0.4.3 \ regex-1.7.3 \ regex-automata-0.1.10 \ regex-syntax-0.6.29 \ retain_mut-0.1.9 \ ring-0.16.20 \ rlimit-0.9.1 \ rmp-0.8.11 \ rmp-serde-1.1.1 \ rsa-0.8.2 \ rusqlite-0.29.0 \ rustc-demangle-0.1.22 \ rustc_version-0.4.0 \ rustix-0.37.5 \ rustls-0.20.8 \ rustversion-1.0.12 \ ryu-1.0.13 \ safe_arch-0.6.0 \ same-file-1.0.6 \ sanitize-filename-0.4.0 \ schannel-0.1.21 \ scopeguard-1.1.0 \ scratch-1.0.5 \ sct-0.7.0 \ secmem-proc-0.2.1 \ security-framework-2.8.2 \ security-framework-sys-2.8.0 \ semver-1.0.17 \ serde-1.0.159 \ serde_derive-1.0.159 \ serde_ignored-0.1.7 \ serde_json-1.0.95 \ serde_spanned-0.6.1 \ serde_test-1.0.159 \ serde_with-2.3.1 \ serde_with_macros-2.3.1 \ serial_test-1.0.0 \ serial_test_derive-1.0.0 \ sha1-0.10.5 \ sha1-asm-0.5.1 \ sha2-0.9.9 \ sha2-0.10.6 \ sha3-0.10.6 \ sharded-slab-0.1.4 \ shellexpand-3.1.0 \ signal-hook-0.3.15 \ signal-hook-async-std-0.2.2 \ signal-hook-registry-1.4.1 \ signature-1.6.4 \ signature-2.0.0 \ simba-0.6.0 \ simple_asn1-0.6.2 \ siphasher-0.3.10 \ slab-0.4.8 \ slotmap-1.0.6 \ smallvec-1.10.0 \ socket2-0.4.9 \ spin-0.5.2 \ spki-0.6.0 \ static_assertions-1.1.0 \ statrs-0.16.0 \ strsim-0.10.0 \ strum-0.24.1 \ strum_macros-0.24.3 \ subtle-2.4.1 \ syn-1.0.109 \ syn-2.0.11 \ tempfile-3.5.0 \ termcolor-1.2.0 \ test-cert-gen-0.9.0 \ textwrap-0.16.0 \ thiserror-1.0.40 \ thiserror-impl-1.0.40 \ thread_local-1.1.7 \ time-0.3.20 \ time-core-0.1.0 \ time-macros-0.2.8 \ tinystr-0.7.1 \ tinyvec-1.6.0 \ tinyvec_macros-0.1.1 \ tls-api-0.9.0 \ tls-api-native-tls-0.9.0 \ tls-api-openssl-0.9.0 \ tls-api-test-0.9.0 \ tokio-1.27.0 \ tokio-macros-2.0.0 \ tokio-socks-0.5.1 \ tokio-util-0.7.7 \ toml-0.5.11 \ toml-0.7.3 \ toml_datetime-0.6.1 \ toml_edit-0.19.8 \ tower-service-0.3.2 \ tracing-0.1.37 \ tracing-appender-0.2.2 \ tracing-attributes-0.1.23 \ tracing-core-0.1.30 \ tracing-journald-0.3.0 \ tracing-log-0.1.3 \ tracing-subscriber-0.3.16 \ tracing-test-0.2.4 \ tracing-test-macro-0.2.4 \ trust-dns-proto-0.22.0 \ try-lock-0.2.4 \ typed-index-collections-3.1.0 \ typenum-1.16.0 \ unicode-bidi-0.3.13 \ unicode-ident-1.0.8 \ unicode-normalization-0.1.22 \ unicode-width-0.1.10 \ untrusted-0.6.2 \ untrusted-0.7.1 \ url-2.3.1 \ users-0.11.0 \ valuable-0.1.0 \ value-bag-1.0.0-alpha.9 \ vcpkg-0.2.15 \ version_check-0.9.4 \ visibility-0.0.1 \ visible-0.0.1 \ void-1.0.2 \ waker-fn-1.1.0 \ walkdir-2.3.3 \ want-0.3.0 \ wasi-0.9.0+wasi-snapshot-preview1 \ wasi-0.11.0+wasi-snapshot-preview1 \ wasm-bindgen-0.2.84 \ wasm-bindgen-backend-0.2.84 \ wasm-bindgen-futures-0.4.34 \ wasm-bindgen-macro-0.2.84 \ wasm-bindgen-macro-support-0.2.84 \ wasm-bindgen-shared-0.2.84 \ weak-table-0.3.2 \ web-sys-0.3.61 \ webpki-0.22.0 \ wide-0.7.8 \ winapi-0.3.9 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-util-0.1.5 \ winapi-x86_64-pc-windows-gnu-0.4.0 \ windows-0.39.0 \ windows-0.47.0 \ windows-sys-0.42.0 \ windows-sys-0.45.0 \ windows-targets-0.42.2 \ windows-targets-0.47.0 \ windows_aarch64_gnullvm-0.42.2 \ windows_aarch64_gnullvm-0.47.0 \ windows_aarch64_msvc-0.39.0 \ windows_aarch64_msvc-0.42.2 \ windows_aarch64_msvc-0.47.0 \ windows_i686_gnu-0.39.0 \ windows_i686_gnu-0.42.2 \ windows_i686_gnu-0.47.0 \ windows_i686_msvc-0.39.0 \ windows_i686_msvc-0.42.2 \ windows_i686_msvc-0.47.0 \ windows_x86_64_gnu-0.39.0 \ windows_x86_64_gnu-0.42.2 \ windows_x86_64_gnu-0.47.0 \ windows_x86_64_gnullvm-0.42.2 \ windows_x86_64_gnullvm-0.47.0 \ windows_x86_64_msvc-0.39.0 \ windows_x86_64_msvc-0.42.2 \ windows_x86_64_msvc-0.47.0 \ winnow-0.4.1 \ x25519-dalek-2.0.0-pre.1 \ x509-signature-0.5.0 \ xz2-0.1.7 \ zeroize-1.6.0 \ zeroize_derive-1.4.1 \ zstd-0.11.2+zstd.1.5.2 \ zstd-safe-5.0.2+zstd.1.5.2 \ zstd-sys-2.0.7+zstd.1.5.4 do-install: ${INSTALL_SCRIPT} ${CARGO_TARGET_DIR}/${CARGO_BUILD_TARGET}/*/arti ${STAGEDIR}${PREFIX}/bin/arti post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/arti @${MKDIR} ${STAGEDIR}${ETCDIR} ${STAGEDIR}/var/log/arti ${STAGEDIR}/var/run/arti ${STAGEDIR}/var/db/arti ${INSTALL_DATA} ${WRKSRC}/crates/arti/src/arti-example-config.toml ${STAGEDIR}${ETCDIR}/arti.toml.sample .include diff --git a/sysutils/fselect/Makefile b/sysutils/fselect/Makefile index 1e5dadf0aea2..1979576a4cbf 100644 --- a/sysutils/fselect/Makefile +++ b/sysutils/fselect/Makefile @@ -1,202 +1,204 @@ PORTNAME= fselect DISTVERSION= 0.8.1 PORTREVISION= 4 CATEGORIES= sysutils MAINTAINER= lcook@FreeBSD.org COMMENT= Find files with SQL-like queries WWW= https://github.com/jhspetersson/fselect LICENSE= APACHE20 MIT LICENSE_COMB= dual LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT +BUILD_DEPENDS= zstd>0:archivers/zstd + USES= cargo USE_GITHUB= yes GH_ACCOUNT= jhspetersson CARGO_CRATES= adler-1.0.2 \ aes-0.7.5 \ ahash-0.7.6 \ aho-corasick-0.7.18 \ ansi_term-0.12.1 \ atty-0.2.14 \ autocfg-1.1.0 \ base64-0.13.0 \ base64ct-1.0.1 \ bitflags-1.3.2 \ bitreader-0.3.6 \ bitstream-io-1.3.0 \ block-buffer-0.10.2 \ bstr-0.2.17 \ bytecount-0.6.2 \ byteorder-1.4.3 \ bzip2-0.4.3 \ bzip2-sys-0.1.11+1.0.8 \ cc-1.0.73 \ cfg-if-0.1.10 \ cfg-if-1.0.0 \ chrono-0.4.19 \ chrono-english-0.1.7 \ cipher-0.3.0 \ clipboard-win-4.4.1 \ cloudabi-0.0.3 \ constant_time_eq-0.1.5 \ cpufeatures-0.2.2 \ crc32fast-1.3.2 \ crossbeam-utils-0.8.8 \ crypto-common-0.1.3 \ csv-1.1.6 \ csv-core-0.1.10 \ digest-0.10.3 \ directories-4.0.1 \ dirs-next-2.0.0 \ dirs-sys-0.3.7 \ dirs-sys-next-0.1.2 \ either-1.6.1 \ endian-type-0.1.2 \ env_logger-0.8.4 \ errno-0.2.8 \ errno-dragonfly-0.1.2 \ error-code-2.3.1 \ fallible_collections-0.4.4 \ fd-lock-3.0.5 \ fixedbitset-0.2.0 \ flate2-1.0.23 \ fnv-1.0.7 \ generic-array-0.14.5 \ getrandom-0.2.6 \ hashbrown-0.11.2 \ hermit-abi-0.1.19 \ hmac-0.12.1 \ humansize-1.1.1 \ humantime-2.1.0 \ imagesize-0.9.0 \ indexmap-1.8.1 \ io-lifetimes-0.6.1 \ itertools-0.8.2 \ itoa-0.4.8 \ itoa-1.0.1 \ jobserver-0.1.24 \ kamadak-exif-0.5.4 \ keccak-0.1.0 \ lazy_static-1.4.0 \ libc-0.2.125 \ linux-raw-sys-0.0.46 \ lock_api-0.3.4 \ log-0.4.17 \ lscolors-0.9.0 \ matroska-0.12.0 \ memchr-1.0.2 \ memchr-2.5.0 \ memoffset-0.6.5 \ miniz_oxide-0.5.1 \ mp3-metadata-0.3.3 \ mp4parse-0.12.0 \ mutate_once-0.1.1 \ nibble_vec-0.1.0 \ nix-0.23.1 \ nom-3.2.1 \ num-integer-0.1.45 \ num-traits-0.2.15 \ num_threads-0.1.6 \ once_cell-1.10.0 \ opaque-debug-0.3.0 \ parking_lot-0.10.2 \ parking_lot_core-0.7.2 \ password-hash-0.3.2 \ pbkdf2-0.10.1 \ petgraph-0.5.1 \ phf-0.10.1 \ phf_generator-0.10.0 \ phf_macros-0.10.0 \ phf_shared-0.10.0 \ pkg-config-0.3.25 \ ppv-lite86-0.2.16 \ proc-macro-hack-0.5.19 \ proc-macro2-1.0.38 \ quote-1.0.18 \ radix_trie-0.2.1 \ rand-0.8.5 \ rand_chacha-0.3.1 \ rand_core-0.6.3 \ redox_syscall-0.1.57 \ redox_syscall-0.2.13 \ redox_users-0.4.3 \ regex-1.5.5 \ regex-automata-0.1.10 \ regex-syntax-0.6.25 \ rustix-0.34.6 \ rustyline-9.1.2 \ ryu-1.0.9 \ scanlex-0.1.4 \ scopeguard-1.1.0 \ serde-1.0.137 \ serde_derive-1.0.137 \ serde_json-1.0.81 \ sha-1-0.10.0 \ sha1-0.10.1 \ sha2-0.10.2 \ sha3-0.10.1 \ siphasher-0.3.10 \ smallvec-1.8.0 \ static_assertions-1.1.0 \ str-buf-1.0.5 \ subtle-2.4.1 \ svg-0.10.0 \ syn-1.0.94 \ termcolor-1.1.3 \ thiserror-1.0.31 \ thiserror-impl-1.0.31 \ time-0.1.43 \ time-0.3.9 \ time-macros-0.2.4 \ toml-0.5.9 \ tree_magic-0.2.3 \ typenum-1.15.0 \ unicode-segmentation-1.9.0 \ unicode-width-0.1.9 \ unicode-xid-0.2.3 \ users-0.11.0 \ utf8parse-0.2.0 \ version_check-0.9.4 \ wana_kana-2.1.0 \ wasi-0.10.2+wasi-snapshot-preview1 \ winapi-0.3.9 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-util-0.1.5 \ winapi-x86_64-pc-windows-gnu-0.4.0 \ windows-sys-0.30.0 \ windows_aarch64_msvc-0.30.0 \ windows_i686_gnu-0.30.0 \ windows_i686_msvc-0.30.0 \ windows_x86_64_gnu-0.30.0 \ windows_x86_64_msvc-0.30.0 \ xattr-0.2.3 \ zip-0.6.2 \ zstd-0.10.2+zstd.1.5.2 \ zstd-safe-4.1.6+zstd.1.5.2 \ zstd-sys-1.6.3+zstd.1.5.2 CARGO_FEATURES= --no-default-features PLIST_FILES= bin/${PORTNAME} \ man/man1/${PORTNAME}.1.gz _DOCS= docs/usage.md README.md PORTDOCS= ${_DOCS:T} OPTIONS_DEFINE= DOCS USERS OPTIONS_DEFAULT= USERS USERS_DESC= Query with 'user' and 'group' fields USERS_VARS= CARGO_FEATURES+=users post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${_DOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/textproc/meilisearch/Makefile b/textproc/meilisearch/Makefile index 5910b77c9069..5b8b442ad7ac 100644 --- a/textproc/meilisearch/Makefile +++ b/textproc/meilisearch/Makefile @@ -1,432 +1,434 @@ PORTNAME= meilisearch DISTVERSIONPREFIX= v DISTVERSION= 1.0.2 PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= https://github.com/meilisearch/mini-dashboard/releases/download/v${DASHBOARD_VERSION}/build.zip?dummy=/:mini_dashboard_assets \ SF/mecab/mecab-ipadic/2.7.0-20070801/:mecab_ipadic DISTFILES= ${MINIDASHBOARDFILE}:mini_dashboard_assets \ mecab-ipadic-2.7.0-20070801.tar.gz:mecab_ipadic MAINTAINER= ashish@FreeBSD.org COMMENT= Powerful, fast, and an easy to use search engine WWW= https://www.meilisearch.com/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= zstd>0:archivers/zstd + USES= cargo pkgconfig USE_GITHUB= yes # Following is generated with following: # curl -s https://api.github.com/repos/meilisearch/meilisearch/commits/$(make -V GH_TAGNAME) | \ # jq -r '.sha, .commit.committer.date' REPO_COMMIT_SHA= 572608c121d960cdf48c2c289a6dfd3dc834873a REPO_COMMIT_TS= 2023-02-23T13:52:56Z GH_TUPLE= meilisearch:lmdb:6a01c0a:lmdb/../lmdb-rs-501aa34a1ab7f092e3ff54a6c22ff6c55931a2d8/lmdb-sys/lmdb DASHBOARD_VERSION= 0.2.5 MINIDASHBOARDFILE= meilisearch-mini-dashboard-build-${DASHBOARD_VERSION}.zip CARGO_INSTALL_PATH= meilisearch CARGO_CRATES= actix-codec-0.5.0 \ actix-cors-0.6.4 \ actix-http-3.2.2 \ actix-macros-0.2.3 \ actix-router-0.5.1 \ actix-rt-2.7.0 \ actix-server-2.1.1 \ actix-service-2.0.2 \ actix-tls-3.0.3 \ actix-utils-3.0.1 \ actix-web-4.2.1 \ actix-web-codegen-4.1.0 \ addr2line-0.19.0 \ adler-1.0.2 \ aes-0.7.5 \ ahash-0.7.6 \ aho-corasick-0.7.20 \ alloc-no-stdlib-2.0.4 \ alloc-stdlib-0.2.2 \ anyhow-1.0.68 \ assert-json-diff-2.0.2 \ async-stream-0.3.3 \ async-stream-impl-0.3.3 \ async-trait-0.1.61 \ atomic-polyfill-0.1.11 \ atty-0.2.14 \ autocfg-1.1.0 \ backtrace-0.3.67 \ base64-0.13.1 \ base64-0.21.0 \ base64ct-1.5.3 \ big_s-1.0.2 \ bimap-0.6.2 \ bincode-1.3.3 \ bitflags-1.3.2 \ block-buffer-0.10.3 \ brotli-3.3.4 \ brotli-decompressor-2.3.2 \ bstr-0.2.17 \ bstr-1.1.0 \ build_const-0.2.2 \ bumpalo-3.11.1 \ byte-unit-4.0.18 \ bytecount-0.6.3 \ bytemuck-1.12.3 \ bytemuck_derive-1.3.0 \ byteorder-1.4.3 \ bytes-1.3.0 \ bytestring-1.2.0 \ bzip2-0.4.4 \ bzip2-sys-0.1.11+1.0.8 \ cargo_toml-0.13.3 \ cc-1.0.78 \ cedarwood-0.4.6 \ cfg-if-1.0.0 \ change-detection-1.2.0 \ charabia-0.7.0 \ cipher-0.3.0 \ clap-3.2.23 \ clap-4.0.32 \ clap_derive-3.2.18 \ clap_derive-4.0.21 \ clap_lex-0.2.4 \ clap_lex-0.3.0 \ concat-arrays-0.1.2 \ console-0.15.4 \ constant_time_eq-0.1.5 \ convert_case-0.4.0 \ convert_case-0.5.0 \ convert_case-0.6.0 \ cookie-0.16.2 \ core-foundation-sys-0.8.3 \ cow-utils-0.1.2 \ cpufeatures-0.2.5 \ crc-1.8.1 \ crc32fast-1.3.2 \ critical-section-1.1.1 \ crossbeam-0.8.2 \ crossbeam-channel-0.5.6 \ crossbeam-deque-0.8.2 \ crossbeam-epoch-0.9.13 \ crossbeam-queue-0.3.8 \ crossbeam-utils-0.8.14 \ crypto-common-0.1.6 \ csv-1.1.6 \ csv-core-0.1.10 \ darling-0.14.2 \ darling_core-0.14.2 \ darling_macro-0.14.2 \ derive_builder-0.11.2 \ derive_builder_core-0.11.2 \ derive_builder_macro-0.11.2 \ derive_more-0.99.17 \ deserr-0.3.0 \ deserr-internal-0.3.0 \ deunicode-1.3.3 \ digest-0.10.6 \ dirs-next-1.0.2 \ dirs-sys-next-0.1.2 \ either-1.8.0 \ encode_unicode-0.3.6 \ encoding-0.2.33 \ encoding-index-japanese-1.20141219.5 \ encoding-index-korean-1.20141219.5 \ encoding-index-simpchinese-1.20141219.5 \ encoding-index-singlebyte-1.20141219.5 \ encoding-index-tradchinese-1.20141219.5 \ encoding_index_tests-0.1.4 \ encoding_rs-0.8.31 \ encoding_rs_io-0.1.7 \ enum-iterator-1.2.0 \ enum-iterator-derive-1.1.0 \ env_logger-0.9.3 \ errno-0.2.8 \ errno-dragonfly-0.1.2 \ fastrand-1.8.0 \ faux-0.1.9 \ faux_macros-0.1.9 \ filetime-0.2.19 \ flate2-1.0.25 \ fnv-1.0.7 \ form_urlencoded-1.1.0 \ fst-0.4.7 \ futures-0.3.25 \ futures-channel-0.3.25 \ futures-core-0.3.25 \ futures-executor-0.3.25 \ futures-io-0.3.25 \ futures-macro-0.3.25 \ futures-sink-0.3.25 \ futures-task-0.3.25 \ futures-util-0.3.25 \ fxhash-0.2.1 \ generic-array-0.14.6 \ geoutils-0.5.1 \ getrandom-0.2.8 \ getset-0.1.2 \ gimli-0.27.0 \ git2-0.15.0 \ glob-0.3.1 \ grenad-0.4.4 \ h2-0.3.15 \ hash32-0.2.1 \ hashbrown-0.12.3 \ heapless-0.7.16 \ heck-0.4.0 \ hermit-abi-0.1.19 \ hermit-abi-0.2.6 \ hex-0.4.3 \ hmac-0.12.1 \ http-0.2.8 \ http-body-0.4.5 \ httparse-1.8.0 \ httpdate-1.0.2 \ humantime-2.1.0 \ hyper-0.14.23 \ hyper-rustls-0.23.2 \ ident_case-1.0.1 \ idna-0.3.0 \ indexmap-1.9.2 \ insta-1.26.0 \ instant-0.1.12 \ io-lifetimes-1.0.3 \ ipnet-2.7.1 \ is-terminal-0.4.2 \ itertools-0.10.5 \ itoa-0.4.8 \ itoa-1.0.5 \ jieba-rs-0.6.7 \ jobserver-0.1.25 \ js-sys-0.3.60 \ jsonwebtoken-8.2.0 \ language-tags-0.3.2 \ lazy_static-1.4.0 \ levenshtein_automata-0.2.1 \ libc-0.2.139 \ libgit2-sys-0.14.1+1.5.0 \ libm-0.2.6 \ libmimalloc-sys-0.1.30 \ libz-sys-1.1.8 \ lindera-0.17.0 \ lindera-cc-cedict-builder-0.17.0 \ lindera-core-0.17.0 \ lindera-decompress-0.17.0 \ lindera-dictionary-0.17.0 \ lindera-ipadic-0.17.0 \ lindera-ipadic-builder-0.17.0 \ lindera-ko-dic-0.17.0 \ lindera-ko-dic-builder-0.17.0 \ lindera-unidic-builder-0.17.0 \ linked-hash-map-0.5.6 \ linux-raw-sys-0.1.4 \ local-channel-0.1.3 \ local-waker-0.1.3 \ lock_api-0.4.9 \ log-0.4.17 \ logging_timer-1.1.0 \ logging_timer_proc_macros-1.1.0 \ lzma-rs-0.2.0 \ manifest-dir-macros-0.1.16 \ maplit-1.0.2 \ md5-0.7.0 \ memchr-2.5.0 \ memmap2-0.5.8 \ memoffset-0.7.1 \ mimalloc-0.1.34 \ mime-0.3.16 \ mime_guess-2.0.4 \ minimal-lexical-0.2.1 \ miniz_oxide-0.6.2 \ mio-0.8.5 \ nom-7.1.2 \ nom_locate-4.0.0 \ ntapi-0.4.0 \ num-bigint-0.4.3 \ num-integer-0.1.45 \ num-traits-0.2.15 \ num_cpus-1.15.0 \ object-0.30.2 \ obkv-0.2.0 \ once_cell-1.17.0 \ opaque-debug-0.3.0 \ ordered-float-3.4.0 \ os_str_bytes-6.4.1 \ page_size-0.4.2 \ page_size-0.5.0 \ parking_lot-0.12.1 \ parking_lot_core-0.9.5 \ password-hash-0.4.2 \ paste-1.0.11 \ path-matchers-1.0.2 \ path-slash-0.1.5 \ pbkdf2-0.11.0 \ pem-1.1.0 \ percent-encoding-2.2.0 \ pest-2.5.3 \ pest_derive-2.5.3 \ pest_generator-2.5.3 \ pest_meta-2.5.3 \ phf-0.11.1 \ phf_codegen-0.11.1 \ phf_generator-0.11.1 \ phf_shared-0.11.1 \ pin-project-lite-0.2.9 \ pin-utils-0.1.0 \ pinyin-0.9.0 \ pkg-config-0.3.26 \ platform-dirs-0.3.0 \ ppv-lite86-0.2.17 \ proc-macro-error-1.0.4 \ proc-macro-error-attr-1.0.4 \ proc-macro2-1.0.49 \ procfs-0.14.2 \ prometheus-0.13.3 \ protobuf-2.28.0 \ quote-1.0.23 \ rand-0.8.5 \ rand_chacha-0.3.1 \ rand_core-0.6.4 \ rayon-1.6.1 \ rayon-core-1.10.1 \ redox_syscall-0.2.16 \ redox_users-0.4.3 \ regex-1.7.1 \ regex-automata-0.1.10 \ regex-syntax-0.6.28 \ remove_dir_all-0.5.3 \ reqwest-0.11.13 \ retain_mut-0.1.7 \ ring-0.16.20 \ roaring-0.10.1 \ rstar-0.9.3 \ rustc-demangle-0.1.21 \ rustc_version-0.4.0 \ rustix-0.36.6 \ rustls-0.20.7 \ rustls-pemfile-1.0.2 \ rustversion-1.0.11 \ ryu-1.0.12 \ same-file-1.0.6 \ scopeguard-1.1.0 \ sct-0.7.0 \ segment-0.2.2 \ semver-1.0.16 \ serde-1.0.152 \ serde-cs-0.2.4 \ serde_derive-1.0.152 \ serde_json-1.0.91 \ serde_urlencoded-0.7.1 \ sha-1-0.10.1 \ sha1-0.10.5 \ sha2-0.10.6 \ signal-hook-registry-1.4.0 \ similar-2.2.1 \ simple_asn1-0.6.2 \ siphasher-0.3.10 \ slab-0.4.7 \ slice-group-by-0.3.0 \ smallstr-0.3.0 \ smallvec-1.10.0 \ smartstring-1.0.1 \ socket2-0.4.7 \ spin-0.5.2 \ spin-0.9.4 \ stable_deref_trait-1.2.0 \ static-files-0.2.3 \ static_assertions-1.1.0 \ strsim-0.10.0 \ subtle-2.4.1 \ syn-1.0.107 \ synchronoise-1.0.1 \ synstructure-0.12.6 \ sysinfo-0.26.9 \ tar-0.4.38 \ temp-env-0.3.1 \ tempfile-3.3.0 \ termcolor-1.1.3 \ textwrap-0.16.0 \ thiserror-1.0.38 \ thiserror-impl-1.0.38 \ time-0.3.17 \ time-core-0.1.0 \ time-macros-0.2.6 \ tinyvec-1.6.0 \ tinyvec_macros-0.1.0 \ tokio-1.24.1 \ tokio-macros-1.8.2 \ tokio-rustls-0.23.4 \ tokio-stream-0.1.11 \ tokio-util-0.7.4 \ toml-0.5.10 \ tower-service-0.3.2 \ tracing-0.1.37 \ tracing-core-0.1.30 \ try-lock-0.2.4 \ typenum-1.16.0 \ ucd-trie-0.1.5 \ unicase-2.6.0 \ unicode-bidi-0.3.8 \ unicode-ident-1.0.6 \ unicode-normalization-0.1.22 \ unicode-segmentation-1.10.0 \ unicode-xid-0.2.4 \ untrusted-0.7.1 \ url-2.3.1 \ urlencoding-2.1.2 \ utf8-width-0.1.6 \ uuid-0.8.2 \ uuid-1.2.2 \ vcpkg-0.2.15 \ vergen-7.5.0 \ version_check-0.9.4 \ walkdir-2.3.2 \ want-0.3.0 \ wasi-0.11.0+wasi-snapshot-preview1 \ wasm-bindgen-0.2.83 \ wasm-bindgen-backend-0.2.83 \ wasm-bindgen-futures-0.4.33 \ wasm-bindgen-macro-0.2.83 \ wasm-bindgen-macro-support-0.2.83 \ wasm-bindgen-shared-0.2.83 \ web-sys-0.3.60 \ webpki-0.22.0 \ webpki-roots-0.22.6 \ whatlang-0.16.2 \ winapi-0.3.9 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-util-0.1.5 \ winapi-x86_64-pc-windows-gnu-0.4.0 \ windows-sys-0.42.0 \ windows_aarch64_gnullvm-0.42.0 \ windows_aarch64_msvc-0.42.0 \ windows_i686_gnu-0.42.0 \ windows_i686_msvc-0.42.0 \ windows_x86_64_gnu-0.42.0 \ windows_x86_64_gnullvm-0.42.0 \ windows_x86_64_msvc-0.42.0 \ winreg-0.10.1 \ xattr-0.2.3 \ yada-0.5.0 \ yaml-rust-0.4.5 \ yaup-0.2.1 \ zerocopy-0.3.0 \ zerocopy-derive-0.2.0 \ zip-0.6.3 \ zstd-0.11.2+zstd.1.5.2 \ zstd-safe-5.0.2+zstd.1.5.2 \ zstd-sys-2.0.5+zstd.1.5.2 \ lmdb-rkv-sys@git+https://github.com/meilisearch/lmdb-rs\#501aa34a1ab7f092e3ff54a6c22ff6c55931a2d8 \ actix-web-static-files@git+https://github.com/kilork/actix-web-static-files.git?rev=2d3b6160\#2d3b6160f0de4ba061c5d76b5704f34fb677f6df \ nelson@git+https://github.com/meilisearch/nelson.git?rev=675f13885548fb415ead8fbb447e9e6d9314000a\#675f13885548fb415ead8fbb447e9e6d9314000a \ filter-parser,flatten-serde-json,json-depth-checker,milli@git+https://github.com/meilisearch/milli.git?tag=v0.41.3\#e021bc119effbfad3fb8ec2ae57c99c1f45cb08b \ heed,heed-traits,heed-types@git+https://github.com/meilisearch/heed?tag=v0.12.4\#7a4542bc72dd60ef0f508c89900ea292218223fb PLIST_FILES= bin/${PORTNAME} post-patch: ${REINPLACE_CMD} -e 's,%%MINIDASHBOARDFILE%%,${DISTDIR}/${MINIDASHBOARDFILE},' \ -e 's,%%COMMIT_SHA%%,${REPO_COMMIT_SHA},' \ -e 's,%%COMMIT_TS%%,${REPO_COMMIT_TS},' \ ${WRKSRC}/meilisearch/build.rs ${GREP} -F -R -l %%WRKDIR%% ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ 's,%%WRKDIR%%,${WRKDIR},' .include diff --git a/www/deno/Makefile b/www/deno/Makefile index 4ec976c7e7a8..7763960d4317 100644 --- a/www/deno/Makefile +++ b/www/deno/Makefile @@ -1,599 +1,600 @@ PORTNAME= deno DISTVERSIONPREFIX= v DISTVERSION= 1.31.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MAINTAINER= mikael@FreeBSD.org COMMENT= Secure JavaScript and TypeScript runtime WWW= https://github.com/denoland LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md BROKEN_i386= cargo:warning=c/freebsd.c:31:10: error: conflicting types for 'get_cpu_speed' BUILD_DEPENDS= gn:devel/gn \ libunwind>0:devel/libunwind +LIB_DEPENDS= libzstd.so:archivers/zstd USES= cargo compiler:c++17-lang cpe gmake gnome ninja:build pkgconfig:build python:3.9+,build USE_GITHUB= yes GH_ACCOUNT= denoland USE_GNOME= glib20 V8_VERS= 0.63.0 CARGO_ENV+= CLANG_BASE_PATH=/usr \ GN=${PREFIX}/bin/gn \ NINJA=${NINJA_CMD} \ V8_FROM_SOURCE=1 PLIST_FILES= bin/${PORTNAME} BINARY_ALIAS= python=${PYTHON_CMD} CARGO_CRATES= Inflector-0.11.4 \ adler-1.0.2 \ aead-0.5.1 \ aes-0.8.2 \ aes-gcm-0.10.1 \ aes-kw-0.2.1 \ ahash-0.7.6 \ aho-corasick-0.7.20 \ alloc-no-stdlib-2.0.4 \ alloc-stdlib-0.2.2 \ android_system_properties-0.1.5 \ anyhow-1.0.69 \ arrayvec-0.7.2 \ ash-0.37.2+1.3.238 \ ast_node-0.8.6 \ async-compression-0.3.15 \ async-stream-0.3.3 \ async-stream-impl-0.3.3 \ async-trait-0.1.64 \ atty-0.2.14 \ auto_impl-0.5.0 \ autocfg-1.1.0 \ base16ct-0.1.1 \ base32-0.4.0 \ base64-0.13.1 \ base64-0.21.0 \ base64-simd-0.8.0 \ base64ct-1.5.3 \ basic-toml-0.1.1 \ bencher-0.1.5 \ better_scoped_tls-0.1.0 \ bit-set-0.5.3 \ bit-vec-0.6.3 \ bitflags-1.3.2 \ block-0.1.6 \ block-buffer-0.9.0 \ block-buffer-0.10.3 \ block-modes-0.9.1 \ block-padding-0.3.2 \ brotli-3.3.4 \ brotli-decompressor-2.3.4 \ bumpalo-3.12.0 \ byteorder-1.4.3 \ bytes-1.2.1 \ cache_control-0.2.0 \ cbc-0.1.2 \ cc-1.0.79 \ cfg-if-1.0.0 \ chrono-0.4.22 \ cipher-0.4.3 \ clap-3.1.12 \ clap_complete-3.1.2 \ clap_complete_fig-3.1.5 \ clap_lex-0.1.1 \ clipboard-win-4.5.0 \ codespan-reporting-0.11.1 \ console_static_text-0.3.4 \ const-oid-0.9.1 \ convert_case-0.4.0 \ core-foundation-0.9.3 \ core-foundation-sys-0.8.3 \ core-graphics-types-0.1.1 \ cpufeatures-0.2.5 \ crc-2.1.0 \ crc-catalog-1.1.1 \ crc32fast-1.3.2 \ crossbeam-channel-0.5.6 \ crossbeam-deque-0.8.2 \ crossbeam-epoch-0.9.11 \ crossbeam-utils-0.8.14 \ crypto-bigint-0.4.9 \ crypto-common-0.1.6 \ ctor-0.1.26 \ ctr-0.9.2 \ cty-0.2.2 \ curve25519-dalek-2.1.3 \ curve25519-dalek-3.2.0 \ cxx-1.0.89 \ cxx-build-1.0.89 \ cxxbridge-flags-1.0.89 \ cxxbridge-macro-1.0.89 \ d3d12-0.6.0 \ darling-0.13.4 \ darling_core-0.13.4 \ darling_macro-0.13.4 \ dashmap-5.4.0 \ data-encoding-2.3.3 \ data-url-0.2.0 \ deno_ast-0.24.0 \ deno_doc-0.57.0 \ deno_emit-0.16.0 \ deno_graph-0.44.2 \ deno_lint-0.40.0 \ deno_task_shell-0.10.0 \ der-0.6.1 \ derive_more-0.99.17 \ diff-0.1.13 \ digest-0.8.1 \ digest-0.9.0 \ digest-0.10.6 \ dissimilar-1.0.4 \ dlopen-0.1.8 \ dlopen_derive-0.1.4 \ dotenv-0.15.0 \ dprint-core-0.60.0 \ dprint-plugin-json-0.17.0 \ dprint-plugin-markdown-0.15.2 \ dprint-plugin-typescript-0.83.0 \ dprint-swc-ext-0.7.0 \ dyn-clone-1.0.10 \ dynasm-1.2.3 \ dynasmrt-1.2.3 \ ecdsa-0.14.8 \ either-1.8.1 \ elliptic-curve-0.12.3 \ encoding_rs-0.8.31 \ endian-type-0.1.2 \ enum-as-inner-0.5.1 \ enum_kind-0.2.1 \ env_logger-0.9.0 \ errno-0.2.8 \ errno-dragonfly-0.1.2 \ error-code-2.3.1 \ escape8259-0.5.2 \ eszip-0.37.0 \ fallible-iterator-0.2.0 \ fallible-streaming-iterator-0.1.9 \ fancy-regex-0.10.0 \ fastrand-1.8.0 \ fd-lock-3.0.10 \ ff-0.12.1 \ filetime-0.2.19 \ fixedbitset-0.4.2 \ flaky_test-0.1.0 \ flate2-1.0.24 \ fly-accept-encoding-0.2.0 \ fnv-1.0.7 \ foreign-types-0.3.2 \ foreign-types-shared-0.1.1 \ form_urlencoded-1.1.0 \ from_variant-0.1.4 \ fs3-0.5.0 \ fsevent-sys-4.1.0 \ fslock-0.1.8 \ futures-0.3.26 \ futures-channel-0.3.26 \ futures-core-0.3.26 \ futures-executor-0.3.26 \ futures-io-0.3.26 \ futures-macro-0.3.26 \ futures-sink-0.3.26 \ futures-task-0.3.26 \ futures-util-0.3.26 \ fwdansi-1.1.0 \ fxhash-0.2.1 \ generic-array-0.12.4 \ generic-array-0.14.6 \ getrandom-0.1.16 \ getrandom-0.2.8 \ ghash-0.5.0 \ glibc_version-0.1.2 \ glob-0.3.1 \ glow-0.12.0 \ gpu-alloc-0.5.3 \ gpu-alloc-types-0.2.0 \ gpu-descriptor-0.2.3 \ gpu-descriptor-types-0.1.1 \ group-0.12.1 \ h2-0.3.15 \ hashbrown-0.12.3 \ hashlink-0.8.1 \ heck-0.4.1 \ hermit-abi-0.1.19 \ hermit-abi-0.2.6 \ hexf-parse-0.2.1 \ hkdf-0.12.3 \ hmac-0.12.1 \ hostname-0.3.1 \ http-0.2.8 \ http-body-0.4.5 \ httparse-1.8.0 \ httpdate-1.0.2 \ humantime-2.1.0 \ hyper-0.14.24 \ hyper-rustls-0.23.2 \ iana-time-zone-0.1.53 \ iana-time-zone-haiku-0.1.1 \ ident_case-1.0.1 \ idna-0.2.3 \ idna-0.3.0 \ if_chain-1.0.2 \ import_map-0.13.0 \ import_map-0.15.0 \ indexmap-1.9.2 \ inotify-0.9.6 \ inotify-sys-0.1.5 \ inout-0.1.3 \ instant-0.1.12 \ io-lifetimes-1.0.5 \ ipconfig-0.3.1 \ ipnet-2.7.1 \ is-macro-0.2.1 \ itertools-0.10.5 \ itoa-1.0.5 \ jobserver-0.1.25 \ js-sys-0.3.61 \ jsonc-parser-0.21.0 \ junction-0.2.0 \ keccak-0.1.3 \ khronos-egl-4.1.0 \ kqueue-1.0.7 \ kqueue-sys-1.0.3 \ lazy_static-1.4.0 \ lexical-6.1.1 \ lexical-core-0.8.5 \ lexical-parse-float-0.8.5 \ lexical-parse-integer-0.8.6 \ lexical-util-0.8.5 \ lexical-write-float-0.8.5 \ lexical-write-integer-0.8.5 \ libc-0.2.139 \ libffi-3.1.0 \ libffi-sys-2.1.0 \ libloading-0.7.4 \ libm-0.2.6 \ libsqlite3-sys-0.25.2 \ link-cplusplus-1.0.8 \ linked-hash-map-0.5.6 \ linux-raw-sys-0.1.4 \ lock_api-0.4.9 \ log-0.4.17 \ lru-cache-0.1.2 \ lsp-types-0.93.2 \ lzzzz-1.0.4 \ malloc_buf-0.0.6 \ match_cfg-0.1.0 \ matches-0.1.10 \ md-5-0.10.5 \ md4-0.10.2 \ memchr-2.5.0 \ memmap2-0.5.8 \ memoffset-0.6.5 \ metal-0.24.0 \ mime-0.3.16 \ miniz_oxide-0.5.4 \ mio-0.8.5 \ mitata-0.0.7 \ monch-0.4.0 \ naga-0.11.0 \ napi-build-1.2.1 \ napi-sys-2.2.3 \ netif-0.1.6 \ new_debug_unreachable-1.0.4 \ nibble_vec-0.1.0 \ nix-0.24.2 \ nom8-0.2.0 \ notify-5.0.0 \ ntapi-0.4.0 \ num-bigint-0.4.3 \ num-bigint-dig-0.8.2 \ num-integer-0.1.45 \ num-iter-0.1.43 \ num-traits-0.2.15 \ num_cpus-1.15.0 \ objc-0.2.7 \ objc_exception-0.1.2 \ once_cell-1.16.0 \ opaque-debug-0.3.0 \ openssl-probe-0.1.5 \ ordered-float-2.10.0 \ os_pipe-1.0.1 \ os_str_bytes-6.4.1 \ output_vt100-0.1.3 \ outref-0.5.1 \ p256-0.11.1 \ p384-0.11.2 \ parking_lot-0.11.2 \ parking_lot-0.12.1 \ parking_lot_core-0.8.6 \ parking_lot_core-0.9.7 \ path-clean-0.1.0 \ path-dedot-3.0.18 \ pathdiff-0.2.1 \ pem-rfc7468-0.6.0 \ percent-encoding-2.2.0 \ petgraph-0.6.3 \ phf-0.10.1 \ phf_generator-0.10.0 \ phf_macros-0.10.0 \ phf_shared-0.10.0 \ pin-project-1.0.12 \ pin-project-internal-1.0.12 \ pin-project-lite-0.2.9 \ pin-utils-0.1.0 \ pkcs1-0.4.1 \ pkcs8-0.9.0 \ pkg-config-0.3.26 \ pmutil-0.5.3 \ polyval-0.6.0 \ ppv-lite86-0.2.17 \ precomputed-hash-0.1.1 \ pretty_assertions-1.3.0 \ prettyplease-0.1.23 \ proc-macro-crate-1.3.0 \ proc-macro-error-1.0.4 \ proc-macro-error-attr-1.0.4 \ proc-macro-hack-0.5.20+deprecated \ proc-macro2-0.4.30 \ proc-macro2-1.0.51 \ profiling-1.0.7 \ pty2-0.1.0 \ pulldown-cmark-0.9.2 \ quick-error-1.2.3 \ quote-0.6.13 \ quote-1.0.23 \ radix_fmt-1.0.0 \ radix_trie-0.2.1 \ rand-0.8.5 \ rand_chacha-0.3.1 \ rand_core-0.5.1 \ rand_core-0.6.4 \ range-alloc-0.1.2 \ raw-window-handle-0.5.0 \ rayon-1.6.0 \ rayon-core-1.10.1 \ redox_syscall-0.2.16 \ regex-1.6.0 \ regex-syntax-0.6.28 \ relative-path-1.7.3 \ remove_dir_all-0.5.3 \ reqwest-0.11.14 \ resolv-conf-0.7.0 \ rfc6979-0.3.1 \ ring-0.16.20 \ ripemd-0.1.3 \ ron-0.8.0 \ rsa-0.7.2 \ rusqlite-0.28.0 \ rustc-hash-1.1.0 \ rustc_version-0.2.3 \ rustc_version-0.4.0 \ rustix-0.36.8 \ rustls-0.20.8 \ rustls-native-certs-0.6.2 \ rustls-pemfile-1.0.2 \ rustversion-1.0.11 \ rustyline-10.0.0 \ rustyline-derive-0.7.0 \ ryu-1.0.12 \ same-file-1.0.6 \ schannel-0.1.21 \ scoped-tls-1.0.1 \ scopeguard-1.1.0 \ scratch-1.0.3 \ sct-0.7.0 \ sec1-0.3.0 \ security-framework-2.8.2 \ security-framework-sys-2.8.0 \ semver-0.9.0 \ semver-1.0.14 \ semver-parser-0.7.0 \ serde-1.0.152 \ serde-value-0.7.0 \ serde_bytes-0.11.9 \ serde_derive-1.0.152 \ serde_json-1.0.92 \ serde_repr-0.1.9 \ serde_urlencoded-0.7.1 \ sha-1-0.9.8 \ sha-1-0.10.0 \ sha1-0.10.5 \ sha2-0.10.6 \ sha3-0.10.6 \ shell-escape-0.1.5 \ signal-hook-registry-1.4.0 \ signature-1.6.4 \ siphasher-0.3.10 \ slab-0.4.7 \ slotmap-1.0.6 \ smallvec-1.10.0 \ socket2-0.4.7 \ sourcemap-6.2.1 \ spin-0.5.2 \ spirv-0.2.0+1.5.4 \ spki-0.6.0 \ stable_deref_trait-1.2.0 \ static_assertions-1.1.0 \ str-buf-1.0.6 \ string_cache-0.8.4 \ string_cache_codegen-0.5.2 \ string_enum-0.3.2 \ strsim-0.10.0 \ subtle-2.4.1 \ swc_atoms-0.4.34 \ swc_bundler-0.199.11 \ swc_common-0.29.29 \ swc_config-0.1.4 \ swc_config_macro-0.1.0 \ swc_ecma_ast-0.96.3 \ swc_ecma_codegen-0.129.8 \ swc_ecma_codegen_macros-0.7.1 \ swc_ecma_dep_graph-0.96.5 \ swc_ecma_loader-0.41.31 \ swc_ecma_parser-0.124.5 \ swc_ecma_transforms_base-0.116.5 \ swc_ecma_transforms_classes-0.105.5 \ swc_ecma_transforms_macros-0.5.0 \ swc_ecma_transforms_optimization-0.172.12 \ swc_ecma_transforms_proposal-0.149.8 \ swc_ecma_transforms_react-0.160.9 \ swc_ecma_transforms_typescript-0.164.10 \ swc_ecma_utils-0.107.5 \ swc_ecma_visit-0.82.3 \ swc_eq_ignore_macros-0.1.1 \ swc_fast_graph-0.17.30 \ swc_graph_analyzer-0.18.32 \ swc_macros_common-0.3.6 \ swc_visit-0.5.4 \ swc_visit_macros-0.5.5 \ syn-0.15.44 \ syn-1.0.107 \ synstructure-0.12.6 \ sysinfo-0.26.7 \ tar-0.4.38 \ tempfile-3.3.0 \ termcolor-1.2.0 \ testing_macros-0.2.7 \ text-size-1.1.0 \ text_lines-0.6.0 \ textwrap-0.15.2 \ thiserror-1.0.38 \ thiserror-impl-1.0.38 \ time-0.3.17 \ time-core-0.1.0 \ tinyvec-1.6.0 \ tinyvec_macros-0.1.1 \ tokio-1.25.0 \ tokio-macros-1.8.2 \ tokio-rustls-0.23.4 \ tokio-socks-0.5.1 \ tokio-stream-0.1.11 \ tokio-tungstenite-0.16.1 \ tokio-util-0.7.4 \ toml-0.5.11 \ toml_datetime-0.5.1 \ toml_edit-0.18.1 \ tower-0.4.13 \ tower-layer-0.3.2 \ tower-lsp-0.17.0 \ tower-lsp-macros-0.6.0 \ tower-service-0.3.2 \ tracing-0.1.37 \ tracing-attributes-0.1.23 \ tracing-core-0.1.30 \ triomphe-0.1.8 \ trust-dns-client-0.22.0 \ trust-dns-proto-0.22.0 \ trust-dns-resolver-0.22.0 \ trust-dns-server-0.22.0 \ try-lock-0.2.4 \ trybuild-1.0.77 \ tungstenite-0.16.0 \ twox-hash-1.6.3 \ typed-arena-2.0.1 \ typenum-1.16.0 \ unic-char-property-0.9.0 \ unic-char-range-0.9.0 \ unic-common-0.9.0 \ unic-ucd-ident-0.9.0 \ unic-ucd-version-0.9.0 \ unicase-2.6.0 \ unicode-bidi-0.3.10 \ unicode-id-0.3.3 \ unicode-ident-1.0.6 \ unicode-normalization-0.1.22 \ unicode-segmentation-1.10.1 \ unicode-width-0.1.10 \ unicode-xid-0.1.0 \ unicode-xid-0.2.4 \ universal-hash-0.5.0 \ untrusted-0.7.1 \ url-2.3.1 \ urlpattern-0.2.0 \ utf-8-0.7.6 \ utf8parse-0.2.0 \ uuid-1.1.2 \ v8-0.63.0 \ vcpkg-0.2.15 \ version_check-0.9.4 \ vsimd-0.8.0 \ vte-0.11.0 \ vte_generate_state_changes-0.1.1 \ walkdir-2.3.2 \ want-0.3.0 \ wasi-0.9.0+wasi-snapshot-preview1 \ wasi-0.11.0+wasi-snapshot-preview1 \ wasm-bindgen-0.2.84 \ wasm-bindgen-backend-0.2.84 \ wasm-bindgen-futures-0.4.34 \ wasm-bindgen-macro-0.2.84 \ wasm-bindgen-macro-support-0.2.84 \ wasm-bindgen-shared-0.2.84 \ wasm-streams-0.2.3 \ web-sys-0.3.61 \ webpki-0.22.0 \ webpki-roots-0.22.6 \ wgpu-core-0.15.0 \ wgpu-hal-0.15.1 \ wgpu-types-0.15.0 \ which-4.4.0 \ widestring-0.5.1 \ winapi-0.3.9 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-util-0.1.5 \ winapi-x86_64-pc-windows-gnu-0.4.0 \ windows-sys-0.42.0 \ windows-sys-0.45.0 \ windows-targets-0.42.1 \ windows_aarch64_gnullvm-0.42.1 \ windows_aarch64_msvc-0.42.1 \ windows_i686_gnu-0.42.1 \ windows_i686_msvc-0.42.1 \ windows_x86_64_gnu-0.42.1 \ windows_x86_64_gnullvm-0.42.1 \ windows_x86_64_msvc-0.42.1 \ winreg-0.10.1 \ winres-0.1.12 \ x25519-dalek-2.0.0-pre.1 \ xattr-0.2.3 \ yansi-0.5.1 \ zeroize-1.5.7 \ zeroize_derive-1.3.3 \ zstd-0.11.2+zstd.1.5.2 \ zstd-safe-5.0.2+zstd.1.5.2 \ zstd-sys-2.0.6+zstd.1.5.2 CARGO_INSTALL= no .include .if ${COMPILER_VERSION} != 130 LLVM_DEFAULT= 13 BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} BINARY_ALIAS+= cpp=${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} \ cc=${LOCALBASE}/bin/clang${LLVM_DEFAULT} \ c++=${LOCALBASE}/bin/clang++${LLVM_DEFAULT} \ ar=${LOCALBASE}/bin/llvm-ar${LLVM_DEFAULT} \ nm=${LOCALBASE}/bin/llvm-nm${LLVM_DEFAULT} \ ld=${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT} .else BINARY_ALIAS+= ar=/usr/bin/llvm-ar \ nm=/usr/bin/llvm-nm .endif post-patch: ${REINPLACE_CMD} "s|%%LOCALBASE%%|${LOCALBASE}|" \ ${WRKSRC}/cargo-crates/v8-${V8_VERS}/buildtools/third_party/libc++/BUILD.gn ${MKDIR} ${WRKSRC}/cargo-crates/v8-${V8_VERS}/v8/tools/builtins-pgo/arm64.profile ${MKDIR} ${WRKSRC}/cargo-crates/v8-${V8_VERS}/v8/tools/builtins-pgo/x64.profile do-install: ${INSTALL_PROGRAM} ${CARGO_TARGET_DIR}/${CARGO_BUILD_TARGET}/*/deno ${STAGEDIR}${LOCALBASE}/bin .include diff --git a/www/miniserve/Makefile b/www/miniserve/Makefile index cd71636ac7da..a7447ef1d8a3 100644 --- a/www/miniserve/Makefile +++ b/www/miniserve/Makefile @@ -1,349 +1,350 @@ PORTNAME= miniserve DISTVERSIONPREFIX= v DISTVERSION= 0.23.0 CATEGORIES= www MAINTAINER= mikael@FreeBSD.org COMMENT= Ad-hoc HTTP server for file sharing WWW= https://github.com/svenstaro/miniserve LICENSE= APACHE20 BSD3CLAUSE CC0-1.0 ISCL MIT MPL20 UNLICENSE LICENSE_COMB= multi LICENSE_FILE_MIT= ${WRKSRC}/LICENSE +BUILD_DEPENDS= zstd>0:archivers/zstd LIB_DEPENDS= libonig.so:devel/oniguruma USES= cargo ssl:build USE_GITHUB= yes GH_ACCOUNT= svenstaro CARGO_CRATES= actix-codec-0.5.0 \ actix-files-0.6.2 \ actix-http-3.3.0 \ actix-macros-0.2.3 \ actix-multipart-0.5.0 \ actix-router-0.5.1 \ actix-rt-2.8.0 \ actix-server-2.2.0 \ actix-service-2.0.2 \ actix-tls-3.0.3 \ actix-utils-3.0.1 \ actix-web-4.3.1 \ actix-web-codegen-4.2.0 \ actix-web-httpauth-0.8.0 \ adler-1.0.2 \ adler32-1.2.0 \ ahash-0.7.6 \ aho-corasick-0.7.20 \ alloc-no-stdlib-2.0.4 \ alloc-stdlib-0.2.2 \ alphanumeric-sort-1.4.4 \ android_system_properties-0.1.5 \ anyhow-1.0.69 \ askama_escape-0.10.3 \ assert_cmd-2.0.8 \ assert_fs-1.0.10 \ atty-0.2.14 \ autocfg-1.1.0 \ base64-0.13.1 \ base64-0.21.0 \ bit-set-0.5.3 \ bit-vec-0.6.3 \ bitflags-1.3.2 \ block-buffer-0.10.3 \ brotli-3.3.4 \ brotli-decompressor-2.3.4 \ bstr-1.3.0 \ bumpalo-3.12.0 \ byteorder-1.4.3 \ bytes-1.4.0 \ bytesize-1.2.0 \ bytestring-1.2.0 \ c_linked_list-1.1.1 \ cc-1.0.79 \ cfg-if-0.1.10 \ cfg-if-1.0.0 \ chrono-0.4.23 \ chrono-humanize-0.2.2 \ clap-4.1.8 \ clap_complete-4.1.4 \ clap_derive-4.1.8 \ clap_lex-0.3.2 \ clap_mangen-0.2.9 \ codemap-0.1.3 \ codespan-reporting-0.11.1 \ comrak-0.16.0 \ convert_case-0.4.0 \ core-foundation-sys-0.8.3 \ cpufeatures-0.2.5 \ crc32fast-1.3.2 \ crossbeam-utils-0.8.15 \ crypto-common-0.1.6 \ ctor-0.1.26 \ cxx-1.0.91 \ cxx-build-1.0.91 \ cxxbridge-flags-1.0.91 \ cxxbridge-macro-1.0.91 \ derive_more-0.99.17 \ deunicode-0.4.3 \ diff-0.1.13 \ difflib-0.4.0 \ digest-0.10.6 \ doc-comment-0.3.3 \ either-1.8.1 \ encoding_rs-0.8.32 \ entities-1.0.1 \ errno-0.2.8 \ errno-dragonfly-0.1.2 \ fake-tty-0.3.1 \ fast_qr-0.8.4 \ fastrand-1.9.0 \ filetime-0.2.20 \ flate2-1.0.25 \ float-cmp-0.9.0 \ fnv-1.0.7 \ form_urlencoded-1.1.0 \ futf-0.1.5 \ futures-0.3.26 \ futures-channel-0.3.26 \ futures-core-0.3.26 \ futures-executor-0.3.26 \ futures-io-0.3.26 \ futures-macro-0.3.26 \ futures-sink-0.3.26 \ futures-task-0.3.26 \ futures-timer-3.0.2 \ futures-util-0.3.26 \ gcc-0.3.55 \ generic-array-0.14.6 \ get_if_addrs-0.5.3 \ get_if_addrs-sys-0.1.1 \ getrandom-0.2.8 \ globset-0.4.10 \ globwalk-0.8.1 \ grass-0.12.3 \ grass_compiler-0.12.3 \ h2-0.3.16 \ hashbrown-0.11.2 \ hashbrown-0.12.3 \ heck-0.4.1 \ hermit-abi-0.1.19 \ hermit-abi-0.2.6 \ hermit-abi-0.3.1 \ hex-0.4.3 \ html5ever-0.26.0 \ http-0.2.9 \ http-body-0.4.5 \ http-range-0.1.5 \ httparse-1.8.0 \ httpdate-1.0.2 \ hyper-0.14.24 \ hyper-rustls-0.23.2 \ iana-time-zone-0.1.53 \ iana-time-zone-haiku-0.1.1 \ idna-0.3.0 \ ignore-0.4.20 \ indexmap-1.9.2 \ instant-0.1.12 \ io-lifetimes-1.0.5 \ ipnet-2.7.1 \ is-terminal-0.4.4 \ itertools-0.10.5 \ itoa-0.4.8 \ itoa-1.0.5 \ jobserver-0.1.26 \ js-sys-0.3.61 \ language-tags-0.3.2 \ lasso-0.6.0 \ lazy_static-1.4.0 \ libc-0.2.139 \ libflate-1.3.0 \ libflate_lz77-1.2.0 \ link-cplusplus-1.0.8 \ linux-raw-sys-0.1.4 \ local-channel-0.1.3 \ local-waker-0.1.3 \ lock_api-0.4.9 \ log-0.4.17 \ mac-0.1.1 \ markup5ever-0.11.0 \ markup5ever_rcdom-0.2.0 \ maud-0.24.0 \ maud_macros-0.24.0 \ memchr-2.5.0 \ memory_units-0.4.0 \ mime-0.3.16 \ mime_guess-2.0.4 \ miniz_oxide-0.6.2 \ mio-0.8.6 \ nanoid-0.4.0 \ new_debug_unreachable-1.0.4 \ normalize-line-endings-0.3.0 \ num-integer-0.1.45 \ num-traits-0.2.15 \ num_cpus-1.15.0 \ num_threads-0.1.6 \ once_cell-1.17.1 \ os_str_bytes-6.4.1 \ output_vt100-0.1.3 \ parking_lot-0.12.1 \ parking_lot_core-0.9.7 \ paste-1.0.11 \ percent-encoding-2.2.0 \ pest-2.5.5 \ pest_derive-2.5.5 \ pest_generator-2.5.5 \ pest_meta-2.5.5 \ phf-0.10.1 \ phf_codegen-0.10.0 \ phf_generator-0.10.0 \ phf_macros-0.10.0 \ phf_shared-0.10.0 \ pin-project-lite-0.2.9 \ pin-utils-0.1.0 \ pkg-config-0.3.26 \ port_check-0.1.5 \ ppv-lite86-0.2.17 \ precomputed-hash-0.1.1 \ predicates-2.1.5 \ predicates-core-1.0.5 \ predicates-tree-1.0.7 \ pretty_assertions-1.3.0 \ proc-macro-error-1.0.4 \ proc-macro-error-attr-1.0.4 \ proc-macro-hack-0.5.20+deprecated \ proc-macro2-1.0.51 \ quote-1.0.23 \ rand-0.8.5 \ rand_chacha-0.3.1 \ rand_core-0.6.4 \ redox_syscall-0.2.16 \ regex-1.7.1 \ regex-automata-0.1.10 \ regex-syntax-0.6.28 \ reqwest-0.11.14 \ ring-0.16.20 \ rle-decode-fast-1.0.3 \ roff-0.2.1 \ rstest-0.16.0 \ rstest_macros-0.16.0 \ rustc_version-0.4.0 \ rustix-0.36.8 \ rustls-0.20.8 \ rustls-pemfile-1.0.2 \ rustversion-1.0.11 \ ryu-1.0.12 \ same-file-1.0.6 \ scopeguard-1.1.0 \ scratch-1.0.3 \ sct-0.7.0 \ select-0.6.0 \ semver-1.0.16 \ serde-1.0.152 \ serde_derive-1.0.152 \ serde_json-1.0.93 \ serde_urlencoded-0.7.1 \ sha1-0.10.5 \ sha2-0.10.6 \ signal-hook-registry-1.4.1 \ simplelog-0.12.0 \ siphasher-0.3.10 \ slab-0.4.8 \ slug-0.1.4 \ smallvec-1.10.0 \ socket2-0.4.7 \ socket2-0.5.1 \ spin-0.5.2 \ string_cache-0.8.4 \ string_cache_codegen-0.5.2 \ strsim-0.10.0 \ strum-0.24.1 \ strum_macros-0.24.3 \ syn-1.0.109 \ tar-0.4.38 \ tempfile-3.4.0 \ tendril-0.4.3 \ termcolor-1.1.3 \ terminal_size-0.2.5 \ termtree-0.4.0 \ thiserror-1.0.38 \ thiserror-impl-1.0.38 \ thread_local-1.1.7 \ time-0.1.45 \ time-0.3.20 \ time-core-0.1.0 \ time-macros-0.2.8 \ tinyvec-1.6.0 \ tinyvec_macros-0.1.1 \ tokio-1.25.0 \ tokio-rustls-0.23.4 \ tokio-util-0.7.7 \ tower-service-0.3.2 \ tracing-0.1.37 \ tracing-core-0.1.30 \ try-lock-0.2.4 \ typed-arena-2.0.2 \ typenum-1.16.0 \ ucd-trie-0.1.5 \ unicase-2.6.0 \ unicode-bidi-0.3.10 \ unicode-ident-1.0.6 \ unicode-normalization-0.1.22 \ unicode-width-0.1.10 \ unicode_categories-0.1.1 \ untrusted-0.7.1 \ url-2.3.1 \ utf-8-0.7.6 \ version_check-0.9.4 \ wait-timeout-0.2.0 \ walkdir-2.3.2 \ want-0.3.0 \ wasi-0.10.0+wasi-snapshot-preview1 \ wasi-0.11.0+wasi-snapshot-preview1 \ wasm-bindgen-0.2.84 \ wasm-bindgen-backend-0.2.84 \ wasm-bindgen-futures-0.4.34 \ wasm-bindgen-macro-0.2.84 \ wasm-bindgen-macro-support-0.2.84 \ wasm-bindgen-shared-0.2.84 \ web-sys-0.3.61 \ webpki-0.22.0 \ webpki-roots-0.22.6 \ wee_alloc-0.4.5 \ winapi-0.2.8 \ winapi-0.3.9 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-util-0.1.5 \ winapi-x86_64-pc-windows-gnu-0.4.0 \ windows-sys-0.42.0 \ windows-sys-0.45.0 \ windows-targets-0.42.1 \ windows_aarch64_gnullvm-0.42.1 \ windows_aarch64_msvc-0.42.1 \ windows_i686_gnu-0.42.1 \ windows_i686_msvc-0.42.1 \ windows_x86_64_gnu-0.42.1 \ windows_x86_64_gnullvm-0.42.1 \ windows_x86_64_msvc-0.42.1 \ winreg-0.10.1 \ xattr-0.2.3 \ xml5ever-0.17.0 \ yansi-0.5.1 \ zip-0.6.4 \ zstd-0.12.3+zstd.1.5.2 \ zstd-safe-6.0.4+zstd.1.5.4 \ zstd-sys-2.0.7+zstd.1.5.4 PLIST_FILES= bin/miniserve PORTDOCS= README.md OPTIONS_DEFINE= DOCS post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/miniserve post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} .include diff --git a/www/rustypaste/Makefile b/www/rustypaste/Makefile index b71a057875dd..83a5ee6cce06 100644 --- a/www/rustypaste/Makefile +++ b/www/rustypaste/Makefile @@ -1,39 +1,41 @@ PORTNAME= rustypaste DISTVERSIONPREFIX= v DISTVERSION= 0.8.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MAINTAINER= DtxdF@disroot.org COMMENT= Minimal file upload/pastebin service WWW= https://github.com/orhun/rustypaste/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +LIB_DEPENDS= libzstd.so:archivers/zstd + USES= cargo USE_GITHUB= yes GH_ACCOUNT= orhun USE_RC_SUBR= ${PORTNAME} SUB_LIST+= USER="${USERS:[0]}" USERS= ${PORTNAME} GROUPS= ${PORTNAME} PLIST_SUB+= USER="${USERS:[0]}" \ GROUP="${GROUPS:[0]}" UPLOAD_PATH= /var/db/${PORTNAME} post-patch: @${REINPLACE_CMD} -e '/^upload_path=/s#=.*#="${UPLOAD_PATH}"#' ${WRKSRC}/config.toml post-install: ${MKDIR} ${STAGEDIR}${ETCDIR} ${MKDIR} ${STAGEDIR}/${UPLOAD_PATH} ${ECHO_CMD} 'CONFIG="${ETCDIR}/${PORTNAME}.toml"' > ${STAGEDIR}${ETCDIR}/${PORTNAME}.env.sample ${CP} ${WRKSRC}/config.toml ${STAGEDIR}${ETCDIR}/${PORTNAME}.toml.sample ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/www/wasm-pack/Makefile b/www/wasm-pack/Makefile index 48033babf6d5..96ad65d6d6ab 100644 --- a/www/wasm-pack/Makefile +++ b/www/wasm-pack/Makefile @@ -1,296 +1,297 @@ PORTNAME= wasm-pack DISTVERSIONPREFIX= v DISTVERSION= 0.11.0 CATEGORIES= www MAINTAINER= yuri@FreeBSD.org COMMENT= Workflow tool for Rust-generated WebAssembly WWW= https://rustwasm.github.io/wasm-pack/ LICENSE= APACHE20 MIT LICENSE_COMB= dual LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT -BUILD_DEPENDS= gmake:devel/gmake +BUILD_DEPENDS= gmake:devel/gmake \ + zstd>0:archivers/zstd LIB_DEPENDS= libcurl.so:ftp/curl USES= cargo perl5 pkgconfig USE_PERL5= build USE_GITHUB= yes GH_ACCOUNT= rustwasm CARGO_CRATES= addr2line-0.19.0 \ adler-1.0.2 \ aes-0.7.5 \ aho-corasick-0.7.20 \ android_system_properties-0.1.5 \ ansi_term-0.12.1 \ anstream-0.2.6 \ anstyle-0.3.5 \ anstyle-parse-0.1.1 \ anstyle-wincon-0.2.0 \ anyhow-1.0.70 \ assert_cmd-2.0.10 \ atty-0.2.14 \ autocfg-1.1.0 \ backtrace-0.3.67 \ base64-0.21.0 \ base64ct-1.6.0 \ binary-install-0.1.0 \ bitflags-1.3.2 \ block-buffer-0.10.4 \ bstr-1.4.0 \ bumpalo-3.12.0 \ byteorder-1.4.3 \ bytes-1.4.0 \ bzip2-0.4.4 \ bzip2-sys-0.1.11+1.0.8 \ camino-1.1.4 \ cargo-platform-0.1.2 \ cargo_metadata-0.15.3 \ cc-1.0.79 \ cfg-if-1.0.0 \ chrono-0.4.24 \ cipher-0.3.0 \ clap-2.34.0 \ codespan-reporting-0.11.1 \ concolor-override-1.0.0 \ concolor-query-0.3.3 \ console-0.15.5 \ constant_time_eq-0.1.5 \ core-foundation-0.9.3 \ core-foundation-sys-0.8.3 \ cpufeatures-0.2.5 \ crc32fast-1.3.2 \ crossbeam-utils-0.8.15 \ crypto-common-0.1.6 \ curl-0.4.44 \ curl-sys-0.4.60+curl-7.88.1 \ cxx-1.0.93 \ cxx-build-1.0.93 \ cxxbridge-flags-1.0.93 \ cxxbridge-macro-1.0.93 \ dashmap-5.4.0 \ dialoguer-0.10.3 \ difflib-0.4.0 \ digest-0.10.6 \ dirs-next-2.0.0 \ dirs-sys-next-0.1.2 \ doc-comment-0.3.3 \ either-1.8.1 \ encode_unicode-0.3.6 \ encoding_rs-0.8.32 \ env_logger-0.10.0 \ errno-0.2.8 \ errno-dragonfly-0.1.2 \ fastrand-1.9.0 \ filetime-0.2.20 \ flate2-1.0.25 \ float-cmp-0.9.0 \ fnv-1.0.7 \ foreign-types-0.3.2 \ foreign-types-shared-0.1.1 \ form_urlencoded-1.1.0 \ fs2-0.4.3 \ futures-0.3.27 \ futures-channel-0.3.27 \ futures-core-0.3.27 \ futures-executor-0.3.27 \ futures-io-0.3.27 \ futures-sink-0.3.27 \ futures-task-0.3.27 \ futures-util-0.3.27 \ generic-array-0.14.6 \ getrandom-0.2.8 \ gimli-0.27.2 \ glob-0.3.1 \ h2-0.3.16 \ hashbrown-0.12.3 \ heck-0.3.3 \ hermit-abi-0.1.19 \ hermit-abi-0.2.6 \ hermit-abi-0.3.1 \ hex-0.4.3 \ hmac-0.12.1 \ http-0.2.9 \ http-body-0.4.5 \ httparse-1.8.0 \ httpdate-1.0.2 \ human-panic-1.1.3 \ hyper-0.14.25 \ hyper-tls-0.5.0 \ iana-time-zone-0.1.53 \ iana-time-zone-haiku-0.1.1 \ idna-0.3.0 \ indexmap-1.9.2 \ instant-0.1.12 \ io-lifetimes-1.0.8 \ ipnet-2.7.1 \ is-terminal-0.4.5 \ is_executable-0.1.2 \ itertools-0.10.5 \ itoa-1.0.6 \ jobserver-0.1.26 \ js-sys-0.3.61 \ lazy_static-1.4.0 \ libc-0.2.140 \ libz-sys-1.1.8 \ link-cplusplus-1.0.8 \ linux-raw-sys-0.1.4 \ lock_api-0.4.9 \ log-0.4.17 \ memchr-2.5.0 \ mime-0.3.16 \ miniz_oxide-0.6.2 \ mio-0.8.6 \ native-tls-0.2.11 \ normalize-line-endings-0.3.0 \ num-integer-0.1.45 \ num-traits-0.2.15 \ num_cpus-1.15.0 \ object-0.30.3 \ once_cell-1.17.1 \ opaque-debug-0.3.0 \ openssl-0.10.46 \ openssl-macros-0.1.0 \ openssl-probe-0.1.5 \ openssl-src-111.25.1+1.1.1t \ openssl-sys-0.9.81 \ os_info-3.6.0 \ parking_lot-0.12.1 \ parking_lot_core-0.9.7 \ password-hash-0.4.2 \ pbkdf2-0.11.0 \ percent-encoding-2.2.0 \ pin-project-lite-0.2.9 \ pin-utils-0.1.0 \ pkg-config-0.3.26 \ predicates-2.1.5 \ predicates-3.0.1 \ predicates-core-1.0.6 \ predicates-tree-1.0.9 \ proc-macro-error-1.0.4 \ proc-macro-error-attr-1.0.4 \ proc-macro2-1.0.52 \ quote-1.0.26 \ rand_core-0.6.4 \ redox_syscall-0.2.16 \ redox_users-0.4.3 \ regex-1.7.1 \ regex-automata-0.1.10 \ regex-syntax-0.6.28 \ reqwest-0.11.14 \ rustc-demangle-0.1.21 \ rustix-0.36.10 \ ryu-1.0.13 \ same-file-1.0.6 \ schannel-0.1.21 \ scopeguard-1.1.0 \ scratch-1.0.5 \ security-framework-2.8.2 \ security-framework-sys-2.8.0 \ semver-1.0.17 \ serde-1.0.157 \ serde_derive-1.0.157 \ serde_ignored-0.1.7 \ serde_json-1.0.94 \ serde_spanned-0.6.1 \ serde_urlencoded-0.7.1 \ serial_test-1.0.0 \ serial_test_derive-1.0.0 \ sha1-0.10.5 \ sha2-0.10.6 \ shell-words-1.1.0 \ siphasher-0.3.10 \ slab-0.4.8 \ smallvec-1.10.0 \ socket2-0.4.9 \ strsim-0.8.0 \ strsim-0.10.0 \ structopt-0.3.26 \ structopt-derive-0.4.18 \ subtle-2.4.1 \ syn-1.0.109 \ syn-2.0.2 \ tar-0.4.38 \ tempfile-3.4.0 \ termcolor-1.2.0 \ termtree-0.4.1 \ textwrap-0.11.0 \ thiserror-1.0.40 \ thiserror-impl-1.0.40 \ time-0.1.45 \ time-0.3.20 \ time-core-0.1.0 \ tinyvec-1.6.0 \ tinyvec_macros-0.1.1 \ tokio-1.26.0 \ tokio-native-tls-0.3.1 \ tokio-util-0.7.7 \ toml-0.5.11 \ toml-0.7.3 \ toml_datetime-0.6.1 \ toml_edit-0.19.7 \ tower-service-0.3.2 \ tracing-0.1.37 \ tracing-core-0.1.30 \ try-lock-0.2.4 \ typenum-1.16.0 \ unicode-bidi-0.3.12 \ unicode-ident-1.0.8 \ unicode-normalization-0.1.22 \ unicode-segmentation-1.10.1 \ unicode-width-0.1.10 \ url-2.3.1 \ utf8parse-0.2.1 \ uuid-1.3.0 \ vcpkg-0.2.15 \ vec_map-0.8.2 \ version_check-0.9.4 \ wait-timeout-0.2.0 \ walkdir-2.3.3 \ want-0.3.0 \ wasi-0.10.0+wasi-snapshot-preview1 \ wasi-0.11.0+wasi-snapshot-preview1 \ wasm-bindgen-0.2.84 \ wasm-bindgen-backend-0.2.84 \ wasm-bindgen-futures-0.4.34 \ wasm-bindgen-macro-0.2.84 \ wasm-bindgen-macro-support-0.2.84 \ wasm-bindgen-shared-0.2.84 \ web-sys-0.3.61 \ which-4.4.0 \ winapi-0.3.9 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-util-0.1.5 \ winapi-x86_64-pc-windows-gnu-0.4.0 \ windows-sys-0.42.0 \ windows-sys-0.45.0 \ windows-targets-0.42.2 \ windows_aarch64_gnullvm-0.42.2 \ windows_aarch64_msvc-0.42.2 \ windows_i686_gnu-0.42.2 \ windows_i686_msvc-0.42.2 \ windows_x86_64_gnu-0.42.2 \ windows_x86_64_gnullvm-0.42.2 \ windows_x86_64_msvc-0.42.2 \ winnow-0.3.6 \ winreg-0.10.1 \ xattr-0.2.3 \ zeroize-1.5.7 \ zip-0.6.4 \ zstd-0.11.2+zstd.1.5.2 \ zstd-safe-5.0.2+zstd.1.5.2 \ zstd-sys-2.0.7+zstd.1.5.4 OPENSSLINC= /usr/include OPENSSLLIB= /usr/lib PLIST_FILES= bin/${PORTNAME} post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/x11/wezterm/Makefile b/x11/wezterm/Makefile index a3d226803adf..799b04f1c7b8 100644 --- a/x11/wezterm/Makefile +++ b/x11/wezterm/Makefile @@ -1,92 +1,94 @@ PORTNAME= wezterm DISTVERSION= 20230326-111934-3666303c +PORTREVISION= 1 CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= GPU-accelerated terminal emulator and multiplexer WWW= https://wezfurlong.org/wezterm/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md -LIB_DEPENDS= libwayland-egl.so:graphics/wayland \ +LIB_DEPENDS= libzstd.so:archivers/zstd \ + libwayland-egl.so:graphics/wayland \ libssh2.so:security/libssh2 \ libfontconfig.so:x11-fonts/fontconfig \ libxkbcommon-x11.so:x11/libxkbcommon \ libxcb-util.so:x11/xcb-util \ libxcb-image.so:x11/xcb-util-image USES= cargo ssl xorg USE_GITHUB= yes USE_GITLAB= nodefault USE_XORG= x11 xcb GH_ACCOUNT= wez GH_TUPLE= harfbuzz:harfbuzz:6.0.0:harfbuzz/deps/harfbuzz/harfbuzz \ glennrp:libpng:v1.6.36-805-g8439534da:libpng/deps/freetype/libpng \ madler:zlib:v1.2.11:zlib/deps/freetype/zlib \ fcitx:xcb-imdkit:1.0.3:xcb_imdkit/../${WRKSRC_crate_xcb-imdkit:T}/deps/xcb-imdkit \ freetype:freetype:VER-2-10-2-605-g3f83daeec:freetype/deps/freetype/freetype2 GL_TUPLE= wez1:libssh-mirror:56e1b0a43a7601d3b2989299262a09db5d81eea0:libssh/../${WRKSRC_crate_libssh-rs:T}/libssh-rs-sys/vendored PLIST_FILES= bin/strip-ansi-escapes \ bin/${PORTNAME} \ bin/${PORTNAME}-gui \ bin/${PORTNAME}-mux-server \ etc/profile.d/${PORTNAME}.sh \ share/applications/org.wezfurlong.wezterm.desktop \ share/icons/hicolor/128x128/apps/org.wezfurlong.wezterm.png \ share/icons/hicolor/scalable/apps/org.wezfurlong.wezterm.svg \ share/metainfo/org.wezfurlong.wezterm.appdata.xml \ share/nautilus-python/extensions/${PORTNAME}-nautilus.py \ ${NULL} # XXX https://github.com/rust-lang/cargo/issues/4101 CARGO_INSTALL_PATH= ${PLIST_FILES:Mbin/*:T} .if exists(/usr/bin/tic) PKGMESSAGE= ${NONEXISTENT} PLIST_FILES+= share/site-terminfo/${PORTNAME:C,^.,&/&,} .endif OPTIONS_DEFINE= DOCS DOCS_USES= python:3.4+,build DOCS_BUILD_DEPENDS= mdbook:textproc/mdbook \ mdbook-linkcheck:textproc/mdbook-linkcheck \ mdbook-mermaid:textproc/mdbook-mermaid PORTDOCS= html post-patch: # Extract (snapshot) version from the port instead of .tag file @${ECHO_CMD} '${DISTVERSIONFULL}' >${WRKSRC}/.tag # Respect LOCALBASE for cursors @${REINPLACE_CMD} 's,/usr/share,${LOCALBASE}/share,' \ ${WRKSRC}/window/src/os/x11/cursor.rs do-build-DOCS-on: # Build HTML documentation similar to ci/build-docs.sh (cd ${WRKSRC} && ${PYTHON_CMD} ci/generate-docs.py) mdbook-mermaid install ${WRKSRC}/docs mdbook build ${WRKSRC}/docs ${CP} ${WRKSRC}/assets/icon/terminal.png \ ${WRKSRC}/gh_pages/html/favicon.png ${CP} ${WRKSRC}/assets/icon/${PORTNAME}-icon.svg \ ${WRKSRC}/gh_pages/html/favicon.svg do-install-DOCS-on: (cd ${WRKSRC}/gh_pages && ${COPYTREE_SHARE} \ "${PORTDOCS:Mhtml}" ${STAGEDIR}${DOCSDIR}) post-install: # Install assets similar to ci/deploy.sh .for f in ${PORTNAME}.desktop ${PORTNAME}.appdata.xml ${PORTNAME}-nautilus.py \ icon/terminal.png icon/${PORTNAME}-icon.svg shell-integration/${PORTNAME}.sh ${MKDIR} ${STAGEDIR}${PREFIX}/${PLIST_FILES:M*.${f:E}:H} ${INSTALL_DATA} ${WRKSRC}/assets/${f:R}.${f:E} \ ${STAGEDIR}${PREFIX}/${PLIST_FILES:M*.${f:E}} .endfor .if exists(/usr/bin/tic) tic -x -o ${STAGEDIR}${PREFIX}/${PLIST_FILES:M*terminfo*:[1]:H:H} \ ${WRKSRC}/termwiz/data/${PORTNAME}.terminfo .endif .include