summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/vidalia/README9
-rw-r--r--network/vidalia/README.SBo18
-rw-r--r--network/vidalia/doinst.sh4
-rw-r--r--network/vidalia/slack-desc20
-rw-r--r--network/vidalia/vidalia.SlackBuild77
-rw-r--r--network/vidalia/vidalia.info8
6 files changed, 136 insertions, 0 deletions
diff --git a/network/vidalia/README b/network/vidalia/README
new file mode 100644
index 0000000000..92cd8a0da1
--- /dev/null
+++ b/network/vidalia/README
@@ -0,0 +1,9 @@
+Vidalia is a GUI for the Tor software. Using Vidalia, you can start and stop
+the Tor software, view its status at a glance, and monitor bandwidth usage.
+Vidalia also makes it easy to contribute to the Tor network by helping you
+set up and manage your own relay.
+
+This requires qt4 and tor (both available at SlackBuilds.org).
+
+See README.SBo (which is also installed with the package documentation)
+for some configuration hints.
diff --git a/network/vidalia/README.SBo b/network/vidalia/README.SBo
new file mode 100644
index 0000000000..65a432b73e
--- /dev/null
+++ b/network/vidalia/README.SBo
@@ -0,0 +1,18 @@
+vidalia README.SBo
+
+Once vidalia is installed then edit the ~/.vidalia/torrc file.
+Add the following to torrc or use the torrc file from /etc/tor/torrc.
+
+# Set the Tor Circuit Build time to find faster tor servers, increments of
+# seconds.
+CircuitBuildTimeout 2
+# connections while Tor is not in use.
+KeepalivePeriod 60
+# Force Tor to consider whether to build a new circuit every NUM seconds.
+NewCircuitPeriod 15
+# Set How many entry guards we should we keep at a time.
+NumEntryGuards 8
+
+To use vidalia and tor with Firefox then add the FoxyProxy extension
+and use the FoxyProxy's Tor Wizard. For extra anonimity in Firefox then try
+Torbutton extension and Privoxy.
diff --git a/network/vidalia/doinst.sh b/network/vidalia/doinst.sh
new file mode 100644
index 0000000000..4e8ba7071d
--- /dev/null
+++ b/network/vidalia/doinst.sh
@@ -0,0 +1,4 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
diff --git a/network/vidalia/slack-desc b/network/vidalia/slack-desc
new file mode 100644
index 0000000000..d584eb377d
--- /dev/null
+++ b/network/vidalia/slack-desc
@@ -0,0 +1,20 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|' on
+# the right side marks the last column you can put a character in. You must make
+# exactly 11 lines for the formatting to be correct. It's also customary to
+# leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+vidalia: vidalia (Gui frontend for tor)
+vidalia:
+vidalia: Using Vidalia, you can start and stop the Tor software, view its
+vidalia: status at a glance, and monitor bandwidth usage. Vidalia also makes
+vidalia: it easy to contribute to the Tor network by helping you set up and
+vidalia: manage your own relay.
+vidalia:
+vidalia: Homepage: http://vidalia-project.net/
+vidalia:
+vidalia:
+vidalia:
+
diff --git a/network/vidalia/vidalia.SlackBuild b/network/vidalia/vidalia.SlackBuild
new file mode 100644
index 0000000000..fdf599d3ee
--- /dev/null
+++ b/network/vidalia/vidalia.SlackBuild
@@ -0,0 +1,77 @@
+#!/bin/sh
+
+# Slackware build script for vidalia
+
+# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
+
+PRGNAM=vidalia
+VERSION=${VERSION:-0.1.13}
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+mkdir build && cd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install DESTDIR=$PKG
+cd -
+
+( cd $PKG
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null || true
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
+)
+
+mkdir -p $PKG/usr/man/man1
+gzip -9c doc/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ CHANGELOG CREDITS HACKING INSTALL LICENSE* README doc/TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/README.SBo > $PKG/usr/doc/$PRGNAM-$VERSION/README.SBo
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/*
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/network/vidalia/vidalia.info b/network/vidalia/vidalia.info
new file mode 100644
index 0000000000..e40b3761e0
--- /dev/null
+++ b/network/vidalia/vidalia.info
@@ -0,0 +1,8 @@
+PRGNAM="vidalia"
+VERSION="0.1.13"
+HOMEPAGE="http://vidalia-project.net/"
+DOWNLOAD="http://www.torproject.org/vidalia/dist/vidalia-0.1.13.tar.gz"
+MD5SUM="b0fcd0a9c30b1ed545981fa7d8ac7d71"
+MAINTAINER="Larry Hajali"
+EMAIL="larryhaja[at]gmail[dot]com"
+APPROVED="dsomero"