system/vlock: Updated for version 2.2.3.

Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
Chris Abela 2011-10-19 08:52:38 -05:00 committed by Niels Horn
parent 23ca6db3ad
commit f1b615efa6
3 changed files with 11 additions and 13 deletions

View file

@ -18,7 +18,7 @@ group:
and and
-s ,--disable-sysrq -s ,--disable-sysrq
Disable the SysRq mechanism (enabled by stock Slackware 13.0 Disable the SysRq mechanism (enabled by stock Slackware 13.37
kernels) while consoles are locked. This option only works if kernels) while consoles are locked. This option only works if
the -a, --all option given. the -a, --all option given.

View file

@ -3,19 +3,17 @@
# Slackware build script for vlock # Slackware build script for vlock
# Written by Menno E. Duursma <druiloor@zonnet.nl> # Written by Menno E. Duursma <druiloor@zonnet.nl>
# Modified by Robby Workman <rworkman@slackbuilds.org> # Modified by Robby Workman <rworkman@slackbuilds.org>
# Modified by Chris Abela <chris.abela@maltats.com> # Modified by Chris Abela <kristofru@gmail.com>
PRGNAM=vlock PRGNAM=vlock
VERSION=2.2.2 VERSION=${VERSION:-2.2.3}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi
@ -41,7 +39,7 @@ else
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
set -e # Exit on most errors set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
@ -62,9 +60,9 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \ --prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \ --libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \ --mandir=/usr/man \
--enable-shadow \ --enable-shadow
make make
make install DESTDIR=$PKG VLOCK_GROUP="$VLOCK_GRP" make install DESTDIR=$PKG VLOCK_GROUP="$VLOCK_GRP"
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \

View file

@ -1,10 +1,10 @@
PRGNAM="vlock" PRGNAM="vlock"
VERSION="2.2.2" VERSION="2.2.3"
HOMEPAGE="http://cthulhu.c3d2.de/~toidinamai/vlock/vlock.html" HOMEPAGE="http://cthulhu.c3d2.de/~toidinamai/vlock/vlock.html"
DOWNLOAD="http://cthulhu.c3d2.de/~toidinamai/vlock/archive/vlock-2.2.2.tar.gz" DOWNLOAD="http://cthulhu.c3d2.de/~toidinamai/vlock/archive/vlock-2.2.3.tar.gz"
MD5SUM="51c389ee4ef814bf59063bc367437eb8" MD5SUM="378175c7692a8f288e65fd4dbf8a38eb"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
MAINTAINER="Chris Abela" MAINTAINER="Chris Abela"
EMAIL="chris.abela@maltats.com" EMAIL="kristofru@gmail.com"
APPROVED="dsomero" APPROVED="dsomero,Erik Hanson"