summaryrefslogtreecommitdiff
path: root/network/tor/tor.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/tor/tor.SlackBuild')
-rw-r--r--network/tor/tor.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/network/tor/tor.SlackBuild b/network/tor/tor.SlackBuild
index 26189716ed..1d9a8cc5db 100644
--- a/network/tor/tor.SlackBuild
+++ b/network/tor/tor.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=tor
-VERSION=0.2.1.25
+VERSION=0.2.1.26
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -110,13 +110,12 @@ chown $TOR_USER:$TOR_GROUP $PKG/var/{run,log,lib}/tor
chmod 0700 $PKG/var/lib/tor
install -D -m 0755 $CWD/rc.tor $PKG/etc/rc.d/rc.tor.new
install -D -m 0755 contrib/torctl $PKG/usr/bin/torctl
+install -D -m 0644 $CWD/logrotate.tor $PKG/etc/logrotate.d/tor.new
mv $PKG/etc/tor/torrc.sample $PKG/etc/tor/torrc.new
mv $PKG/etc/tor/tor-tsocks.conf $PKG/etc/tor/tor-tsocks.conf.new
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/spec
cp -a AUTHORS ChangeLog INSTALL LICENSE README ReleaseNotes \
@@ -124,6 +123,7 @@ cp -a AUTHORS ChangeLog INSTALL LICENSE README ReleaseNotes \
cp -a doc/spec/*txt $PKG/usr/doc/$PRGNAM-$VERSION/spec
cp -a doc/website $PKG/usr/doc/$PRGNAM-$VERSION/html
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc