depends: tor_mingw32: update to 0.4.8.19

This commit is contained in:
tobtoht
2025-11-01 17:16:23 +01:00
parent 10a6b77c06
commit 22a77631bd
2 changed files with 7 additions and 37 deletions
+1 -1
View 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
+6 -36
View 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