Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
c3d7c6a8a7 |
@ -3,17 +3,9 @@
|
||||
# This hook executes the following tasks:
|
||||
# - Generates provides file with provides entries for xbps-create(1)
|
||||
|
||||
get_explicit_provides() {
|
||||
# include explicit values from the template
|
||||
if [ -n "$provides" ]; then
|
||||
printf '%s\n' $provides
|
||||
fi
|
||||
}
|
||||
|
||||
generate_python_provides() {
|
||||
local py3_bin="${XBPS_MASTERDIR}/usr/bin/python3"
|
||||
|
||||
# get the canonical python package names for each python module
|
||||
if [ -z "$nopyprovides" ] && [ -d "${PKGDESTDIR}/${py3_sitelib}" ] && [ -x "${py3_bin}" ]; then
|
||||
PYTHONPATH="${XBPS_MASTERDIR}/${py3_sitelib}-bootstrap" "${py3_bin}" \
|
||||
"${XBPS_COMMONDIR}"/scripts/parse-py-metadata.py \
|
||||
@ -21,53 +13,12 @@ generate_python_provides() {
|
||||
fi
|
||||
}
|
||||
|
||||
generate_pkgconfig_provides() {
|
||||
find "${PKGDESTDIR}/usr/lib/pkgconfig" "${PKGDESTDIR}/usr/share/pkgconfig" -name '*.pc' -type f \
|
||||
-exec pkg-config --print-provides {} \; 2>/dev/null | sed 's/^/pc:/; s/ = /-/' | sort -u
|
||||
}
|
||||
|
||||
generate_cmd_provides() {
|
||||
find "${PKGDESTDIR}/usr/bin" -maxdepth 1 -type f -printf '%f\n' 2>/dev/null \
|
||||
| sed 's/^.*$/cmd:&-'"${version}_${revision}"'/' | sort -u
|
||||
}
|
||||
|
||||
generate_alt_cmd_provides() {
|
||||
local _alt _group _symlink _target _path
|
||||
for _alt in $alternatives; do
|
||||
IFS=':' read -r _group _symlink _target <<< "$_alt"
|
||||
case "$_symlink" in
|
||||
/usr/bin/*)
|
||||
echo "${_symlink##*/}"
|
||||
;;
|
||||
/*)
|
||||
# skip all other absolute paths
|
||||
;;
|
||||
*/*)
|
||||
# relative path, resolve
|
||||
_path="$(realpath -m "$_target/./$_symlink")"
|
||||
if [ "${_path%/*}" = /usr/bin ]; then
|
||||
echo "${_path##*/}"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
if [ "${_target%/*}" = /usr/bin ]; then
|
||||
echo "${_symlink}"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done | sed 's/^/cmd:/'
|
||||
}
|
||||
|
||||
hook() {
|
||||
local -a _provides
|
||||
# include explicit values from the template
|
||||
local -a _provides=($provides)
|
||||
|
||||
mapfile -t _provides < <(
|
||||
get_explicit_provides
|
||||
generate_python_provides
|
||||
generate_pkgconfig_provides
|
||||
generate_cmd_provides
|
||||
generate_alt_cmd_provides
|
||||
)
|
||||
# get the canonical python package names for each python module
|
||||
mapfile -t -O "${#_provides[@]}" _provides < <( generate_python_provides )
|
||||
|
||||
if [ "${#_provides[@]}" -gt 0 ]; then
|
||||
echo " ${_provides[*]}"
|
||||
|
@ -3952,11 +3952,9 @@ libtss2-rc.so.0 tpm2-tss-2.3.1_1
|
||||
libtss2-tcti-mssim.so.0 tpm2-tss-2.3.1_1
|
||||
libtss2-tctildr.so.0 tpm2-tss-2.3.1_1
|
||||
libzfsbootenv.so.1 libzfs-2.1.7_1
|
||||
libzfs.so.6 libzfs-2.3.0_1
|
||||
libzpool.so.6 libzfs-2.3.0_1
|
||||
libzfs.so.4 libzfs-lts-2.1.7_1
|
||||
libzfs.so.4 libzfs-2.1.7_1
|
||||
libuutil.so.3 libzfs-2.1.7_1
|
||||
libzpool.so.5 libzfs-lts-2.1.7_1
|
||||
libzpool.so.5 libzfs-2.1.7_1
|
||||
libzfs_core.so.3 libzfs-2.1.7_1
|
||||
libnvpair.so.3 libzfs-2.1.7_1
|
||||
libgmio.so gmio-0.4.1_1
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'AppStream'
|
||||
pkgname=AppStream
|
||||
version=1.0.4
|
||||
version=1.0.3
|
||||
revision=1
|
||||
build_style=meson
|
||||
build_helper="gir qemu"
|
||||
@ -10,7 +10,7 @@ configure_args="$(vopt_bool gir gir) $(vopt_bool vala vapi)
|
||||
hostmakedepends="docbook-xsl gettext glib-devel gperf libxslt pkg-config
|
||||
qt6-base $(vopt_if vala vala) itstool"
|
||||
makedepends="libglib-devel libxml2-devel libyaml-devel qt6-base-devel libxmlb-devel
|
||||
libcurl-devel librsvg-devel qt6-tools"
|
||||
libcurl-devel librsvg-devel"
|
||||
checkdepends="tar"
|
||||
short_desc="Tools and libraries to work with AppStream metadata"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
@ -18,7 +18,7 @@ license="GPL-2.0-or-later"
|
||||
homepage="https://github.com/ximion/appstream"
|
||||
changelog="https://raw.githubusercontent.com/ximion/appstream/master/NEWS"
|
||||
distfiles="https://github.com/ximion/appstream/archive/v${version}.tar.gz"
|
||||
checksum=dff6efa67d9ea4797870d70e3370b9e3fa66ce3c749aba68e6b10222473463cf
|
||||
checksum=dd7222519b5d855124fa803ce82a7cbf090ac6b2e44a5bc515e729b1f20a63ae
|
||||
triggers="appstream-cache"
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'LibreCAD'
|
||||
pkgname=LibreCAD
|
||||
version=2.2.1
|
||||
version=2.2.0.2
|
||||
revision=1
|
||||
build_style=qmake
|
||||
hostmakedepends="qt5-qmake pkg-config ImageMagick qt5-host-tools"
|
||||
@ -8,9 +8,9 @@ makedepends="qt5-devel qt5-svg-devel boost-devel muparser-devel librsvg-devel"
|
||||
short_desc="2D Computer-aided design (CAD) software"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="GPL-2.0-only"
|
||||
homepage="https://librecad.org"
|
||||
distfiles="https://github.com/librecad/librecad/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=7d1b5d1c8bb537e4f855e7e8a3663f2f1cb8a0d70ee3c7f18481a80471b9029e
|
||||
homepage="http://librecad.org"
|
||||
distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
|
||||
checksum=fcb888a550f1f515ef6a2f7af2dd02605dd5c6da8a23f6c3a52479f8532ac109
|
||||
|
||||
if [ -n "$CROSS_BUILD" ]; then
|
||||
configure_args+=" BOOST_DIR=${XBPS_CROSS_BASE}/usr"
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'MoarVM'
|
||||
pkgname=MoarVM
|
||||
version=2025.01
|
||||
version=2024.10
|
||||
revision=1
|
||||
build_style=configure
|
||||
configure_script="perl Configure.pl"
|
||||
@ -15,7 +15,7 @@ license="Artistic-2.0"
|
||||
homepage="https://moarvm.org"
|
||||
changelog="https://github.com/MoarVM/MoarVM/raw/master/docs/ChangeLog"
|
||||
distfiles="https://moarvm.org/releases/MoarVM-${version}.tar.gz"
|
||||
checksum=5b5fb5421f3d7e09c59057c054ce8079f9fec0cbc5b13b7c9f65fe922920a833
|
||||
checksum=055cfeefa3ea081039b75b2a89f6ea063cb3a489643e3dc8db8497a9a02372c9
|
||||
nocross=yes
|
||||
shlib_provides="libmoar.so"
|
||||
|
||||
|
@ -2,12 +2,12 @@
|
||||
# based on https://raw.githubusercontent.com/AluisioASG/void-packages/openrct2/srcpkgs/OpenRCT2/template
|
||||
# and https://github.com/void-linux/void-packages/issues/1014#issuecomment-417372421
|
||||
pkgname=OpenRCT2
|
||||
version=0.4.19.1
|
||||
version=0.4.17
|
||||
revision=1
|
||||
# versions pulled from https://raw.githubusercontent.com/OpenRCT2/OpenRCT2/v${version}/CMakeLists.txt
|
||||
_objects_version=1.5.1
|
||||
_objects_version=1.4.11
|
||||
_titles_version=0.4.14
|
||||
_replays_version=0.0.86
|
||||
_replays_version=0.0.84
|
||||
_opensfx_version=1.0.5
|
||||
_openmsx_version=1.6
|
||||
build_style=cmake
|
||||
@ -40,11 +40,11 @@ distfiles="https://github.com/OpenRCT2/OpenRCT2/archive/v${version}.tar.gz
|
||||
https://github.com/OpenRCT2/OpenMusic/releases/download/v${_openmsx_version}/openmusic.zip>openmusic-${_openmsx_version}.zip
|
||||
https://github.com/OpenRCT2/replays/releases/download/v${_replays_version}/replays.zip>replays-${_replays_version}.zip
|
||||
https://github.com/OpenRCT2/title-sequences/releases/download/v${_titles_version}/title-sequences.zip>title-sequences-${_titles_version}.zip"
|
||||
checksum="7421c61a86875b68f1d1a371baeae50dd2e8b5825dd0d6899584f1de62e25887
|
||||
c6b800cbcd7b1b9c707f3657fbc5f2db9d3cfd9c2adf668accc9ddbacd7841df
|
||||
checksum="991c4a3eb599439e09715bd36ea0de42a11215edff4e5576304dc38524a6ab8d
|
||||
fd0fed611565710f79b136958100362a8c37211467f74b85126a3a2ea35e4f78
|
||||
a952148be164c128e4fd3aea96822e5f051edd9a0b1f2c84de7f7628ce3b2e18
|
||||
f097d3a4ccd39f7546f97db3ecb1b8be73648f53b7a7595b86cccbdc1a7557e4
|
||||
c7a68c186e9bec827fe55eceb67e2b4cd789f239750ffff2da51f0c8d92bb16b
|
||||
de798331dfee60dbd12c01adb70dc12d01271365dfbe84ce529bf341b7b2f0f8
|
||||
140df714e806fed411cc49763e7f16b0fcf2a487a57001d1e50fce8f9148a9f3"
|
||||
skip_extraction="objects-${_objects_version}.zip
|
||||
opensound-${_opensfx_version}.zip
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'SDL2'
|
||||
pkgname=SDL2
|
||||
version=2.32.0
|
||||
version=2.30.10
|
||||
revision=1
|
||||
build_style=cmake
|
||||
configure_args="-DSDL_ALSA=ON -DSDL_ESD=OFF -DSDL_RPATH=OFF
|
||||
@ -15,7 +15,7 @@ license="Zlib"
|
||||
homepage="https://www.libsdl.org/"
|
||||
changelog="https://raw.githubusercontent.com/libsdl-org/SDL/SDL2/WhatsNew.txt"
|
||||
distfiles="https://www.libsdl.org/release/SDL2-${version}.tar.gz"
|
||||
checksum=f5c2b52498785858f3de1e2996eba3c1b805d08fe168a47ea527c7fc339072d0
|
||||
checksum=f59adf36a0fcf4c94198e7d3d776c1b3824211ab7aeebeb31fe19836661196aa
|
||||
|
||||
# Package build options
|
||||
build_options="gles opengl pulseaudio pipewire sndio vulkan wayland x11"
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Template file for 'SDL2_image'
|
||||
pkgname=SDL2_image
|
||||
version=2.8.5
|
||||
revision=1
|
||||
version=2.8.2
|
||||
revision=2
|
||||
build_style=cmake
|
||||
configure_args="-DSDL2IMAGE_WEBP=ON"
|
||||
hostmakedepends="pkg-config"
|
||||
@ -13,7 +13,7 @@ license="Zlib"
|
||||
homepage="https://github.com/libsdl-org/SDL_image"
|
||||
changelog="https://raw.githubusercontent.com/libsdl-org/SDL_image/SDL2/CHANGES.txt"
|
||||
distfiles="http://www.libsdl.org/projects/SDL_image/release/SDL2_image-${version}.tar.gz"
|
||||
checksum=8bc4c57f41e2c0db7f9b749b253ef6cecdc6f0b689ecbe36ee97b50115fff645
|
||||
checksum=8f486bbfbcf8464dd58c9e5d93394ab0255ce68b51c5a966a918244820a76ddc
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE.txt LICENSE
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'SDL3'
|
||||
pkgname=SDL3
|
||||
version=3.2.4
|
||||
version=3.2.2
|
||||
revision=1
|
||||
build_style=cmake
|
||||
configure_args="-DSDL_ALSA=ON -DSDL_RPATH=OFF
|
||||
@ -15,7 +15,7 @@ license="Zlib"
|
||||
homepage="https://www.libsdl.org/"
|
||||
changelog="https://raw.githubusercontent.com/libsdl-org/SDL/refs/heads/main/WhatsNew.txt"
|
||||
distfiles="https://www.libsdl.org/release/SDL3-${version}.tar.gz"
|
||||
checksum=2938328317301dfbe30176d79c251733aa5e7ec5c436c800b99ed4da7adcb0f0
|
||||
checksum=d3dcf1b2f64746be0f248ef27b35aec4f038dafadfb83491f98a7fecdaf6efec
|
||||
|
||||
# Package build options
|
||||
build_options="gles opengl pulseaudio pipewire sndio vulkan wayland x11"
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'alacritty'
|
||||
pkgname=alacritty
|
||||
version=0.15.1
|
||||
version=0.15.0
|
||||
revision=1
|
||||
build_style=cargo
|
||||
make_install_args="--path alacritty"
|
||||
@ -14,7 +14,7 @@ license="Apache-2.0"
|
||||
homepage="https://github.com/alacritty/alacritty"
|
||||
changelog="https://raw.githubusercontent.com/alacritty/alacritty/master/CHANGELOG.md"
|
||||
distfiles="https://github.com/alacritty/alacritty/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=b814e30c6271ae23158c66e0e2377c3600bb24041fa382a36e81be564eeb2e36
|
||||
checksum=aa4479c99547c0b6860760b5b704865f629ffe1f1ec374153c2cd84e53ce5412
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
ppc64*) ;;
|
||||
|
@ -1,12 +1,12 @@
|
||||
# Template file for 'ansifilter'
|
||||
pkgname=ansifilter
|
||||
version=2.21
|
||||
revision=1
|
||||
version=2.20
|
||||
revision=2
|
||||
build_style=gnu-makefile
|
||||
short_desc="Remove or convert ANSI codes to another format"
|
||||
maintainer="Eloi Torrents <eloitor@duck.com>"
|
||||
maintainer="Eloi Torrents <eloitor@disroot.org>"
|
||||
license="GPL-3.0-only"
|
||||
homepage="https://gitlab.com/saalen/ansifilter"
|
||||
changelog="https://gitlab.com/saalen/ansifilter/-/raw/master/ChangeLog.adoc"
|
||||
distfiles="https://gitlab.com/saalen/ansifilter/-/archive/${version}/ansifilter-${version}.tar.gz"
|
||||
checksum=d3dd7503044c91c70e8b4c99489cb222cf831974bb7edc6b52acbd0a21742f50
|
||||
checksum=96aad3c95113e921ab912b63152471e5b532a54ecfe90d8c86b2c9127c3aa39b
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'ast-grep'
|
||||
pkgname=ast-grep
|
||||
version=0.35.0
|
||||
version=0.34.4
|
||||
revision=1
|
||||
build_style=cargo
|
||||
make_check_args="-- --skip=test_unmatching_id --skip=test_merge_with_globs"
|
||||
@ -10,7 +10,7 @@ license="MIT"
|
||||
homepage="https://ast-grep.github.io"
|
||||
changelog="https://raw.githubusercontent.com/ast-grep/ast-grep/main/CHANGELOG.md"
|
||||
distfiles="https://static.crates.io/crates/ast-grep/ast-grep-${version}.crate"
|
||||
checksum=b8f3a840339bd967a17e20524cacf55907a990f567ee558e4332b1726bce116b
|
||||
checksum=5d777e747b2a674b480f672058c75dfdc483451bb5d4eaa8325b982f4ac9a1fb
|
||||
|
||||
do_install() {
|
||||
vbin target/${RUST_TARGET}/release/ast-grep
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Template file for 'black'
|
||||
pkgname=black
|
||||
version=25.1.0
|
||||
revision=1
|
||||
version=24.10.0
|
||||
revision=2
|
||||
build_style=python3-pep517
|
||||
hostmakedepends="hatchling hatch-vcs hatch-fancy-pypi-readme"
|
||||
depends="python3-click python3-platformdirs python3-pathspec python3-packaging
|
||||
@ -14,7 +14,7 @@ license="MIT"
|
||||
homepage="https://black.readthedocs.io/en/stable/"
|
||||
changelog="https://raw.githubusercontent.com/psf/black/main/CHANGES.md"
|
||||
distfiles="${PYPI_SITE}/b/black/black-${version}.tar.gz"
|
||||
checksum=33496d5cd1222ad73391352b4ae8da15253c5de89b93a80b3e2c8d9a19ec2666
|
||||
checksum=846ea64c97afe3bc677b761787993be4991810ecc7a4a937816dd6bddedc4875
|
||||
|
||||
post_check() {
|
||||
PYTHONPATH=src python3 -m black --check src tests
|
||||
|
@ -1,20 +1,16 @@
|
||||
# Template file for 'borgmatic'
|
||||
pkgname=borgmatic
|
||||
version=1.9.5
|
||||
revision=1
|
||||
version=1.9.2
|
||||
revision=2
|
||||
build_style=python3-pep517
|
||||
hostmakedepends="python3-setuptools python3-wheel"
|
||||
depends="borg python3-setuptools python3-ruamel.yaml python3-jsonschema
|
||||
python3-requests python3-packaging"
|
||||
checkdepends="${depends} python3-pytest python3-flexmock python3-apprise"
|
||||
python3-colorama python3-requests"
|
||||
checkdepends="${depends} python3-pytest-cov python3-flexmock python3-apprise"
|
||||
short_desc="Wrapper script for the Borg backup software"
|
||||
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://torsion.org/borgmatic/"
|
||||
changelog="https://projects.torsion.org/borgmatic-collective/borgmatic/raw/branch/master/NEWS"
|
||||
distfiles="${PYPI_SITE}/b/borgmatic/borgmatic-${version}.tar.gz"
|
||||
checksum=c1518cd81b2099988a5adb5c788c39a5b246618d95dfe318d48bfce8fc08714f
|
||||
|
||||
post_patch() {
|
||||
vsed -i pyproject.toml -e 's/--cov-report.*--cov-fail-under=100//'
|
||||
}
|
||||
checksum=bddfc0a75312a4b40108b7acfbcd42f28c82eba314760c6616ac56ace4e96cc2
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'bpftop'
|
||||
pkgname=bpftop
|
||||
version=0.6.0
|
||||
version=0.5.2
|
||||
revision=1
|
||||
build_style=cargo
|
||||
hostmakedepends="clang elfutils-devel pkg-config"
|
||||
@ -10,4 +10,4 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||
license="Apache-2.0"
|
||||
homepage="https://github.com/Netflix/bpftop"
|
||||
distfiles="https://github.com/Netflix/bpftop/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=a73718d8cfa5f6698e36c4b87ad7e93210a0aafd2a170e741eb8c84bb226b23b
|
||||
checksum=d941314d8716f22d009a031de30edc92586cd434646bf2d2eb14c0a42e94bc95
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'carapace'
|
||||
pkgname=carapace
|
||||
version=1.2.1
|
||||
version=1.0.7
|
||||
revision=1
|
||||
build_style=go
|
||||
go_import_path=github.com/carapace-sh/carapace-bin
|
||||
@ -14,7 +14,7 @@ license="MIT"
|
||||
homepage="https://carapace.sh/"
|
||||
changelog="https://carapace-sh.github.io/carapace-bin/release_notes.html"
|
||||
distfiles="https://github.com/carapace-sh/carapace-bin/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=7eebc2b3f7ac4fb5641612343ce813b2f7e1c0fffd1251255542e9bfbf9ed207
|
||||
checksum=bfcd950178023909b0854bc6bded5b57d1c00123943e9dbcdfddf2a632c71ff4
|
||||
|
||||
pre_build() {
|
||||
CGO_ENABLED=0 GOARCH= go generate ./cmd/...
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Template file for 'chocolate-doom'
|
||||
pkgname=chocolate-doom
|
||||
version=3.1.0
|
||||
revision=1
|
||||
version=3.0.1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="autoconf automake pkg-config python3"
|
||||
makedepends="SDL2-devel SDL2_mixer-devel SDL2_net-devel libsamplerate-devel libpng-devel"
|
||||
@ -10,7 +10,7 @@ maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="https://www.chocolate-doom.org/"
|
||||
distfiles="https://github.com/chocolate-doom/chocolate-doom/archive/chocolate-doom-${version}.tar.gz"
|
||||
checksum=f2c64843dcec312032b180c3b2f34b4cb26c4dcdaa7375a1601a3b1df11ef84d
|
||||
checksum=a54383beef6a52babc5b00d58fcf53a454f012ced7b1936ba359b13f1f10ac66
|
||||
|
||||
CFLAGS="-fcommon"
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'clifm'
|
||||
pkgname=clifm
|
||||
version=1.23
|
||||
version=1.22
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
make_install_args="MANDIR=/usr/share/man"
|
||||
@ -11,4 +11,4 @@ license="GPL-2.0-or-later"
|
||||
homepage="https://github.com/leo-arch/clifm"
|
||||
changelog="https://raw.githubusercontent.com/leo-arch/clifm/master/CHANGELOG"
|
||||
distfiles="https://github.com/leo-arch/clifm/releases/download/v${version}/clifm-${version}.tar.gz"
|
||||
checksum=5209a7286541bebc9649537abe9dfc1cfa76c6aa317afb5a6ed87270c1d069aa
|
||||
checksum=fbc92437c41f414e2f490b65caba38b8aa62bf95cf116812b466532bf85e0201
|
||||
|
@ -1,8 +1,8 @@
|
||||
# Template file for 'clojure-lsp'
|
||||
pkgname=clojure-lsp
|
||||
version=2025.01.22
|
||||
version=2024.11.08
|
||||
revision=1
|
||||
_ver_hms="23.28.23"
|
||||
_ver_hms="17.49.29"
|
||||
hostmakedepends="mandrel leiningen babashka clojure"
|
||||
makedepends="zlib-devel"
|
||||
short_desc="Clojure & ClojureScript language server implementation"
|
||||
@ -11,7 +11,7 @@ license="MIT"
|
||||
homepage="https://clojure-lsp.io"
|
||||
changelog="https://raw.githubusercontent.com/clojure-lsp/clojure-lsp/master/CHANGELOG.md"
|
||||
distfiles="https://github.com/clojure-lsp/clojure-lsp/archive/refs/tags/${version}-${_ver_hms}.tar.gz"
|
||||
checksum=d441eadeeacf2d18aee3cca9f783268cad101d95383847e5083fca300147015a
|
||||
checksum=1266a874dfd9433aae36cececbea0d590a68bf5ea45ee963c657d1d398d02556
|
||||
nocross="mandrel"
|
||||
|
||||
do_build() {
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'coreboot-utils'
|
||||
pkgname=coreboot-utils
|
||||
version=24.08
|
||||
version=4.20.1
|
||||
revision=1
|
||||
archs="i686* x86_64*"
|
||||
build_wrksrc="util"
|
||||
@ -11,8 +11,8 @@ maintainer="m3tav3rse <mtvrs@tuta.io>"
|
||||
license="GPL-2.0-only"
|
||||
homepage="https://coreboot.org"
|
||||
distfiles="https://coreboot.org/releases/coreboot-${version}.tar.xz"
|
||||
checksum=1fc9a997d497539f915dc6498e4aca4bf049955d4db9a17a85454ad6b342710c
|
||||
CFLAGS="-D_GNU_SOURCE -I ${XBPS_BUILDDIR}/${pkgname}-${version}/src/commonlib/bsd/include"
|
||||
checksum=b41539a8c2eab2fec752157eb4acbd0e2a637a7203530c12e66b43a5c3c3a931
|
||||
CFLAGS="-D_GNU_SOURCE"
|
||||
|
||||
do_build() {
|
||||
for util in cbfstool cbmem ectool ifdtool inteltool intelmetool \
|
||||
|
56
srcpkgs/ddclient/patches/porkbun.patch
Normal file
56
srcpkgs/ddclient/patches/porkbun.patch
Normal file
@ -0,0 +1,56 @@
|
||||
diff --git a/ddclient.in b/ddclient.in
|
||||
index 7a66c5e..d236555 100755
|
||||
--- a/ddclient.in
|
||||
+++ b/ddclient.in
|
||||
@@ -868,6 +868,7 @@ my %services = (
|
||||
'apikey' => setv(T_PASSWD, 1, 0, '', undef),
|
||||
'secretapikey' => setv(T_PASSWD, 1, 0, '', undef),
|
||||
'on-root-domain' => setv(T_BOOL, 0, 0, 0, undef),
|
||||
+ 'server' => setv(T_FQDNP, 1, 0, 'api.porkbun.com', undef),
|
||||
'login' => setv(T_LOGIN, 0, 0, 'unused', undef),
|
||||
'password' => setv(T_PASSWD, 0, 0, 'unused', undef),
|
||||
'use' => setv(T_USE, 0, 0, 'disabled', undef),
|
||||
@@ -7082,6 +7083,7 @@ sub nic_porkbun_update {
|
||||
debug("\nnic_porkbun_update -------------------");
|
||||
|
||||
foreach my $host (@_) {
|
||||
+ my $server = $config{$host}{'server'};
|
||||
foreach my $ipv ('ipv4', 'ipv6') {
|
||||
my $ip = delete $config{$host}{"want$ipv"};
|
||||
if (!$ip) {
|
||||
@@ -7099,7 +7101,7 @@ sub nic_porkbun_update {
|
||||
info("setting %s address to %s for %s", $ipv, $ip, $host);
|
||||
verbose("UPDATE:","updating %s", $host);
|
||||
|
||||
- my $url = "https://porkbun.com/api/json/v3/dns/retrieveByNameType/$domain/$rrset_type/$sub_domain";
|
||||
+ my $url = "https://$server/api/json/v3/dns/retrieveByNameType/$domain/$rrset_type/$sub_domain";
|
||||
my $data = encode_json({
|
||||
secretapikey => $config{$host}{'secretapikey'},
|
||||
apikey => $config{$host}{'apikey'},
|
||||
@@ -7115,7 +7117,7 @@ sub nic_porkbun_update {
|
||||
# No response, declare as failed
|
||||
if (!defined($reply) || !$reply) {
|
||||
$config{$host}{"status-$ipv"} = "bad";
|
||||
- failed("updating %s: Could not connect to porkbun.com.", $host);
|
||||
+ failed("updating %s: Could not connect to $server.", $host);
|
||||
next;
|
||||
}
|
||||
if (!header_ok($host, $reply)) {
|
||||
@@ -7153,7 +7155,7 @@ sub nic_porkbun_update {
|
||||
my $notes = $records->[0]->{'notes'};
|
||||
debug("ttl = %s", $ttl);
|
||||
debug("notes = %s", $notes);
|
||||
- $url = "https://porkbun.com/api/json/v3/dns/editByNameType/$domain/$rrset_type/$sub_domain";
|
||||
+ $url = "https://$server/api/json/v3/dns/editByNameType/$domain/$rrset_type/$sub_domain";
|
||||
$data = encode_json({
|
||||
secretapikey => $config{$host}{'secretapikey'},
|
||||
apikey => $config{$host}{'apikey'},
|
||||
@@ -7170,7 +7172,7 @@ sub nic_porkbun_update {
|
||||
);
|
||||
# No response, declare as failed
|
||||
if (!defined($reply) || !$reply) {
|
||||
- failed("updating %s: Could not connect to porkbun.com.", $host);
|
||||
+ failed("updating %s: Could not connect to $server.", $host);
|
||||
next;
|
||||
}
|
||||
if (!header_ok($host, $reply)) {
|
@ -1,20 +1,20 @@
|
||||
# Template file for 'ddclient'
|
||||
pkgname=ddclient
|
||||
version=4.0.0
|
||||
revision=1
|
||||
version=3.11.2
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--sysconfdir=/etc"
|
||||
configure_args="--sysconfdir=/etc/ddclient"
|
||||
hostmakedepends="automake curl"
|
||||
depends="perl-JSON curl"
|
||||
checkdepends="$depends perl-HTTP-Daemon perl-Plack perl-HTTP-Message
|
||||
perl-Test-MockModule perl-Test-Warnings curl net-tools"
|
||||
short_desc="Perl client used to update dynamic DNS"
|
||||
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
|
||||
maintainer="rogi <rogi@skylittlesystem.org>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="https://github.com/ddclient/ddclient"
|
||||
changelog="https://raw.githubusercontent.com/ddclient/ddclient/master/ChangeLog.md"
|
||||
distfiles="https://github.com/ddclient/ddclient/archive/v${version}.tar.gz"
|
||||
checksum=4b37c99ac0011102d7db62f1ece7ff899b06df3d4b172e312703931a3c593c93
|
||||
checksum=243cd832abd3cdd2b49903e1b5ed7f450e2d9c4c0eaf8ce4fe692c244d3afd77
|
||||
|
||||
conf_files="/etc/ddclient/ddclient.conf"
|
||||
make_dirs="/var/cache/ddclient 0750 root root"
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Template file for 'devedeng'
|
||||
pkgname=devedeng
|
||||
version=4.20.0
|
||||
revision=1
|
||||
version=4.17.0
|
||||
revision=4
|
||||
build_style=python3-module
|
||||
hostmakedepends="gettext python3-setuptools"
|
||||
depends="cdrtools desktop-file-utils dvdauthor ffmpeg gtk+3
|
||||
@ -11,4 +11,4 @@ maintainer="Benjamín Albiñana <benalb@gmail.com>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://www.rastersoft.com/programas/devede.html"
|
||||
distfiles="https://gitlab.com/rastersoft/devedeng/-/archive/${version}/${pkgname}-${version}.tar.bz2"
|
||||
checksum=3a9892fe7894ca22cb815a0c27a857bf5c7b553db0c040e326cce566508a7dc2
|
||||
checksum=c0f22037972dcfd70b3cbe92668c98e6853e20055913dbacf862684cebf3809b
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'dialog'
|
||||
pkgname=dialog
|
||||
version=1.3.20250116
|
||||
version=1.3.20240619
|
||||
revision=1
|
||||
_distver=${version%.*}
|
||||
_date=${version##*.}
|
||||
@ -13,7 +13,7 @@ license="LGPL-2.1-only"
|
||||
homepage="https://invisible-island.net/dialog/"
|
||||
changelog="https://invisible-island.net/dialog/CHANGES"
|
||||
distfiles="https://invisible-mirror.net/archives/dialog/dialog-${_distver}-${_date}.tgz"
|
||||
checksum=68406329827b783d0a8959cc20a94c6e1791ac861a27f854e06e9020541816dd
|
||||
checksum=5d8c4318963db3fd383525340276e0e05ee3dea9a6686c20779f5433b199547d
|
||||
|
||||
post_install() {
|
||||
rm -r ${DESTDIR}/usr/lib
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'difftastic'
|
||||
pkgname=difftastic
|
||||
version=0.63.0
|
||||
version=0.62.0
|
||||
revision=1
|
||||
build_style=cargo
|
||||
short_desc="Structural diff tool that understands syntax"
|
||||
@ -9,7 +9,7 @@ license="MIT"
|
||||
homepage="https://difftastic.wilfred.me.uk"
|
||||
changelog="https://raw.githubusercontent.com/Wilfred/difftastic/master/CHANGELOG.md"
|
||||
distfiles="https://github.com/Wilfred/difftastic/archive/refs/tags/${version}.tar.gz"
|
||||
checksum=f96bcf4fc961921d52cd9fe5aa94017924abde3d5a3b5a4727b103e9c2d4b416
|
||||
checksum=ef69a23c6e3b9697d84ea5be158e8cb6d7482f49fc91cf4f9c7416bd48301260
|
||||
|
||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||
XBPS_CROSS_RUSTFLAGS+=" -latomic"
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'dnsdist'
|
||||
pkgname=dnsdist
|
||||
version=1.9.8
|
||||
version=1.9.7
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-pic --with-gnu-ld --with-libsodium --with-re2
|
||||
@ -18,7 +18,7 @@ license="GPL-2.0-only"
|
||||
homepage="https://dnsdist.org/"
|
||||
changelog="https://dnsdist.org/changelog.html"
|
||||
distfiles="https://downloads.powerdns.com/releases/${pkgname}-${version}.tar.bz2"
|
||||
checksum=f664f73a96a8d7343d32696accb70fd8b1ed4328d73cdb0a627a561d6e2fd99e
|
||||
checksum=285111c2b7dff6bc8a2407106a51c365cc5bf5e6287fe459a29b396c74620332
|
||||
|
||||
system_accounts="_dnsdist"
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'dosbox-staging'
|
||||
pkgname=dosbox-staging
|
||||
version=0.82.0
|
||||
version=0.81.2
|
||||
revision=1
|
||||
build_style=meson
|
||||
build_helper=qemu
|
||||
@ -14,11 +14,5 @@ maintainer="Joshua Krämer <joshua@kraemer.link>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="https://dosbox-staging.github.io"
|
||||
distfiles="https://github.com/dosbox-staging/dosbox-staging/archive/v${version}.tar.gz"
|
||||
checksum=a3f63f86bf203ba28512e189ce6736cdb0273647e77a62ce47ed3d01b3b4a88d
|
||||
checksum=6676a3b6957c144a80ca8c3ffec2a0bec0320274382f23af9c57dd1c20b2eb1b
|
||||
conflicts="dosbox"
|
||||
|
||||
# ARMv6/v7: LTO leads to strange errors "Error: invalid literal constant: pool needs to be closer"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
arm*) configure_args+=" -Db_lto=false"
|
||||
esac
|
||||
|
@ -1,12 +1,12 @@
|
||||
# Template file for 'duckdb'
|
||||
pkgname=duckdb
|
||||
version=1.2.0
|
||||
revision=1
|
||||
version=1.1.3
|
||||
revision=2
|
||||
archs="x86_64* aarch64*" # 32-bit FTBFS
|
||||
build_style=cmake
|
||||
build_helper="python3"
|
||||
configure_args="-DOVERRIDE_GIT_DESCRIBE=v${version}-0-gdeadbeeff
|
||||
-DBUILD_EXTENSIONS='autocomplete;icu;json;parquet'"
|
||||
-DBUILD_EXTENSIONS='autocomplete;icu;fts;httpfs;json;parquet'"
|
||||
hostmakedepends="pkg-config python3-build python3-installer python3-setuptools_scm
|
||||
python3-wheel python3-pybind11"
|
||||
makedepends="openssl-devel"
|
||||
@ -16,7 +16,7 @@ license="MIT"
|
||||
homepage="https://duckdb.org"
|
||||
changelog="https://github.com/duckdb/duckdb/releases"
|
||||
distfiles="https://github.com/duckdb/duckdb/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=f22c97e18c071fa8e43b5e150c03c6ab4bcc510cca6e6b50cbe13af8535fa701
|
||||
checksum=2aea0af898ad753fee82b776fea1bf78ccbc9648986e7f7a87372df5e74cdb98
|
||||
|
||||
case "${XBPS_TARGET_MACHINE}" in
|
||||
x86_64*) configure_args+=" -DDUCKDB_EXPLICIT_PLATFORM=linux_amd64" ;;
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Template file for 'efm-langserver'
|
||||
pkgname=efm-langserver
|
||||
version=0.0.54
|
||||
revision=1
|
||||
version=0.0.53
|
||||
revision=2
|
||||
build_style=go
|
||||
go_import_path=github.com/mattn/efm-langserver
|
||||
short_desc="General purpose language server"
|
||||
@ -9,7 +9,7 @@ maintainer="icp <pangolin@vivaldi.net>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/mattn/efm-langserver"
|
||||
distfiles="https://github.com/mattn/efm-langserver/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=4149b2922899ce313a89f60851f6678369253ed542dd65bdc8dd22f3cf1629bb
|
||||
checksum=2e315b6c563a994d8f5b3d2d8e5be629628b1f6dc7e4a82d9ea1a5deb8c81be6
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'elinks'
|
||||
pkgname=elinks
|
||||
version=0.18.0
|
||||
version=0.17.1.1
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-true-color --enable-fastmem --without-spidermonkey"
|
||||
@ -8,12 +8,12 @@ hostmakedepends="automake libtool pkg-config gettext"
|
||||
makedepends="gpm-devel zlib-devel bzip2-devel libidn-devel tre-devel
|
||||
ncurses-devel openssl-devel"
|
||||
short_desc="Full-Featured Text WWW Browser"
|
||||
maintainer="Saksham <voidisnull@duck.com>"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="GPL-2.0-only"
|
||||
homepage="https://github.com/rkd77/elinks"
|
||||
changelog="https://raw.githubusercontent.com/rkd77/elinks/master/NEWS"
|
||||
distfiles="https://github.com/rkd77/elinks/archive/v${version}.tar.gz"
|
||||
checksum=b4200c17dfe5574daddeceda69a42ef8f2459fc43e92cac73dcf30c3343c95a5
|
||||
checksum=d8e7eaff3d47e65c9a01a7a9d865eb21f773713801ae715475c27f77af76a280
|
||||
# ld: no input files
|
||||
disable_parallel_build=yes
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'entr'
|
||||
pkgname=entr
|
||||
version=5.7
|
||||
version=5.6
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
short_desc="Utility for running arbitrary commands when files change"
|
||||
@ -9,7 +9,7 @@ license="ISC"
|
||||
homepage="https://eradman.com/entrproject/"
|
||||
changelog="https://raw.githubusercontent.com/eradman/entr/master/NEWS"
|
||||
distfiles="https://eradman.com/entrproject/code/entr-${version}.tar.gz"
|
||||
checksum=90c5d943820c70cef37eb41a382a6ea4f5dd7fd95efef13b2b5520d320f5d067
|
||||
checksum=0222b8df928d3b5a3b5194d63e7de098533e04190d9d9a154b926c6c1f9dd14e
|
||||
|
||||
post_extract() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'eqonomize'
|
||||
pkgname=eqonomize
|
||||
version=1.5.9
|
||||
version=1.5.7
|
||||
revision=1
|
||||
build_style=qmake
|
||||
hostmakedepends="qt5-qmake qt5-host-tools"
|
||||
@ -12,4 +12,4 @@ license="GPL-3.0-or-later"
|
||||
homepage="http://eqonomize.github.io"
|
||||
changelog="https://raw.githubusercontent.com/Eqonomize/Eqonomize/master/ChangeLog"
|
||||
distfiles="https://github.com/Eqonomize/Eqonomize/releases/download/v${version}/eqonomize-${version}.tar.gz"
|
||||
checksum=a38ab8cec54233c8ba0268171ee5e45907dd64a898e3156a04f57e574a295c5b
|
||||
checksum=90c730eeac3bafc15a8db2b4bc1867eecaf18b1828bcc059a58c8f22ab22dabc
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Template file for 'ergo'
|
||||
pkgname=ergo
|
||||
version=2.15.0
|
||||
revision=1
|
||||
version=2.14.0
|
||||
revision=2
|
||||
build_style=go
|
||||
go_import_path="github.com/ergochat/ergo"
|
||||
go_ldflags="-X main.version=$version"
|
||||
@ -11,7 +11,7 @@ license="MIT"
|
||||
homepage="https://ergo.chat/"
|
||||
changelog="https://raw.githubusercontent.com/ergochat/ergo/master/CHANGELOG.md"
|
||||
distfiles="https://github.com/ergochat/ergo/archive/v${version}.tar.gz"
|
||||
checksum=e2f88fe008a4e32798422b7a65fe81834d68d4695a014b37eded01278b170ce7
|
||||
checksum=60085302182e54b9afe1a3f0c4e3a9da16fecdaa6bc4c1f0aceccded856969dd
|
||||
system_accounts="_ergo"
|
||||
_ergo_homedir="/var/lib/ergo"
|
||||
make_dirs="/var/lib/ergo 0755 _ergo _ergo"
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'fcron'
|
||||
pkgname=fcron
|
||||
version=3.3.3
|
||||
version=3.3.2
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="
|
||||
@ -30,7 +30,7 @@ maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="http://fcron.free.fr"
|
||||
distfiles="$homepage/archives/$pkgname-$version.src.tar.gz"
|
||||
checksum=e5b48c9b78cb38cfb24a038dcb13a08b5121889375378f42f3c94bc250d21497
|
||||
checksum=0d25586c5a5875b2bd853a7d57a7a01938e3b1ac5a68ae52525b66b302ca196e
|
||||
|
||||
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
|
||||
makedepends+=" libxcrypt-devel"
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'fontconfig'
|
||||
pkgname=fontconfig
|
||||
version=2.16.0
|
||||
version=2.14.2
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-static --enable-docs --with-cache-dir=/var/cache/${pkgname}"
|
||||
@ -13,7 +13,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="MIT"
|
||||
homepage="http://www.fontconfig.org"
|
||||
distfiles="${FREEDESKTOP_SITE}/fontconfig/release/fontconfig-${version}.tar.xz"
|
||||
checksum=6a33dc555cc9ba8b10caf7695878ef134eeb36d0af366041f639b1da9b6ed220
|
||||
checksum=dba695b57bce15023d2ceedef82062c2b925e51f5d4cc4aef736cf13f60a468b
|
||||
|
||||
post_install() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Template file for 'fonttools'
|
||||
pkgname=fonttools
|
||||
version=4.55.3
|
||||
revision=1
|
||||
version=4.54.1
|
||||
revision=2
|
||||
build_style=python3-module
|
||||
make_check_args="--deselect Tests/otlLib/optimize_test.py::test_main
|
||||
--deselect Tests/ttx/ttx_test.py::test_ttcompile_timestamp_calcs
|
||||
@ -15,7 +15,7 @@ license="MIT, OFL-1.1, BSD-3-Clause"
|
||||
homepage="https://github.com/fonttools/fonttools"
|
||||
changelog="https://raw.githubusercontent.com/fonttools/fonttools/main/NEWS.rst"
|
||||
distfiles="https://github.com/fonttools/fonttools/archive/refs/tags/${version}.tar.gz"
|
||||
checksum=c8c250586066a66ea8a26cc4b06bce5ec6fb9b2bf4afd7aff9d509ed7bfd5fcd
|
||||
checksum=026634b6c2602fe7f826c9f12017b775e9b92ef28035c4ba3e26316186a6c8d3
|
||||
replaces="python-fonttools>=0 python3-fonttools>=0"
|
||||
provides="python-fonttools-${version}_${revision} python3-fonttools-${version}_${revision}"
|
||||
|
||||
|
@ -1,17 +1,17 @@
|
||||
# Template file for 'fswatch'
|
||||
pkgname=fswatch
|
||||
version=1.18.2
|
||||
version=1.17.1
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static"
|
||||
hostmakedepends="doxygen"
|
||||
short_desc="Cross-platform file change monitor with multiple backends"
|
||||
maintainer="Eloi Torrents <eloitor@duck.com>"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://emcrisostomo.github.io/fswatch/"
|
||||
changelog="https://github.com/emcrisostomo/fswatch/raw/master/NEWS"
|
||||
distfiles="https://github.com/emcrisostomo/fswatch/releases/download/${version}/fswatch-${version}.tar.gz"
|
||||
checksum=1e5ec35c0bd8f39d45cb326e85362a0472e6b6b5a65eca7934c357e54926dfeb
|
||||
checksum=c38e341c567f5f16bfa64b72fc48bba5e93873d8572522e670e6f320bbc2122f
|
||||
|
||||
post_install() {
|
||||
rm -vr -- "${DESTDIR}/usr/share/doc"
|
||||
|
@ -1,46 +0,0 @@
|
||||
install these files to a different path to avoid conflicts with gmic itself
|
||||
|
||||
--- a/src/gmic_stdlib.gmic
|
||||
+++ b/src/gmic_stdlib.gmic
|
||||
@@ -5287,7 +5287,7 @@
|
||||
path_test2=${-path_gimp}plug-ins/
|
||||
path_test3=${-path_gimp}plug-ins/gmic_gimp_qt/
|
||||
if !${-is_windows}
|
||||
- path_test4=/usr/share/gmic/
|
||||
+ path_test4=/usr/share/gmic-krita/
|
||||
path_test5=$g_path_unix
|
||||
else
|
||||
path_test4=$g_path_unix
|
||||
--- a/gmic-qt/src/Host/KritaPlugin/gmicqttoolplugin.cpp
|
||||
+++ b/gmic-qt/src/Host/KritaPlugin/gmicqttoolplugin.cpp
|
||||
@@ -66,7 +66,7 @@
|
||||
// Workaround for deploying basic CLUTs
|
||||
// See https://krita-artists.org/t/unknown-filename-gmic-qt/37813
|
||||
{
|
||||
- const auto srcPath = QDir(QCoreApplication::applicationDirPath().append(QStringLiteral("/../share/gmic/"))).absolutePath();
|
||||
+ const auto srcPath = QDir(QCoreApplication::applicationDirPath().append(QStringLiteral("/../share/gmic-krita/"))).absolutePath();
|
||||
const auto dstPath = GmicQt::gmicConfigPath(true);
|
||||
const std::list<QString> files = {"/gmic_cluts.gmz", "/gmic_denoise_cnn.gmz"};
|
||||
|
||||
--- a/gmic-qt/CMakeLists.txt
|
||||
+++ b/gmic-qt/CMakeLists.txt
|
||||
@@ -698,8 +698,8 @@
|
||||
|
||||
include(GNUInstallDirs)
|
||||
|
||||
-install(FILES ${CMAKE_SOURCE_DIR}/../resources/gmic_cluts.gmz DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/gmic)
|
||||
-install(FILES ${CMAKE_SOURCE_DIR}/../resources/gmic_denoise_cnn.gmz DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/gmic)
|
||||
+install(FILES ${CMAKE_SOURCE_DIR}/../resources/gmic_cluts.gmz DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/gmic-krita)
|
||||
+install(FILES ${CMAKE_SOURCE_DIR}/../resources/gmic_denoise_cnn.gmz DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/gmic-krita)
|
||||
|
||||
set(gmic_qt_QRC
|
||||
gmic_qt.qrc
|
||||
@@ -896,7 +896,7 @@
|
||||
else()
|
||||
|
||||
message(FATAL_ERROR "GMIC_QT_HOST is not defined as gimp, gimp3, kritaplugin, none, paintdotnet or 8bf")
|
||||
-
|
||||
+
|
||||
endif()
|
||||
|
||||
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'gmic-krita'
|
||||
pkgname=gmic-krita
|
||||
version=3.5.0.1
|
||||
version=3.2.4.1
|
||||
revision=1
|
||||
build_wrksrc="gmic-qt"
|
||||
build_style=cmake
|
||||
@ -13,4 +13,4 @@ maintainer="John <me@johnnynator.dev>"
|
||||
license="CECILL-2.1"
|
||||
homepage="http://gmic.eu/"
|
||||
distfiles="https://files.kde.org/krita/build/dependencies/gmic-${version}-patched.tar.gz"
|
||||
checksum=1ae8ca0d368615af6ebdf1cbff005cb20868e1032b9d2c016ce7af91c9582392
|
||||
checksum=e5ef81ded4de2d7d2e17a60f90e8046e2bc06bc7a2439ab3a0123611d210eed8
|
||||
|
@ -1 +0,0 @@
|
||||
pattern='<a href="gmic-\K[0-9.]+(?=-patched.tar.gz)'
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'gnome-chess'
|
||||
pkgname=gnome-chess
|
||||
version=47.0
|
||||
version=46.0
|
||||
revision=1
|
||||
build_style=meson
|
||||
hostmakedepends="gettext pkg-config vala glib-devel itstool librsvg-devel
|
||||
@ -11,6 +11,6 @@ short_desc="GNOME chess user interface"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://wiki.gnome.org/Apps/Chess"
|
||||
changelog="https://gitlab.gnome.org/GNOME/gnome-chess/-/raw/main/NEWS"
|
||||
changelog="https://gitlab.gnome.org/GNOME/gnome-chess/-/raw/master/NEWS"
|
||||
distfiles="${GNOME_SITE}/gnome-chess/${version%.*}/gnome-chess-${version}.tar.xz"
|
||||
checksum=3a443a2c7880e6ad131b75add8074edbe5982b76abb842904fe3df9c2c50e87e
|
||||
checksum=a2bc90e0a754312c5789b9198b4927303775b62583a8e9676d2c6a973b46fde7
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'gnome-disk-utility'
|
||||
pkgname=gnome-disk-utility
|
||||
version=46.1
|
||||
version=46.0
|
||||
revision=1
|
||||
build_style=meson
|
||||
configure_args="-Dlogind=none"
|
||||
@ -16,5 +16,5 @@ license="GPL-2.0-or-later"
|
||||
homepage="https://wiki.gnome.org/Apps/Disks"
|
||||
changelog="https://gitlab.gnome.org/GNOME/gnome-disk-utility/-/raw/gnome-46/NEWS"
|
||||
distfiles="${GNOME_SITE}/gnome-disk-utility/${version%.*}/gnome-disk-utility-${version}.tar.xz"
|
||||
checksum=c24e9439a04d70bcfae349ca134c7005435fe2b6f452114df878bff0b89bbffe
|
||||
checksum=464649148c6d6771f1ac2ebfe43a4e519205b11c2d914a09f2a001821d06957d
|
||||
lib32disabled=yes
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Template file for 'gns3-gui'
|
||||
pkgname=gns3-gui
|
||||
version=2.2.53
|
||||
revision=1
|
||||
version=2.2.52
|
||||
revision=2
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3-setuptools python3-psutil python3-jsonschema
|
||||
@ -14,7 +14,7 @@ license="GPL-3.0-or-later"
|
||||
homepage="https://gns3.com"
|
||||
changelog="https://raw.githubusercontent.com/GNS3/gns3-gui/master/CHANGELOG"
|
||||
distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
|
||||
checksum=d6d8de369e3aa96ba49e4ba1cbc33c813053af58786817f477cd3fb8ad24066e
|
||||
checksum=ff854f1403a99887c132daa210663c2b9b28ab5e8062500a8dc349e897b4c5c1
|
||||
|
||||
|
||||
post_patch() {
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Template file for 'gns3-server'
|
||||
pkgname=gns3-server
|
||||
version=2.2.53
|
||||
revision=1
|
||||
version=2.2.52
|
||||
revision=2
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3-setuptools python3-jsonschema python3-aiohttp python3-aiohttp-cors
|
||||
@ -14,7 +14,7 @@ license="GPL-3.0-or-later"
|
||||
homepage="https://gns3.com"
|
||||
changelog="https://raw.githubusercontent.com/GNS3/gns3-server/master/CHANGELOG"
|
||||
distfiles="https://github.com/GNS3/gns3-server/archive/v${version}.tar.gz"
|
||||
checksum=d9a8ed44a8dfe3740107f3f7445ab8eaac338ba6c5f06d319fabf2bbedb77ec9
|
||||
checksum=e4c1bfe7383033937fa1543f003ba659ce199d8757523b84acdd39becf8f9db0
|
||||
|
||||
post_patch() {
|
||||
# comment out requirements since versions are usually out of sync with Void packages
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'go'
|
||||
pkgname=go
|
||||
version=1.23.6
|
||||
version=1.23.4
|
||||
revision=1
|
||||
create_wrksrc=yes
|
||||
build_wrksrc=go
|
||||
@ -12,7 +12,7 @@ license="BSD-3-Clause"
|
||||
homepage="https://go.dev/"
|
||||
changelog="https://go.dev/doc/devel/release.html"
|
||||
distfiles="https://go.dev/dl/go${version}.src.tar.gz"
|
||||
checksum=039c5b04e65279daceee8a6f71e70bd05cf5b801782b6f77c6e19e2ed0511222
|
||||
checksum=ad345ac421e90814293a9699cca19dd5238251c3f687980bbcae28495b263531
|
||||
nostrip=yes
|
||||
noverifyrdeps=yes
|
||||
# on CI it tries to use `git submodule`, which is not part of chroot-git
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'gparted'
|
||||
pkgname=gparted
|
||||
version=1.7.0
|
||||
version=1.6.0
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-libparted-dmraid"
|
||||
@ -13,7 +13,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="https://gparted.sourceforge.io"
|
||||
distfiles="${SOURCEFORGE_SITE}/gparted/gparted/gparted-${version}/gparted-${version}.tar.gz"
|
||||
checksum=84ae3b9973e443a2175f07aa0dc2aceeadb1501e0f8953cec83b0ec3347b7d52
|
||||
checksum=9b9f51b3ce494ddcb59a55e1ae6679c09436604e331dbf5a536d60ded6c6ea5b
|
||||
disable_parallel_check=true
|
||||
|
||||
# Some tests are known to fail in CI since 1.1.0
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'gpscorrelate'
|
||||
pkgname=gpscorrelate
|
||||
version=2.3
|
||||
version=2.2
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="pkg-config libxslt"
|
||||
@ -10,6 +10,5 @@ short_desc="Match GPS tracks to photographs and store the matches in EXIF"
|
||||
maintainer="Duncaen <duncaen@voidlinux.org>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="https://dfandrich.github.io/gpscorrelate/"
|
||||
changelog="https://raw.githubusercontent.com/dfandrich/gpscorrelate/refs/heads/master/RELEASES"
|
||||
distfiles="https://github.com/dfandrich/gpscorrelate/releases/download/${version}/gpscorrelate-${version}.tar.xz"
|
||||
checksum=1f66383d5a660d5744c6e8d329124207620984091e4772cc5b34c799e618d3ba
|
||||
checksum=91bc7e2a8de7df0b1c47322dbd6f2f16a9922100330b9cff66d392de87eff0bc
|
||||
|
@ -1,8 +1,8 @@
|
||||
# Template file for 'gscreenshot'
|
||||
pkgname=gscreenshot
|
||||
version=3.8.0
|
||||
revision=1
|
||||
build_style=python3-pep517
|
||||
version=3.6.3
|
||||
revision=2
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools gettext go-md2man"
|
||||
# refer to https://github.com/thenaterhood/gscreenshot#installation
|
||||
# for optional dependencies across system configurations
|
||||
@ -14,4 +14,8 @@ license="GPL-2.0-only"
|
||||
homepage="https://github.com/thenaterhood/gscreenshot"
|
||||
changelog="https://github.com/thenaterhood/gscreenshot/releases"
|
||||
distfiles="https://github.com/thenaterhood/gscreenshot/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=55a4c6e28fc5be703350056d7868550b79537023a3c4cc348a34a8e3d9581c6c
|
||||
checksum=3f84c71635b9512a1ef7820579213b806ec61796b6224f7a35357008aba27be6
|
||||
|
||||
do_check() {
|
||||
(cd src && PYTHONPATH="$(cd build/lib* && pwd)" python3 -m pytest ../test)
|
||||
}
|
||||
|
@ -1,11 +1,11 @@
|
||||
# Template file for 'haproxy'
|
||||
pkgname=haproxy
|
||||
version=3.0.8
|
||||
version=2.8.10
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
make_install_args="SBINDIR=${DESTDIR}/usr/bin DOCDIR=${DESTDIR}/usr/share/doc/${pkgname}"
|
||||
hostmakedepends="lua54-devel"
|
||||
makedepends="openssl-devel lua54-devel pcre2-devel"
|
||||
hostmakedepends="lua53-devel"
|
||||
makedepends="openssl-devel lua53-devel pcre2-devel"
|
||||
checkdepends="curl varnish"
|
||||
short_desc="Reliable, high performance TCP/HTTP load balancer"
|
||||
maintainer="Zach Dykstra <dykstra.zachary@gmail.com>"
|
||||
@ -13,7 +13,7 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
||||
homepage="https://www.haproxy.org"
|
||||
changelog="https://www.haproxy.org/download/${version%.*}/src/CHANGELOG"
|
||||
distfiles="https://www.haproxy.org/download/${version%.*}/src/haproxy-${version}.tar.gz"
|
||||
checksum=930ae2c33058e1f497fe62cdaacffab6cab6a91e31ba011a9a2f9fe6c5c4aebc
|
||||
checksum=0d63cd46d9d10ac7dbc02f3c6769c1908f221e0a5c5b655a194655f7528d612a
|
||||
|
||||
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
|
||||
makedepends+=" libxcrypt-devel"
|
||||
@ -24,12 +24,13 @@ make_dirs="$haproxy_homedir 0750 ${pkgname} ${pkgname}"
|
||||
conf_files="/etc/${pkgname}/${pkgname}.cfg"
|
||||
system_accounts="haproxy"
|
||||
|
||||
CFLAGS="-Wno-address-of-packed-member"
|
||||
do_build() {
|
||||
local target="linux-${XBPS_TARGET_LIBC}"
|
||||
make ${makejobs} CC="$CC" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" EXTRA= \
|
||||
make ${makejobs} CC="$CC" DEBUG_CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" EXTRA= \
|
||||
TARGET=$target USE_PCRE2=1 USE_PCRE2_JIT=1 USE_ZLIB=1 \
|
||||
USE_OPENSSL=1 USE_LIBCRYPT=1 USE_GETADDRINFO=1 USE_LUA=1 \
|
||||
USE_PROMEX=1 USE_SYSTEMD=
|
||||
USE_PROMEX=1
|
||||
}
|
||||
|
||||
do_check() {
|
||||
|
@ -1,2 +1,2 @@
|
||||
# 3.0 is the current LTS
|
||||
ignore="3\.[!0].*"
|
||||
# 2.8 is the current LTS
|
||||
ignore="2\.[!8].*"
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'hcloud'
|
||||
pkgname=hcloud
|
||||
version=1.50.0
|
||||
version=1.49.0
|
||||
revision=1
|
||||
build_style=go
|
||||
build_helper=qemu
|
||||
@ -13,7 +13,7 @@ license="MIT"
|
||||
homepage="https://github.com/hetznercloud/cli"
|
||||
changelog="https://raw.githubusercontent.com/hetznercloud/cli/main/CHANGELOG.md"
|
||||
distfiles="https://github.com/hetznercloud/cli/archive/v${version}.tar.gz"
|
||||
checksum=61fb1823a176ec77c102c30b3a7de50c67df7eda6dd8a3bf1f17c882e8c78011
|
||||
checksum=5b238acf908046205c15c7b720efeed51f50f56c8c0b0bf6d0f9022e1536392d
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'hugo'
|
||||
pkgname=hugo
|
||||
version=0.144.1
|
||||
version=0.143.1
|
||||
revision=1
|
||||
build_style=go
|
||||
build_helper=qemu
|
||||
@ -11,7 +11,7 @@ maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
||||
license="Apache-2.0"
|
||||
homepage="https://gohugo.io"
|
||||
distfiles="https://github.com/gohugoio/hugo/archive/v${version}.tar.gz"
|
||||
checksum=991b59b293c63564ded2d28c1e6f49fb0114b6a47df5a94d9a5f49f82c9e5f00
|
||||
checksum=2ee3607a46208a178c2291a935862ac9e88fae2c47291e87231cd885236a9cab
|
||||
|
||||
post_install() {
|
||||
vdoc README.md
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'i2pd'
|
||||
pkgname=i2pd
|
||||
version=2.56.0
|
||||
version=2.55.0
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
make_build_args="USE_UPNP=yes"
|
||||
@ -11,7 +11,7 @@ license="BSD-3-Clause"
|
||||
homepage="https://i2pd.website/"
|
||||
changelog="https://raw.githubusercontent.com/PurpleI2P/i2pd/openssl/ChangeLog"
|
||||
distfiles="https://github.com/PurpleI2P/i2pd/archive/${version}.tar.gz"
|
||||
checksum=eb83f7e98afeb3704d9ee0da2499205f73bab0b1becaf4494ccdcbe4295f8550
|
||||
checksum=f5792a1c0499143c716663e90bfb105aaa7ec47d1c4550b5f90ebfc25da00c6c
|
||||
|
||||
conf_files="
|
||||
/etc/i2pd/i2pd.conf
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'i3lock-color'
|
||||
pkgname=i3lock-color
|
||||
version=2.13.c.5
|
||||
version=2.13.c.4
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="pkg-config automake"
|
||||
@ -11,7 +11,7 @@ maintainer="jtalowell <jtalowell@protonmail.com>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/Raymo111/i3lock-color"
|
||||
distfiles="https://github.com/Raymo111/i3lock-color/archive/${version}.tar.gz"
|
||||
checksum=46f15cbbf339873266e014f70b5e1ec02177f0295302b615a7bd85bef40d8ad2
|
||||
checksum=5df4cd3d515d938630ced981a7f0a6e01344d1ec51d10fd3c3d131d19283df69
|
||||
conf_files="/etc/pam.d/i3lock"
|
||||
conflicts="i3lock"
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'i3status-rust'
|
||||
pkgname=i3status-rust
|
||||
version=0.33.2
|
||||
version=0.33.1
|
||||
revision=1
|
||||
build_style=cargo
|
||||
build_helper="qemu"
|
||||
@ -13,7 +13,7 @@ license="GPL-3.0-only"
|
||||
homepage="https://github.com/greshake/i3status-rust"
|
||||
changelog="https://raw.githubusercontent.com/greshake/i3status-rust/master/NEWS.md"
|
||||
distfiles="https://github.com/greshake/i3status-rust/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=eb9df6eac57a65a7948ba763a7d1fcef5d506e374a4ac9d57aa88a22270ee06b
|
||||
checksum=3b460f6adebee4ca49890ec4ebc50d42fe4b544aac7ec12ba5e4de971a06859a
|
||||
|
||||
post_build() {
|
||||
cargo auditable build --release --target "${RUST_TARGET}" --package xtask
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'intellij-idea-community-edition'
|
||||
pkgname=intellij-idea-community-edition
|
||||
version=2024.3.1.1
|
||||
version=2024.3
|
||||
revision=1
|
||||
archs="x86_64"
|
||||
depends="virtual?java-environment giflib libXtst hicolor-icon-theme"
|
||||
@ -9,7 +9,7 @@ maintainer="Bnyro <bnyro@tutanota.com>"
|
||||
license="Apache-2.0"
|
||||
homepage="https://www.jetbrains.org/"
|
||||
distfiles="https://download.jetbrains.com/idea/ideaIC-${version}.tar.gz"
|
||||
checksum=b183b126de2cd457475eea184874b5da2fa33ba5ae2ff874bdc8c1d534156428
|
||||
checksum=16d4f411b62ddc7747fe11e8fff004bf8d144df4052b8111306fd4cbba8f748c
|
||||
repository=nonfree
|
||||
nopie=yes
|
||||
python_version=3
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'just'
|
||||
pkgname=just
|
||||
version=1.39.0
|
||||
version=1.37.0
|
||||
revision=1
|
||||
build_style=cargo
|
||||
build_helper=qemu
|
||||
@ -12,7 +12,7 @@ license="CC0-1.0"
|
||||
homepage="https://github.com/casey/just"
|
||||
changelog="https://raw.githubusercontent.com/casey/just/master/CHANGELOG.md"
|
||||
distfiles="https://github.com/casey/just/archive/refs/tags/${version}.tar.gz"
|
||||
checksum=8a900072d7f909bc91030df5896168752bb9108967dbb7149d2cfb11fdeb087a
|
||||
checksum=13af58413af8f5d41d72c955de0ed9863a53f286df5f848e3d68bcb070b54ef2
|
||||
make_check=ci-skip # test fails when run as root
|
||||
|
||||
# Fix failing test
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'libedit'
|
||||
pkgname=libedit
|
||||
version=20250104.3.1
|
||||
version=20240808.3.1
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
# only check if man support nroff format
|
||||
@ -12,7 +12,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="BSD-3-Clause"
|
||||
homepage="https://www.thrysoee.dk/editline/"
|
||||
distfiles="https://www.thrysoee.dk/editline/libedit-${version%%.*}-${version#*.}.tar.gz"
|
||||
checksum=23792701694550a53720630cd1cd6167101b5773adddcb4104f7345b73a568ac
|
||||
checksum=5f0573349d77c4a48967191cdd6634dd7aa5f6398c6a57fe037cc02696d6099f
|
||||
|
||||
post_install() {
|
||||
vlicense COPYING
|
||||
|
@ -1,15 +1,15 @@
|
||||
# Template file for 'liblo'
|
||||
pkgname=liblo
|
||||
version=0.32
|
||||
version=0.31
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-ipv6"
|
||||
short_desc="Lightweight OSC implementation"
|
||||
maintainer="Rutpiv <roger_freitas@live.com>"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="LGPL-2.1-or-later"
|
||||
homepage="http://liblo.sourceforge.net/"
|
||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||
checksum=5df05f2a0395fc5ac90f6b538b8c82bb21941406fd1a70a765c7336a47d70208
|
||||
make_check=no # Tests freeze or fail intermittently.
|
||||
checksum=2b4f446e1220dcd624ecd8405248b08b7601e9a0d87a0b94730c2907dbccc750
|
||||
nopie=yes
|
||||
|
||||
pre_configure() {
|
||||
|
@ -1,18 +1,46 @@
|
||||
# Template file for 'libucontext'
|
||||
pkgname=libucontext
|
||||
version=1.3.2
|
||||
version=1.2
|
||||
revision=1
|
||||
archs="*-musl"
|
||||
build_style=meson
|
||||
configure_args="-Ddocs=true"
|
||||
hostmakedepends="pkg-config scdoc"
|
||||
short_desc="Compatibility layer providing ucontext functions"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="ISC"
|
||||
homepage="https://github.com/kaniini/libucontext"
|
||||
changelog="https://raw.githubusercontent.com/kaniini/libucontext/master/NEWS"
|
||||
distfiles="https://github.com/kaniini/libucontext/archive/refs/tags/libucontext-${version}.tar.gz"
|
||||
checksum=4faf1838a15d61efe27ddac24fded2c290929eb3a1fefc72f952ae96d5bda006
|
||||
checksum=937fba9d0beebd7cf957b79979b19fe3a29bb9c4bfd25e869477d7154bbf8fd3
|
||||
|
||||
case "${XBPS_TARGET_MACHINE}" in
|
||||
x86_64*) _luctx_arch="x86_64" ;;
|
||||
i686*) _luctx_arch="x86" ;;
|
||||
aarch64*) _luctx_arch="aarch64" ;;
|
||||
arm*) _luctx_arch="arm" ;;
|
||||
ppc64*) _luctx_arch="ppc64" ;;
|
||||
ppc*) _luctx_arch="ppc" ;;
|
||||
mips*64*) _luctx_arch="mips64" ;;
|
||||
mips*) _luctx_arch="mips" ;;
|
||||
riscv64*) _luctx_arch="riscv64" ;;
|
||||
s390x*) _luctx_arch="s390x" ;;
|
||||
*) broken="libucontext not available for ${XBPS_TARGET_MACHINE}";;
|
||||
esac
|
||||
|
||||
# we provide our own CFLAGS, which overwrite all of theirs
|
||||
export CFLAGS=" -DEXPORT_UNPREFIXED"
|
||||
|
||||
do_build() {
|
||||
make ARCH="${_luctx_arch}" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
|
||||
}
|
||||
|
||||
do_check() {
|
||||
make ARCH="${_luctx_arch}" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" check
|
||||
}
|
||||
|
||||
do_install() {
|
||||
make ARCH="${_luctx_arch}" DESTDIR="${DESTDIR}" LIBDIR="/usr/lib" install
|
||||
# missing from release?
|
||||
ln -s libucontext_posix.so.1 ${DESTDIR}/usr/lib/libucontext_posix.so
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
|
@ -1 +0,0 @@
|
||||
vips
|
@ -1 +0,0 @@
|
||||
vips
|
@ -1 +0,0 @@
|
||||
vips
|
@ -1 +0,0 @@
|
||||
vips
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'linux-firmware'
|
||||
pkgname=linux-firmware
|
||||
version=20250211
|
||||
version=20250109
|
||||
revision=1
|
||||
hostmakedepends="rdfind which $(vopt_if compressed zstd)"
|
||||
depends="linux-firmware-amd>=${version}_${revision} linux-firmware-network>=${version}_${revision}"
|
||||
@ -10,7 +10,7 @@ license="custom:see /usr/share/licenses/linux-firmware"
|
||||
homepage="https://www.kernel.org/"
|
||||
changelog="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/log/"
|
||||
distfiles="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${version}.tar.gz"
|
||||
checksum=30f181fa8fb03a49da3b76b82dc525ca094426f92e54c540fe784ff44c91e1d6
|
||||
checksum=211b09e0639bc329637da08e58021bb484abca1ced0d8ed75f9d42816f9af5cb
|
||||
python_version=3
|
||||
nostrip=yes
|
||||
|
||||
|
8
srcpkgs/lshw/patches/fix-lshw_sgml.patch
Normal file
8
srcpkgs/lshw/patches/fix-lshw_sgml.patch
Normal file
@ -0,0 +1,8 @@
|
||||
--- a/src/lshw.sgml 2016-04-22 21:49:30.000000000 +0200
|
||||
+++ b/src/lshw.sgml 2016-05-07 05:54:39.106562357 +0200
|
||||
@@ -1,4 +1,4 @@
|
||||
-<!DOCTYPE RefEntry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
|
||||
+<!DOCTYPE RefEntry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
|
||||
<refentry id="lshw">
|
||||
|
||||
<refmeta>
|
20
srcpkgs/lshw/patches/musl-long_bits.patch
Normal file
20
srcpkgs/lshw/patches/musl-long_bits.patch
Normal file
@ -0,0 +1,20 @@
|
||||
sysconf(LONG_BIT) isn't correct usage of sysconf(3).
|
||||
|
||||
musl doesn't define _SC_LONG_BIT, so just use LONG_BIT directly. There's really
|
||||
no reason to use sysconf(3) here, word size isn't a runtime property.
|
||||
|
||||
diff --git src/core/abi.cc src/core/abi.cc
|
||||
index adff7b5..76c664c 100644
|
||||
--- a/src/core/abi.cc
|
||||
+++ b/src/core/abi.cc
|
||||
@@ -20,9 +20,7 @@ __ID("@(#) $Id: mem.cc 1352 2006-05-27 23:54:13Z ezix $");
|
||||
bool scan_abi(hwNode & system)
|
||||
{
|
||||
// are we compiled as 32- or 64-bit process ?
|
||||
- long sc = sysconf(LONG_BIT);
|
||||
- if(sc==-1) sc = sysconf(_SC_LONG_BIT);
|
||||
- if(sc!=-1) system.setWidth(sc);
|
||||
+ system.setWidth(LONG_BIT);
|
||||
|
||||
pushd(PROC_SYS);
|
||||
|
@ -1,21 +1,21 @@
|
||||
# Template file for 'lshw'
|
||||
pkgname=lshw
|
||||
version=B.02.20
|
||||
revision=1
|
||||
version=B.02.19.2
|
||||
revision=2
|
||||
build_style=gnu-makefile
|
||||
make_build_args="VERSION=${version}"
|
||||
make_build_target="all gui"
|
||||
make_install_args="SBINDIR=/usr/bin"
|
||||
make_install_target="install install-gui"
|
||||
make_use_env=yes
|
||||
hostmakedepends="docbook2x pkg-config gettext"
|
||||
makedepends="gtk+3-devel"
|
||||
hostmakedepends="docbook2x pkg-config"
|
||||
makedepends="gtk+-devel"
|
||||
short_desc="Hardware lister application"
|
||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||
license="GPL-2.0-only"
|
||||
homepage="https://ezix.org/project/wiki/HardwareLiSter"
|
||||
distfiles="https://ezix.org/software/files/lshw-${version}.tar.gz"
|
||||
checksum=06d9cf122422220e5dc94e8ea5b01816a69bb6b59368f63d7f21fff31fc6922a
|
||||
checksum=9bb347ac87142339a366a1759ac845e3dbb337ec000aa1b99b50ac6758a80f80
|
||||
disable_parallel_build=yes # fails to link ./core/liblshw.a
|
||||
|
||||
post_patch() {
|
||||
|
@ -1,8 +1,8 @@
|
||||
# Template file for 'luakit'
|
||||
pkgname=luakit
|
||||
reverts="2017.08.10_1"
|
||||
version=2.4.0
|
||||
revision=1
|
||||
version=2.3.6
|
||||
revision=2
|
||||
conf_files="/etc/xdg/luakit/*.lua"
|
||||
build_style=gnu-makefile
|
||||
make_build_args="DEVELOPMENT_PATHS=0 LUA_BIN_NAME=luajit USE_LUAJIT=1 VERSION=${version}"
|
||||
@ -17,5 +17,5 @@ license="GPL-3.0-or-later"
|
||||
homepage="https://luakit.github.io/"
|
||||
changelog="https://github.com/luakit/luakit/blob/develop/CHANGELOG.md"
|
||||
distfiles="https://github.com/luakit/luakit/archive/${version}.tar.gz"
|
||||
checksum=65f73939db561de21bba735bdf92c2b32d28c6610e3d114d1420a8477d531802
|
||||
checksum=8202fc515c7e64ddc0794b5623167b372f696bce757e6f767c5e03bfbe2beba0
|
||||
make_check=no # missing luassert
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Template file for 'luanti'
|
||||
pkgname=luanti
|
||||
version=5.11.0
|
||||
revision=1
|
||||
version=5.10.0
|
||||
revision=2
|
||||
build_style=cmake
|
||||
configure_args="-DBUILD_SERVER=TRUE"
|
||||
hostmakedepends="pkg-config gettext"
|
||||
@ -15,7 +15,7 @@ license="LGPL-2.1-or-later"
|
||||
homepage="https://www.luanti.org/"
|
||||
changelog="https://dev.luanti.org/changelog/"
|
||||
distfiles="https://github.com/minetest/minetest/archive/${version}.tar.gz"
|
||||
checksum=70e531d0776988ce6e579ea5490fdf6be3e349a4ade5281f5111aa4fdd8ee510
|
||||
checksum=2a3161c04e7389608006f01280eda30507f8bacfa1d6b64c2af1b820a62d2677
|
||||
|
||||
minetest_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
|
45
srcpkgs/lxc/patches/01-meson-docbook2x.patch
Normal file
45
srcpkgs/lxc/patches/01-meson-docbook2x.patch
Normal file
@ -0,0 +1,45 @@
|
||||
commit 06f99c2599db8140bd839532caa8f6ee0d1c3ff6
|
||||
Author: Cameron Nemo <cam@nohom.org>
|
||||
Date: Tue Aug 16 20:30:39 2022 -0700
|
||||
|
||||
meson: fix docbook2x detection
|
||||
|
||||
docbook2man can sometimes be docbook2x and other times be docbook-utils.
|
||||
Rather than compare paths, use version constraints to detect version.
|
||||
|
||||
Signed-off-by: Cameron Nemo <cam@nohom.org>
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 666824c5a..2b160d4ac 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -324,9 +324,6 @@ endif
|
||||
generate_date = run_command(date, '--utc', '--date=@' + time_epoch, '+%Y-%m-%d', check: true).stdout().strip()
|
||||
|
||||
## Manpages.
|
||||
-sgml2man = find_program('docbook2X2man', 'docbook2x-man', 'db2x_docbook2man', 'docbook2man', 'docbook-to-man', required: want_mans)
|
||||
-docbook2man = find_program('docbook2man', required: false)
|
||||
-
|
||||
docconf = configuration_data()
|
||||
docconf.set('builddir', '.')
|
||||
docconf.set('BINDIR', bindir)
|
||||
@@ -341,10 +338,15 @@ docconf.set('LXCTEMPLATEDIR', lxctemplatedir)
|
||||
docconf.set('LXC_USERNIC_CONF', lxc_user_network_conf)
|
||||
docconf.set('LXC_USERNIC_DB', lxc_user_network_db)
|
||||
docconf.set('PACKAGE_VERSION', version_data.get('LXC_VERSION'))
|
||||
-if sgml2man.found() and docbook2man.found() and sgml2man.full_path() == docbook2man.full_path()
|
||||
- docconf.set('docdtd', '"-//Davenport//DTD DocBook V3.0//EN"')
|
||||
-else
|
||||
- docconf.set('docdtd', '"-//OASIS//DTD DocBook XML" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"')
|
||||
+docconf.set('docdtd', '"-//OASIS//DTD DocBook XML" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"')
|
||||
+sgml2man = find_program('docbook2X2man', 'docbook2x-man', 'db2x_docbook2man', 'docbook2man', 'docbook-to-man', required: false, version: '>=0.8')
|
||||
+if not sgml2man.found()
|
||||
+ sgml2man = find_program('docbook2man', required: false, version: '<0.8')
|
||||
+ if sgml2man.found()
|
||||
+ docconf.set('docdtd', '"-//Davenport//DTD DocBook V3.0//EN"')
|
||||
+ elif want_mans
|
||||
+ error('missing required docbook2x or docbook-utils dependency')
|
||||
+ endif
|
||||
endif
|
||||
|
||||
## Threads.
|
63
srcpkgs/lxc/patches/02-distrosysconfdir.patch
Normal file
63
srcpkgs/lxc/patches/02-distrosysconfdir.patch
Normal file
@ -0,0 +1,63 @@
|
||||
From 16ebb29dccb35bf74e8a19e8c45d2513f927476f Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <16ebb29dccb35bf74e8a19e8c45d2513f927476f.1660130248.git.congdanhqx@gmail.com>
|
||||
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
|
||||
<congdanhqx@gmail.com>
|
||||
Date: Tue, 9 Aug 2022 22:24:09 +0700
|
||||
Subject: [PATCH] meson.build: allow explicit distrosysconfdir
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Allows either:
|
||||
|
||||
- Build inside minimal-and-clean chroot with neither
|
||||
/etc/sysconfig nor /etc/default available.
|
||||
- Cross Compile lxc from foreign distro,
|
||||
let's say host distro uses /etc/sysconfig and build distro
|
||||
uses /etc/default and vice versus.
|
||||
|
||||
Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
|
||||
---
|
||||
meson.build | 8 ++++++--
|
||||
meson_options.txt | 3 +++
|
||||
2 files changed, 9 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index a145faf0..b27cc8ed 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -117,14 +117,18 @@ conf.set('SYSCONFDIR', sysconfdir)
|
||||
|
||||
# Set sysconfdir
|
||||
fs = import('fs')
|
||||
-if fs.is_dir('/etc/sysconfig')
|
||||
+distrosysconfdir = get_option('distrosysconfdir')
|
||||
+if distrosysconfdir != ''
|
||||
+ distrosysconfdir = join_paths(sysconfdir, distrosysconfdir)
|
||||
+ conf.set('LXC_DISTRO_SYSCONF', distrosysconfdir)
|
||||
+elif fs.is_dir('/etc/sysconfig')
|
||||
distrosysconfdir = join_paths(sysconfdir, 'sysconfig')
|
||||
conf.set('LXC_DISTRO_SYSCONF', distrosysconfdir)
|
||||
elif fs.is_dir('/etc/default')
|
||||
distrosysconfdir = join_paths(sysconfdir, 'default')
|
||||
conf.set('LXC_DISTRO_SYSCONF', distrosysconfdir)
|
||||
else
|
||||
- distrosysconfdir = ''
|
||||
+ error('"distrosysconfdir" is not set')
|
||||
endif
|
||||
|
||||
# Cross-compile on Android.
|
||||
diff --git a/meson_options.txt b/meson_options.txt
|
||||
index c14dacf2..de583a08 100644
|
||||
--- a/meson_options.txt
|
||||
+++ b/meson_options.txt
|
||||
@@ -115,3 +115,6 @@ option('thread-safety', type : 'boolean', value : 'true',
|
||||
# was --{disable,enable}-memfd-rexec in autotools
|
||||
option('memfd-rexec', type : 'boolean', value : 'true',
|
||||
description : 'whether to rexec the lxc-attach binary when attaching to a container')
|
||||
+
|
||||
+option('distrosysconfdir', type : 'string', value: '',
|
||||
+ description: 'relative path to sysconfdir for distro default configuration')
|
||||
--
|
||||
2.37.1.561.ga4036fcf2c
|
||||
|
383
srcpkgs/lxc/patches/glibc-2.36.patch
Normal file
383
srcpkgs/lxc/patches/glibc-2.36.patch
Normal file
@ -0,0 +1,383 @@
|
||||
From c1115e1503bf955c97f4cf3b925a6a9f619764c3 Mon Sep 17 00:00:00 2001
|
||||
From: Christian Brauner <brauner@kernel.org>
|
||||
Date: Tue, 9 Aug 2022 16:14:25 +0200
|
||||
Subject: [PATCH 1/3] build: detect where struct mount_attr is declared
|
||||
|
||||
Fixes: #4176
|
||||
Signed-off-by: Christian Brauner (Microsoft) <christian.brauner@ubuntu.com>
|
||||
---
|
||||
meson.build | 30 ++++++++++++++++++++++++++++--
|
||||
src/lxc/conf.c | 6 +++---
|
||||
src/lxc/conf.h | 2 +-
|
||||
src/lxc/mount_utils.c | 6 +++---
|
||||
src/lxc/syscall_wrappers.h | 12 ++++++++++--
|
||||
5 files changed, 45 insertions(+), 11 deletions(-)
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index a145faf069..f679aabbc8 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -590,7 +590,6 @@ decl_headers = '''
|
||||
foreach decl: [
|
||||
'__aligned_u64',
|
||||
'struct clone_args',
|
||||
- 'struct mount_attr',
|
||||
'struct open_how',
|
||||
'struct rtnl_link_stats64',
|
||||
]
|
||||
@@ -610,7 +609,6 @@ foreach tuple: [
|
||||
['struct seccomp_notif_sizes'],
|
||||
['struct clone_args'],
|
||||
['__aligned_u64'],
|
||||
- ['struct mount_attr'],
|
||||
['struct open_how'],
|
||||
['struct rtnl_link_stats64'],
|
||||
]
|
||||
@@ -630,6 +628,34 @@ foreach tuple: [
|
||||
endif
|
||||
endforeach
|
||||
|
||||
+## Types.
|
||||
+decl_headers = '''
|
||||
+#include <sys/mount.h>
|
||||
+'''
|
||||
+
|
||||
+# We get -1 if the size cannot be determined
|
||||
+if cc.sizeof('struct mount_attr', prefix: decl_headers, args: '-D_GNU_SOURCE') > 0
|
||||
+ srcconf.set10('HAVE_' + 'struct mount_attr'.underscorify().to_upper(), true)
|
||||
+ found_types += 'struct mount_attr (sys/mount.h)'
|
||||
+else
|
||||
+ srcconf.set10('HAVE_' + 'struct mount_attr'.underscorify().to_upper(), false)
|
||||
+ missing_types += 'struct mount_attr (sys/mount.h)'
|
||||
+endif
|
||||
+
|
||||
+## Types.
|
||||
+decl_headers = '''
|
||||
+#include <linux/mount.h>
|
||||
+'''
|
||||
+
|
||||
+# We get -1 if the size cannot be determined
|
||||
+if cc.sizeof('struct mount_attr', prefix: decl_headers, args: '-D_GNU_SOURCE') > 0
|
||||
+ srcconf.set10('HAVE_UAPI_' + 'struct mount_attr'.underscorify().to_upper(), true)
|
||||
+ found_types += 'struct mount_attr (linux/mount.h)'
|
||||
+else
|
||||
+ srcconf.set10('HAVE_UAPI_' + 'struct mount_attr'.underscorify().to_upper(), false)
|
||||
+ missing_types += 'struct mount_attr (linux/mount.h)'
|
||||
+endif
|
||||
+
|
||||
## Headers.
|
||||
foreach ident: [
|
||||
['bpf', '''#include <sys/syscall.h>
|
||||
diff --git a/src/lxc/conf.c b/src/lxc/conf.c
|
||||
index ffbe74c2f6..4193cd07f5 100644
|
||||
--- a/src/lxc/conf.c
|
||||
+++ b/src/lxc/conf.c
|
||||
@@ -2885,7 +2885,7 @@ static int __lxc_idmapped_mounts_child(struct lxc_handler *handler, FILE *f)
|
||||
struct lxc_mount_options opts = {};
|
||||
int dfd_from;
|
||||
const char *source_relative, *target_relative;
|
||||
- struct lxc_mount_attr attr = {};
|
||||
+ struct mount_attr attr = {};
|
||||
|
||||
ret = parse_lxc_mount_attrs(&opts, mntent.mnt_opts);
|
||||
if (ret < 0)
|
||||
@@ -3005,7 +3005,7 @@ static int __lxc_idmapped_mounts_child(struct lxc_handler *handler, FILE *f)
|
||||
|
||||
/* Set propagation mount options. */
|
||||
if (opts.attr.propagation) {
|
||||
- attr = (struct lxc_mount_attr) {
|
||||
+ attr = (struct mount_attr) {
|
||||
.propagation = opts.attr.propagation,
|
||||
};
|
||||
|
||||
@@ -4109,7 +4109,7 @@ int lxc_idmapped_mounts_parent(struct lxc_handler *handler)
|
||||
|
||||
for (;;) {
|
||||
__do_close int fd_from = -EBADF, fd_userns = -EBADF;
|
||||
- struct lxc_mount_attr attr = {};
|
||||
+ struct mount_attr attr = {};
|
||||
struct lxc_mount_options opts = {};
|
||||
ssize_t ret;
|
||||
|
||||
diff --git a/src/lxc/conf.h b/src/lxc/conf.h
|
||||
index 7dc2f15b60..772479f9e1 100644
|
||||
--- a/src/lxc/conf.h
|
||||
+++ b/src/lxc/conf.h
|
||||
@@ -223,7 +223,7 @@ struct lxc_mount_options {
|
||||
unsigned long mnt_flags;
|
||||
unsigned long prop_flags;
|
||||
char *data;
|
||||
- struct lxc_mount_attr attr;
|
||||
+ struct mount_attr attr;
|
||||
char *raw_options;
|
||||
};
|
||||
|
||||
diff --git a/src/lxc/mount_utils.c b/src/lxc/mount_utils.c
|
||||
index bba75f933c..88dd73ee36 100644
|
||||
--- a/src/lxc/mount_utils.c
|
||||
+++ b/src/lxc/mount_utils.c
|
||||
@@ -31,7 +31,7 @@ lxc_log_define(mount_utils, lxc);
|
||||
* setting in @attr_set, but must also specify MOUNT_ATTR__ATIME in the
|
||||
* @attr_clr field.
|
||||
*/
|
||||
-static inline void set_atime(struct lxc_mount_attr *attr)
|
||||
+static inline void set_atime(struct mount_attr *attr)
|
||||
{
|
||||
switch (attr->attr_set & MOUNT_ATTR__ATIME) {
|
||||
case MOUNT_ATTR_RELATIME:
|
||||
@@ -272,7 +272,7 @@ int create_detached_idmapped_mount(const char *path, int userns_fd,
|
||||
{
|
||||
__do_close int fd_tree_from = -EBADF;
|
||||
unsigned int open_tree_flags = OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC;
|
||||
- struct lxc_mount_attr attr = {
|
||||
+ struct mount_attr attr = {
|
||||
.attr_set = MOUNT_ATTR_IDMAP | attr_set,
|
||||
.attr_clr = attr_clr,
|
||||
.userns_fd = userns_fd,
|
||||
@@ -335,7 +335,7 @@ int __fd_bind_mount(int dfd_from, const char *path_from, __u64 o_flags_from,
|
||||
__u64 attr_clr, __u64 propagation, int userns_fd,
|
||||
bool recursive)
|
||||
{
|
||||
- struct lxc_mount_attr attr = {
|
||||
+ struct mount_attr attr = {
|
||||
.attr_set = attr_set,
|
||||
.attr_clr = attr_clr,
|
||||
.propagation = propagation,
|
||||
diff --git a/src/lxc/syscall_wrappers.h b/src/lxc/syscall_wrappers.h
|
||||
index a5e98b565c..c8a7d0c7b7 100644
|
||||
--- a/src/lxc/syscall_wrappers.h
|
||||
+++ b/src/lxc/syscall_wrappers.h
|
||||
@@ -18,6 +18,12 @@
|
||||
#include "macro.h"
|
||||
#include "syscall_numbers.h"
|
||||
|
||||
+#if HAVE_STRUCT_MOUNT_ATTR
|
||||
+#include <sys/mount.h>
|
||||
+#elif HAVE_UAPI_STRUCT_MOUNT_ATTR
|
||||
+#include <linux/mount.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef HAVE_LINUX_MEMFD_H
|
||||
#include <linux/memfd.h>
|
||||
#endif
|
||||
@@ -210,16 +216,18 @@ extern int fsmount(int fs_fd, unsigned int flags, unsigned int attr_flags);
|
||||
/*
|
||||
* mount_setattr()
|
||||
*/
|
||||
-struct lxc_mount_attr {
|
||||
+#if !HAVE_STRUCT_MOUNT_ATTR && !HAVE_UAPI_STRUCT_MOUNT_ATTR
|
||||
+struct mount_attr {
|
||||
__u64 attr_set;
|
||||
__u64 attr_clr;
|
||||
__u64 propagation;
|
||||
__u64 userns_fd;
|
||||
};
|
||||
+#endif
|
||||
|
||||
#if !HAVE_MOUNT_SETATTR
|
||||
static inline int mount_setattr(int dfd, const char *path, unsigned int flags,
|
||||
- struct lxc_mount_attr *attr, size_t size)
|
||||
+ struct mount_attr *attr, size_t size)
|
||||
{
|
||||
return syscall(__NR_mount_setattr, dfd, path, flags, attr, size);
|
||||
}
|
||||
|
||||
From ef1e0607b82e27350c2d677d649c6a0a9693fd40 Mon Sep 17 00:00:00 2001
|
||||
From: Christian Brauner <brauner@kernel.org>
|
||||
Date: Tue, 9 Aug 2022 16:27:40 +0200
|
||||
Subject: [PATCH 2/3] build: detect sys/pidfd.h availability
|
||||
|
||||
Fixes: #4176
|
||||
Signed-off-by: Christian Brauner (Microsoft) <christian.brauner@ubuntu.com>
|
||||
---
|
||||
meson.build | 1 +
|
||||
src/lxc/process_utils.h | 6 ++++++
|
||||
2 files changed, 7 insertions(+)
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index f679aabbc8..e999542336 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -735,6 +735,7 @@ foreach tuple: [
|
||||
['sys/resource.h'],
|
||||
['sys/memfd.h'],
|
||||
['sys/personality.h'],
|
||||
+ ['sys/pidfd.h'],
|
||||
['sys/signalfd.h'],
|
||||
['sys/timerfd.h'],
|
||||
['pty.h'],
|
||||
diff --git a/src/lxc/process_utils.h b/src/lxc/process_utils.h
|
||||
index 9c15b15741..ed84741d0e 100644
|
||||
--- a/src/lxc/process_utils.h
|
||||
+++ b/src/lxc/process_utils.h
|
||||
@@ -15,6 +15,10 @@
|
||||
#include <sys/syscall.h>
|
||||
#include <unistd.h>
|
||||
|
||||
+#if HAVE_SYS_PIDFD_H
|
||||
+#include <sys/pidfd.h>
|
||||
+#endif
|
||||
+
|
||||
#include "compiler.h"
|
||||
#include "syscall_numbers.h"
|
||||
|
||||
@@ -136,9 +140,11 @@
|
||||
#endif
|
||||
|
||||
/* waitid */
|
||||
+#if !HAVE_SYS_PIDFD_H
|
||||
#ifndef P_PIDFD
|
||||
#define P_PIDFD 3
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
#ifndef CLONE_ARGS_SIZE_VER0
|
||||
#define CLONE_ARGS_SIZE_VER0 64 /* sizeof first published struct */
|
||||
|
||||
From cbabe8abf11e7e7fb49c123bae31efdd9bc8f1e8 Mon Sep 17 00:00:00 2001
|
||||
From: Christian Brauner <brauner@kernel.org>
|
||||
Date: Tue, 9 Aug 2022 17:19:40 +0200
|
||||
Subject: [PATCH 3/3] build: check for FS_CONFIG_* header symbol in sys/mount.h
|
||||
|
||||
Fixes: #4176
|
||||
Signed-off-by: Christian Brauner (Microsoft) <christian.brauner@ubuntu.com>
|
||||
---
|
||||
meson.build | 59 +++++++++++++++++++++++++++++++++++++++++--
|
||||
src/lxc/mount_utils.h | 16 ++++++++++++
|
||||
2 files changed, 73 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index e999542336..9f8a5de60c 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -639,8 +639,7 @@ if cc.sizeof('struct mount_attr', prefix: decl_headers, args: '-D_GNU_SOURCE') >
|
||||
found_types += 'struct mount_attr (sys/mount.h)'
|
||||
else
|
||||
srcconf.set10('HAVE_' + 'struct mount_attr'.underscorify().to_upper(), false)
|
||||
- missing_types += 'struct mount_attr (sys/mount.h)'
|
||||
-endif
|
||||
+ missing_types += 'struct mount_attr (sys/mount.h)' endif
|
||||
|
||||
## Types.
|
||||
decl_headers = '''
|
||||
@@ -656,6 +655,62 @@ else
|
||||
missing_types += 'struct mount_attr (linux/mount.h)'
|
||||
endif
|
||||
|
||||
+if cc.has_header_symbol('sys/mount.h', 'FSCONFIG_SET_FLAG')
|
||||
+ srcconf.set10('HAVE_' + 'FSCONFIG_SET_FLAG'.underscorify().to_upper(), true)
|
||||
+ found_types += 'FSCONFIG_SET_FLAG'
|
||||
+else
|
||||
+ srcconf.set10('HAVE_' + 'FSCONFIG_SET_FLAG'.underscorify().to_upper(), false)
|
||||
+ missing_types += 'FSCONFIG_SET_FLAG'
|
||||
+endif
|
||||
+
|
||||
+if cc.has_header_symbol('sys/mount.h', 'FS_CONFIG_SET_STRING')
|
||||
+ srcconf.set10('HAVE_' + 'FS_CONFIG_SET_STRING'.underscorify().to_upper(), true)
|
||||
+ found_types += 'FS_CONFIG_SET_STRING'
|
||||
+else
|
||||
+ srcconf.set10('HAVE_' + 'FS_CONFIG_SET_STRING'.underscorify().to_upper(), false)
|
||||
+ missing_types += 'FS_CONFIG_SET_STRING'
|
||||
+endif
|
||||
+
|
||||
+if cc.has_header_symbol('sys/mount.h', 'FS_CONFIG_SET_BINARY')
|
||||
+ srcconf.set10('HAVE_' + 'FS_CONFIG_SET_BINARY'.underscorify().to_upper(), true)
|
||||
+ found_types += 'FS_CONFIG_SET_BINARY'
|
||||
+else
|
||||
+ srcconf.set10('HAVE_' + 'FS_CONFIG_SET_BINARY'.underscorify().to_upper(), false)
|
||||
+ missing_types += 'FS_CONFIG_SET_BINARY'
|
||||
+endif
|
||||
+
|
||||
+if cc.has_header_symbol('sys/mount.h', 'FS_CONFIG_SET_PATH_EMPTY')
|
||||
+ srcconf.set10('HAVE_' + 'FS_CONFIG_SET_PATH_EMPTY'.underscorify().to_upper(), true)
|
||||
+ found_types += 'FS_CONFIG_SET_PATH_EMPTY'
|
||||
+else
|
||||
+ srcconf.set10('HAVE_' + 'FS_CONFIG_SET_PATH_EMPTY'.underscorify().to_upper(), false)
|
||||
+ missing_types += 'FS_CONFIG_SET_PATH_EMPTY'
|
||||
+endif
|
||||
+
|
||||
+if cc.has_header_symbol('sys/mount.h', 'FS_CONFIG_SET_PATH_FD')
|
||||
+ srcconf.set10('HAVE_' + 'FS_CONFIG_SET_PATH_FD'.underscorify().to_upper(), true)
|
||||
+ found_types += 'FS_CONFIG_SET_PATH_FD'
|
||||
+else
|
||||
+ srcconf.set10('HAVE_' + 'FS_CONFIG_SET_PATH_FD'.underscorify().to_upper(), false)
|
||||
+ missing_types += 'FS_CONFIG_SET_PATH_FD'
|
||||
+endif
|
||||
+
|
||||
+if cc.has_header_symbol('sys/mount.h', 'FS_CONFIG_SET_CMD_CREATE')
|
||||
+ srcconf.set10('HAVE_' + 'FS_CONFIG_SET_CMD_CREATE'.underscorify().to_upper(), true)
|
||||
+ found_types += 'FS_CONFIG_SET_CMD_CREATE'
|
||||
+else
|
||||
+ srcconf.set10('HAVE_' + 'FS_CONFIG_SET_CMD_CREATE'.underscorify().to_upper(), false)
|
||||
+ missing_types += 'FS_CONFIG_SET_CMD_CREATE'
|
||||
+endif
|
||||
+
|
||||
+if cc.has_header_symbol('sys/mount.h', 'FS_CONFIG_SET_CMD_RECONFIGURE')
|
||||
+ srcconf.set10('HAVE_' + 'FS_CONFIG_SET_CMD_RECONFIGURE'.underscorify().to_upper(), true)
|
||||
+ found_types += 'FS_CONFIG_SET_CMD_RECONFIGURE'
|
||||
+else
|
||||
+ srcconf.set10('HAVE_' + 'FS_CONFIG_SET_CMD_RECONFIGURE'.underscorify().to_upper(), false)
|
||||
+ missing_types += 'FS_CONFIG_SET_CMD_RECONFIGURE'
|
||||
+endif
|
||||
+
|
||||
## Headers.
|
||||
foreach ident: [
|
||||
['bpf', '''#include <sys/syscall.h>
|
||||
diff --git a/src/lxc/mount_utils.h b/src/lxc/mount_utils.h
|
||||
index ea392672d8..fd34739459 100644
|
||||
--- a/src/lxc/mount_utils.h
|
||||
+++ b/src/lxc/mount_utils.h
|
||||
@@ -82,37 +82,53 @@ struct lxc_rootfs;
|
||||
#endif
|
||||
|
||||
/* fsconfig() commands */
|
||||
+#if !HAVE_FSCONFIG_SET_FLAG
|
||||
#ifndef FSCONFIG_SET_FLAG
|
||||
#define FSCONFIG_SET_FLAG 0 /* Set parameter, supplying no value */
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
+#if !HAVE_FSCONFIG_SET_STRING
|
||||
#ifndef FSCONFIG_SET_STRING
|
||||
#define FSCONFIG_SET_STRING 1 /* Set parameter, supplying a string value */
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
+#if !HAVE_FSCONFIG_SET_BINARY
|
||||
#ifndef FSCONFIG_SET_BINARY
|
||||
#define FSCONFIG_SET_BINARY 2 /* Set parameter, supplying a binary blob value */
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
+#if !HAVE_FSCONFIG_SET_PATH
|
||||
#ifndef FSCONFIG_SET_PATH
|
||||
#define FSCONFIG_SET_PATH 3 /* Set parameter, supplying an object by path */
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
+#if !HAVE_FSCONFIG_SET_PATH_EMPTY
|
||||
#ifndef FSCONFIG_SET_PATH_EMPTY
|
||||
#define FSCONFIG_SET_PATH_EMPTY 4 /* Set parameter, supplying an object by (empty) path */
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
+#if !HAVE_FSCONFIG_SET_FD
|
||||
#ifndef FSCONFIG_SET_FD
|
||||
#define FSCONFIG_SET_FD 5 /* Set parameter, supplying an object by fd */
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
+#if !HAVE_FSCONFIG_CMD_CREATE
|
||||
#ifndef FSCONFIG_CMD_CREATE
|
||||
#define FSCONFIG_CMD_CREATE 6 /* Invoke superblock creation */
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
+#if !FSCONFIG_CMD_RECONFIGURE
|
||||
#ifndef FSCONFIG_CMD_RECONFIGURE
|
||||
#define FSCONFIG_CMD_RECONFIGURE 7 /* Invoke superblock reconfiguration */
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
/* fsmount() flags */
|
||||
#ifndef FSMOUNT_CLOEXEC
|
@ -1,14 +1,14 @@
|
||||
# Template file for 'lxc'
|
||||
pkgname=lxc
|
||||
version=6.0.3
|
||||
revision=1
|
||||
version=5.0.1
|
||||
revision=3
|
||||
build_style=meson
|
||||
configure_args="-Dpam-cgroup=true -Drootfs-mount-path=/var/lxc/containers
|
||||
-Ddistrosysconfdir=default
|
||||
-Dlog-path=/var/lxc/log -Dinit-script=[]"
|
||||
hostmakedepends="pkg-config docbook2x"
|
||||
makedepends="libcap-devel libseccomp-devel openssl-devel libapparmor-devel
|
||||
pam-devel dbus-devel"
|
||||
pam-devel"
|
||||
depends="xz wget"
|
||||
_desc="Linux Containers"
|
||||
short_desc="${_desc} - utilities"
|
||||
@ -16,7 +16,7 @@ maintainer="Cameron Nemo <cam@nohom.org>"
|
||||
license="LGPL-2.1-or-later"
|
||||
homepage="https://linuxcontainers.org"
|
||||
distfiles="https://linuxcontainers.org/downloads/lxc/lxc-${version}.tar.gz"
|
||||
checksum=adac0837d2abfd2903916eaf56f60756f131327311f4f25ad917f6a71f73f98c
|
||||
checksum=d8195423bb1e206f8521d24b6cde4789f043960c7cf065990a9cf741dcfd4222
|
||||
|
||||
conf_files="/etc/lxc/default.conf"
|
||||
make_dirs="
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'lxcfs'
|
||||
pkgname=lxcfs
|
||||
version=6.0.3
|
||||
version=5.0.2
|
||||
revision=1
|
||||
build_style=meson
|
||||
configure_args="-Dinit-script="
|
||||
@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="Apache-2.0"
|
||||
homepage="https://linuxcontainers.org/lxcfs/"
|
||||
distfiles="https://linuxcontainers.org/downloads/lxcfs/lxcfs-${version}.tar.gz"
|
||||
checksum=886484d4a74d33dfa285635d5ebef20b0686a64901d23e00dc0f4496c10c1114
|
||||
checksum=c3df03629ee8955de60a28da7490350ad1eb7aa3134b6917d40ec68ef092d039
|
||||
|
||||
make_dirs="/var/lib/lxcfs 0755 root root"
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'lynis'
|
||||
pkgname=lynis
|
||||
version=3.1.4
|
||||
version=3.1.3
|
||||
revision=1
|
||||
short_desc="System and security auditing tool"
|
||||
maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
|
||||
@ -8,7 +8,7 @@ license="GPL-3.0-only"
|
||||
homepage="https://cisofy.com/lynis/"
|
||||
changelog="https://raw.githubusercontent.com/CISOfy/lynis/master/CHANGELOG.md"
|
||||
distfiles="https://github.com/CISOfy/lynis/archive/refs/tags/${version}.tar.gz"
|
||||
checksum=db00e26cfb1e04ca70af48d106c3e2968eb468adbef17a2ab18b0028a3d1e3b7
|
||||
checksum=9932147acafb1c5e13289a8bd46e8d330d4a97473da30ec04650ad019e497cd0
|
||||
|
||||
do_install() {
|
||||
vmkdir etc/lynis
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'mawk'
|
||||
pkgname=mawk
|
||||
version=1.3.4.20250131
|
||||
version=1.3.4.20240905
|
||||
revision=1
|
||||
build_style="gnu-configure"
|
||||
short_desc="Interpreter for the AWK Programming Language"
|
||||
@ -9,7 +9,7 @@ license="GPL-2.0-only"
|
||||
homepage="https://invisible-island.net/mawk/mawk.html"
|
||||
changelog="https://invisible-island.net/mawk/CHANGES"
|
||||
distfiles="https://invisible-mirror.net/archives/mawk/mawk-${version%.*}-${version##*.}.tgz"
|
||||
checksum=51bcb82d577b141d896d9d9c3077d7aaa209490132e9f2b9573ba8511b3835be
|
||||
checksum=a39967927dfa1b0116efc45b944a0f5b5b4c34f8e842a4b223dcdd7b367399e0
|
||||
alternatives="
|
||||
awk:awk:/usr/bin/mawk
|
||||
awk:awk.1:/usr/share/man/man1/mawk.1"
|
||||
|
@ -1,12 +1,13 @@
|
||||
# Template file for 'mesa'
|
||||
pkgname=mesa
|
||||
version=24.3.4
|
||||
revision=1
|
||||
reverts="24.3.1_1"
|
||||
version=24.2.8
|
||||
revision=2
|
||||
build_style=meson
|
||||
_llvmver=19
|
||||
#Disable LTO flag should be present, see https://gitlab.freedesktop.org/mesa/mesa/-/issues/6911
|
||||
configure_args="-Dglvnd=true -Dshared-glapi=enabled -Dgbm=enabled -Degl=enabled
|
||||
-Dosmesa=true -Dgles1=enabled -Dgles2=enabled -Dglx=dri
|
||||
-Dosmesa=true -Dgles1=enabled -Dgles2=enabled -Dglx=dri -Ddri3=enabled
|
||||
-Dlmsensors=enabled -Dplatforms=x11$(vopt_if wayland ,wayland)
|
||||
-Dllvm=enabled -Db_lto=false -Dcpp_std=gnu++17"
|
||||
hostmakedepends="gettext flex pkg-config python3-Mako glslang llvm${_llvmver}
|
||||
@ -24,7 +25,7 @@ license="MIT, LGPL-2.1-or-later"
|
||||
homepage="https://www.mesa3d.org/"
|
||||
changelog="https://docs.mesa3d.org/relnotes.html"
|
||||
distfiles="https://mesa.freedesktop.org/archive/mesa-${version}.tar.xz"
|
||||
checksum=e641ae27191d387599219694560d221b7feaa91c900bcec46bf444218ed66025
|
||||
checksum=999d0a854f43864fc098266aaf25600ce7961318a1e2e358bff94a7f53580e30
|
||||
|
||||
build_helper="qemu"
|
||||
build_options="wayland"
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Template file for 'mise'
|
||||
pkgname=mise
|
||||
version=2025.1.9
|
||||
revision=1
|
||||
version=2024.12.24
|
||||
revision=2
|
||||
build_style=cargo
|
||||
make_check_args="-- --skip cli --skip runtime_symlinks::tests::test_list_symlinks"
|
||||
hostmakedepends="pkg-config libgit2-1.8-devel"
|
||||
@ -12,7 +12,7 @@ license="MIT"
|
||||
homepage="https://github.com/jdx/mise"
|
||||
changelog="https://github.com/jdx/mise/releases"
|
||||
distfiles="https://github.com/jdx/mise/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
||||
checksum=e44369529d2a786361dd1fa136fea130216768f709cb623447e68f1b19637e13
|
||||
checksum=82b96daf3df808f0c08af1d9f3b9dee700c3634191f8669a21b9d45905ad566b
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'mkvtoolnix'
|
||||
pkgname=mkvtoolnix
|
||||
version=90.0
|
||||
version=88.0
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
build_helper="qmake6"
|
||||
@ -16,7 +16,7 @@ license="GPL-2.0-only"
|
||||
homepage="https://mkvtoolnix.download"
|
||||
changelog="https://mkvtoolnix.download/doc/NEWS.md"
|
||||
distfiles="https://mkvtoolnix.download/sources/mkvtoolnix-${version}.tar.xz"
|
||||
checksum=35d2585454723e6a621e10ba61fbe2a7723f4d60ee67503d4d9e984d4d070ab0
|
||||
checksum=f2f08c0100740668ef8aba7953fe4aed8c04ee6a5b51717816a4b3d529df0a25
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
configure_args+=" --with-boost=${XBPS_CROSS_BASE}/usr"
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'nano'
|
||||
pkgname=nano
|
||||
version=8.3
|
||||
version=8.2
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-utf8"
|
||||
@ -12,7 +12,7 @@ license="GPL-3.0-or-later"
|
||||
homepage="https://www.nano-editor.org/"
|
||||
changelog="https://git.savannah.gnu.org/cgit/nano.git/plain/NEWS"
|
||||
distfiles="https://www.nano-editor.org/dist/v${version%%.*}/nano-${version}.tar.xz"
|
||||
checksum=551b717b2e28f7e90f749323686a1b5bbbd84cfa1390604d854a3ca3778f111e
|
||||
checksum=d5ad07dd862facae03051c54c6535e54c7ed7407318783fcad1ad2d7076fffeb
|
||||
|
||||
post_install() {
|
||||
vsconf doc/sample.nanorc
|
||||
|
@ -1,16 +1,17 @@
|
||||
# Template file for 'nim'
|
||||
pkgname=nim
|
||||
version=2.2.2
|
||||
version=2.0.14
|
||||
revision=1
|
||||
_c2version=86742fb02c6606ab01a532a0085784effb2e753e
|
||||
_nimbleversion=4fb6f8e6c33963f6f510fe82d09ad2a61b5e4265
|
||||
_nimbleversion=53fc31936163c44ff12d852d6be0ce1ac9298ab4
|
||||
_checksumsversion=f8f6bd34bfa3fe12c64b919059ad856a96efcba0
|
||||
_atlasversion=ac81393c65767422f92d20fbea80e2cefbf9a5d1
|
||||
_satversion=faf1617f44d7632ee9601ebc13887644925dcc01
|
||||
_zippyversion=117b0cf18bebe9833ca091e3766586d7e48b182b
|
||||
build_wrksrc="Nim-$version"
|
||||
depends="gcc openssl-devel"
|
||||
short_desc="Nim programming language"
|
||||
maintainer="Pulux <pulux@pf4sh.eu>"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="MIT"
|
||||
homepage="https://nim-lang.org/"
|
||||
distfiles="https://github.com/nim-lang/Nim/archive/v${version}.tar.gz
|
||||
@ -18,26 +19,44 @@ distfiles="https://github.com/nim-lang/Nim/archive/v${version}.tar.gz
|
||||
https://github.com/nim-lang/nimble/archive/${_nimbleversion}.zip
|
||||
https://github.com/nim-lang/checksums/archive/${_checksumsversion}.zip
|
||||
https://github.com/nim-lang/atlas/archive/${_atlasversion}.zip
|
||||
https://github.com/nim-lang/sat/archive/${_satversion}.zip"
|
||||
checksum="4b70f050fcb64b7cd6e4acc295c6a16feab6f6380127cbee49b02a0cc2c6ce1f
|
||||
https://github.com/nim-lang/sat/archive/${_satversion}.zip
|
||||
https://github.com/guzba/zippy/archive/${_zippyversion}.zip"
|
||||
checksum="5dd0513b6694d00f1ce07d9adfb47d2ba11c83161229e29ab960aa6cd284fc65
|
||||
9c2be306011e0c953bd63a565a4bd6a094e22d3944ca201977c1d03560d0a25c
|
||||
3de2002b6a97ae721c6bd078a069feb6500f6ff9fc1ef12bfa6f9de84c401acd
|
||||
9dfac880b52dfde7a96ed2dd2de6b481e1e16cb499bacc568440486dc0d197dc
|
||||
188bd0f0eb8cedf2d1a7f700af1cd809e529533e5ded05812eecf43fbeb96137
|
||||
30f1982748df229c153e524ca4b7145a08b802e2dd3151ac1420bb2a14aea8e9
|
||||
a8969e14b0f8e06c6dc5a4ae622e51b209c3e1f24361980917d96e39f3d71114"
|
||||
a8969e14b0f8e06c6dc5a4ae622e51b209c3e1f24361980917d96e39f3d71114
|
||||
a479f7759312c4257804e21633b3f55197767d7e9227c868a6a14f8c84170f46"
|
||||
|
||||
post_extract() {
|
||||
mv csources_v2-$_c2version $build_wrksrc/csources_v2
|
||||
mkdir $build_wrksrc/dist
|
||||
mv nimble-$_nimbleversion $build_wrksrc/dist/nimble
|
||||
mv checksums-$_checksumsversion $build_wrksrc/dist/checksums
|
||||
mkdir -p $build_wrksrc/dist/nimble/dist
|
||||
cp -r $build_wrksrc/dist/checksums $build_wrksrc/dist/nimble/dist/checksums
|
||||
cp -r sat-$_satversion $build_wrksrc/dist/sat
|
||||
cp -r sat-$_satversion $build_wrksrc/dist/nimble/dist/sat
|
||||
mv sat-$_satversion $build_wrksrc/dist/sat
|
||||
mv zippy-$_zippyversion $build_wrksrc/dist/zippy
|
||||
mkdir -p $build_wrksrc/dist/nimble/dist/checksums
|
||||
cp -r $build_wrksrc/dist/checksums $build_wrksrc/dist/nimble/dist
|
||||
mkdir -p $build_wrksrc/dist/nimble/dist/sat
|
||||
cp -r $build_wrksrc/dist/sat $build_wrksrc/dist/nimble/dist
|
||||
mkdir -p $build_wrksrc/dist/nimble/dist/zippy
|
||||
cp -r $build_wrksrc/dist/zippy $build_wrksrc/dist/nimble/dist
|
||||
cp -r $build_wrksrc/dist/nimble/dist/sat/src/sat $build_wrksrc/dist/nimble/src
|
||||
mkdir -p $build_wrksrc/dist/nimble/src/nimblepkg/pkg
|
||||
sed -i -e "s|^import pkg/checksums/sha1.*|import chks/sha1|" $build_wrksrc/dist/nimble/src/nimblepkg/sha1hashes.nim
|
||||
sed -i -e "s|^import pkg/checksums/sha1.*|import chks/sha1|" $build_wrksrc/dist/nimble/src/nimblepkg/checksums.nim
|
||||
cp -r $build_wrksrc/dist/nimble/dist/checksums/src/checksums $build_wrksrc/dist/nimble/src/nimblepkg/chks
|
||||
cp -r $build_wrksrc/dist/nimble/dist/sat/src/sat $build_wrksrc/dist/nimble/src/nimblepkg
|
||||
mkdir -p $build_wrksrc/dist/nimble/src/nimblepkg/zippy
|
||||
cp -r $build_wrksrc/dist/nimble/dist/zippy/src/zippy $build_wrksrc/dist/nimble/src/nimblepkg
|
||||
cp $build_wrksrc/dist/nimble/dist/zippy/src/zippy.nim $build_wrksrc/dist/nimble/src/nimblepkg
|
||||
sed -i -e "s| zippy$| ../zippy|" $build_wrksrc/dist/nimble/src/nimblepkg/zippy/tarballs_v1.nim
|
||||
sed -i -e "s| zippy$| ../zippy|" $build_wrksrc/dist/nimble/src/nimblepkg/zippy/ziparchives_v1.nim
|
||||
sed -i -e "s| zippy, | ../zippy, |" $build_wrksrc/dist/nimble/src/nimblepkg/zippy/ziparchives.nim
|
||||
mv atlas-$_atlasversion $build_wrksrc/dist/atlas
|
||||
mkdir -p $build_wrksrc/dist/atlas/dist
|
||||
cp -r sat-$_satversion $build_wrksrc/dist/atlas/dist/sat
|
||||
cp -r $build_wrksrc/dist/nimble/dist/sat $build_wrksrc/dist/atlas/dist/sat
|
||||
}
|
||||
|
||||
do_build() {
|
||||
@ -74,10 +93,10 @@ do_build() {
|
||||
$_arch.linux.gcc.linkerexe = "$CC"
|
||||
EDIT
|
||||
bin/nim c -d:release -d:danger --os:linux --cpu:$_arch --listCmd compiler/nim
|
||||
./koch tools --os:linux --cpu:$_arch --listCmd -d:nimNimbleBootstrap
|
||||
./koch tools --os:linux --cpu:$_arch --listCmd
|
||||
vsed -i config/nim.cfg -e '/^# VOIDLINUX TEMP$/,$d'
|
||||
;; *)
|
||||
./koch tools -d:nimNimbleBootstrap
|
||||
./koch tools
|
||||
esac
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'nqp'
|
||||
pkgname=nqp
|
||||
version=2025.01
|
||||
version=2024.10
|
||||
revision=1
|
||||
build_style=configure
|
||||
make_check_target=test
|
||||
@ -14,7 +14,7 @@ maintainer="Andy Weidenbaum <atweiden@tutanota.de>"
|
||||
license="Artistic-2.0"
|
||||
homepage="https://github.com/Raku/nqp"
|
||||
distfiles="https://rakudo.org/dl/nqp/nqp-${version}.tar.gz"
|
||||
checksum=c0533292c388feaf747b62ca5728efaf15d5905296de32c4cf37ee22de9fd1e6
|
||||
checksum=1fd1ea24af91fa64f72880af8351de5970c3499dc89699a435572eee0cf5f482
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
arm*|aarch64*) disable_parallel_build=yes;;
|
||||
esac
|
||||
|
@ -1,10 +1,5 @@
|
||||
#!/bin/sh
|
||||
exec 2>&1
|
||||
|
||||
[ -r conf ] && . ./conf
|
||||
|
||||
NSLCD_CONF=${NSLCD_CONF:-/etc/nslcd.conf}
|
||||
|
||||
mkdir -p /var/run/nslcd
|
||||
chown nslcd:nslcd /var/run/nslcd
|
||||
exec chpst -u nslcd:nslcd nslcd -n -f "$NSLCD_CONF"
|
||||
exec chpst -u nslcd:nslcd nslcd -n
|
||||
|
@ -0,0 +1,26 @@
|
||||
Bug: https://bugs.gentoo.org/716272
|
||||
|
||||
--- a/nss/hosts.c
|
||||
+++ b/nss/hosts.c
|
||||
@@ -49,6 +49,9 @@
|
||||
*h_errnop = NO_RECOVERY; \
|
||||
return NSS_STATUS_UNAVAIL;
|
||||
|
||||
+#ifndef NETDB_INTERNAL
|
||||
+#define NETDB_INTERNAL -1
|
||||
+#endif
|
||||
#undef ERROR_OUT_BUFERROR
|
||||
#define ERROR_OUT_BUFERROR(fp) \
|
||||
*errnop = ERANGE; \
|
||||
--- a/nss/networks.c
|
||||
+++ b/nss/networks.c
|
||||
@@ -49,6 +49,9 @@
|
||||
*h_errnop = NO_RECOVERY; \
|
||||
return NSS_STATUS_UNAVAIL;
|
||||
|
||||
+#ifndef NETDB_INTERNAL
|
||||
+#define NETDB_INTERNAL -1
|
||||
+#endif
|
||||
#undef ERROR_OUT_BUFERROR
|
||||
#define ERROR_OUT_BUFERROR(fp) \
|
||||
*errnop = ERANGE; \
|
@ -1,18 +1,18 @@
|
||||
# Template file for 'nss-pam-ldapd'
|
||||
pkgname=nss-pam-ldapd
|
||||
version=0.9.13
|
||||
revision=1
|
||||
version=0.9.12
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-sasl --enable-kerberos --with-pam-seclib-dir=/usr/lib/security/"
|
||||
conf_files="/etc/nslcd.conf"
|
||||
hostmakedepends="autoconf automake"
|
||||
makedepends="pam-devel libldap-devel libsasl-devel mit-krb5-devel"
|
||||
short_desc="NSS and PAM support for LDAP"
|
||||
short_desc="LDAP identity management via nsswitch"
|
||||
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
||||
license="LGPL-2.1-or-later"
|
||||
homepage="https://arthurdejong.org/nss-pam-ldapd/"
|
||||
distfiles="https://arthurdejong.org/nss-pam-ldapd/nss-pam-ldapd-${version}.tar.gz"
|
||||
checksum=e01784e17cb533bb66bd0601e205e785263445c3c2df7a6f90232ab4131c716d
|
||||
distfiles="https://github.com/arthurdejong/nss-pam-ldapd/archive/$version.tar.gz"
|
||||
checksum=829b2371be42c040108165d2ea422eb6f6cacba6a01083f67025752a574a685b
|
||||
system_accounts="nslcd"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
@ -23,16 +23,11 @@ pre_configure() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*musl)
|
||||
vsed -i 's/ lookup_netgroup / /' tests/Makefile.am
|
||||
autoreconf -fi
|
||||
;;
|
||||
esac
|
||||
./autogen.sh
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vsv nslcd
|
||||
vman man/nslcd.8
|
||||
vman man/nslcd.conf.5
|
||||
vman man/chsh.ldap.1
|
||||
vman man/getent.ldap.1
|
||||
vman man/pam_ldap.8
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'nushell'
|
||||
pkgname=nushell
|
||||
version=0.102.0
|
||||
version=0.101.0
|
||||
revision=1
|
||||
build_style=cargo
|
||||
hostmakedepends="pkg-config"
|
||||
@ -12,7 +12,7 @@ license="MIT"
|
||||
homepage="https://www.nushell.sh/"
|
||||
changelog="https://www.nushell.sh/blog/"
|
||||
distfiles="https://github.com/nushell/nushell/archive/refs/tags/${version}.tar.gz"
|
||||
checksum=97faa3626be944d83b26c43d0b5c9e1ae14dfc55ef4465ac00fc1c64dceda7ce
|
||||
checksum=43e4a123e86f0fb4754e40d0e2962b69a04f8c2d58470f47cb9be81daabab347
|
||||
register_shell="/usr/bin/nu"
|
||||
# all tests fail with argument --target
|
||||
make_check=no
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'oil'
|
||||
pkgname=oil
|
||||
version=0.27.0
|
||||
version=0.24.0
|
||||
revision=1
|
||||
build_style=configure
|
||||
configure_args="--prefix=/usr"
|
||||
@ -10,8 +10,8 @@ short_desc="Oil, a new unix shell"
|
||||
maintainer="MarcoAPC <marcoaureliopc@gmail.com>"
|
||||
license="Apache-2.0"
|
||||
homepage="https://www.oilshell.org"
|
||||
distfiles="https://oils.pub/download/oil-${version}.tar.xz"
|
||||
checksum=d620259c42002a4ab66196cb8ef5d95c34f648c8e3488c02fa9b9c9e297bfcd4
|
||||
distfiles="https://www.oilshell.org/download/oil-${version}.tar.xz"
|
||||
checksum=3609e978bb63a71ffa801feacc43f5fc93e5cc83d34919ad4702cc9effdefd4c
|
||||
register_shell="/usr/bin/osh /usr/bin/ysh"
|
||||
nocross="Build systems gets confused with host and cross toolchains/headers"
|
||||
nostrip=yes
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'onefetch'
|
||||
pkgname=onefetch
|
||||
version=2.23.1
|
||||
version=2.22.0
|
||||
revision=1
|
||||
build_style=cargo
|
||||
build_helper=qemu
|
||||
@ -9,12 +9,12 @@ hostmakedepends="pkg-config"
|
||||
makedepends="zlib-devel libzstd-devel"
|
||||
checkdepends="git"
|
||||
short_desc="Git repository summary on your terminal"
|
||||
maintainer="Saksham <voidisnull@duck.com>"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="MIT"
|
||||
homepage="https://onefetch.dev"
|
||||
changelog="https://github.com/o2sh/onefetch/raw/main/CHANGELOG.md"
|
||||
distfiles="https://github.com/o2sh/onefetch/archive/refs/tags/${version}.tar.gz"
|
||||
checksum=72e87f6a62682ad88aa07b02815ee1e2863fe45e04df3bba49026bf3edd10537
|
||||
checksum=1741516c628bb70b432285aa78439c4acfeb5df19e48b8d85dba5f71336e190b
|
||||
|
||||
if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
|
||||
broken="exr crate unimplemented for BE"
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'openjdk17'
|
||||
pkgname=openjdk17
|
||||
version=17.0.15+2
|
||||
version=17.0.14+1
|
||||
revision=1
|
||||
_gtest_ver=1.13.0
|
||||
_java_ver="${version%%.*}"
|
||||
@ -43,7 +43,7 @@ license="GPL-2.0-only WITH Classpath-exception-2.0"
|
||||
homepage="http://openjdk.java.net/"
|
||||
distfiles="https://github.com/openjdk/jdk${_java_ver}u/archive/jdk-${version}.tar.gz
|
||||
https://github.com/google/googletest/archive/refs/tags/v${_gtest_ver}.tar.gz"
|
||||
checksum="131a653da0cc6b51196e11a8315f68841094ba08454169705af171de4547c6ac
|
||||
checksum="16adebb35c00d54f1660f326f6006dbc2fb098071fd22a3604c89830733f2c52
|
||||
ad7fdba11ea011c1d925b3289cf4af2c66a352e18d4c7264392fead75e919363"
|
||||
alternatives="jdk:/usr/lib/jvm/default-jdk:/${_jdk_home}"
|
||||
provides="java-environment-${version}_1"
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'openjdk21'
|
||||
pkgname=openjdk21
|
||||
version=21.0.7+2
|
||||
version=21.0.6+1
|
||||
revision=1
|
||||
_gtest_ver=1.13.0
|
||||
_java_ver="${version%%.*}"
|
||||
@ -43,7 +43,7 @@ license="GPL-2.0-only WITH Classpath-exception-2.0"
|
||||
homepage="http://openjdk.java.net/"
|
||||
distfiles="https://github.com/openjdk/jdk${_java_ver}u/archive/jdk-${version}.tar.gz
|
||||
https://github.com/google/googletest/archive/refs/tags/v${_gtest_ver}.tar.gz"
|
||||
checksum="862a0bddbfa2031b9d41c07df8df8d2db6f452d35b81bd7199707e3963cc950a
|
||||
checksum="8b710ba4544f2b4fa0448ab2e913e96faafed15b0ab0b87f87de598341d3c41a
|
||||
ad7fdba11ea011c1d925b3289cf4af2c66a352e18d4c7264392fead75e919363"
|
||||
alternatives="jdk:/usr/lib/jvm/default-jdk:/${_jdk_home}"
|
||||
provides="java-environment-${version}_1"
|
||||
|
11
srcpkgs/openssh/patches/musl-btmp.patch
Normal file
11
srcpkgs/openssh/patches/musl-btmp.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/loginrec.c
|
||||
+++ b/loginrec.c
|
||||
@@ -614,7 +614,7 @@
|
||||
** into account.
|
||||
**/
|
||||
|
||||
-#if defined(USE_UTMP) || defined (USE_WTMP) || defined (USE_LOGIN)
|
||||
+#if defined(USE_BTMP) || defined(USE_UTMP) || defined (USE_WTMP) || defined (USE_LOGIN)
|
||||
|
||||
/* build the utmp structure */
|
||||
void
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'openssh'
|
||||
pkgname=openssh
|
||||
version=9.9p2
|
||||
version=9.9p1
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--datadir=/usr/share/openssh
|
||||
@ -26,7 +26,7 @@ license="BSD-2-Clause, ISC"
|
||||
homepage="https://www.openssh.com"
|
||||
changelog="https://www.openssh.com/releasenotes.html"
|
||||
distfiles="https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/${pkgname}-${version}.tar.gz"
|
||||
checksum=91aadb603e08cc285eddf965e1199d02585fa94d994d6cae5b41e1721e215673
|
||||
checksum=b343fbcdbff87f15b1986e6e15d6d4fc9a7d36066be6b7fb507087ba8f966c02
|
||||
conf_files="/etc/ssh/moduli /etc/ssh/ssh_config /etc/ssh/sshd_config /etc/pam.d/sshd"
|
||||
make_dirs="
|
||||
/var/chroot/ssh 0755 root root
|
||||
|
@ -1,9 +1,9 @@
|
||||
# Template file for 'orca'
|
||||
pkgname=orca
|
||||
version=47.3
|
||||
revision=1
|
||||
version=46.2
|
||||
revision=2
|
||||
build_style=meson
|
||||
hostmakedepends="gettext itstool pkg-config gtk+3-devel python3-gobject-devel"
|
||||
hostmakedepends="gettext itstool pkg-config gtk+3-devel"
|
||||
makedepends="at-spi2-atk-devel liblouis-devel python3-gobject-devel"
|
||||
depends="desktop-file-utils gst-plugins-good1 hicolor-icon-theme liblouis
|
||||
python3-atspi python3-brlapi python3-dbus python3-xdg speech-dispatcher
|
||||
@ -12,7 +12,11 @@ short_desc="Screen reader for individuals who are blind or visually impaired"
|
||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="https://wiki.gnome.org/Projects/Orca"
|
||||
changelog="https://gitlab.gnome.org/GNOME/orca/-/raw/gnome-47/NEWS"
|
||||
#changelog="https://gitlab.gnome.org/GNOME/orca/-/raw/main/NEWS"
|
||||
#changelog="https://gitlab.gnome.org/GNOME/orca/-/raw/gnome-45/NEWS"
|
||||
changelog="https://gitlab.gnome.org/GNOME/orca/-/raw/master/NEWS"
|
||||
distfiles="${GNOME_SITE}/orca/${version%.*}/orca-${version}.tar.xz"
|
||||
checksum=1b0b145bb685cd74eca3e28cb7b7097f98d13ee1cc58b71edeed3a8f9045231b
|
||||
checksum=8f63299b1a4f9c30857c229f6a9ce16f2c43eaeea90fbf909314ca8bb73efd5e
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" python3-gobject-devel"
|
||||
fi
|
||||
|
@ -1,33 +0,0 @@
|
||||
From 9a5721c8f3f67c2e549fb713051af92c69b30a7d Mon Sep 17 00:00:00 2001
|
||||
From: Hannah von Reth <hannah.vonreth@owncloud.com>
|
||||
Date: Fri, 18 Oct 2024 10:11:27 +0200
|
||||
Subject: [PATCH] Qt6.8 build fix
|
||||
|
||||
---
|
||||
test/testcredentialmanager.cpp | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/test/testcredentialmanager.cpp b/test/testcredentialmanager.cpp
|
||||
index 8881cb98388..90bead31e2a 100644
|
||||
--- a/test/testcredentialmanager.cpp
|
||||
+++ b/test/testcredentialmanager.cpp
|
||||
@@ -112,8 +112,8 @@ private Q_SLOTS:
|
||||
QTest::qWait(1000);
|
||||
for (const auto s : spies) {
|
||||
QCOMPARE(s->count(), 1);
|
||||
- s->deleteLater();
|
||||
}
|
||||
+ qDeleteAll(spies);
|
||||
spies.clear();
|
||||
{
|
||||
auto jobs = creds->clear(QStringLiteral("foo"));
|
||||
@@ -131,8 +131,8 @@ private Q_SLOTS:
|
||||
QTest::qWait(1000);
|
||||
for (const auto s : spies) {
|
||||
QCOMPARE(s->count(), 1);
|
||||
- s->deleteLater();
|
||||
}
|
||||
+ qDeleteAll(spies);
|
||||
}
|
||||
}
|
||||
};
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'owncloudclient'
|
||||
pkgname=owncloudclient
|
||||
version=5.3.2
|
||||
version=5.3.1
|
||||
revision=1
|
||||
build_style=cmake
|
||||
configure_args="-Wno-dev -DWITH_AUTO_UPDATER=OFF
|
||||
@ -16,7 +16,7 @@ license="GPL-2.0-or-later"
|
||||
homepage="https://www.owncloud.org"
|
||||
changelog="https://raw.githubusercontent.com/owncloud/client/master/CHANGELOG.md"
|
||||
distfiles="https://github.com/owncloud/client/archive/v${version}.tar.gz"
|
||||
checksum=3663a168bd0a8cbc0539ef98c6a0acd9035dafee17fba7de8e797cf12805952e
|
||||
checksum=457faec63a3a90cfe333d751cf325b827a82bdfefe3037728175bc361eb27564
|
||||
|
||||
owncloudclient-kde5_package() {
|
||||
# kde5 integration has been moved to:
|
||||
|
23
srcpkgs/pam_zfscrypt/patches/zfs-encrypt-enum.patch
Normal file
23
srcpkgs/pam_zfscrypt/patches/zfs-encrypt-enum.patch
Normal file
@ -0,0 +1,23 @@
|
||||
Index: pam_zfscrypt-0.2.0/include/zfscrypt_dataset.h
|
||||
===================================================================
|
||||
--- pam_zfscrypt-0.2.0.orig/include/zfscrypt_dataset.h
|
||||
+++ pam_zfscrypt-0.2.0/include/zfscrypt_dataset.h
|
||||
@@ -71,18 +71,3 @@ zfscrypt_err_t zfscrypt_dataset_iter(zfs
|
||||
// private constants
|
||||
|
||||
extern const char ZFSCRYPT_USER_PROPERTY[];
|
||||
-
|
||||
-// FIXME Copied from /usr/include/libzfs/sys/zio.h because including <sys/zio.h> results in
|
||||
-// compiler error about unknown type rlim64_t.
|
||||
-enum zio_encrypt {
|
||||
- ZIO_CRYPT_INHERIT = 0,
|
||||
- ZIO_CRYPT_ON,
|
||||
- ZIO_CRYPT_OFF,
|
||||
- ZIO_CRYPT_AES_128_CCM,
|
||||
- ZIO_CRYPT_AES_192_CCM,
|
||||
- ZIO_CRYPT_AES_256_CCM,
|
||||
- ZIO_CRYPT_AES_128_GCM,
|
||||
- ZIO_CRYPT_AES_192_GCM,
|
||||
- ZIO_CRYPT_AES_256_GCM,
|
||||
- ZIO_CRYPT_FUNCTIONS
|
||||
-};
|
29
srcpkgs/pam_zfscrypt/template
Normal file
29
srcpkgs/pam_zfscrypt/template
Normal file
@ -0,0 +1,29 @@
|
||||
# Template file for 'pam_zfscrypt'
|
||||
pkgname=pam_zfscrypt
|
||||
version=0.2.0
|
||||
revision=3
|
||||
build_style=gnu-makefile
|
||||
makedepends="pam-devel zfs-devel"
|
||||
depends="pam"
|
||||
short_desc="Automatically decrypt and mount encrypted ZFS home directories"
|
||||
maintainer="Zach Dykstra <dykstra.zachary@gmail.com>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/project-trident/zfscrypt"
|
||||
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||
checksum=73244e7e97ab5a47a9ea4a24ac490f07bfe7c1eb0c920e03df202494ea61b650
|
||||
# Makefile is racy, build sequentially
|
||||
disable_parallel_build=yes
|
||||
|
||||
CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -Iinclude"
|
||||
|
||||
post_patch() {
|
||||
if [ "${CROSS_BUILD}" ]; then
|
||||
vsed -i Makefile \
|
||||
-e "/ZFSINC :=/s,-isystem/usr/,-I${XBPS_CROSS_BASE}/usr/,g"
|
||||
fi
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vinstall build/pam_zfscrypt.so 0755 usr/lib/security
|
||||
vlicense LICENSE
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'pekwm'
|
||||
pkgname=pekwm
|
||||
version=0.3.2
|
||||
version=0.3.1
|
||||
revision=1
|
||||
build_style=cmake
|
||||
hostmakedepends="pkg-config"
|
||||
@ -12,5 +12,5 @@ maintainer="biopsin <biopsin@teknik.io>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="https://www.pekwm.se/"
|
||||
distfiles="https://github.com/pekdon/pekwm/archive/release-${version}.tar.gz"
|
||||
checksum=cf5e61a753f1a125877c65477ffd9b76b1aa6cec0f241f1fd6af9159dd23bfdf
|
||||
checksum=965e25982ebc428ae75cece68cd3ae6f0287c8dc3511b3f94c64f849d047e0cc
|
||||
conf_files="/etc/pekwm/*"
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'perl-Spreadsheet-ParseXLSX'
|
||||
pkgname=perl-Spreadsheet-ParseXLSX
|
||||
version=0.36
|
||||
version=0.35
|
||||
revision=1
|
||||
build_style=perl-module
|
||||
hostmakedepends="perl"
|
||||
@ -13,7 +13,7 @@ maintainer="newbluemoon <blaumolch@mailbox.org>"
|
||||
license="MIT"
|
||||
homepage="https://metacpan.org/release/Spreadsheet-ParseExcel"
|
||||
distfiles="${CPAN_SITE}/Spreadsheet/${pkgname#perl-}-${version}.tar.gz"
|
||||
checksum=079530629d7cf0e65d7f098b6298236d05ceebf8bf4f4755246e01d5e708a210
|
||||
checksum=88240d800787a3f770a29807474231a7354c569ea4896c6638655340ff69644a
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user