[arch-general] Could someone please upgrade the tor package in extra?
Rorschach
r0rschach at lavabit.com
Sun Aug 9 11:47:11 EDT 2009
Looks like attachments are not allowed on this mailinglist so here is the correct PKGBUILD:
# $Id: PKGBUILD 43686 2009-06-29 09:37:32Z ronald $
# Maintainer: simo <simo at archlinux.org>
pkgname=tor
pkgver=0.2.1.19
pkgrel=1
pkgdesc="TOR Client"
arch=('i686' 'x86_64')
url="http://tor.eff.org"
license=('GPL')
install=tor.install
depends=('openssl' 'libevent')
source=(http://tor.eff.org/dist/tor-${pkgver}.tar.gz tor.conf tor.rc)
backup=('etc/tor/torrc etc/tor/torrc-dist etc/tor/tor-tsocks.conf')
md5sums=('2c0ca9bf5d0cfb771f4d6bec9c4360ca'
'56c75d4e8a66f34167d31e38c43793dd'
'4e39d56f462fc9f59e91715ac1b994c0')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var || return 1
make || return 1
install -d $pkgdir/var/lib || return 1
install -o43 -g43 -d -m0755 $startdir/pkg/var/lib/tor || return 1
install -D -m644 $startdir/src/tor.conf $pkgdir/etc/tor/torrc || return 1
install -D -m755 $startdir/src/tor.rc $pkgdir/etc/rc.d/tor || return 1
chmod 755 $pkgdir/.INSTALL
make DESTDIR=$pkgdir install || return 1
mv $pkgdir/etc/tor/torrc.sample $pkgdir/etc/tor/torrc-dist || return 1
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://www.archlinux.org/pipermail/arch-general/attachments/20090809/cf365a70/attachment.pgp>
More information about the arch-general
mailing list