pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
mistserver: update to 3.10
Module Name: pkgsrc-wip
Committed By: Bartosz Kuzma <bartosz.kuzma%gmail.com@localhost>
Pushed By: bartosz.kuzma
Date: Sat Jul 18 15:09:22 2026 +0200
Changeset: d1d5df31afb4307aa17e44603eab07fbdaf94076
Modified Files:
mistserver/DESCR
mistserver/Makefile
mistserver/PLIST
mistserver/distinfo
Added Files:
mbedtls3/DESCR
mbedtls3/Makefile
mbedtls3/PLIST
mbedtls3/TODO
mbedtls3/buildlink3.mk
mbedtls3/distinfo
mbedtls3/patches/patch-include_mbedtls_mbedtls__config.h
mistserver/TODO
mistserver/patches/patch-lib_defines.h
mistserver/patches/patch-lib_procs.cpp
mistserver/patches/patch-lib_socket.cpp
mistserver/patches/patch-lib_socket__srt.cpp
mistserver/patches/patch-meson.build
Log Message:
mistserver: update to 3.10
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d1d5df31afb4307aa17e44603eab07fbdaf94076
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
mbedtls3/DESCR | 7 +
mbedtls3/Makefile | 56 ++++++
mbedtls3/PLIST | 194 +++++++++++++++++++++
mbedtls3/TODO | 1 +
mbedtls3/buildlink3.mk | 14 ++
mbedtls3/distinfo | 6 +
.../patch-include_mbedtls_mbedtls__config.h | 15 ++
mistserver/DESCR | 3 +
mistserver/Makefile | 21 ++-
mistserver/PLIST | 77 +++++++-
mistserver/TODO | 4 +
mistserver/distinfo | 11 +-
mistserver/patches/patch-lib_defines.h | 15 ++
mistserver/patches/patch-lib_procs.cpp | 15 ++
mistserver/patches/patch-lib_socket.cpp | 57 ++++++
mistserver/patches/patch-lib_socket__srt.cpp | 18 ++
mistserver/patches/patch-meson.build | 14 ++
17 files changed, 517 insertions(+), 11 deletions(-)
diffs:
diff --git a/mbedtls3/DESCR b/mbedtls3/DESCR
new file mode 100644
index 0000000000..08b8f24af7
--- /dev/null
+++ b/mbedtls3/DESCR
@@ -0,0 +1,7 @@
+mbed TLS (formerly known as PolarSSL) makes it trivially easy for
+developers to include cryptographic and SSL/TLS capabilities in
+their (embedded) products, facilitating this functionality with a
+minimal coding footprint.
+
+This contains major version 3 of the library, which is not backwards
+compatible to version 2.
diff --git a/mbedtls3/Makefile b/mbedtls3/Makefile
new file mode 100644
index 0000000000..2ec481ca51
--- /dev/null
+++ b/mbedtls3/Makefile
@@ -0,0 +1,56 @@
+# $NetBSD: Makefile,v 1.11 2026/01/09 07:42:07 wiz Exp $
+
+DISTNAME= mbedtls-3.6.3
+PKGNAME= ${DISTNAME:S/mbedtls/mbedtls3/}
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_GITHUB:=Mbed-TLS/mbedtls/releases/download/mbedtls-${PKGVERSION_NOREV}/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/Mbed-TLS/mbedtls
+COMMENT= Lightweight, modular cryptographic and SSL/TLS library (3.x branch)
+LICENSE= apache-2.0 OR gnu-gpl-v2
+
+CONFLICTS+= mbedtls-[0-9]*
+CONFLICTS+= polarssl-[0-9]*
+SUPERSEDES+= polarssl-[0-9]*
+
+USE_TOOLS+= pkg-config
+
+GCC_REQD+= 4.4
+
+USE_CC_FEATURES= c99
+
+CMAKE_CONFIGURE_ARGS+= -Wno-dev
+CMAKE_CONFIGURE_ARGS+= -DUSE_SHARED_MBEDTLS_LIBRARY=ON
+CMAKE_CONFIGURE_ARGS+= -DENABLE_PROGRAMS=ON
+CMAKE_CONFIGURE_ARGS+= -DMBEDTLS_SSL_DTLS_SRTP=ON
+
+# Fails to build full suite on NetBSD due to strange tricks with stdout
+CMAKE_CONFIGURE_ARGS.NetBSD+= -DENABLE_TESTING=OFF
+
+CMAKE_CONFIGURE_ARGS+= -DMBEDTLS_FATAL_WARNINGS=OFF
+CMAKE_CONFIGURE_ARGS+= -DCMAKE_POLICY_VERSION_MINIMUM=3.5
+
+MAKE_ENV+= RANLIB=${RANLIB:Q}
+
+LDFLAGS.SunOS+= -lsocket
+
+PYTHON_FOR_BUILD_ONLY= tool
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+# Prefix bundled programs so they don't conflict with other packages
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && for f in *; do \
+ ${MV} "$$f" "mbedtls_$$f"; \
+ done
+
+do-test:
+ LD_LIBRARY_PATH=${WRKSRC}/library \
+ ${WRKSRC}/programs/test/selftest
+
+.include "../../devel/cmake/build.mk"
+.include "../../lang/python/tool.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mbedtls3/PLIST b/mbedtls3/PLIST
new file mode 100644
index 0000000000..674994aca6
--- /dev/null
+++ b/mbedtls3/PLIST
@@ -0,0 +1,194 @@
+@comment $NetBSD: PLIST,v 1.4 2025/04/24 17:14:50 hauke Exp $
+bin/mbedtls_aead_demo
+bin/mbedtls_benchmark
+bin/mbedtls_cert_app
+bin/mbedtls_cert_req
+bin/mbedtls_cert_write
+bin/mbedtls_cipher_aead_demo
+bin/mbedtls_crl_app
+bin/mbedtls_crypt_and_hash
+bin/mbedtls_crypto_examples
+bin/mbedtls_dh_client
+bin/mbedtls_dh_genprime
+bin/mbedtls_dh_server
+bin/mbedtls_dtls_client
+bin/mbedtls_dtls_server
+bin/mbedtls_ecdh_curve25519
+bin/mbedtls_ecdsa
+bin/mbedtls_gen_entropy
+bin/mbedtls_gen_key
+bin/mbedtls_gen_random_ctr_drbg
+bin/mbedtls_generic_sum
+bin/mbedtls_hello
+bin/mbedtls_hmac_demo
+bin/mbedtls_key_app
+bin/mbedtls_key_app_writer
+bin/mbedtls_key_ladder_demo
+bin/mbedtls_key_ladder_demo.sh
+bin/mbedtls_load_roots
+bin/mbedtls_md_hmac_demo
+bin/mbedtls_metatest
+bin/mbedtls_mini_client
+bin/mbedtls_mpi_demo
+bin/mbedtls_pem2der
+bin/mbedtls_pk_decrypt
+bin/mbedtls_pk_encrypt
+bin/mbedtls_pk_sign
+bin/mbedtls_pk_verify
+bin/mbedtls_psa_constant_names
+bin/mbedtls_psa_hash
+bin/mbedtls_query_compile_time_config
+bin/mbedtls_query_included_headers
+bin/mbedtls_req_app
+bin/mbedtls_rsa_decrypt
+bin/mbedtls_rsa_encrypt
+bin/mbedtls_rsa_genkey
+bin/mbedtls_rsa_sign
+bin/mbedtls_rsa_sign_pss
+bin/mbedtls_rsa_verify
+bin/mbedtls_rsa_verify_pss
+bin/mbedtls_selftest
+bin/mbedtls_ssl_client1
+bin/mbedtls_ssl_client2
+bin/mbedtls_ssl_context_info
+bin/mbedtls_ssl_fork_server
+bin/mbedtls_ssl_mail_client
+bin/mbedtls_ssl_pthread_server
+bin/mbedtls_ssl_server
+bin/mbedtls_ssl_server2
+bin/mbedtls_strerror
+bin/mbedtls_udp_proxy
+bin/mbedtls_zeroize
+include/everest/Hacl_Curve25519.h
+include/everest/everest.h
+include/everest/kremlib.h
+include/everest/kremlib/FStar_UInt128.h
+include/everest/kremlib/FStar_UInt64_FStar_UInt32_FStar_UInt16_FStar_UInt8.h
+include/everest/kremlin/c_endianness.h
+include/everest/kremlin/internal/builtin.h
+include/everest/kremlin/internal/callconv.h
+include/everest/kremlin/internal/compat.h
+include/everest/kremlin/internal/debug.h
+include/everest/kremlin/internal/target.h
+include/everest/kremlin/internal/types.h
+include/everest/kremlin/internal/wasmsupport.h
+include/everest/vs2013/Hacl_Curve25519.h
+include/everest/x25519.h
+include/mbedtls/aes.h
+include/mbedtls/aria.h
+include/mbedtls/asn1.h
+include/mbedtls/asn1write.h
+include/mbedtls/base64.h
+include/mbedtls/bignum.h
+include/mbedtls/block_cipher.h
+include/mbedtls/build_info.h
+include/mbedtls/camellia.h
+include/mbedtls/ccm.h
+include/mbedtls/chacha20.h
+include/mbedtls/chachapoly.h
+include/mbedtls/check_config.h
+include/mbedtls/cipher.h
+include/mbedtls/cmac.h
+include/mbedtls/compat-2.x.h
+include/mbedtls/config_adjust_legacy_crypto.h
+include/mbedtls/config_adjust_legacy_from_psa.h
+include/mbedtls/config_adjust_psa_from_legacy.h
+include/mbedtls/config_adjust_psa_superset_legacy.h
+include/mbedtls/config_adjust_ssl.h
+include/mbedtls/config_adjust_x509.h
+include/mbedtls/config_psa.h
+include/mbedtls/constant_time.h
+include/mbedtls/ctr_drbg.h
+include/mbedtls/debug.h
+include/mbedtls/des.h
+include/mbedtls/dhm.h
+include/mbedtls/ecdh.h
+include/mbedtls/ecdsa.h
+include/mbedtls/ecjpake.h
+include/mbedtls/ecp.h
+include/mbedtls/entropy.h
+include/mbedtls/error.h
+include/mbedtls/gcm.h
+include/mbedtls/hkdf.h
+include/mbedtls/hmac_drbg.h
+include/mbedtls/lms.h
+include/mbedtls/mbedtls_config.h
+include/mbedtls/md.h
+include/mbedtls/md5.h
+include/mbedtls/memory_buffer_alloc.h
+include/mbedtls/net_sockets.h
+include/mbedtls/nist_kw.h
+include/mbedtls/oid.h
+include/mbedtls/pem.h
+include/mbedtls/pk.h
+include/mbedtls/pkcs12.h
+include/mbedtls/pkcs5.h
+include/mbedtls/pkcs7.h
+include/mbedtls/platform.h
+include/mbedtls/platform_time.h
+include/mbedtls/platform_util.h
+include/mbedtls/poly1305.h
+include/mbedtls/private_access.h
+include/mbedtls/psa_util.h
+include/mbedtls/ripemd160.h
+include/mbedtls/rsa.h
+include/mbedtls/sha1.h
+include/mbedtls/sha256.h
+include/mbedtls/sha3.h
+include/mbedtls/sha512.h
+include/mbedtls/ssl.h
+include/mbedtls/ssl_cache.h
+include/mbedtls/ssl_ciphersuites.h
+include/mbedtls/ssl_cookie.h
+include/mbedtls/ssl_ticket.h
+include/mbedtls/threading.h
+include/mbedtls/timing.h
+include/mbedtls/version.h
+include/mbedtls/x509.h
+include/mbedtls/x509_crl.h
+include/mbedtls/x509_crt.h
+include/mbedtls/x509_csr.h
+include/psa/build_info.h
+include/psa/crypto.h
+include/psa/crypto_adjust_auto_enabled.h
+include/psa/crypto_adjust_config_dependencies.h
+include/psa/crypto_adjust_config_key_pair_types.h
+include/psa/crypto_adjust_config_synonyms.h
+include/psa/crypto_builtin_composites.h
+include/psa/crypto_builtin_key_derivation.h
+include/psa/crypto_builtin_primitives.h
+include/psa/crypto_compat.h
+include/psa/crypto_config.h
+include/psa/crypto_driver_common.h
+include/psa/crypto_driver_contexts_composites.h
+include/psa/crypto_driver_contexts_key_derivation.h
+include/psa/crypto_driver_contexts_primitives.h
+include/psa/crypto_extra.h
+include/psa/crypto_legacy.h
+include/psa/crypto_platform.h
+include/psa/crypto_se_driver.h
+include/psa/crypto_sizes.h
+include/psa/crypto_struct.h
+include/psa/crypto_types.h
+include/psa/crypto_values.h
+lib/cmake/MbedTLS/MbedTLSConfig.cmake
+lib/cmake/MbedTLS/MbedTLSConfigVersion.cmake
+lib/cmake/MbedTLS/MbedTLSTargets-noconfig.cmake
+lib/cmake/MbedTLS/MbedTLSTargets.cmake
+lib/libeverest.a
+lib/libmbedcrypto.a
+lib/libmbedcrypto.so
+lib/libmbedcrypto.so.16
+lib/libmbedcrypto.so.${PKGVERSION}
+lib/libmbedtls.a
+lib/libmbedtls.so
+lib/libmbedtls.so.21
+lib/libmbedtls.so.${PKGVERSION}
+lib/libmbedx509.a
+lib/libmbedx509.so
+lib/libmbedx509.so.${PKGVERSION}
+lib/libmbedx509.so.7
+lib/libp256m.a
+lib/pkgconfig/mbedcrypto.pc
+lib/pkgconfig/mbedtls.pc
+lib/pkgconfig/mbedx509.pc
diff --git a/mbedtls3/TODO b/mbedtls3/TODO
new file mode 100644
index 0000000000..8a390625c1
--- /dev/null
+++ b/mbedtls3/TODO
@@ -0,0 +1 @@
+mbedtls3 with MBEDTLS_SSL_DTLS_SRTP - needed by mistserver
diff --git a/mbedtls3/buildlink3.mk b/mbedtls3/buildlink3.mk
new file mode 100644
index 0000000000..b5ae36af54
--- /dev/null
+++ b/mbedtls3/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.5 2025/04/24 17:14:50 hauke Exp $
+
+BUILDLINK_TREE+= mbedtls3
+
+.if !defined(MBEDTLS3_BUILDLINK3_MK)
+MBEDTLS3_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.mbedtls3+= mbedtls3>=3.4.0
+BUILDLINK_ABI_DEPENDS.mbedtls3?= mbedtls3>=3.4.0nb1
+BUILDLINK_PKGSRCDIR.mbedtls3?= ../../security/mbedtls3
+
+.endif # MBEDTLS3_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -mbedtls3
diff --git a/mbedtls3/distinfo b/mbedtls3/distinfo
new file mode 100644
index 0000000000..0f71b1b3ae
--- /dev/null
+++ b/mbedtls3/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.4 2025/04/24 17:14:50 hauke Exp $
+
+BLAKE2s (mbedtls-3.6.3.tar.bz2) = 3832be62732ff5bc620812706e01a9913dd137920e0dada64201a32b972ca356
+SHA512 (mbedtls-3.6.3.tar.bz2) = 2bde64f2581347ac01d3d0c50dc8fc7ff09ceb11d44ba24e54f137a05316a326c97c792286a4d81b6335c10b1fa4c21962a6b75f8bb7c29ca514e7fc545da7da
+Size (mbedtls-3.6.3.tar.bz2) = 5138248 bytes
+SHA1 (patch-include_mbedtls_mbedtls__config.h) = e887770cca9f97bde359415342f65ab8536645f3
diff --git a/mbedtls3/patches/patch-include_mbedtls_mbedtls__config.h b/mbedtls3/patches/patch-include_mbedtls_mbedtls__config.h
new file mode 100644
index 0000000000..65879c653b
--- /dev/null
+++ b/mbedtls3/patches/patch-include_mbedtls_mbedtls__config.h
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Enable DTLS-SRTP
+
+--- include/mbedtls/mbedtls_config.h.orig 2026-07-15 03:06:08.057675484 +0000
++++ include/mbedtls/mbedtls_config.h
+@@ -2024,7 +2024,7 @@
+ *
+ * Uncomment this to enable support for use_srtp extension.
+ */
+-//#define MBEDTLS_SSL_DTLS_SRTP
++#define MBEDTLS_SSL_DTLS_SRTP
+
+ /**
+ * \def MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE
diff --git a/mistserver/DESCR b/mistserver/DESCR
index e69de29bb2..49b1b65ff4 100644
--- a/mistserver/DESCR
+++ b/mistserver/DESCR
@@ -0,0 +1,3 @@
+MistServer is an open source, public domain, full-featured,
+next-generation streaming media toolkit for OTT (internet streaming),
+designed to be ideal for developers and system integrators.
diff --git a/mistserver/Makefile b/mistserver/Makefile
index 3c070a9d3b..7248311a5b 100644
--- a/mistserver/Makefile
+++ b/mistserver/Makefile
@@ -1,16 +1,29 @@
# $NetBSD$
-DISTNAME= mistserver-2.18.1
+DISTNAME= mistserver-3.10
CATEGORIES= multimedia www
MASTER_SITES= ${MASTER_SITE_GITHUB:=DDVTECH/}
MAINTAINER= root%zta.lk@localhost
HOMEPAGE= https://github.com/DDVTECH/mistserver/
COMMENT= Streaming media toolkit for OTT
-LICENSE= gnu-gplv3
+LICENSE= unlicense
+
+.include "../../devel/meson/build.mk"
+
+# MESON_ARGS+= -DNORIST=true
USE_LANGUAGES= c c++
-USE_CMAKE= yes
+USE_TOOLS= pkg-config
+
+CFLAGS.NetBSD+= -D_NETBSD_SOURCE
-.include "../../security/mbedtls/buildlink3.mk"
+.include "../../archivers/lz4/buildlink3.mk"
+.include "../../comms/srtp/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../textproc/cJSON/buildlink3.mk"
+.include "../../wip/librist/buildlink3.mk"
+.include "../../wip/mbedtls3/buildlink3.mk"
+.include "../../wip/srt/buildlink3.mk"
+.include "../../wip/usrsctp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/mistserver/PLIST b/mistserver/PLIST
index 07476c106e..e89a39501b 100644
--- a/mistserver/PLIST
+++ b/mistserver/PLIST
@@ -1,42 +1,91 @@
@comment $NetBSD$
+bin/MistAnalyserAV1
bin/MistAnalyserDTSC
bin/MistAnalyserEBML
+bin/MistAnalyserFLAC
bin/MistAnalyserFLV
+bin/MistAnalyserH264
+bin/MistAnalyserHLS
bin/MistAnalyserMP4
bin/MistAnalyserOGG
+bin/MistAnalyserRIFF
bin/MistAnalyserRTMP
+bin/MistAnalyserRTSP
+bin/MistAnalyserTS
bin/MistController
+bin/MistInAAC
+bin/MistInBalancer
bin/MistInBuffer
bin/MistInDTSC
bin/MistInEBML
+bin/MistInFLAC
bin/MistInFLV
+bin/MistInFolder
bin/MistInH264
+bin/MistInHLS
+bin/MistInISMV
bin/MistInMP3
bin/MistInMP4
bin/MistInOGG
+bin/MistInPlaylist
+bin/MistInRTSP
+bin/MistInSDP
+bin/MistInSubRip
+bin/MistInTS
+bin/MistInTSRIST
+bin/MistInTSSRT
+bin/MistOutAAC
+bin/MistOutCMAF
+bin/MistOutDTSC
bin/MistOutEBML
+bin/MistOutFLAC
bin/MistOutFLV
+bin/MistOutH264
bin/MistOutHDS
bin/MistOutHLS
-bin/MistOutHSS
bin/MistOutHTTP
+bin/MistOutHTTPMinimalServer
bin/MistOutHTTPS
bin/MistOutHTTPTS
+bin/MistOutJPG
bin/MistOutJSON
+bin/MistOutJSONLine
bin/MistOutMP3
bin/MistOutMP4
bin/MistOutOGG
bin/MistOutRTMP
-bin/MistOutSRT
+bin/MistOutRTSP
+bin/MistOutSDP
+bin/MistOutSubRip
bin/MistOutTS
+bin/MistOutTSRIST
+bin/MistOutTSSRT
+bin/MistOutWAV
+bin/MistOutWebRTC
+bin/MistProcComposer
+bin/MistProcFFMPEG
+bin/MistProcLivepeer
+bin/MistProcMKVExec
+bin/MistSession
+bin/MistTranslateH264
bin/MistUtilAMF
bin/MistUtilCertbot
+bin/MistUtilHealth
+bin/MistUtilLog
+bin/MistUtilMETA
+bin/MistUtilNuke
bin/MistUtilRAX
+bin/MistUtilWriter
+include/mist/adts.h
include/mist/amf.h
include/mist/auth.h
+include/mist/av1.h
include/mist/bitfields.h
include/mist/bitstream.h
+include/mist/certificate.h
include/mist/checksum.h
+include/mist/cmaf.h
+include/mist/comms.h
include/mist/config.h
include/mist/defines.h
include/mist/downloader.h
@@ -44,31 +93,51 @@ include/mist/dtsc.h
include/mist/ebml.h
include/mist/ebml_socketglue.h
include/mist/encode.h
+include/mist/encryption.h
+include/mist/ev.h
+include/mist/flac.h
include/mist/flv_tag.h
include/mist/h264.h
+include/mist/h265.h
+include/mist/hls_support.h
include/mist/http_parser.h
include/mist/json.h
+include/mist/jwt.h
include/mist/langcodes.h
include/mist/mp4.h
include/mist/mp4_adobe.h
+include/mist/mp4_dash.h
+include/mist/mp4_encryption.h
include/mist/mp4_generic.h
include/mist/mp4_ms.h
+include/mist/mp4_stream.h
+include/mist/mpeg.h
include/mist/nal.h
include/mist/ogg.h
include/mist/opus.h
+include/mist/pixels.h
include/mist/procs.h
include/mist/riff.h
include/mist/rtmpchunks.h
+include/mist/rtp.h
+include/mist/rtp_fec.h
+include/mist/sdp.h
+include/mist/sdp_media.h
+include/mist/segmentreader.h
include/mist/shared_memory.h
include/mist/socket.h
+include/mist/socket_srt.h
include/mist/stream.h
+include/mist/stun.h
include/mist/theora.h
include/mist/timing.h
-include/mist/tinythread.h
+include/mist/triggers.h
include/mist/ts_packet.h
+include/mist/ts_stream.h
include/mist/urireader.h
include/mist/url.h
include/mist/util.h
include/mist/vorbis.h
include/mist/websocket.h
-lib/libmist.a
+lib/libmist.so
+lib/libmist_srt.so
diff --git a/mistserver/TODO b/mistserver/TODO
new file mode 100644
index 0000000000..4384ba968c
--- /dev/null
+++ b/mistserver/TODO
@@ -0,0 +1,4 @@
+Not tested
+Needs mbedtls3 with MBEDTLS_SSL_DTLS_SRTP
+Add user
+Add rc.d script
diff --git a/mistserver/distinfo b/mistserver/distinfo
index 67be4f5835..8bbe4cea28 100644
--- a/mistserver/distinfo
+++ b/mistserver/distinfo
@@ -1,5 +1,10 @@
$NetBSD$
-RMD160 (mistserver-2.18.1.tar.gz) = ef038e7afc611ba67fea9fc1c6c02d7422bb1d2a
-SHA512 (mistserver-2.18.1.tar.gz) = 671574687ecabf9b8134f2eef033b66fd13cc4463e2edcf34fe69ff9221b30ddb7ce6a6db3d82708c21fad0910bd0225c483060d36058e0ba778eadd5b8c6e82
-Size (mistserver-2.18.1.tar.gz) = 8506200 bytes
+BLAKE2s (mistserver-3.10.tar.gz) = 6dcb7b0b5de28ff8de7e98c922967c19e001a80bd8b987af479a44396e83e8ed
+SHA512 (mistserver-3.10.tar.gz) = 836b7e9903333cb6d333fb2d0f48a727a3cd233e50103e933d1a76385f2fc6fea3b6d7f573bb7b58dab7b7f98194a56e17bb461a05f1d95fc7b6e250231c7950
+Size (mistserver-3.10.tar.gz) = 5381968 bytes
+SHA1 (patch-lib_defines.h) = b33dba125fd161629010978c95633a19b215b69e
+SHA1 (patch-lib_procs.cpp) = 4dc0e0d3fd7e6050015aa8fc1069278a57e951b9
+SHA1 (patch-lib_socket.cpp) = 51e4468c1f74146575a99c758571f515c6468444
+SHA1 (patch-lib_socket__srt.cpp) = 0252d091650f0cd9d6a77cf6f6e155de2f32cf43
+SHA1 (patch-meson.build) = 5c5c827d9e505d709d6d039af8a0b1a25ca67b17
diff --git a/mistserver/patches/patch-lib_defines.h b/mistserver/patches/patch-lib_defines.h
new file mode 100644
index 0000000000..cab45b7643
--- /dev/null
+++ b/mistserver/patches/patch-lib_defines.h
@@ -0,0 +1,15 @@
+$NetBSD$
+
+NetBSD support
+
+--- lib/defines.h.orig 2026-07-14 14:33:43.417815112 +0000
++++ lib/defines.h
+@@ -46,7 +46,7 @@ static const char *DBG_LVL_LIST[] ={"NON
+ #endif
+
+ // Find program name best we can
+-#if defined(__APPLE__) || defined(__MACH__)
++#if defined(__APPLE__) || defined(__MACH__) || defined(__NetBSD__)
+ #include <stdlib.h>
+ #define MIST_PROG getprogname()
+ #else
diff --git a/mistserver/patches/patch-lib_procs.cpp b/mistserver/patches/patch-lib_procs.cpp
new file mode 100644
index 0000000000..7a5a488bbd
--- /dev/null
+++ b/mistserver/patches/patch-lib_procs.cpp
@@ -0,0 +1,15 @@
+$NetBSD$
+
+NetBSD support
+
+--- lib/procs.cpp.orig 2026-07-14 14:37:40.774027704 +0000
++++ lib/procs.cpp
+@@ -30,7 +30,7 @@
+ #include <stdlib.h>
+ #include <sys/types.h>
+
+-#if defined(__APPLE__) || defined(__MACH__)
++#if defined(__APPLE__) || defined(__MACH__) || defined(__NetBSD__)
+ extern char **environ;
+ #endif
+
diff --git a/mistserver/patches/patch-lib_socket.cpp b/mistserver/patches/patch-lib_socket.cpp
new file mode 100644
index 0000000000..ce4286b0d2
--- /dev/null
+++ b/mistserver/patches/patch-lib_socket.cpp
@@ -0,0 +1,57 @@
+$NetBSD$
+
+Portability
+
+--- lib/socket.cpp.orig 2026-01-29 16:39:02.000000000 +0000
++++ lib/socket.cpp
+@@ -455,7 +455,13 @@ std::string Socket::getBinForms(std::str
+ memset(&hints, 0, sizeof(struct addrinfo));
+ hints.ai_family = AF_UNSPEC;
+ hints.ai_socktype = SOCK_STREAM;
+- hints.ai_flags = AI_ADDRCONFIG | AI_V4MAPPED | AI_ALL;
++ hints.ai_flags = AI_ADDRCONFIG;
++#ifdef AI_V4MAPPED
++ hints.ai_flags |= AI_V4MAPPED;
++#endif
++#ifdef AI_ALL
++ hints.ai_flags |= AI_ALL;
++#endif
+ hints.ai_protocol = 0;
+ hints.ai_canonname = NULL;
+ hints.ai_addr = NULL;
+@@ -487,7 +493,11 @@ std::deque<Socket::Address> Socket::getA
+ hints.ai_family = family==AF_UNSPEC?AF_INET6:family;
+ hints.ai_socktype = SOCK_DGRAM;
+ hints.ai_flags = AI_ADDRCONFIG | AI_PASSIVE;
++#ifdef AI_V4MAPPED
++#ifdef AI_ALL
+ if (v4MappedResults) { hints.ai_flags |= AI_V4MAPPED | AI_ALL; }
++#endif
++#endif
+ hints.ai_protocol = IPPROTO_UDP;
+ int s = getaddrinfo(addr.c_str(), ss.str().c_str(), &hints, &result);
+ if (!s){
+@@ -1768,7 +1778,10 @@ void Socket::Connection::setHost(std::st
+ memset(&hints, 0, sizeof(struct addrinfo));
+ hints.ai_family = AF_UNSPEC;
+ hints.ai_socktype = SOCK_STREAM;
+- hints.ai_flags = AI_ADDRCONFIG | AI_V4MAPPED;
++ hints.ai_flags = AI_ADDRCONFIG;
++#ifdef AI_V4MAPPED
++ hints.ai_flags |= AI_V4MAPPED;
++#endif
+ hints.ai_protocol = 0;
+ hints.ai_canonname = NULL;
+ hints.ai_addr = NULL;
+@@ -2913,7 +2926,10 @@ uint16_t Socket::UDPConnection::bind(int
+ bool repeatWithIPv4 = false;
+ struct addrinfo hints, *addr_result, *rp;
+ memset(&hints, 0, sizeof(hints));
+- hints.ai_flags = AI_ADDRCONFIG | AI_PASSIVE | AI_V4MAPPED;
++ hints.ai_flags = AI_ADDRCONFIG | AI_PASSIVE;
++#ifdef AI_V4MAPPED
++ hints.ai_flags |= AI_V4MAPPED;
++#endif
+ if (destAddr.size()){
+ hints.ai_family = destAddr.family();
+ }else{
diff --git a/mistserver/patches/patch-lib_socket__srt.cpp b/mistserver/patches/patch-lib_socket__srt.cpp
new file mode 100644
index 0000000000..ebcb32f264
--- /dev/null
+++ b/mistserver/patches/patch-lib_socket__srt.cpp
@@ -0,0 +1,18 @@
+$NetBSD$
+
+Portability
+
+--- lib/socket_srt.cpp.orig 2026-07-15 08:18:23.213246931 +0000
++++ lib/socket_srt.cpp
+@@ -67,7 +67,10 @@ namespace Socket{
+ memset(&hints, 0, sizeof(struct addrinfo));
+ hints.ai_family = AF_INET6;
+ hints.ai_socktype = SOCK_DGRAM;
+- hints.ai_flags = AI_ADDRCONFIG | AI_ALL;
++ hints.ai_flags = AI_ADDRCONFIG;
++#ifdef AI_ALL
++ hints.ai_flags |= AI_ALL;
++#endif
+ hints.ai_protocol = IPPROTO_UDP;
+ hints.ai_canonname = NULL;
+ hints.ai_addr = NULL;
diff --git a/mistserver/patches/patch-meson.build b/mistserver/patches/patch-meson.build
new file mode 100644
index 0000000000..f120c2d720
--- /dev/null
+++ b/mistserver/patches/patch-meson.build
@@ -0,0 +1,14 @@
+$NetBSD$
+
+Add libexecinfo to linker
+
+--- meson.build.orig 2026-07-15 02:32:00.001123045 +0000
++++ meson.build
+@@ -131,6 +131,7 @@ endif
+
+ if ccpp.has_header('execinfo.h')
+ option_defines += '-DHASEXECINFO'
++ mist_deps += ccpp.find_library('execinfo', required : true)
+ endif
+
+ if ccpp.has_header('sys/wait.h')
Home |
Main Index |
Thread Index |
Old Index