Skip to content

Commit 0e5d534

Browse files
authoredFeb 23, 2025··
Merge pull request #1587 from hadfl/pkgupd
package updates
2 parents 5bfe2fc + 8b0b03c commit 0e5d534

File tree

33 files changed

+214
-44
lines changed

33 files changed

+214
-44
lines changed
 

‎build/atuin/patches/libc.patch

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
diff -wpruN --no-dereference '--exclude=*.orig' a~/Cargo.lock a/Cargo.lock
2+
--- a~/Cargo.lock 1970-01-01 00:00:00
3+
+++ a/Cargo.lock 1970-01-01 00:00:00
4+
@@ -2128,9 +2128,9 @@ dependencies = [
5+
6+
[[package]]
7+
name = "libc"
8+
-version = "0.2.155"
9+
+version = "0.2.169"
10+
source = "registry+https://github.com/rust-lang/crates.io-index"
11+
-checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c"
12+
+checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a"
13+
14+
[[package]]
15+
name = "libloading"

‎build/atuin/patches/series

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
libc.patch

‎build/bat/patches/libc.patch

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
diff -wpruN --no-dereference '--exclude=*.orig' a~/Cargo.lock a/Cargo.lock
2+
--- a~/Cargo.lock 1970-01-01 00:00:00
3+
+++ a/Cargo.lock 1970-01-01 00:00:00
4+
@@ -723,9 +723,9 @@ checksum = "e2abad23fbc42b3700f2f279844d
5+
6+
[[package]]
7+
name = "libc"
8+
-version = "0.2.161"
9+
+version = "0.2.169"
10+
source = "registry+https://github.com/rust-lang/crates.io-index"
11+
-checksum = "8e9489c2807c139ffd9c1794f4af0ebe86a828db53ecdc7fea2111d0fed085d1"
12+
+checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a"
13+
14+
[[package]]
15+
name = "libgit2-sys"

‎build/bat/patches/series

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
do-not-strip-symbol-table.patch
2+
libc.patch

‎build/cargo-c/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
. ../../lib/build.sh
1818

1919
PROG=cargo-c
20-
VER=0.10.8
20+
VER=0.10.11
2121
PKG=ooce/developer/cargo-c
2222
SUMMARY="build and install C-ABI compatible dynamic and static libraries"
2323
DESC="produces and installs a correct pkg-config file, a static library and "

‎build/dav1d/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
. ../../lib/build.sh
1818

1919
PROG=dav1d
20-
VER=1.5.0
20+
VER=1.5.1
2121
PKG=ooce/multimedia/dav1d
2222
SUMMARY="AV1 decoder"
2323
DESC="AV1 cross-platform decoder, open-source, and focused on speed, "

‎build/fd/patches/libc.patch

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
diff -wpruN --no-dereference '--exclude=*.orig' a~/Cargo.lock a/Cargo.lock
2+
--- a~/Cargo.lock 1970-01-01 00:00:00
3+
+++ a/Cargo.lock 1970-01-01 00:00:00
4+
@@ -469,9 +469,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9
5+
6+
[[package]]
7+
name = "libc"
8+
-version = "0.2.158"
9+
+version = "0.2.169"
10+
source = "registry+https://github.com/rust-lang/crates.io-index"
11+
-checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439"
12+
+checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a"
13+
14+
[[package]]
15+
name = "libredox"

‎build/fd/patches/series

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
do-not-strip-symbol-table.patch
2+
libc.patch

‎build/git-absorb/patches/libc.patch

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
diff -wpruN --no-dereference '--exclude=*.orig' a~/Cargo.lock a/Cargo.lock
2+
--- a~/Cargo.lock 1970-01-01 00:00:00
3+
+++ a/Cargo.lock 1970-01-01 00:00:00
4+
@@ -294,9 +294,9 @@ dependencies = [
5+
6+
[[package]]
7+
name = "libc"
8+
-version = "0.2.155"
9+
+version = "0.2.169"
10+
source = "registry+https://github.com/rust-lang/crates.io-index"
11+
-checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c"
12+
+checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a"
13+
14+
[[package]]
15+
name = "libgit2-sys"

‎build/git-absorb/patches/series

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
libc.patch

‎build/helix/build.sh

+8-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
. ../../lib/build.sh
1818

1919
PROG=helix
20-
VER=25.01
20+
VER=25.01.1
2121
PKG=ooce/editor/helix
2222
SUMMARY="A post-modern modal text editor."
2323
DESC="A kakoune / neovim inspired editor, written in Rust."
@@ -37,8 +37,13 @@ XFORM_ARGS="
3737
SKIP_SSP_CHECK=1
3838
NO_SONAME_EXPECTED=1 # files in runtime dir
3939

40-
install_helix_runtime() {
41-
pushd $DESTDIR/$PREFIX >/dev/null || logerr "chdir $DESTDIR/$PREFIX"
40+
post_install() {
41+
typeset arch=$1
42+
43+
destdir=$DESTDIR
44+
cross_arch $arch && destdir+=.$arch
45+
46+
pushd $destdir/$PREFIX >/dev/null || logerr "chdir $destdir/$PREFIX"
4247

4348
logcmd $MKDIR -p "share/runtime" || logerr "Failed to create runtime dir"
4449

@@ -60,7 +65,6 @@ download_source -nodir $PROG $PROG $VER-source
6065
patch_source
6166
build_rust
6267
install_rust hx
63-
install_helix_runtime
6468
strip_install
6569
make_package
6670
clean_up

‎build/hyperfine/patches/libc.patch

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
diff -wpruN --no-dereference '--exclude=*.orig' a~/Cargo.lock a/Cargo.lock
2+
--- a~/Cargo.lock 1970-01-01 00:00:00
3+
+++ a/Cargo.lock 1970-01-01 00:00:00
4+
@@ -489,9 +489,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9
5+
6+
[[package]]
7+
name = "libc"
8+
-version = "0.2.162"
9+
+version = "0.2.169"
10+
source = "registry+https://github.com/rust-lang/crates.io-index"
11+
-checksum = "18d287de67fe55fd7e1581fe933d965a5a9477b38e949cfa9f8574ef01506398"
12+
+checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a"
13+
14+
[[package]]
15+
name = "linux-raw-sys"

‎build/hyperfine/patches/series

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
libc.patch

‎build/isc-bind9/build-918.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
. ../../lib/build.sh
1919

2020
PROG=bind
21-
VER=9.18.33
21+
VER=9.18.34
2222
PKG=ooce/network/bind-918
2323
SUMMARY="ISC BIND DNS Server & Tools"
2424
DESC="Server & Client Utilities for DNS"

‎build/isc-bind9/build-920.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
. ../../lib/build.sh
1919

2020
PROG=bind
21-
VER=9.20.5
21+
VER=9.20.6
2222
PKG=ooce/network/bind-920
2323
SUMMARY="ISC BIND DNS Server & Tools"
2424
DESC="Server & Client Utilities for DNS"

‎build/mattermost/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
. ../../lib/build.sh
1818

1919
PROG=mattermost
20-
VER=9.11.8
20+
VER=9.11.9
2121
# check for the current morph version/commit hash and create a patched branch in
2222
# https://github.com/omniosorg/morph; then point to that branch
2323
MORPHBRANCH=il_1.1.0

‎build/php/build-83.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
PROG=php
2020
PKG=ooce/application/php-83
21-
VER=8.3.16
21+
VER=8.3.17
2222
SUMMARY="PHP 8.3"
2323
DESC="A popular general-purpose scripting language"
2424

@@ -158,7 +158,7 @@ CONFIGURE_OPTS[amd64]="
158158

159159
CPPFLAGS+=" -I/usr/include/gmp"
160160
CPPFLAGS+=" -I$OPREFIX/libzip/include"
161-
LDFLAGS+=" -static-libgcc -L$OPREFIX/lib/amd64 -R$OPREFIX/lib/amd64"
161+
LDFLAGS+=" -static-libgcc -L$OPREFIX/lib/amd64"
162162

163163
post_configure() {
164164
for tok in \

‎build/php/build-84.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
PROG=php
2020
PKG=ooce/application/php-84
21-
VER=8.4.3
21+
VER=8.4.4
2222
SUMMARY="PHP 8.4"
2323
DESC="A popular general-purpose scripting language"
2424

‎build/postfix/build.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
# }}}
1414

1515
# Copyright 2011-2013 OmniTI Computer Consulting, Inc. All rights reserved.
16-
# Copyright 2024 OmniOS Community Edition (OmniOSce) Association.
16+
# Copyright 2025 OmniOS Community Edition (OmniOSce) Association.
1717

1818
. ../../lib/build.sh
1919

2020
PROG=postfix
21-
VER=3.9.1
21+
VER=3.10.0
2222
PKG=ooce/network/smtp/postfix
2323
SUMMARY="Postfix MTA"
2424
DESC="Wietse Venema's mail server alternative to sendmail"

‎build/rav1e/patches/libc.patch

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
diff -wpruN --no-dereference '--exclude=*.orig' a~/Cargo.lock a/Cargo.lock
2+
--- a~/Cargo.lock 1970-01-01 00:00:00
3+
+++ a/Cargo.lock 1970-01-01 00:00:00
4+
@@ -817,9 +817,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0e
5+
6+
[[package]]
7+
name = "libc"
8+
-version = "0.2.152"
9+
+version = "0.2.169"
10+
source = "registry+https://github.com/rust-lang/crates.io-index"
11+
-checksum = "13e3bf6590cbc649f4d1a3eefc9d5d6eb746f5200ffb04e5e142700b8faa56e7"
12+
+checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a"
13+
14+
[[package]]
15+
name = "libdav1d-sys"

‎build/rav1e/patches/series

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
libc.patch

‎build/rust/build-arch-aarch64.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
# http://www.illumos.org/license/CDDL.
1313
# }}}
1414

15-
# Copyright 2024 OmniOS Community Edition (OmniOSce) Association.
15+
# Copyright 2025 OmniOS Community Edition (OmniOSce) Association.
1616

1717
. ../../lib/build.sh
1818

1919
PROG=rust
2020
PKG=ooce/developer/rust
21-
VER=1.84.0
21+
VER=1.85.0
2222
SUMMARY="Rust systems programming language"
2323
DESC="Rust is a systems programming language that runs blazingly fast, "
2424
DESC+="prevents segfaults, and guarantees thread safety."

‎build/rust/build.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
# http://www.illumos.org/license/CDDL.
1313
# }}}
1414

15-
# Copyright 2024 OmniOS Community Edition (OmniOSce) Association.
15+
# Copyright 2025 OmniOS Community Edition (OmniOSce) Association.
1616

1717
. ../../lib/arch.sh
1818
. ../../lib/build.sh
1919

2020
PROG=rust
2121
PKG=ooce/developer/rust
22-
VER=1.84.0
22+
VER=1.85.0
2323
SUMMARY="Rust systems programming language"
2424
DESC="Rust is a systems programming language that runs blazingly fast, "
2525
DESC+="prevents segfaults, and guarantees thread safety."

‎build/rustdesk-server/build.sh

+5-3
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
# http://www.illumos.org/license/CDDL.
1313
# }}}
1414

15-
# Copyright 2024 OmniOS Community Edition (OmniOSce) Association.
15+
# Copyright 2025 OmniOS Community Edition (OmniOSce) Association.
1616

1717
. ../../lib/build.sh
1818

1919
PROG=rustdesk-server
20-
VER=1.1.12
20+
VER=1.1.14
2121
PKG=ooce/application/rustdesk-server
2222
SUMMARY="$PROG - remote control"
2323
DESC="Full-featured open source remote control alternative for self-hosting "
@@ -51,7 +51,9 @@ pre_build() {
5151
}
5252

5353
init
54-
download_source $PROG $VER
54+
clone_github_source $PROG "$GITHUB/rustdesk/$PROG" $VER
55+
append_builddir $PROG
56+
run_inbuild $GIT submodule update --init --recursive
5557
patch_source
5658
prep_build
5759
SODIUM_USE_PKG_CONFIG=1 build_rust
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
From 073bae1e73f31f0f5a6acb6903cd88136dd1f41c Mon Sep 17 00:00:00 2001
2+
From: Dominik Hassler <hadfl@omnios.org>
3+
Date: Sat, 22 Feb 2025 19:16:00 +0000
4+
Subject: [PATCH] add illumos support
5+
6+
diff -wpruN --no-dereference '--exclude=*.orig' a~/libs/hbb_common/src/tcp.rs a/libs/hbb_common/src/tcp.rs
7+
--- a~/libs/hbb_common/src/tcp.rs 1970-01-01 00:00:00
8+
+++ a/libs/hbb_common/src/tcp.rs 1970-01-01 00:00:00
9+
@@ -68,10 +68,11 @@ pub(crate) fn new_socket(addr: std::net:
10+
std::net::SocketAddr::V6(..) => TcpSocket::new_v6()?,
11+
};
12+
if reuse {
13+
- // windows has no reuse_port, but it's reuse_address
14+
+ // windows has no reuse_port, but its reuse_address
15+
// almost equals to unix's reuse_port + reuse_address,
16+
// though may introduce nondeterministic behavior
17+
- #[cfg(unix)]
18+
+ // illumos has no support for SO_REUSEPORT
19+
+ #[cfg(all(unix, not(target_os = "illumos")))]
20+
socket.set_reuseport(true).ok();
21+
socket.set_reuseaddr(true).ok();
22+
}
23+
@@ -226,6 +227,8 @@ pub async fn listen_any(port: u16) -> Re
24+
if let Ok(mut socket) = TcpSocket::new_v6() {
25+
#[cfg(unix)]
26+
{
27+
+ // illumos has no support for SO_REUSEPORT
28+
+ #[cfg(not(target_os = "illumos"))]
29+
socket.set_reuseport(true).ok();
30+
socket.set_reuseaddr(true).ok();
31+
use std::os::unix::io::{FromRawFd, IntoRawFd};
32+
diff -wpruN --no-dereference '--exclude=*.orig' a~/libs/hbb_common/src/udp.rs a/libs/hbb_common/src/udp.rs
33+
--- a~/libs/hbb_common/src/udp.rs 1970-01-01 00:00:00
34+
+++ a/libs/hbb_common/src/udp.rs 1970-01-01 00:00:00
35+
@@ -20,10 +20,11 @@ fn new_socket(addr: SocketAddr, reuse: b
36+
SocketAddr::V6(..) => Socket::new(Domain::ipv6(), Type::dgram(), None),
37+
}?;
38+
if reuse {
39+
- // windows has no reuse_port, but it's reuse_address
40+
+ // windows has no reuse_port, but its reuse_address
41+
// almost equals to unix's reuse_port + reuse_address,
42+
// though may introduce nondeterministic behavior
43+
- #[cfg(unix)]
44+
+ // illumos has no support for SO_REUSEPORT
45+
+ #[cfg(all(unix, not(target_os = "illumos")))]
46+
socket.set_reuse_port(true).ok();
47+
socket.set_reuse_address(true).ok();
48+
}

‎build/rustdesk-server/patches/illumos.patch

+12-12
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,23 @@ diff -wpruN --no-dereference '--exclude=*.orig' a~/Cargo.toml a/Cargo.toml
2020
+dns-lookup = "2.0.4"
2121
ping = "0.4.0"
2222

23-
[build-dependencies]
24-
@@ -58,3 +58,6 @@ hbb_common = { path = "libs/hbb_common"
25-
[workspace]
26-
members = ["libs/hbb_common"]
27-
exclude = ["ui"]
23+
[target.'cfg(any(target_os = "macos", target_os = "windows"))'.dependencies]
24+
@@ -75,3 +75,6 @@ panic = 'abort'
25+
strip = true
26+
#opt-level = 'z' # only have smaller size after strip # Default is 3, better performance
27+
#rpath = true # Not needed
2828
+
2929
+[patch.crates-io]
3030
+machine-uid = { git = "https://github.com/hadfl/machine-uid.git", branch = "illumos" }
3131
diff -wpruN --no-dereference '--exclude=*.orig' a~/libs/hbb_common/Cargo.toml a/libs/hbb_common/Cargo.toml
3232
--- a~/libs/hbb_common/Cargo.toml 1970-01-01 00:00:00
3333
+++ a/libs/hbb_common/Cargo.toml 1970-01-01 00:00:00
34-
@@ -34,7 +34,7 @@ chrono = "0.4"
35-
34+
@@ -48,7 +48,7 @@ sha2 = "0.10"
3635
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
3736
mac_address = "1.1"
38-
-machine-uid = "0.2"
39-
+machine-uid = "0.5.1"
40-
41-
[features]
42-
quic = []
37+
default_net = { git = "https://github.com/rustdesk-org/default_net" }
38+
-machine-uid = { git = "https://github.com/rustdesk-org/machine-uid" }
39+
+machine-uid = { git = "https://github.com/hadfl/machine-uid.git", branch = "illumos" }
40+
[target.'cfg(not(any(target_os = "macos", target_os = "windows")))'.dependencies]
41+
tokio-rustls = { version = "0.26", features = ["logging", "tls12", "ring"], default-features = false }
42+
rustls-platform-verifier = "0.3.1"

‎build/rustdesk-server/patches/series

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
illumos.patch
2+
0001-add-illumos-support.patch

‎build/tree-sitter/patches/libc.patch

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
diff -wpruN --no-dereference '--exclude=*.orig' a~/Cargo.lock a/Cargo.lock
2+
--- a~/Cargo.lock 1970-01-01 00:00:00
3+
+++ a/Cargo.lock 1970-01-01 00:00:00
4+
@@ -814,9 +814,9 @@ checksum = "884e2677b40cc8c339eaefcb701c
5+
6+
[[package]]
7+
name = "libc"
8+
-version = "0.2.159"
9+
+version = "0.2.169"
10+
source = "registry+https://github.com/rust-lang/crates.io-index"
11+
-checksum = "561d97a539a36e26a9a5fad1ea11a3039a67714694aaa379433e580854bc3dc5"
12+
+checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a"
13+
14+
[[package]]
15+
name = "libgit2-sys"

‎build/tree-sitter/patches/series

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
libc.patch

0 commit comments

Comments
 (0)
Please sign in to comment.