diff options
author | alkos333 <me@alkos333.net> | 2010-05-11 22:25:57 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 22:25:57 +0200 |
commit | e0efafad9781021a58e75dca89ac2353ea1a2cd7 (patch) | |
tree | c6fbfb0a23ba47b28c435158967069479e908ec2 /network/vpnc | |
parent | 3e88e50826d92c6387333e8d4f385d4f044d26d4 (diff) |
network/vpnc: Updated for version 0.5.1
Diffstat (limited to 'network/vpnc')
-rw-r--r-- | network/vpnc/doinst.sh | 2 | ||||
-rw-r--r-- | network/vpnc/vpnc.SlackBuild | 16 |
2 files changed, 10 insertions, 8 deletions
diff --git a/network/vpnc/doinst.sh b/network/vpnc/doinst.sh index 4be223a1c12f..eafbd9e9b4ee 100644 --- a/network/vpnc/doinst.sh +++ b/network/vpnc/doinst.sh @@ -1,5 +1,3 @@ -#!/bin/sh - config() { NEW="$1" OLD="$(dirname $NEW)/$(basename $NEW .new)" diff --git a/network/vpnc/vpnc.SlackBuild b/network/vpnc/vpnc.SlackBuild index 961e1a03ef7b..645d6a51e021 100644 --- a/network/vpnc/vpnc.SlackBuild +++ b/network/vpnc/vpnc.SlackBuild @@ -31,26 +31,27 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Modified by the SlackBuild Project. - -set -e +# Modified by the SlackBuilds.org Project. PRGNAM=vpnc VERSION=0.5.1 ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} 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" + SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" + SLKCFLAGS="-O2 -march=i686 -mtune=i686" fi +set -e + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP @@ -60,6 +61,9 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . +# Build with openssl support -- do NOT distribute binaries of this +sed -i '/^#OPENSSL/s/^#//g' Makefile + make CFLAGS="$SLKCFLAGS" make install DESTDIR=$PKG PREFIX=/usr MANDIR=/usr/man |