summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Felisberto <humpback@gentoo.org>2007-05-31 09:50:14 +0000
committerGustavo Felisberto <humpback@gentoo.org>2007-05-31 09:50:14 +0000
commitbee58a5a7c4aede3ec732b85e621df0b78617869 (patch)
treeea7fc343ac4bb7cc4de944f3a22224913ccbe170 /net-misc/tor
parentversion bump (diff)
downloadhistorical-bee58a5a7c4aede3ec732b85e621df0b78617869.tar.gz
historical-bee58a5a7c4aede3ec732b85e621df0b78617869.tar.bz2
historical-bee58a5a7c4aede3ec732b85e621df0b78617869.zip
bumped, fixed bug and cleaned older versions
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'net-misc/tor')
-rw-r--r--net-misc/tor/ChangeLog9
-rw-r--r--net-misc/tor/Manifest43
-rw-r--r--net-misc/tor/files/digest-tor-0.1.0.183
-rw-r--r--net-misc/tor/files/digest-tor-0.1.0.18-r13
-rw-r--r--net-misc/tor/files/digest-tor-0.1.2.133
-rw-r--r--net-misc/tor/files/digest-tor-0.1.2.143
-rw-r--r--net-misc/tor/files/tor.logrotate.patch10
-rw-r--r--net-misc/tor/tor-0.1.0.18-r1.ebuild133
-rw-r--r--net-misc/tor/tor-0.1.0.18.ebuild136
-rw-r--r--net-misc/tor/tor-0.1.2.14.ebuild (renamed from net-misc/tor/tor-0.1.2.13.ebuild)3
10 files changed, 39 insertions, 307 deletions
diff --git a/net-misc/tor/ChangeLog b/net-misc/tor/ChangeLog
index b667b6efb76e..bf8025bf9e23 100644
--- a/net-misc/tor/ChangeLog
+++ b/net-misc/tor/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-misc/tor
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.79 2007/05/15 16:08:36 humpback Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.80 2007/05/31 09:50:14 humpback Exp $
+
+*tor-0.1.2.14 (31 May 2007)
+
+ 31 May 2007; <humpback@gentoo.org> -tor-0.1.0.18.ebuild,
+ -tor-0.1.0.18-r1.ebuild, -tor-0.1.2.13.ebuild, +tor-0.1.2.14.ebuild:
+ Bumped 0.1.2.13 to 0.1.2.14, removed older versions. Fixed #178975 with idea
+ from Remy Blank
15 May 2007; <humpback@gentoo.org> tor-0.1.0.18.ebuild,
tor-0.1.0.18-r1.ebuild, tor-0.1.1.23.ebuild, tor-0.1.1.26.ebuild,
diff --git a/net-misc/tor/Manifest b/net-misc/tor/Manifest
index 15aaaf319d86..95cf36a051d6 100644
--- a/net-misc/tor/Manifest
+++ b/net-misc/tor/Manifest
@@ -14,6 +14,10 @@ AUX tor.initd-r2 1494 RMD160 56ac023f10e4a170daa8ec29c854968e1320107c SHA1 e76e0
MD5 560d45ac7d56dda6c184f93c13124329 files/tor.initd-r2 1494
RMD160 56ac023f10e4a170daa8ec29c854968e1320107c files/tor.initd-r2 1494
SHA256 51fd05cb4c079fcb392459d066a7505de9f57f9f10b7ad5b274edcd1fe9cd1e4 files/tor.initd-r2 1494
+AUX tor.logrotate.patch 301 RMD160 47a096ae4e7ddabdd5974df3c8cd1b221641edbb SHA1 b3c158d27b23600cc87f5e0a2ebba732e5fe3f69 SHA256 e64ff0f7442a180bcc8f9bd5fc258058ceae227847e32b69de39b589236f09dc
+MD5 63047059d12800aefe0998218de099af files/tor.logrotate.patch 301
+RMD160 47a096ae4e7ddabdd5974df3c8cd1b221641edbb files/tor.logrotate.patch 301
+SHA256 e64ff0f7442a180bcc8f9bd5fc258058ceae227847e32b69de39b589236f09dc files/tor.logrotate.patch 301
AUX torrc.sample-0.1.0.16.patch 1134 RMD160 ad432e115b9610e139315f3908f4622702b84f7a SHA1 8b3f02b07c43e56ddce3b14f7a084329b332f793 SHA256 3174ef12c8d15486b9bd872a72030367023e0f81639659ecb48204160705d6da
MD5 ab82c91feb4f7eceb4d1ed496a17f928 files/torrc.sample-0.1.0.16.patch 1134
RMD160 ad432e115b9610e139315f3908f4622702b84f7a files/torrc.sample-0.1.0.16.patch 1134
@@ -26,18 +30,9 @@ AUX torrc.sample-0.1.2.6.patch 1145 RMD160 3656774f05abe54ec22a121954a1d437fe1da
MD5 b9cf2eb98b62197faa6cc2b57c81d547 files/torrc.sample-0.1.2.6.patch 1145
RMD160 3656774f05abe54ec22a121954a1d437fe1da520 files/torrc.sample-0.1.2.6.patch 1145
SHA256 5b94e1d8c097626402b0b388fefb15f11b95db112b23d358e04cfe55331911f1 files/torrc.sample-0.1.2.6.patch 1145
-DIST tor-0.1.0.18.tar.gz 633222 RMD160 5bb12bbc808c08026098410657785ab61f4efd43 SHA1 cac98320fe14d195c261aa577cd0b2324f157351 SHA256 bc815e1b12e9eab1a03a9c83aa7169820bf250a8fce445c533996293e9e01cf6
DIST tor-0.1.1.23.tar.gz 847906 RMD160 e958ed22f44e5f06736cadb5406dad04510a69f5 SHA1 d3f0120f5a18658231127281343aafb6c06aed70 SHA256 a2ac0b10089902c2de8649e07823dc46b8876cd3e0236505e5e7f1f49ee11025
DIST tor-0.1.1.26.tar.gz 893367 RMD160 cc1ce91d96dc25a963d1f49f7965db106890949a SHA1 4d754ee52e20ae99179a74245a5288527c179ab6 SHA256 3be8c89be5b927e73b77a82ca3d83f0f162fceea2d6a14ce1c0cf5333b36cd1c
-DIST tor-0.1.2.13.tar.gz 1181719 RMD160 8364e35a1b2580ff5d02081757c0550bbf13e8cb SHA1 d90a999bdce1c4abce16b31211918a755dfdcf6a SHA256 c8a33521b32e04b00ce97c4ab980a4232b4029284cd2944f496609a9797ba21b
-EBUILD tor-0.1.0.18-r1.ebuild 4036 RMD160 85f6247c941d7993dc54ad33f78894053edd5527 SHA1 9f44624520f33ef02103eb7683e75fcf302c4c20 SHA256 082fa69c7ee3d3ced94c956a5288ab5da19bf480217dca2153e0bc425caf9835
-MD5 d9561c5745a79964b42dec23efa62f82 tor-0.1.0.18-r1.ebuild 4036
-RMD160 85f6247c941d7993dc54ad33f78894053edd5527 tor-0.1.0.18-r1.ebuild 4036
-SHA256 082fa69c7ee3d3ced94c956a5288ab5da19bf480217dca2153e0bc425caf9835 tor-0.1.0.18-r1.ebuild 4036
-EBUILD tor-0.1.0.18.ebuild 4123 RMD160 b7efdf3158014bd934203d927e4b4c83a5f29e18 SHA1 a6312448b74824f711eea30f0a6c031556bf1d10 SHA256 ddfb5afd98638d2641889ac3b0cc2949bdf1233096147cb585702f1011ce093b
-MD5 ccb09f3932e00bd2e9e8ad365a24bceb tor-0.1.0.18.ebuild 4123
-RMD160 b7efdf3158014bd934203d927e4b4c83a5f29e18 tor-0.1.0.18.ebuild 4123
-SHA256 ddfb5afd98638d2641889ac3b0cc2949bdf1233096147cb585702f1011ce093b tor-0.1.0.18.ebuild 4123
+DIST tor-0.1.2.14.tar.gz 1225040 RMD160 f7ce98688519bd2d41bc0dd95fb90a120eae4207 SHA1 94140509bf158d2cab265e5193067f335d2a3cce SHA256 bc23e6f826f1f736e9d5e56ba79195099882aef2029a63dd667915bc1eb836a6
EBUILD tor-0.1.1.23.ebuild 1430 RMD160 6cc2dfa9a85dfd359201a79c89d09b6c04e79058 SHA1 9d141d461ad1f5dee34aa4b08bb145b6bb8046a1 SHA256 4f3bf8576510196edfb0749cf315a7e9ac0d502b14cc7cf1c3ead205e74ddcef
MD5 d38eb8246a60bd26fab7858d8e9ba9f8 tor-0.1.1.23.ebuild 1430
RMD160 6cc2dfa9a85dfd359201a79c89d09b6c04e79058 tor-0.1.1.23.ebuild 1430
@@ -46,30 +41,24 @@ EBUILD tor-0.1.1.26.ebuild 1435 RMD160 d1720708e867fa6d6b702f73c92128554d04c042
MD5 d05cf4614af8bde0f5f23a3c1c967784 tor-0.1.1.26.ebuild 1435
RMD160 d1720708e867fa6d6b702f73c92128554d04c042 tor-0.1.1.26.ebuild 1435
SHA256 28bdedcc86b39adc74f5de299c698ceac255dd617d02ff59a7c1412d9f9a9298 tor-0.1.1.26.ebuild 1435
-EBUILD tor-0.1.2.13.ebuild 1603 RMD160 94f951b7febbda442d79b243e6b0ef0dcd8f89e0 SHA1 6055badc9c77db47b82a2d86d0ec7e779498777d SHA256 5bc52555a6e409eb7e5f157e83c2fe25b4ebc270caa7b515b59b450312dda9c4
-MD5 510f6dd8d0c2f7c6cb1a6318851ed1f9 tor-0.1.2.13.ebuild 1603
-RMD160 94f951b7febbda442d79b243e6b0ef0dcd8f89e0 tor-0.1.2.13.ebuild 1603
-SHA256 5bc52555a6e409eb7e5f157e83c2fe25b4ebc270caa7b515b59b450312dda9c4 tor-0.1.2.13.ebuild 1603
-MISC ChangeLog 12934 RMD160 d6d1d6856f928ec1dcfdedcf23ff9d5c42ec32fd SHA1 3b3db5fd4ccbc15eb52fcd94707b693716c3bc42 SHA256 8484da2d18fafa998cb8aa0af3a561e24862f3973e8828254f182a9b37aedae6
-MD5 3fd0b18bcc444301739caf14468277d2 ChangeLog 12934
-RMD160 d6d1d6856f928ec1dcfdedcf23ff9d5c42ec32fd ChangeLog 12934
-SHA256 8484da2d18fafa998cb8aa0af3a561e24862f3973e8828254f182a9b37aedae6 ChangeLog 12934
+EBUILD tor-0.1.2.14.ebuild 1645 RMD160 b6f6e5cc38d1eb1375696a31158089e453efa02c SHA1 870f79febf8cfaa567093d85c8f81658a6e38c29 SHA256 ebcb6da1675a5cd8b2f1bec834720cb0131109ef427f78830724ba54c43b85c4
+MD5 50ee359908cdb01dfce6273c539bdee2 tor-0.1.2.14.ebuild 1645
+RMD160 b6f6e5cc38d1eb1375696a31158089e453efa02c tor-0.1.2.14.ebuild 1645
+SHA256 ebcb6da1675a5cd8b2f1bec834720cb0131109ef427f78830724ba54c43b85c4 tor-0.1.2.14.ebuild 1645
+MISC ChangeLog 13192 RMD160 a1511352f91b2f612521e076cb13fcc6bde4c623 SHA1 4a3138471578a8c308dafee4d60ed7fdd9506a23 SHA256 7ba747d6c3f6259dc8682522a008e2c2769ed03349e9f60c7b62fed8cb3367a6
+MD5 0fa0858f22102151ecb8909a3305ba86 ChangeLog 13192
+RMD160 a1511352f91b2f612521e076cb13fcc6bde4c623 ChangeLog 13192
+SHA256 7ba747d6c3f6259dc8682522a008e2c2769ed03349e9f60c7b62fed8cb3367a6 ChangeLog 13192
MISC metadata.xml 224 RMD160 87e0a44a0ea05af5ad562f03d35b841c42c48971 SHA1 76b617d1cccc3a09fc6995f19e800d99775064c7 SHA256 5a95452656188e381651219d143d53498f11199a52ade7ed467a94e001e72bd6
MD5 b79b08e0f979feb256c93295714b4fc9 metadata.xml 224
RMD160 87e0a44a0ea05af5ad562f03d35b841c42c48971 metadata.xml 224
SHA256 5a95452656188e381651219d143d53498f11199a52ade7ed467a94e001e72bd6 metadata.xml 224
-MD5 f35714e74255040250817b15d5925d3d files/digest-tor-0.1.0.18 238
-RMD160 22b1ed62644fe2ef4af1ed23ca7ff6d0ca5f3221 files/digest-tor-0.1.0.18 238
-SHA256 cffe6237bccc939f69d6b9fd590b8b4dfec6455a3f841e6c75feeeb936b6627f files/digest-tor-0.1.0.18 238
-MD5 f35714e74255040250817b15d5925d3d files/digest-tor-0.1.0.18-r1 238
-RMD160 22b1ed62644fe2ef4af1ed23ca7ff6d0ca5f3221 files/digest-tor-0.1.0.18-r1 238
-SHA256 cffe6237bccc939f69d6b9fd590b8b4dfec6455a3f841e6c75feeeb936b6627f files/digest-tor-0.1.0.18-r1 238
MD5 45b101c447f3c43d0d427f1d04dcb67d files/digest-tor-0.1.1.23 238
RMD160 8a83d2c6e85d54c22b013b76f047f809981328c4 files/digest-tor-0.1.1.23 238
SHA256 133ea58018c050b70d4ed06c314062e5113f2480518627481f101ce70ed35479 files/digest-tor-0.1.1.23 238
MD5 ccf051565823b020b41076c5d00708b3 files/digest-tor-0.1.1.26 238
RMD160 4eb63ec2810b1b2c1d9cb0edf270ae0c0d41f6fd files/digest-tor-0.1.1.26 238
SHA256 a8803b5105cc7b4afb3a0d9894e11946a85373a06c84cd9402801d1ab86cdf50 files/digest-tor-0.1.1.26 238
-MD5 ffabe39b7ad5aea86a29e2bdc2ec1f0d files/digest-tor-0.1.2.13 241
-RMD160 a256a2c66e79d5418dfa91b124f176a0d3508751 files/digest-tor-0.1.2.13 241
-SHA256 ba619d0acbd6589627b731656132f17e99757ab9f177def7acf5eb61e9af8589 files/digest-tor-0.1.2.13 241
+MD5 f56d672ceed2f7b1fb2a9e3682c2110c files/digest-tor-0.1.2.14 241
+RMD160 146c55e3b0cc0ab50a88230b2c152bfc4ce6327a files/digest-tor-0.1.2.14 241
+SHA256 09a1ebf3d3edc1fcd1af6ca5a2d19a9e9324b24ffd4c132b09b676cba2dea724 files/digest-tor-0.1.2.14 241
diff --git a/net-misc/tor/files/digest-tor-0.1.0.18 b/net-misc/tor/files/digest-tor-0.1.0.18
deleted file mode 100644
index 56fe090c1a89..000000000000
--- a/net-misc/tor/files/digest-tor-0.1.0.18
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 b76e661873fe27debf4df15920e9abd4 tor-0.1.0.18.tar.gz 633222
-RMD160 5bb12bbc808c08026098410657785ab61f4efd43 tor-0.1.0.18.tar.gz 633222
-SHA256 bc815e1b12e9eab1a03a9c83aa7169820bf250a8fce445c533996293e9e01cf6 tor-0.1.0.18.tar.gz 633222
diff --git a/net-misc/tor/files/digest-tor-0.1.0.18-r1 b/net-misc/tor/files/digest-tor-0.1.0.18-r1
deleted file mode 100644
index 56fe090c1a89..000000000000
--- a/net-misc/tor/files/digest-tor-0.1.0.18-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 b76e661873fe27debf4df15920e9abd4 tor-0.1.0.18.tar.gz 633222
-RMD160 5bb12bbc808c08026098410657785ab61f4efd43 tor-0.1.0.18.tar.gz 633222
-SHA256 bc815e1b12e9eab1a03a9c83aa7169820bf250a8fce445c533996293e9e01cf6 tor-0.1.0.18.tar.gz 633222
diff --git a/net-misc/tor/files/digest-tor-0.1.2.13 b/net-misc/tor/files/digest-tor-0.1.2.13
deleted file mode 100644
index 80357acabf3f..000000000000
--- a/net-misc/tor/files/digest-tor-0.1.2.13
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 db54abdddf7eb5859b6e1bdf5f7ece00 tor-0.1.2.13.tar.gz 1181719
-RMD160 8364e35a1b2580ff5d02081757c0550bbf13e8cb tor-0.1.2.13.tar.gz 1181719
-SHA256 c8a33521b32e04b00ce97c4ab980a4232b4029284cd2944f496609a9797ba21b tor-0.1.2.13.tar.gz 1181719
diff --git a/net-misc/tor/files/digest-tor-0.1.2.14 b/net-misc/tor/files/digest-tor-0.1.2.14
new file mode 100644
index 000000000000..eba8c8ef67cb
--- /dev/null
+++ b/net-misc/tor/files/digest-tor-0.1.2.14
@@ -0,0 +1,3 @@
+MD5 dc93a52f9c12ec7fe73b3905a28f09ec tor-0.1.2.14.tar.gz 1225040
+RMD160 f7ce98688519bd2d41bc0dd95fb90a120eae4207 tor-0.1.2.14.tar.gz 1225040
+SHA256 bc23e6f826f1f736e9d5e56ba79195099882aef2029a63dd667915bc1eb836a6 tor-0.1.2.14.tar.gz 1225040
diff --git a/net-misc/tor/files/tor.logrotate.patch b/net-misc/tor/files/tor.logrotate.patch
new file mode 100644
index 000000000000..fb3d37d607c5
--- /dev/null
+++ b/net-misc/tor/files/tor.logrotate.patch
@@ -0,0 +1,10 @@
+--- contrib/tor.logrotate.in.ori 2007-05-31 10:38:24.774901656 +0100
++++ contrib/tor.logrotate.in 2007-05-31 10:38:52.189956005 +0100
+@@ -7,6 +7,6 @@
+ notifempty
+ sharedscripts
+ postrotate
+- /etc/rc.d/init.d/tor reload > /dev/null
++ /etc/rc.d/init.d/tor reload > /dev/null || true
+ endscript
+ }
diff --git a/net-misc/tor/tor-0.1.0.18-r1.ebuild b/net-misc/tor/tor-0.1.0.18-r1.ebuild
deleted file mode 100644
index 23600a8277aa..000000000000
--- a/net-misc/tor/tor-0.1.0.18-r1.ebuild
+++ /dev/null
@@ -1,133 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/tor-0.1.0.18-r1.ebuild,v 1.2 2007/05/15 16:08:36 humpback Exp $
-
-inherit eutils flag-o-matic
-
-DESCRIPTION="The Onion Router - Anonymizing overlay network for TCP"
-HOMEPAGE="http://tor.eff.org/"
-SRC_URI="http://tor.eff.org/dist/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="static"
-
-DEPEND=">=dev-libs/openssl-0.9.6
- dev-libs/libevent"
-RDEPEND="!static? (
- net-proxy/tsocks
- >=dev-libs/openssl-0.9.6
- dev-libs/libevent
- )"
-
-pkg_setup() {
- enewgroup tor
- enewuser tor -1 -1 /var/lib/tor tor
-}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/torrc.sample-0.1.0.16.patch
-}
-
-src_compile() {
- use static && append-ldflags -static
- use static && append-flags -static
- econf || die
- emake || die
-}
-
-src_install() {
- exeinto /etc/init.d ; newexe ${FILESDIR}/tor.initd-r1 tor
- insinto /etc/conf.d ; newins ${FILESDIR}/tor.confd tor
- make DESTDIR=${D} install || die
- keepdir /var/{lib,log,run}/tor
- dodoc README ChangeLog AUTHORS INSTALL \
- doc/{CLIENTS,FAQ,HACKING,TODO} \
- doc/{control-spec.txt,rend-spec.txt,tor-doc.css,tor-doc.html,tor-spec.txt}
-
- dodir /var/lib/tor
- dodir /var/log/tor
- fperms 750 /var/lib/tor /var/log/tor
- fowners tor:tor /var/lib/tor /var/log/tor
-}
-
-pkg_postinst() {
- einfo "You must create /etc/tor/torrc, you can use the sample that is in that directory"
- einfo "To have privoxy and tor working together you must add:"
- einfo "forward-socks4a / localhost:9050 ."
- ewarn "(notice the . at the end of the line)"
- einfo "to /etc/privoxy/config"
- einfo
- einfo "The Tor ebuild now includes chroot support."
- einfo "If you like to run tor in chroot AND this is a new install OR"
- einfo "your tor doesn't already run in chroot, simply run:"
- einfo "\`emerge --config =${CATEGORY}/${PF} \`"
- einfo "Before running the above command you might want to change the chroot"
- einfo "dir in /etc/conf.d/tor. Otherwise /chroot/tor will be used."
-}
-
-pkg_config() {
- CHROOT=`sed -n 's/^[[:blank:]]\?CHROOT="\([^"]\+\)"/\1/p' /etc/conf.d/tor 2>/dev/null`
- EXISTS="no"
-
- if [ -z "${CHROOT}" -a ! -d "/chroot/tor" ]; then
- CHROOT="/chroot/tor"
- elif [ -d ${CHROOT} ]; then
- eerror; eerror "${CHROOT:-/chroot/tor} already exists. Quitting."; eerror; EXISTS="yes"
- fi
-
- if [ ! "$EXISTS" = yes ]; then
- USERNAME="tor"
- BINARY="/usr/bin/tor"
-
- einfo
- einfo "Setting up the chroot directory..."
- mkdir -m 700 -p ${CHROOT}
- mkdir -p ${CHROOT}/etc/tor \
- ${CHROOT}/dev ${CHROOT}/var/log/tor ${CHROOT}/var/lib/tor \
- ${CHROOT}/usr/bin ${CHROOT}/var/run ${CHROOT}/lib \
- ${CHROOT}/usr/lib
-
- einfo "Creating devices..."
- mknod -m 0444 ${CHROOT}/dev/random c 1 8
- mknod -m 0444 ${CHROOT}/dev/urandom c 1 9
- mknod -m 0666 ${CHROOT}/dev/null c 1 3
-
- einfo "Adding ${USERNAME} to ${CHROOT}/etc/passwd and group..."
- grep ^${USERNAME}: /etc/passwd > ${CHROOT}/etc/passwd
- grep ^${USERNAME}: /etc/group > ${CHROOT}/etc/group
-
- einfo "Copying system files..."
- cp -p /etc/{nsswitch.conf,host.conf,resolv.conf,hosts,localtime} ${CHROOT}/etc
- cp -p /lib/{libc.*,libnsl.*,libnss_*.*,libresolv.*,libgcc_*.*,ld-linux.*} ${CHROOT}/lib
-
- # Static version has no dynamic dependencies
- if useq !static ; then
- einfo "Copying dependencies..."
- for DEP in $(ldd $BINARY | awk '{print $3}'); do
- test -f ${DEP} && cp ${DEP} ${CHROOT}${DEP}
- done
- fi
-
- einfo "Copying binaries and config files..."
- for i in ${BINARY}; do
- cp ${i} ${CHROOT}${i}
- done
-
- cp -R /etc/tor ${CHROOT}/etc/
- cp -Rp /var/lib/tor ${CHROOT}/var/lib/
-
- einfo "Setting permissions..."
- chown root:${USERNAME} ${CHROOT} ${CHROOT}/var/lib/tor \
- ${CHROOT}/var/log/tor ${CHROOT}/var/run
- chmod 0750 ${CHROOT}/var/lib/tor ${CHROOT}/var/run ${CHROOT}/var/log/tor
- chmod 0444 ${CHROOT}/etc/{group,host.conf,hosts,localtime,nsswitch.conf}
- chmod 0444 ${CHROOT}/etc/{passwd,resolv.conf}
- chmod 0644 ${CHROOT}/etc/tor/*
-
- einfo "Done."
- fi
-}
diff --git a/net-misc/tor/tor-0.1.0.18.ebuild b/net-misc/tor/tor-0.1.0.18.ebuild
deleted file mode 100644
index 03033b8a0b6e..000000000000
--- a/net-misc/tor/tor-0.1.0.18.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/tor-0.1.0.18.ebuild,v 1.10 2007/05/15 16:08:36 humpback Exp $
-
-inherit eutils flag-o-matic
-
-DESCRIPTION="The Onion Router - Anonymizing overlay network for TCP"
-HOMEPAGE="http://tor.eff.org/"
-SRC_URI="http://tor.eff.org/dist/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-## Arch temas please please dont mark this stable untill you really test the
-## chroot stuff
-KEYWORDS="amd64 ppc ppc64 sparc x86"
-IUSE="static"
-
-DEPEND=">=dev-libs/openssl-0.9.6
- dev-libs/libevent"
-RDEPEND="!static? (
- net-proxy/tsocks
- >=dev-libs/openssl-0.9.6
- dev-libs/libevent
- )"
-
-pkg_setup() {
- enewgroup tor
- enewuser tor -1 -1 /var/lib/tor tor
-}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/torrc.sample-0.1.0.16.patch
-}
-
-src_compile() {
- use static && append-ldflags -static
- use static && append-flags -static
- econf || die
- emake || die
-}
-
-src_install() {
- exeinto /etc/init.d ; newexe ${FILESDIR}/tor.initd-r1 tor
- insinto /etc/conf.d ; newins ${FILESDIR}/tor.confd tor
- make DESTDIR=${D} install || die
- keepdir /var/{lib,log,run}/tor
-
- dodoc README ChangeLog AUTHORS INSTALL \
- doc/{CLIENTS,FAQ,HACKING,TODO} \
- doc/{control-spec.txt,rend-spec.txt,tor-doc.css,tor-doc.html,tor-spec.txt}
-
- dodir /var/lib/tor
- dodir /var/log/tor
- fperms 750 /var/lib/tor /var/log/tor
- fowners tor:tor /var/lib/tor /var/log/tor
-}
-
-pkg_postinst() {
- einfo "You must create /etc/tor/torrc, you can use the sample that is in that directory"
- einfo "To have privoxy and tor working together you must add:"
- einfo "forward-socks4a / localhost:9050 ."
- ewarn "(notice the . at the end of the line)"
- einfo "to /etc/privoxy/config"
- einfo
- einfo "The Tor ebuild now includes chroot support."
- einfo "If you like to run tor in chroot AND this is a new install OR"
- einfo "your tor doesn't already run in chroot, simply run:"
- einfo "\`emerge --config =${CATEGORY}/${PF} \`"
- einfo "Before running the above command you might want to change the chroot"
- einfo "dir in /etc/conf.d/tor. Otherwise /chroot/tor will be used."
-}
-
-pkg_config() {
- CHROOT=`sed -n 's/^[[:blank:]]\?CHROOT="\([^"]\+\)"/\1/p' /etc/conf.d/tor 2>/dev/null`
- EXISTS="no"
-
- if [ -z "${CHROOT}" -a ! -d "/chroot/tor" ]; then
- CHROOT="/chroot/tor"
- elif [ -d ${CHROOT} ]; then
- eerror; eerror "${CHROOT:-/chroot/tor} already exists. Quitting."; eerror; EXISTS="yes"
- fi
-
- if [ ! "$EXISTS" = yes ]; then
- USERNAME="tor"
- BINARY="/usr/bin/tor"
-
- einfo
- einfo "Setting up the chroot directory..."
- mkdir -m 700 -p ${CHROOT}
- mkdir -p ${CHROOT}/etc/tor \
- ${CHROOT}/dev ${CHROOT}/var/log/tor ${CHROOT}/var/lib/tor \
- ${CHROOT}/usr/bin ${CHROOT}/var/run ${CHROOT}/lib \
- ${CHROOT}/usr/lib
-
- einfo "Creating devices..."
- mknod -m 0444 ${CHROOT}/dev/random c 1 8
- mknod -m 0444 ${CHROOT}/dev/urandom c 1 9
- mknod -m 0666 ${CHROOT}/dev/null c 1 3
-
- einfo "Adding ${USERNAME} to ${CHROOT}/etc/passwd and group..."
- grep ^${USERNAME}: /etc/passwd > ${CHROOT}/etc/passwd
- grep ^${USERNAME}: /etc/group > ${CHROOT}/etc/group
-
- einfo "Copying system files..."
- cp -p /etc/{nsswitch.conf,host.conf,resolv.conf,hosts,localtime} ${CHROOT}/etc
- cp -p /lib/{libc.*,libnsl.*,libnss_*.*,libresolv.*,libgcc_*.*,ld-linux.*} ${CHROOT}/lib
-
- # Static version has no dynamic dependencies
- if useq !static ; then
- einfo "Copying dependencies..."
- for DEP in $(ldd $BINARY | awk '{print $3}'); do
- test -f ${DEP} && cp ${DEP} ${CHROOT}${DEP}
- done
- fi
-
- einfo "Copying binaries and config files..."
- for i in ${BINARY}; do
- cp ${i} ${CHROOT}${i}
- done
-
- cp -R /etc/tor ${CHROOT}/etc/
- cp -Rp /var/lib/tor ${CHROOT}/var/lib/
-
- einfo "Setting permissions..."
- chown root:${USERNAME} ${CHROOT} ${CHROOT}/var/lib/tor \
- ${CHROOT}/var/log/tor ${CHROOT}/var/run
- chmod 0750 ${CHROOT}/var/lib/tor ${CHROOT}/var/run ${CHROOT}/var/log/tor
- chmod 0444 ${CHROOT}/etc/{group,host.conf,hosts,localtime,nsswitch.conf}
- chmod 0444 ${CHROOT}/etc/{passwd,resolv.conf}
- chmod 0644 ${CHROOT}/etc/tor/*
-
- einfo "Done."
- fi
-}
diff --git a/net-misc/tor/tor-0.1.2.13.ebuild b/net-misc/tor/tor-0.1.2.14.ebuild
index 7e10cef32789..80359209733b 100644
--- a/net-misc/tor/tor-0.1.2.13.ebuild
+++ b/net-misc/tor/tor-0.1.2.14.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/tor-0.1.2.13.ebuild,v 1.2 2007/05/15 16:08:36 humpback Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/tor-0.1.2.14.ebuild,v 1.1 2007/05/31 09:50:14 humpback Exp $
inherit eutils
@@ -29,6 +29,7 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/torrc.sample-0.1.2.6.patch
+ epatch "${FILESDIR}"/tor.logrotate.patch
}
src_compile() {