tor: update to 0.4.4.5.

This commit is contained in:
Piraty 2020-09-22 13:05:06 +02:00
parent 5420ea2cdd
commit d9e33c6b9c
No known key found for this signature in database
GPG key ID: 82F2CC796BD07077
2 changed files with 14 additions and 14 deletions

View file

@ -16,20 +16,20 @@
+ +
#endif /* defined(__i386__) || ... */ #endif /* defined(__i386__) || ... */
/**Determines if at least one sandbox is active.*/ #ifdef M_SYSCALL
@@ -1613,7 +1623,15 @@ sigsys_debugging(int nr, siginfo_t *info, void *void_context) @@ -1654,7 +1664,15 @@
if (!ctx) static int
return; get_syscall_from_ucontext(const ucontext_t *ctx)
{
+#if defined(__powerpc__) && !defined(__powerpc64__) +#if defined(__powerpc__) && !defined(__powerpc64__)
+#if defined(__GLIBC__) +#if defined(__GLIBC__)
+ syscall = (int) ctx->uc_mcontext.uc_regs->M_SYSCALL; + return (int) ctx->uc_mcontext.uc_regs->M_SYSCALL;
+#else +#else
+ syscall = (int) ctx->uc_regs->M_SYSCALL; + return (int) ctx->uc_regs->M_SYSCALL;
+#endif +#endif
+#else +#else
syscall = (int) ctx->uc_mcontext.M_SYSCALL; return (int) ctx->uc_mcontext.M_SYSCALL;
+#endif +#endif
}
#ifdef USE_BACKTRACE #else
depth = backtrace(syscall_cb_buf, MAX_DEPTH); static const char *

View file

@ -1,7 +1,7 @@
# Template file for 'tor' # Template file for 'tor'
pkgname=tor pkgname=tor
version=0.4.3.6 version=0.4.4.5
revision=3 revision=1
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-zstd" configure_args="--enable-zstd"
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
@ -14,7 +14,7 @@ license="BSD-3-Clause"
homepage="https://www.torproject.org/" homepage="https://www.torproject.org/"
changelog="https://gitweb.torproject.org/tor.git/plain/ReleaseNotes" changelog="https://gitweb.torproject.org/tor.git/plain/ReleaseNotes"
distfiles="https://dist.torproject.org/tor-${version}.tar.gz" distfiles="https://dist.torproject.org/tor-${version}.tar.gz"
checksum=6a2d0637d4e514be2ec574723a05065245cce51da78a21cec1dc831be5ccac62 checksum=a45ca00afe765e3baa839767c9dd6ac9a46dd01720a3a8ff4d86558c12359926
conf_files="/etc/tor/torrc" conf_files="/etc/tor/torrc"
system_accounts="tor" system_accounts="tor"