summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2010-05-13 00:09:22 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2010-05-13 00:09:22 +0200
commitff87e943eb609f4c9d264587b18a6a5cc55690f3 (patch)
tree29757743e59ecafe8b99450277d3cb2211c4bf94 /system
parent80ff19a2deb4f4b0fda1278e4184ea67292a4217 (diff)
downloadslackbuilds-ff87e943eb609f4c9d264587b18a6a5cc55690f3.tar.gz
system/lapsus: Removed from 13.0 repository
Diffstat (limited to 'system')
-rw-r--r--system/lapsus/README13
-rw-r--r--system/lapsus/doinst.sh23
-rw-r--r--system/lapsus/lapsus.SlackBuild82
-rw-r--r--system/lapsus/lapsus.info8
-rw-r--r--system/lapsus/rc.lapsus40
-rw-r--r--system/lapsus/slack-desc19
6 files changed, 0 insertions, 185 deletions
diff --git a/system/lapsus/README b/system/lapsus/README
deleted file mode 100644
index 4c35d032a5..0000000000
--- a/system/lapsus/README
+++ /dev/null
@@ -1,13 +0,0 @@
-Lapsus is a program created to let laptops users use many of the
-features of their laptops which are supported by Linux. For now,
-there are two hardware-specific backends - Asus and IBM, and one
-'generic' backend for all unsupported hardware.
-
-Every user, who wants to use lapsus, needs to be in a group called
-'lapsus'. You can add that group via 'groupadd lapsus'.
-Alternatively, if you want to use a different group, you can edit
-/etc/dbus-1/system.d/lapsus.conf to specify a different one:
-Change the line that reads like this:
- <policy group="lapsus">
-to whatever group you wish to use; for example, the 'power' group:
- <policy group="power">
diff --git a/system/lapsus/doinst.sh b/system/lapsus/doinst.sh
deleted file mode 100644
index 658afbcb90..0000000000
--- a/system/lapsus/doinst.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-# Keep same perms on rc.lapsus.new:
-if [ -e etc/rc.d/rc.lapsus ]; then
- cp -a etc/rc.d/rc.lapsus etc/rc.d/rc.lapsus.new.incoming
- cat etc/rc.d/rc.lapsus.new > etc/rc.d/rc.lapsus.new.incoming
- mv etc/rc.d/rc.lapsus.new.incoming etc/rc.d/rc.lapsus.new
-fi
-
-config etc/rc.d/rc.lapsus.new
-config etc/dbus-1/system.d/lapsus.conf.new
-
diff --git a/system/lapsus/lapsus.SlackBuild b/system/lapsus/lapsus.SlackBuild
deleted file mode 100644
index 277fc0dc95..0000000000
--- a/system/lapsus/lapsus.SlackBuild
+++ /dev/null
@@ -1,82 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for lapsus
-
-# Copyright 2007-2008 Heinz Wiesinger <hmwiesinger@gmx.at>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=lapsus
-VERSION=0.0.6
-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"
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
-chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --disable-static \
- --build=$ARCH-slackware-linux \
- --host=$ARCH-slackware-linux
-
-make
-make install-strip DESTDIR=$PKG
-
-mkdir -p $PKG/etc/{rc.d,dbus-1/system.d}
-install -m 0644 lapsus.conf $PKG/etc/dbus-1/system.d/lapsus.conf.new
-install -m 0755 $CWD/rc.lapsus $PKG/etc/rc.d/rc.lapsus.new
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-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/system/lapsus/lapsus.info b/system/lapsus/lapsus.info
deleted file mode 100644
index 98234ecb1f..0000000000
--- a/system/lapsus/lapsus.info
+++ /dev/null
@@ -1,8 +0,0 @@
-PRGNAM="lapsus"
-VERSION="0.0.6"
-HOMEPAGE="http://lapsus.berlios.de"
-DOWNLOAD="http://download.berlios.de/lapsus/lapsus-0.0.6.tar.bz2"
-MD5SUM="1013b513ba0ddb9cc82dbb9bb373c8ab"
-MAINTAINER="ppr:kut"
-EMAIL="HMWiesinger@gmx.at"
-APPROVED="rworkman"
diff --git a/system/lapsus/rc.lapsus b/system/lapsus/rc.lapsus
deleted file mode 100644
index a9c0c6ded7..0000000000
--- a/system/lapsus/rc.lapsus
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/sh
-# Start/stop/restart lapsus.
-# $Id: rc.lapsus,v 1.0 2007/11/28
-# Author: Heinz Wiesinger <hmwiesinger@gmx.at>
-# ---------------------------------------------------------------------------
-
-# Start lapsus:
-lapsus_start() {
- if [ -x /usr/sbin/lapsusd ]; then
- echo "Starting lapsus daemon: /usr/sbin/lapsusd "
- /usr/sbin/lapsusd
- fi
-}
-
-# Stop lapsus:
-lapsus_stop() {
- echo "Stopping lapsus daemon"
- killall lapsusd 1> /dev/null 2> /dev/null
-}
-
-# Restart lapsus:
-lapsus_restart() {
- lapsus_stop
- sleep 1
- lapsus_start
-}
-
-case "$1" in
-'start')
- lapsus_start
- ;;
-'stop')
- lapsus_stop
- ;;
-'restart')
- lapsus_restart
- ;;
-*)
- echo "usage $0 start|stop|restart"
-esac
diff --git a/system/lapsus/slack-desc b/system/lapsus/slack-desc
deleted file mode 100644
index f2e3115a31..0000000000
--- a/system/lapsus/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# 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------------------------------------------------------|
-lapsus: lapsus (program to use many of the features of laptops)
-lapsus:
-lapsus: Lapsus is a program created to let laptops users use many of the
-lapsus: features of their laptops which are supported by Linux. For now,
-lapsus: there are two hardware-specific backends - Asus and IBM, and one
-lapsus: 'generic' backend for all unsupported hardware.
-lapsus:
-lapsus: Homepage: http://lapsus.berlios.de
-lapsus:
-lapsus:
-lapsus: