depends: tor_mingw32: update to 0.4.8.19
authortobtoht <tob@featherwallet.org>
Sat, 1 Nov 2025 16:16:23 +0000 (17:16 +0100)
committertobtoht <tob@featherwallet.org>
Sat, 1 Nov 2025 16:16:23 +0000 (17:16 +0100)
contrib/depends/packages/packages.mk
contrib/depends/packages/tor_mingw32.mk

index 7d8651f0a3529f00ec68cea3a2f81ddb8f038847..95cd7fd73b92b72a02ab5820591d0c7db1a14815 100644 (file)
@@ -18,4 +18,4 @@ qt_mingw32_packages := qt
 
 tor_linux_packages := libevent tor_linux
 tor_darwin_packages := tor_darwin
-tor_mingw32_packages := libevent tor_mingw32
+tor_mingw32_packages := tor_mingw32
index db7be54aeb4f7502e4c9194e3434974e24682b22..6aa1fe207a57cffeccf1b92e19086a6d4cb49549 100644 (file)
@@ -1,40 +1,10 @@
 package=tor_mingw32
-$(package)_version=0.4.8.16
-$(package)_download_path=https://dist.torproject.org/
-$(package)_file_name=tor-$($(package)_version).tar.gz
-$(package)_sha256_hash=6540dd377a120fb8e7d27530aa3b7ff72a0fa5b4f670fe1d64c987c1cfd390cb
-$(package)_dependencies=libevent openssl zlib
-
-define $(package)_set_vars
-    $(package)_config_opts=--disable-asciidoc --disable-manpage --disable-html-manual --disable-system-torrc
-    $(package)_config_opts+=--disable-module-relay --disable-lzma --disable-zstd
-    $(package)_config_opts+=--with-libevent-dir=$(host_prefix) --with-openssl-dir=$(host_prefix)
-    $(package)_config_opts+=--with-zlib-dir=$(host_prefix) --disable-tool-name-check --enable-fatal-warnings
-    $(package)_config_opts+=--prefix=$(host_prefix)
-    $(package)_config_opts_x86_64+=--enable-static-tor
-    $(package)_cflags+=-O1
-    $(package)_cxxflags+=-O1
-    $(package)_ldflags+=$(guix_ldflags)
-endef
-
-define $(package)_preprocess_cmds
-    rm -rf doc/man
-endef
-
-define $(package)_config_cmds
-    $($(package)_autoconf) $($(package)_config_opts)
-endef
-
-define $(package)_build_cmds
-    $(MAKE)
-endef
+$(package)_version=0.4.8.19
+$(package)_download_path=https://archive.torproject.org/tor-package-archive/torbrowser/15.0/
+$(package)_file_name=tor-expert-bundle-windows-x86_64-15.0.tar.gz
+$(package)_sha256_hash=3cf5c94d0538da8c992476063cea0ed0a5afb534c0b69580f6d72a78a2a2d51c
 
 define $(package)_stage_cmds
-    $(MAKE) DESTDIR=$($(package)_staging_dir) install
-endef
-
-define $(package)_postprocess_cmds
-    $(host_toolchain)strip -s -D bin/tor.exe && \
-    mkdir $($(package)_staging_prefix_dir)/Tor/ && \
-    cp bin/tor.exe $($(package)_staging_prefix_dir)/Tor
+    mkdir -p $($(package)_staging_prefix_dir)/Tor/ && \
+    cp tor.exe $($(package)_staging_prefix_dir)/Tor/
 endef