From: rhatto Date: Wed, 13 Sep 2006 23:32:23 +0000 (+0000) Subject: tor small update X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=2bccf7185eff8f8155f932f954c7c13261b61c31;p=slackbuilds.git tor small update git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@189 370017ae-e619-0410-ac65-c121f96126d4 --- diff --git a/tor/tor.SlackBuild b/tor/tor.SlackBuild index 4017448d..0708a552 100755 --- a/tor/tor.SlackBuild +++ b/tor/tor.SlackBuild @@ -85,6 +85,8 @@ CWD="`pwd`" cd $TMP/package-$PACKAGE +mv etc/tor/tor-tsocks.conf etc/tor/tor-tsocks.conf.sample + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null @@ -121,6 +123,8 @@ done # install script echo '( chroot . /sbin/ldconfig )' > install/doinst.sh echo '( if [ ! -f "etc/rc.d/rc.tor" ]; then mv etc/rc.d/rc.tor.new etc/rc.d/rc.tor ; fi )' >> install/doinst.sh +echo '( if [ ! -f "etc/tor/torrc" ]; then mv etc/tor/torrc.sample etc/tor/torrc ; fi )' >> install/doinst.sh +echo '( if [ ! -f "etc/tor/tor-tsocks.conf" ]; then mv etc/tor/tor-tsocks.conf.sample etc/tor/tor-tsocks.conf ; fi )' >> install/doinst.sh makepkg -c y -l y $REPOS/$PACKAGE-$VERSION-$ARCH-$BUILD.tgz