aboutsummaryrefslogtreecommitdiff
path: root/system/vlock
diff options
context:
space:
mode:
authorChris Abela <kristofru@gmail.com>2011-10-19 08:52:38 -0500
committerNiels Horn <niels.horn@slackbuilds.org>2011-10-22 10:17:09 -0200
commitf1b615efa6a0e92db49a5f9a622bd858313a7006 (patch)
tree755c16c2a6f9ac5be5c4f766a653af94a6ad0c43 /system/vlock
parent23ca6db3adcbe896b4b3301e3b03132040f94337 (diff)
system/vlock: Updated for version 2.2.3.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'system/vlock')
-rw-r--r--system/vlock/README2
-rw-r--r--system/vlock/vlock.SlackBuild12
-rw-r--r--system/vlock/vlock.info10
3 files changed, 11 insertions, 13 deletions
diff --git a/system/vlock/README b/system/vlock/README
index 1aca46ec14805..91824d09a9701 100644
--- a/system/vlock/README
+++ b/system/vlock/README
@@ -18,7 +18,7 @@ group:
and
-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
the -a, --all option given.
diff --git a/system/vlock/vlock.SlackBuild b/system/vlock/vlock.SlackBuild
index cfcf1fd6d2eff..1b76e72c25070 100644
--- a/system/vlock/vlock.SlackBuild
+++ b/system/vlock/vlock.SlackBuild
@@ -3,19 +3,17 @@
# Slackware build script for vlock
# Written by Menno E. Duursma <druiloor@zonnet.nl>
# Modified by Robby Workman <rworkman@slackbuilds.org>
-# Modified by Chris Abela <chris.abela@maltats.com>
+# Modified by Chris Abela <kristofru@gmail.com>
PRGNAM=vlock
-VERSION=2.2.2
+VERSION=${VERSION:-2.2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -41,7 +39,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -62,9 +60,9 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
- --enable-shadow \
+ --enable-shadow
-make
+make
make install DESTDIR=$PKG VLOCK_GROUP="$VLOCK_GRP"
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
diff --git a/system/vlock/vlock.info b/system/vlock/vlock.info
index c67fdb4689dd1..1307057a4064b 100644
--- a/system/vlock/vlock.info
+++ b/system/vlock/vlock.info
@@ -1,10 +1,10 @@
PRGNAM="vlock"
-VERSION="2.2.2"
+VERSION="2.2.3"
HOMEPAGE="http://cthulhu.c3d2.de/~toidinamai/vlock/vlock.html"
-DOWNLOAD="http://cthulhu.c3d2.de/~toidinamai/vlock/archive/vlock-2.2.2.tar.gz"
-MD5SUM="51c389ee4ef814bf59063bc367437eb8"
+DOWNLOAD="http://cthulhu.c3d2.de/~toidinamai/vlock/archive/vlock-2.2.3.tar.gz"
+MD5SUM="378175c7692a8f288e65fd4dbf8a38eb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Chris Abela"
-EMAIL="chris.abela@maltats.com"
-APPROVED="dsomero"
+EMAIL="kristofru@gmail.com"
+APPROVED="dsomero,Erik Hanson"