diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/ivman/README | 22 | ||||
-rw-r--r-- | system/ivman/doinst.sh | 18 | ||||
-rw-r--r-- | system/ivman/ivman.SlackBuild | 100 | ||||
-rw-r--r-- | system/ivman/ivman.info | 10 | ||||
-rw-r--r-- | system/ivman/slack-desc | 19 |
5 files changed, 0 insertions, 169 deletions
diff --git a/system/ivman/README b/system/ivman/README deleted file mode 100644 index 8c804a5837..0000000000 --- a/system/ivman/README +++ /dev/null @@ -1,22 +0,0 @@ -ivman is a generic handler for HAL events. Originally for automounting, -it can now be used to run arbitrary commands when events or conditions -occur or properties are modified on your hardware (e.g., run a command -when you close your laptop's lid, run a command when a particular -device is attached or a particular CD is inserted, etc). - -ivman allows you to have automount feature even if you don't use a volume -manager like KDE, GNOME, or XFCE includes. Just run ivman in the background, -and if you're not root, be sure to also install pmount, which allows you to -mount without being root and having the devices listed on /etc/fstab. - -NOTE FROM SUBMITTER: -I've discovered a bug (possibly known) in ivman with pumount usage; since -ivman doesn't have maintainer right now and I don't know where to report it, -I'll explain here how to easily solve it. Note that this happens when using -pumount as non-root; I haven't tried using ivman as root. -It seems that when you remove a USB device without pumounting it (which ivman -should take care of), ivman locks the device when calling pumount. This can -be easily fixed by correcting your ivman's config files. -Set in ~/.ivman/IvmConfigBase.xml: -<ivm:Option name="mountcommand" value="pmount-hal '$hal.info.udi$'" /> -<ivm:Option name="umountcommand" value="pumount -l '$hal.block.device$'" /> diff --git a/system/ivman/doinst.sh b/system/ivman/doinst.sh deleted file mode 100644 index 817148292a..0000000000 --- a/system/ivman/doinst.sh +++ /dev/null @@ -1,18 +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... -} - -config etc/ivman/IvmConfigBase.xml.new -config etc/ivman/IvmConfigActions.xml.new -config etc/ivman/IvmConfigProperties.xml.new -config etc/ivman/IvmConfigConditions.xml.new - diff --git a/system/ivman/ivman.SlackBuild b/system/ivman/ivman.SlackBuild deleted file mode 100644 index cd1486cae1..0000000000 --- a/system/ivman/ivman.SlackBuild +++ /dev/null @@ -1,100 +0,0 @@ -#!/bin/sh - -# Slackware build script for ivman - -# Copyright 2007 by Guillermo Bonvehi (gbonvehi@gmail.com) -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 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. - -# Modified by Robby Workman <http://rlworkman.net> -# No additional license terms added. - -PRGNAM=ivman -VERSION=0.6.14 -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" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -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 \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --build=$ARCH-slackware-linux - -make -make install-strip DESTDIR=$PKG - -( cd $PKG - mv etc/ivman/IvmConfigBase.xml etc/ivman/IvmConfigBase.xml.new - mv etc/ivman/IvmConfigActions.xml etc/ivman/IvmConfigActions.xml.new - mv etc/ivman/IvmConfigProperties.xml etc/ivman/IvmConfigProperties.xml.new - mv etc/ivman/IvmConfigConditions.xml etc/ivman/IvmConfigConditions.xml.new -) - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -) - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS INSTALL COPYING* ChangeLog NEWS TODO README \ - $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.${PKGTYPE:-tgz} diff --git a/system/ivman/ivman.info b/system/ivman/ivman.info deleted file mode 100644 index fe5d3844ad..0000000000 --- a/system/ivman/ivman.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="ivman" -VERSION="0.6.14" -HOMEPAGE="http://ivman.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/ivman/ivman-0.6.14.tar.bz2" -MD5SUM="ebef12559268e2c5ea932cbb5aaa789e" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Guillermo Bonvehi" -EMAIL="gbonvehi@gmail.com" -APPROVED="rworkman" diff --git a/system/ivman/slack-desc b/system/ivman/slack-desc deleted file mode 100644 index cee207b3b4..0000000000 --- a/system/ivman/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------------------------------------------------------| -ivman: ivman (generic handler for HAL events.) -ivman: -ivman: Ivman is a generic handler for HAL events. Originally for -ivman: automounting, it can now be used to run arbitrary commands -ivman: when events or conditions occur or properties are modified -ivman: on your hardware (e.g., run a command when you close your -ivman: laptop's lid, when a particular device is attached, or when -ivman: a particular CD is inserted, etcetera). -ivman: -ivman: Homepage: http://ivman.sourceforge.net/ -ivman: |