added torsocks to jobextra

This commit is contained in:
joborun linux 2022-05-02 00:40:05 +03:00
parent 2b8698db4c
commit bc08692a7f
6 changed files with 84 additions and 0 deletions

42
torsocks/PKGBUILD Normal file
View File

@ -0,0 +1,42 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=torsocks
pkgver=2.3.0
pkgrel=02
pkgdesc='Wrapper to safely torify applications'
url='https://gitweb.torproject.org/torsocks.git/'
arch=('x86_64')
depends=('tor')
backup=("etc/tor/${pkgname}.conf")
source=(https://people.torproject.org/~dgoulet/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.asc})
build() {
cd ${pkgname}-${pkgver}
./configure \
--prefix=/usr \
--sysconfdir=/etc
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
#---- license gpg-key sha256sums ----
license=('GPL2')
validpgpkeys=('B74417EDDF22AC9F9E90F49142E86A2A11F48D36')
sha512sums=(4888caaffdcfebf3673e14f3491eae6aa84ca0a4a2a812ba7bdac2abb471307e89a3c5cffe7691fb6f190c7bd9ea455ee9a223d909a39152be8524f590be2031
SKIP)
sha256sums=(b9f1b981d6b3fd4e1820de1eee325f8a7038c84765d5a6cd9af12571d5cc3622 # torsocks-2.3.0.tar.xz
57134b3d22c039935adef70fe06a703fd8660ea5259cab1aa05f62135d63509f) # torsocks-2.3.0.tar.xz.asc

33
torsocks/PKGBUILD-arch Normal file
View File

@ -0,0 +1,33 @@
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Daniel Micay <danielmicay@gmail.com>
# Contributor: Nicolas Pouillard <nicolas.pouillard@gmail.com>
# Contributor: Rorschach <r0rschach@lavabit.com>
pkgname=torsocks
pkgver=2.3.0
pkgrel=2
pkgdesc='Wrapper to safely torify applications'
url='https://gitweb.torproject.org/torsocks.git/'
arch=('x86_64')
license=('GPL2')
depends=('tor')
backup=("etc/tor/${pkgname}.conf")
source=(https://people.torproject.org/~dgoulet/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.asc})
sha512sums=('4888caaffdcfebf3673e14f3491eae6aa84ca0a4a2a812ba7bdac2abb471307e89a3c5cffe7691fb6f190c7bd9ea455ee9a223d909a39152be8524f590be2031'
'SKIP')
validpgpkeys=('B74417EDDF22AC9F9E90F49142E86A2A11F48D36')
build() {
cd ${pkgname}-${pkgver}
./configure \
--prefix=/usr \
--sysconfdir=/etc
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
# vim: ts=2 sw=2 et:

1
torsocks/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {src,pkg,torsocks*.tar.xz*}

2
torsocks/deps Normal file
View File

@ -0,0 +1,2 @@
tor

1
torsocks/key Normal file
View File

@ -0,0 +1 @@
gpg --recv-keys 42E86A2A11F48D36

5
torsocks/time Normal file
View File

@ -0,0 +1,5 @@
real 0m9.476s
user 0m15.460s
sys 0m1.912s