rebuild tor and upg tor-alpha

This commit is contained in:
joborun linux 2022-03-28 01:05:02 +03:00
parent 4eb2ea6b53
commit 70d42ddf23
6 changed files with 424 additions and 18 deletions

View file

@ -5,9 +5,9 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=tor-alpha
pkgver=0.4.7.4.alpha.r1.g331b2aa
pkgver=0.4.7.5.alpha.r1.g84fc754
pkgrel=01
pkgdesc="An anonymizing overlay network (development version)"
pkgdesc="An anonymizing overlay network (development version) no-zstd no-systemd"
arch=('x86_64')
url="https://www.torproject.org"
conflicts=('tor' 'tor-git')
@ -28,8 +28,9 @@ optdepends=('torsocks: allow transparent SOCKS proxying'
[[ $_malloc = 'jemalloc' ]] && depends+=('jemalloc')
[[ $_malloc = 'tcmalloc' ]] && depends+=('gperftools')
# https://gitweb.torproject.org/tor.git/tag/?h=tor-0.4.7.3-alpha
# https://gitweb.torproject.org/tor.git/tag/
source=("git+https://git.torproject.org/tor.git#branch=${_branch:-main}"
#source=("git+https://git.torproject.org/tor.git#commit=^d376585751d535a4ad2ab0424acd6b29168cca86 # refs/tags/^tor-0.4.7.5-alpha
{nodes,bridge,transparent_proxy,isolation}.conf
'torrc' 'tor.logrotate' 'tor.tmpfiles' 'tor.sysusers')
@ -52,6 +53,7 @@ build() {
--disable-html-manual \
--disable-systemd \
--disable-zstd \
--disable-zstd-advanced-apis \
--enable-lzma \
--enable-xz \
--enable-pic \
@ -93,7 +95,7 @@ package() {
license=('BSD')
sha256sums=(SKIP
60c77f74f795739cd44899add8916f842fed1d692f2789f1a11e8241ee6ed950 # nodes.conf
72ed5d90c54d9d5354af0d9fc7eb1412c548cc308868b85a99278abe8ccbf145 # nodes.conf
eab04421822cce29a3c5065b707b0033fdab6dedd140a49ea902daf36bb767e0 # bridge.conf
b6d5027754831bb4230c748affa245e5e7ee4f801214bca19ea6418cb84fd417 # transparent_proxy.conf
9156f0d768119e7c8390be625cc591af90304198ad5dc5b0b4a036e7cc92fa07 # isolation.conf

101
tor-alpha/PKGBUILD-aur Normal file
View file

@ -0,0 +1,101 @@
# Contributor: skydrome <skydrome@protonmail.com>
# Maintainer: skydrome <skydrome@protonmail.com>
# 0.4.5 is last release to access onion v2 services
#_branch=maint-0.4.6 # stable
#_malloc=jemalloc # tcmalloc
pkgname=tor-git
pkgver=0.4.7.5.alpha.r1.g84fc754
pkgrel=1
pkgdesc="An anonymizing overlay network (development version)"
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
url="https://www.torproject.org"
license=('BSD')
conflicts=('tor')
provides=('tor')
backup=('etc/tor/torrc'
'etc/tor/torrc.d/nodes.conf'
'etc/tor/torrc.d/bridge.conf'
'etc/tor/torrc.d/isolation.conf'
'etc/tor/torrc.d/transparent_proxy.conf')
depends=('openssl' 'libevent' 'libseccomp' 'zstd' 'xz')
makedepends=('asciidoc')
checkdepends=('python')
optdepends=('torsocks: allow transparent SOCKS proxying'
'obfs4proxy: obfuscating pluggable transport proxy'
'meek: obfuscating pluggable transport proxy')
[[ $_malloc = 'jemalloc' ]] && depends+=('jemalloc')
[[ $_malloc = 'tcmalloc' ]] && depends+=('gperftools')
source=("git+https://git.torproject.org/tor.git#branch=${_branch:-main}"
{nodes,bridge,transparent_proxy,isolation}.conf
'torrc' 'tor.logrotate' 'tor.service' 'tor.tmpfiles' 'tor.sysusers')
sha256sums=('SKIP'
'72ed5d90c54d9d5354af0d9fc7eb1412c548cc308868b85a99278abe8ccbf145'
'90a588c3c2dc7826172341453f76739e8f48df7b0c858adebd12e97f047bde26'
'7fbb63e9411eee2176964449a3d6809d16e1120152c6ff201ecea1d1f97f102b'
'748b7264b49b12d5252d688b8859820046413938c5fde91578da0d5b95594c2e'
'1f32a363443437a08d133494732008b98a9dc520173a97d53ce832edfb923f7b'
'd447227fcc2756778a1be143b8975d67b25ea15688cde2291185b3c71d0f6e34'
'488525b2051cf0f216ac14c3ab1bc8531d308cedf92e64d147f7f11b6c58cf41'
'06c00318d84ead3f939b267c7ae9e4cc1cd90c534d0b57ddd2595fee9065ee7f'
'231405d1fbbcc68168248f93edd19ae14b60f66bb4d1c8e46ead1d4cd8e0ae7c')
pkgver () {
cd tor
git describe --long --tags --abbrev=7 "origin/${_branch:-main}" \
|sed -e 's/tor.//g;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd tor
./autogen.sh
}
build() {
cd tor
./configure \
--prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-html-manual \
--enable-systemd \
--enable-zstd \
--enable-lzma \
--enable-pic \
--with-malloc="${_malloc:-system}" #\
#--disable-module-relay \
#--disable-unittests
make
}
check() {
cd tor
make check ||true
}
package() {
cd tor
make DESTDIR="$pkgdir" install
rm -f "$pkgdir/etc/tor/tor-tsocks.conf"
rm -f "$pkgdir/usr/bin/torify"
install -dm755 "$pkgdir/etc/tor"
install -dm750 "$pkgdir/etc/tor/torrc.d"
install -Dm640 "$srcdir/torrc" "$pkgdir/etc/tor/torrc"
install -Dm640 "$srcdir/nodes.conf" "$pkgdir/etc/tor/torrc.d/nodes.conf"
install -Dm640 "$srcdir/bridge.conf" "$pkgdir/etc/tor/torrc.d/bridge.conf"
install -Dm640 "$srcdir/isolation.conf" "$pkgdir/etc/tor/torrc.d/isolation.conf"
install -Dm640 "$srcdir/transparent_proxy.conf" "$pkgdir/etc/tor/torrc.d/transparent_proxy.conf"
install -Dm644 "$srcdir/tor.logrotate" "$pkgdir/etc/logrotate.d/tor"
install -Dm644 "$srcdir/tor.service" "$pkgdir/usr/lib/systemd/system/tor.service"
install -Dm644 "$srcdir/tor.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/tor.conf"
install -Dm644 "$srcdir/tor.sysusers" "$pkgdir/usr/lib/sysusers.d/tor.conf"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/tor-git/LICENSE"
}

View file

@ -9,7 +9,26 @@ StrictNodes 1
## BAD NODES - http://xqz3u5drneuzhaeo.onion/users/badtornodes
## The following list provides information about relays that have been checked
## for injecting content over HTTP-connections.
ExcludeNodes , d5e2ca4b22809379b36028da5b7cb453671e5b6, eb6c2094c4ac42d3fbd1cba25fc3b4196e2ff83, , c8bb2a38d99283c4acefb1ad4f52a23413787d6, c18ee0cb68a259ba6ce0001f2f7b8180a875a6d, bbde163dc80f5f5e666698ab4b97900dcff929, , d84518804ab4b032531b2647603fe1c5e569c26, d9a667f3d44f2a3296800bdd310c3747dc8f465, cc33499fd55920a804c66bbaa05669d43117, c064e59aaafeadd2ace80d705183c4f2758a, f04a0861b913bfcac1eabac74a1f47bdf41f3a, f9803d6ade967718912622ac876feef1088cfaa, a60f89789d44a16a88596598fbc8f5e177b, zshd4f72f90e50b6f5967c4c7267354b22fa48ea86, , , fa9d6e9a27024f6e733a6196d33cc8425d1c9, , ea281de61d5b289f580af52dde9a42cdae36, c7c819f808ac125c69e1d981f350dcba44da8b5, bdc6486420efd442c985d8d3c074988bfe544b, be706e24143ab6b3b86dbf7cd4fde1e0c4caf1, bd078eec737137585eccb5bcea6424b, ff73b8fbfbf2ccb52a8e46a515418f97a69c812, cbe5df362142d06de73b102e054442cfe627c9, , be6d0789a234bc4c1866b809d8062d22ee38cf, e6ee731a0dec6c65bb4bfb8dd2be461b6e58144, cb53ff756483b738e7b0b39ada3453b5259a1f3, b6576a668f861f9f41fdf8da7795c8bb86d5, , , , caa0aff0a8236fa7f83f392c11b76cf7eeaac60, be14cb5c22a236163c3e97409d6fd607356, b777f2c879c76fc529d1ec63508aad0e1759e79, c4c4e1741ca61ad4f09cc9eae8abe1fd92f08b
ExcludeNodes $bbefffa108ad16b8e5f0323cf086811c17190bba, $2d5e2ca4b22809379b36028da5b7cb453671e5b6, \
$5eb6c2094c4ac42d3fbd1cba25fc3b4196e2ff83, $c813d142c092ac01f2f20970dba7086b8a7e52a3, \
$9c8bb2a38d99283c4acefb1ad4f52a23413787d6, $7c18ee0cb68a259ba6ce0001f2f7b8180a875a6d, \
$47bbde163dc80f5f5e666698ab4b97900dcff929, $acbacb92581c078cc6e285075cfef467e9ccf76a, \
$5d84518804ab4b032531b2647603fe1c5e569c26, $2d9a667f3d44f2a3296800bdd310c3747dc8f465, \
$1824cc33499fd55920a804c66bbaa05669d43117, $4205c064e59aaafeadd2ace80d705183c4f2758a, \
$14f04a0861b913bfcac1eabac74a1f47bdf41f3a, $1f9803d6ade967718912622ac876feef1088cfaa, \
$90804a60f89789d44a16a88596598fbc8f5e177b, $0d4f72f90e50b6f5967c4c7267354b22fa48ea86, \
$eda829cba890bbb30fe5be04779d83044126ba67, $c0e236c6e9a6b29efe247dcbc8a1eaaac247770c, \
$192fa9d6e9a27024f6e733a6196d33cc8425d1c9, $fe0551589d19dcbeb193fe78a9a003a8a2fc09aa, \
$2539ea281de61d5b289f580af52dde9a42cdae36, $6c7c819f808ac125c69e1d981f350dcba44da8b5, \
$35bdc6486420efd442c985d8d3c074988bfe544b, $43be706e24143ab6b3b86dbf7cd4fde1e0c4caf1, \
$103827708bd078eec737137585eccb5bcea6424b, $8ff73b8fbfbf2ccb52a8e46a515418f97a69c812, \
$94cbe5df362142d06de73b102e054442cfe627c9, $f2244a8d5da14359cda1dab70f328e62e74e9837, \
$14be6d0789a234bc4c1866b809d8062d22ee38cf, $9e6ee731a0dec6c65bb4bfb8dd2be461b6e58144, \
$2cb53ff756483b738e7b0b39ada3453b5259a1f3, $0077b6576a668f861f9f41fdf8da7795c8bb86d5, \
$c9be2c39ca4e6f120293c80d2cbe2bc34f3a1f30, $bcc93397b50c1ac75c94452954a5bcda01f47215, \
$ee25656d71db9a82c8efd8c4a99ddbec89f24a67, $1caa0aff0a8236fa7f83f392c11b76cf7eeaac60, \
$28151be14cb5c22a236163c3e97409d6fd607356, $1b777f2c879c76fc529d1ec63508aad0e1759e79, \
$53c4c4e1741ca61ad4f09cc9eae8abe1fd92f08b
## A list of identity fingerprints and country codes of nodes to use for the
## first hop in your normal circuits.
@ -275,4 +294,3 @@ ExcludeNodes , d5e2ca4b22809379b36028da5b7cb453671e5b6, eb6c2094c4a
# YEMEN {ye}
# ZAMBIA {zm}
# ZIMBABWE {zw}

278
tor-alpha/nodes.conf-old Normal file
View file

@ -0,0 +1,278 @@
## If StrictNodes is set to 1, Tor will treat the ExcludeNodes option as a
## requirement to follow for all the circuits you generate, even if doing so
## will break functionality for you.
StrictNodes 1
## A list of identity fingerprints, country codes, and address patterns of nodes to never use when
## picking an exit node, that is, a node that delivers traffic for you outside the Tor network.
## Note that any node listed in ExcludeNodes is automatically considered to be part of this list too.
## BAD NODES - http://xqz3u5drneuzhaeo.onion/users/badtornodes
## The following list provides information about relays that have been checked
## for injecting content over HTTP-connections.
ExcludeNodes , d5e2ca4b22809379b36028da5b7cb453671e5b6, eb6c2094c4ac42d3fbd1cba25fc3b4196e2ff83, , c8bb2a38d99283c4acefb1ad4f52a23413787d6, c18ee0cb68a259ba6ce0001f2f7b8180a875a6d, bbde163dc80f5f5e666698ab4b97900dcff929, , d84518804ab4b032531b2647603fe1c5e569c26, d9a667f3d44f2a3296800bdd310c3747dc8f465, cc33499fd55920a804c66bbaa05669d43117, c064e59aaafeadd2ace80d705183c4f2758a, f04a0861b913bfcac1eabac74a1f47bdf41f3a, f9803d6ade967718912622ac876feef1088cfaa, a60f89789d44a16a88596598fbc8f5e177b, zshd4f72f90e50b6f5967c4c7267354b22fa48ea86, , , fa9d6e9a27024f6e733a6196d33cc8425d1c9, , ea281de61d5b289f580af52dde9a42cdae36, c7c819f808ac125c69e1d981f350dcba44da8b5, bdc6486420efd442c985d8d3c074988bfe544b, be706e24143ab6b3b86dbf7cd4fde1e0c4caf1, bd078eec737137585eccb5bcea6424b, ff73b8fbfbf2ccb52a8e46a515418f97a69c812, cbe5df362142d06de73b102e054442cfe627c9, , be6d0789a234bc4c1866b809d8062d22ee38cf, e6ee731a0dec6c65bb4bfb8dd2be461b6e58144, cb53ff756483b738e7b0b39ada3453b5259a1f3, b6576a668f861f9f41fdf8da7795c8bb86d5, , , , caa0aff0a8236fa7f83f392c11b76cf7eeaac60, be14cb5c22a236163c3e97409d6fd607356, b777f2c879c76fc529d1ec63508aad0e1759e79, c4c4e1741ca61ad4f09cc9eae8abe1fd92f08b
## A list of identity fingerprints and country codes of nodes to use for the
## first hop in your normal circuits.
## Normal circuits include all circuits except for direct connections to directory servers.
## The Bridge option overrides this option; if you have configured bridges and UseBridges
## is 1, the Bridges are used as your entry nodes.
#EntryNodes
## A list of identity fingerprints, country codes, and address patterns of nodes to
## use as exit node, that is a node that delivers traffic for you outside the Tor network.
#ExitNodes
## https://wikipedia.org/wiki/Five_Eyes
#ExcludeExitNodes {au}, {ca}, {gb}, {nz}, {us}
#NodeFamily {au}, {ca}, {gb}, {nz}, {us}
#PathsNeededToBuildCircuits 0.95
# Country Abbrev
# ASCENSION ISLAND {ac}
# AFGHANISTAN {af}
# ALAND {ax}
# ALBANIA {al}
# ALGERIA {dz}
# ANDORRA {ad}
# ANGOLA {ao}
# ANGUILLA {ai}
# ANTARCTICA {aq}
# ANTIGUA AND BARBUDA {ag}
# ARGENTINA REPUBLIC {ar}
# ARMENIA {am}
# ARUBA {aw}
# AUSTRALIA {au}
# AUSTRIA {at}
# AZERBAIJAN {az}
# BAHAMAS {bs}
# BAHRAIN {bh}
# BANGLADESH {bd}
# BARBADOS {bb}
# BELARUS {by}
# BELGIUM {be}
# BELIZE {bz}
# BENIN {bj}
# BERMUDA {bm}
# BHUTAN {bt}
# BOLIVIA {bo}
# BOSNIA AND HERZEGOVINA {ba}
# BOTSWANA {bw}
# BOUVET ISLAND {bv}
# BRAZIL {br}
# BRITISH INDIAN OCEAN TERR {io}
# BRITISH VIRGIN ISLANDS {vg}
# BRUNEI DARUSSALAM {bn}
# BULGARIA {bg}
# BURKINA FASO {bf}
# BURUNDI {bi}
# CAMBODIA {kh}
# CAMEROON {cm}
# CANADA {ca}
# CAPE VERDE {cv}
# CAYMAN ISLANDS {ky}
# CENTRAL AFRICAN REPUBLIC {cf}
# CHAD {td}
# CHILE {cl}
# PEOPLE'S REPUBLIC OF CHINA {cn}
# CHRISTMAS ISLANDS {cx}
# COCOS ISLANDS {cc}
# COLOMBIA {co}
# COMORAS {km}
# CONGO {cg}
# CONGO (DEMOCRATIC REPUBLIC) {cd}
# COOK ISLANDS {ck}
# COSTA RICA {cr}
# COTE D IVOIRE {ci}
# CROATIA {hr}
# CUBA {cu}
# CYPRUS {cy}
# CZECH REPUBLIC {cz}
# DENMARK {dk}
# DJIBOUTI {dj}
# DOMINICA {dm}
# DOMINICAN REPUBLIC {do}
# EAST TIMOR {tp}
# ECUADOR {ec}
# EGYPT {eg}
# EL SALVADOR {sv}
# EQUATORIAL GUINEA {gq}
# ESTONIA {ee}
# ETHIOPIA {et}
# FALKLAND ISLANDS {fk}
# FAROE ISLANDS {fo}
# FIJI {fj}
# FINLAND {fi}
# FRANCE {fr}
# FRANCE METROPOLITAN {fx}
# FRENCH GUIANA {gf}
# FRENCH POLYNESIA {pf}
# FRENCH SOUTHERN TERRITORIES {tf}
# GABON {ga}
# GAMBIA {gm}
# GEORGIA {ge}
# GERMANY {de}
# GHANA {gh}
# GIBRALTER {gi}
# GREECE {gr}
# GREENLAND {gl}
# GRENADA {gd}
# GUADELOUPE {gp}
# GUAM {gu}
# GUATEMALA {gt}
# GUINEA {gn}
# GUINEA-BISSAU {gw}
# GUYANA {gy}
# HAITI {ht}
# HEARD &amp; MCDONALD ISLAND {hm}
# HONDURAS {hn}
# HONG KONG {hk}
# HUNGARY {hu}
# ICELAND {is}
# INDIA {in}
# INDONESIA {id}
# IRAN, ISLAMIC REPUBLIC OF {ir}
# IRAQ {iq}
# IRELAND {ie}
# ISLE OF MAN {im}
# ISRAEL {il}
# ITALY {it}
# JAMAICA {jm}
# JAPAN {jp}
# JORDAN {jo}
# KAZAKHSTAN {kz}
# KENYA {ke}
# KIRIBATI {ki}
# KOREA, DEM. PEOPLES REP OF {kp}
# KOREA, REPUBLIC OF {kr}
# KUWAIT {kw}
# KYRGYZSTAN {kg}
# LAO PEOPLE'S DEM. REPUBLIC {la}
# LATVIA {lv}
# LEBANON {lb}
# LESOTHO {ls}
# LIBERIA {lr}
# LIBYAN ARAB JAMAHIRIYA {ly}
# LIECHTENSTEIN {li}
# LITHUANIA {lt}
# LUXEMBOURG {lu}
# MACAO {mo}
# MACEDONIA {mk}
# MADAGASCAR {mg}
# MALAWI {mw}
# MALAYSIA {my}
# MALDIVES {mv}
# MALI {ml}
# MALTA {mt}
# MARSHALL ISLANDS {mh}
# MARTINIQUE {mq}
# MAURITANIA {mr}
# MAURITIUS {mu}
# MAYOTTE {yt}
# MEXICO {mx}
# MICRONESIA {fm}
# MOLDAVA REPUBLIC OF {md}
# MONACO {mc}
# MONGOLIA {mn}
# MONTENEGRO {me}
# MONTSERRAT {ms}
# MOROCCO {ma}
# MOZAMBIQUE {mz}
# MYANMAR {mm}
# NAMIBIA {na}
# NAURU {nr}
# NEPAL {np}
# NETHERLANDS ANTILLES {an}
# NETHERLANDS, THE {nl}
# NEW CALEDONIA {nc}
# NEW ZEALAND {nz}
# NICARAGUA {ni}
# NIGER {ne}
# NIGERIA {ng}
# NIUE {nu}
# NORFOLK ISLAND {nf}
# NORTHERN MARIANA ISLANDS {mp}
# NORWAY {no}
# OMAN {om}
# PAKISTAN {pk}
# PALAU {pw}
# PALESTINE {ps}
# PANAMA {pa}
# PAPUA NEW GUINEA {pg}
# PARAGUAY {py}
# PERU {pe}
# PHILIPPINES (REPUBLIC OF THE) {ph}
# PITCAIRN {pn}
# POLAND {pl}
# PORTUGAL {pt}
# PUERTO RICO {pr}
# QATAR {qa}
# REUNION {re}
# ROMANIA {ro}
# RUSSIAN FEDERATION {ru}
# RWANDA {rw}
# SAMOA {ws}
# SAN MARINO {sm}
# SAO TOME/PRINCIPE {st}
# SAUDI ARABIA {sa}
# SCOTLAND {uk}
# SENEGAL {sn}
# SERBIA {rs}
# SEYCHELLES {sc}
# SIERRA LEONE {sl}
# SINGAPORE {sg}
# SLOVAKIA {sk}
# SLOVENIA {si}
# SOLOMON ISLANDS {sb}
# SOMALIA {so}
# SOMOA,GILBERT,ELLICE ISLANDS {as}
# SOUTH AFRICA {za}
# SOUTH GEORGIA, SOUTH SANDWICH ISLANDS {gs}
# SOVIET UNION {su}
# SPAIN {es}
# SRI LANKA {lk}
# ST. HELENA {sh}
# ST. KITTS AND NEVIS {kn}
# ST. LUCIA {lc}
# ST. PIERRE AND MIQUELON {pm}
# ST. VINCENT &amp; THE GRENADINES {vc}
# SUDAN {sd}
# SURINAME {sr}
# SVALBARD AND JAN MAYEN {sj}
# SWAZILAND {sz}
# SWEDEN {se}
# SWITZERLAND {ch}
# SYRIAN ARAB REPUBLIC {sy}
# TAIWAN {tw}
# TAJIKISTAN {tj}
# TANZANIA, UNITED REPUBLIC OF {tz}
# THAILAND {th}
# TOGO {tg}
# TOKELAU {tk}
# TONGA {to}
# TRINIDAD AND TOBAGO {tt}
# TUNISIA {tn}
# TURKEY {tr}
# TURKMENISTAN {tm}
# TURKS AND CALCOS ISLANDS {tc}
# TUVALU {tv}
# UGANDA {ug}
# UKRAINE {ua}
# UNITED ARAB EMIRATES {ae}
# UNITED KINGDOM (no new registrations) {gb}
# UNITED KINGDOM {uk}
# UNITED STATES {us}
# UNITED STATES MINOR OUTL.IS. {um}
# URUGUAY {uy}
# UZBEKISTAN {uz}
# VANUATU {vu}
# VATICAN CITY STATE {va}
# VENEZUELA {ve}
# VIET NAM {vn}
# VIRGIN ISLANDS (USA) {vi}
# WALLIS AND FUTUNA ISLANDS {wf}
# WESTERN SAHARA {eh}
# YEMEN {ye}
# ZAMBIA {zm}
# ZIMBABWE {zw}

View file

@ -1,18 +1,22 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=tor
pkgver=0.4.6.10
pkgrel=01
pkgdesc='Anonymizing overlay network.'
pkgrel=02
pkgdesc='Anonymizing overlay network. w/o zstd and systemd'
arch=('x86_64')
url='https://www.torproject.org/dist'
source=("$url/$pkgname-$pkgver.tar.gz"{,.sha256sum,.sha256sum.asc}
source=("$url/$pkgname-$pkgver.tar.gz"
#source=("$url/$pkgname-$pkgver.tar.gz"{,.sha256sum,.sha256sum.asc}
#https://dist.torproject.org/tor-0.4.6.10.tar.gz.sha256sum
# 'tor-0.4.6.10.tar.gz.sha256sum'
'torrc.patch'
'tor.sysusers'
'tor.tmpfiles')
@ -34,13 +38,16 @@ makedepends=(
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-zstd \
--disable-zstd-advanced-apis \
--disable-systemd
--disable-systemd \
--disable-html-manual \
--enable-lzma \
--enable-xz \
--enable-pic
make
}
@ -73,9 +80,9 @@ validpgpkeys=(2133BC600AB133E1D826D173FE43009C4607B1FB # Nick Mathewson
F65CE37F04BA5B360AE6EE17C218525819F78451 # Roger Dingledine
1C1BC007A9F607AA8152C040BEA7B180B1491921) # Alexander Færøy <ahf@0x90.dk>
sha256sums=(94ccd60e04e558f33be73032bc84ea241660f92f58cfb88789bda6893739e31c # tor-0.4.6.10.tar.gz
960f6f27635c7eee5543c546f97ee3a2706caae2897698a283011aacd189ff50 # tor-0.4.6.10.tar.gz.sha256sum
b4bdc4596c4d9f9a9d01a951abbb89cf25b5b0af0e9a4e3ff3deefde5dbb1d81 # tor-0.4.6.10.tar.gz.sha256sum.asc
c9632d05816d7a1ccfe1e258518c130808decaee7f3544494f9d53ab828cf22c # torrc.patch
04eec05b4e61efccc58c5da657363f0c1059d7f122cb15c32331a201af2d7f94 # tor.sysusers
sha256sums=(94ccd60e04e558f33be73032bc84ea241660f92f58cfb88789bda6893739e31c # tor-0.4.6.10.tar.gz
# 0e18423d89d06da583c0f70ab6fec73a4d53622c140d8d77634dbbd7b4152dda # tor-0.4.6.10.tar.gz.sha256sum.asc
# 7fd27d2c84b1b124e0195c931ca80b5c2bc0ea9383231e9b345c3614686b4e11 # tor-0.4.6.10.tar.gz.sha256sum
c9632d05816d7a1ccfe1e258518c130808decaee7f3544494f9d53ab828cf22c # torrc.patch
04eec05b4e61efccc58c5da657363f0c1059d7f122cb15c32331a201af2d7f94 # tor.sysusers
07bedb17660a3673b31b0005b6505065c90b32f2c6b28b969241da675560f926) # tor.tmpfiles

View file

@ -1 +1 @@
gpg -v --recv-key 1C1BC007A9F607AA8152C040BEA7B180B1491921
gpg --recv-keys 42E86A2A11F48D36