Skip to content
Snippets Groups Projects
Commit 5c3a4c57 authored by Leo's avatar Leo
Browse files

community/tor: upgrade to 0.4.2.5

parent 1623c5fc
No related merge requests found
# Contributor: Christine Dodrill <me@christine.website> # Contributor: Christine Dodrill <me@christine.website>
# Maintainer: Christine Dodrill <me@christine.website> # Maintainer: Christine Dodrill <me@christine.website>
pkgname=tor pkgname=tor
pkgver=0.4.1.7 pkgver=0.4.2.5
pkgrel=0 pkgrel=0
pkgdesc="Anonymous network connectivity" pkgdesc="Anonymous network connectivity"
url="https://www.torproject.org/" url="https://www.torproject.org/"
...@@ -12,11 +12,10 @@ makedepends="linux-headers bash libevent-dev openssl-dev ca-certificates ...@@ -12,11 +12,10 @@ makedepends="linux-headers bash libevent-dev openssl-dev ca-certificates
zlib-dev" zlib-dev"
install="$pkgname.post-upgrade $pkgname.pre-install" install="$pkgname.post-upgrade $pkgname.pre-install"
subpackages="$pkgname-doc $pkgname-openrc" subpackages="$pkgname-doc $pkgname-openrc"
source="https://www.torproject.org/dist/$pkgname-$pkgver.tar.gz source="https://www.torproject.org/dist/tor-$pkgver.tar.gz
tor.initd tor.initd
tor.confd tor.confd
torrc.sample.patch" torrc.sample.patch"
builddir="$srcdir/$pkgname-$pkgver"
# secfixes: # secfixes:
# 0.4.0.5-r0: # 0.4.0.5-r0:
...@@ -30,8 +29,6 @@ builddir="$srcdir/$pkgname-$pkgver" ...@@ -30,8 +29,6 @@ builddir="$srcdir/$pkgname-$pkgver"
# - CVE-2018-0491 # - CVE-2018-0491
build() { build() {
cd "$builddir"
./configure \ ./configure \
--build=$CBUILD \ --build=$CBUILD \
--host=$CHOST \ --host=$CHOST \
...@@ -39,20 +36,15 @@ build() { ...@@ -39,20 +36,15 @@ build() {
--sysconfdir=/etc \ --sysconfdir=/etc \
--mandir=/usr/share/man \ --mandir=/usr/share/man \
--infodir=/usr/share/info \ --infodir=/usr/share/info \
--localstatedir=/var \ --localstatedir=/var
--enable-transparent
make make
} }
check() { check() {
cd "$builddir"
make test make test
} }
package() { package() {
cd "$builddir"
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
install -dm755 -o $pkgusers \ install -dm755 -o $pkgusers \
...@@ -65,7 +57,7 @@ package() { ...@@ -65,7 +57,7 @@ package() {
"$pkgdir"/etc/conf.d/$pkgname "$pkgdir"/etc/conf.d/$pkgname
} }
sha512sums="f6ead1412d23516a16f31e1157b4538071752ae09a421d9dceaa7cf76599c01490f9bfcb8e26f1a75e888359adf6adcd029ca64cf48e3b45b07e2d62482c9541 tor-0.4.1.7.tar.gz sha512sums="e63157713caa3590324f652f17c5c5634bab015dcde5c7832eb725351c3a91c1051dd8a95650502703e9c3dd5daefc2867ff3d20530dfec17310bb3dd4bb5b7d tor-0.4.2.5.tar.gz
6de4ada16ba58264a247da70343eabd763e992d6b6683977fc1c67b7b4a9731748a7ec9751e869ad4b4ae9c72cf71b2e12dc289bb6e2aee499917f7663f4a735 tor.initd 6de4ada16ba58264a247da70343eabd763e992d6b6683977fc1c67b7b4a9731748a7ec9751e869ad4b4ae9c72cf71b2e12dc289bb6e2aee499917f7663f4a735 tor.initd
2b0de119bfdf9eb57e13317b7392190b1b8272c8f96023c71d3fc29215d887e9a3d0ffcef37cdb50b18d34e4b2251f75a739e258e0bb72aabd3339418b22fd67 tor.confd 2b0de119bfdf9eb57e13317b7392190b1b8272c8f96023c71d3fc29215d887e9a3d0ffcef37cdb50b18d34e4b2251f75a739e258e0bb72aabd3339418b22fd67 tor.confd
da386ff7e387312e647f04d360517a1f4cb1efbee36f4a3a6feb89a979bb12fa350fe6dfed49af0cb076ae30bb0c527b5d54127683eaa5aa45d6940dddd89dfb torrc.sample.patch" da386ff7e387312e647f04d360517a1f4cb1efbee36f4a3a6feb89a979bb12fa350fe6dfed49af0cb076ae30bb0c527b5d54127683eaa5aa45d6940dddd89dfb torrc.sample.patch"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment