From f1b615efa6a0e92db49a5f9a622bd858313a7006 Mon Sep 17 00:00:00 2001 From: Chris Abela Date: Wed, 19 Oct 2011 08:52:38 -0500 Subject: [PATCH] system/vlock: Updated for version 2.2.3. Signed-off-by: Erik Hanson --- system/vlock/README | 2 +- system/vlock/vlock.SlackBuild | 12 +++++------- system/vlock/vlock.info | 10 +++++----- 3 files changed, 11 insertions(+), 13 deletions(-) diff --git a/system/vlock/README b/system/vlock/README index 1aca46ec14..91824d09a9 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 cfcf1fd6d2..1b76e72c25 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 # Modified by Robby Workman -# Modified by Chris Abela +# Modified by Chris Abela 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 c67fdb4689..1307057a40 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"