summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordsomero <xgizzmo@gmail.com>2010-05-20 21:12:45 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-21 00:33:18 -0500
commit20443b8ecf9e0135e87c04491eda6fbc0a481be7 (patch)
tree496ec623e5efaead408e571e5c5776502591ef08
parent0be1aece9c5581594b397efcccdbbccabb5ae885 (diff)
downloadslackbuilds-20443b8ecf9e0135e87c04491eda6fbc0a481be7.tar.gz
network/irda-utils: Removed (build failure)
-rw-r--r--network/irda-utils/README19
-rw-r--r--network/irda-utils/doinst.sh21
-rw-r--r--network/irda-utils/irda-utils.SlackBuild102
-rw-r--r--network/irda-utils/irda-utils.info10
-rw-r--r--network/irda-utils/patches/Makefile.irnetd.diff11
-rw-r--r--network/irda-utils/patches/Makefile.smcinit.diff23
-rw-r--r--network/irda-utils/patches/irda-utils-0.9.18-fixup_io.c_include.diff36
-rw-r--r--network/irda-utils/rc.irda.new46
-rw-r--r--network/irda-utils/slack-desc19
9 files changed, 0 insertions, 287 deletions
diff --git a/network/irda-utils/README b/network/irda-utils/README
deleted file mode 100644
index 83f7e9a287..0000000000
--- a/network/irda-utils/README
+++ /dev/null
@@ -1,19 +0,0 @@
-IrDA-Utils (manage and control infrared devices)
-
-This package contains various user space utilities which control
-IrDA stack and a bunch of little programs serving as examples and
-tools for IrDA applications.
-
-If you want to enable SIR mode connections at startup, adjust the
-serial port of you IrDA in /etc/rc.d/rc.irda, make it executable
-with 'chmod +x rc.irda' and add the following lines to your rc.local:
-
- if [ -x /etc/rc.d/rc.irda ]; then
- /etc/rc.d/rc.irda start
- fi
-
-If you are unsure which serial port to choose, 'dmesg | grep tty' may
-point you to the right direction.
-
-For detailed instructions on how to enable FIR mode, see 'man 8 irattach'
-and README.irattach in the doc directory.
diff --git a/network/irda-utils/doinst.sh b/network/irda-utils/doinst.sh
deleted file mode 100644
index 6487cd302a..0000000000
--- a/network/irda-utils/doinst.sh
+++ /dev/null
@@ -1,21 +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.irda.new:
-if [ -e etc/rc.d/rc.irda ]; then
- cp -a etc/rc.d/rc.irda etc/rc.d/rc.irda.new.incoming
- cat etc/rc.d/rc.irda.new > etc/rc.d/rc.irda.new.incoming
- mv etc/rc.d/rc.irda.new.incoming etc/rc.d/rc.irda.new
-fi
-
-config etc/rc.d/rc.irda.new
-
diff --git a/network/irda-utils/irda-utils.SlackBuild b/network/irda-utils/irda-utils.SlackBuild
deleted file mode 100644
index 657f735e1d..0000000000
--- a/network/irda-utils/irda-utils.SlackBuild
+++ /dev/null
@@ -1,102 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for irda-utils
-# (C) 2007 Michael Wagner <lapinours@web.de>
-# 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=irda-utils
-VERSION=0.9.18
-ARCH=${ARCH:-i486}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-# Omit -O2 as it is already included in almost all Makefiles and
-# those who haven't included it, would require additional CFLAGS
-# like -fno-strict-aliasing
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
-
-# Patch irnetd's Makefile to recognize $ROOT
-patch -p0 < $CWD/patches/Makefile.irnetd.diff
-
-# Patch smcinit's Makefile to link libz
-patch -p0 < $CWD/patches/Makefile.smcinit.diff
-
-# io.h has moved in newer kernel includes
-patch -p1 < $CWD/patches/irda-utils-0.9.18-fixup_io.c_include.diff
-
-# Now that we have declared $SLKCFLAGS, lets use it
-find . -name Makefile | \
-while read i; do
- OLDCFLAGS="$(grep -m 1 CFLAGS $i)"
- if [ -n "$OLDCFLAGS" ]; then
- sed -i "s#\($OLDCFLAGS\)#\1 $SLKCFLAGS#" $i
- fi
-done
-
-mkdir -p $PKG/usr/bin $PKG/usr/sbin $PKG/usr/man
-make
-make install ROOT=$PKG MANDIR=$PKG/usr/man
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-# Use a BSD-style init script (emphasise is put on "style" ;) )
-mkdir -p $PKG/etc/rc.d && rm -rf $PKG/etc/rc.d/init.d
-cat $CWD/rc.irda.new > $PKG/etc/rc.d/rc.irda.new
-
-# Documentation is spread all over the source package; just include the README files
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-find . -name README | \
-while read i; do
- install -m 0644 $i $PKG/usr/doc/$PRGNAM-$VERSION/$(basename README.$(dirname $i | cut -f2 -d/ -s) .)
-done
-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/network/irda-utils/irda-utils.info b/network/irda-utils/irda-utils.info
deleted file mode 100644
index 855dad088c..0000000000
--- a/network/irda-utils/irda-utils.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="irda-utils"
-VERSION="0.9.18"
-HOMEPAGE="http://irda.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/irda/irda-utils-0.9.18.tar.gz"
-MD5SUM="84dc12aa4c3f61fccb8d8919bf4079bb"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-MAINTAINER="Michael Wagner"
-EMAIL="lapinours@web.de"
-APPROVED="rworkman"
diff --git a/network/irda-utils/patches/Makefile.irnetd.diff b/network/irda-utils/patches/Makefile.irnetd.diff
deleted file mode 100644
index eca8c55428..0000000000
--- a/network/irda-utils/patches/Makefile.irnetd.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- irnetd/Makefile~ 2007-06-11 14:22:52.000000000 +0200
-+++ irnetd/Makefile 2007-06-11 14:23:14.000000000 +0200
-@@ -55,7 +55,7 @@
-
- install: irnetd
- $(prn_install)
-- $(ECMD) install irnetd /usr/sbin/
-+ $(ECMD) install irnetd $(ROOT)/usr/sbin/
-
-
- clean:
diff --git a/network/irda-utils/patches/Makefile.smcinit.diff b/network/irda-utils/patches/Makefile.smcinit.diff
deleted file mode 100644
index fc2e6182ee..0000000000
--- a/network/irda-utils/patches/Makefile.smcinit.diff
+++ /dev/null
@@ -1,23 +0,0 @@
---- smcinit/Makefile~ 2007-06-11 21:06:06.000000000 +0200
-+++ smcinit/Makefile 2007-06-11 21:06:39.000000000 +0200
-@@ -26,17 +26,17 @@
-
- smcinit: smcinit.o
- $(prn_cc_o)
-- $(ECMD)$(CC) -o $@ $^ $(LIBS) -lpci
-+ $(ECMD)$(CC) -o $@ $^ $(LIBS) -lpci -lz
-
-
- tosh1800-smcinit: tosh1800-smcinit.o
- $(prn_cc_o)
-- $(ECMD)$(CC) $(XCFLAGS) -o $@ $^ $(LIBS) -lpci
-+ $(ECMD)$(CC) $(XCFLAGS) -o $@ $^ $(LIBS) -lpci -lz
-
-
- tosh2450-smcinit: tosh2450-smcinit.o
- $(prn_cc_o)
-- $(ECMD)$(CC) $(XCFLAGS) -o $@ $^ $(LIBS) -lpci
-+ $(ECMD)$(CC) $(XCFLAGS) -o $@ $^ $(LIBS) -lpci -lz
-
-
- %o: %c
diff --git a/network/irda-utils/patches/irda-utils-0.9.18-fixup_io.c_include.diff b/network/irda-utils/patches/irda-utils-0.9.18-fixup_io.c_include.diff
deleted file mode 100644
index 3f82bc3a5b..0000000000
--- a/network/irda-utils/patches/irda-utils-0.9.18-fixup_io.c_include.diff
+++ /dev/null
@@ -1,36 +0,0 @@
-diff -Nur irda-utils-0.9.18.orig/findchip/nsc.c irda-utils-0.9.18/findchip/nsc.c
---- irda-utils-0.9.18.orig/findchip/nsc.c 2006-07-11 01:16:06.000000000 -0500
-+++ irda-utils-0.9.18/findchip/nsc.c 2009-10-14 00:22:39.372013759 -0500
-@@ -33,7 +33,7 @@
- #include <string.h>
- #include <unistd.h>
- #include <fcntl.h>
--#include <asm/io.h>
-+#include <sys/io.h>
-
- #include "findchip.h"
-
-diff -Nur irda-utils-0.9.18.orig/findchip/smc.c irda-utils-0.9.18/findchip/smc.c
---- irda-utils-0.9.18.orig/findchip/smc.c 2006-07-11 01:16:06.000000000 -0500
-+++ irda-utils-0.9.18/findchip/smc.c 2009-10-14 00:22:42.770014109 -0500
-@@ -32,7 +32,7 @@
- #include <string.h>
- #include <unistd.h>
- #include <fcntl.h>
--#include <asm/io.h>
-+#include <sys/io.h>
-
- #include "findchip.h"
-
-diff -Nur irda-utils-0.9.18.orig/findchip/winbond.c irda-utils-0.9.18/findchip/winbond.c
---- irda-utils-0.9.18.orig/findchip/winbond.c 2006-07-11 01:16:06.000000000 -0500
-+++ irda-utils-0.9.18/findchip/winbond.c 2009-10-14 00:22:45.938995740 -0500
-@@ -32,7 +32,7 @@
- #include <stdio.h>
- #include <unistd.h>
- #include <fcntl.h>
--#include <asm/io.h>
-+#include <sys/io.h>
-
- #include "findchip.h"
-
diff --git a/network/irda-utils/rc.irda.new b/network/irda-utils/rc.irda.new
deleted file mode 100644
index 88b62eff0a..0000000000
--- a/network/irda-utils/rc.irda.new
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/bin/sh
-
-# Start/stop/restart the irda daemon:
-#
-# This script is based on irda-utils' sysv-init script and
-# only covers SIR mode. For detailed instructionis on how
-# to enable FIR mode see 'man 8 irattach' and README.irattach
-# in the doc directory.
-
-# You probably have to choose a different serial port (/dev/ttyS?).
-DEVICE=/dev/ttyS1
-DISCOVERY=yes
-#DONGLE=actisys+
-
-[ -f /usr/sbin/irattach ] || exit 0
-
-ARGS=
-if [ $DONGLE ]; then
- ARGS="$ARGS -d $DONGLE"
-fi
-if [ "$DISCOVERY" = "yes" ];then
- ARGS="$ARGS -s"
-fi
-
-# See how we were called.
-case "$1" in
- start)
- # Attach irda device
- echo "Starting IrDA: /usr/sbin/irattach"
- /usr/sbin/irattach ${DEVICE} ${ARGS}
- ;;
- stop)
- # Stop service.
- echo "Stopping IrDA... "
- killall irattach
- ;;
- restart)
- $0 stop
- $0 start
- ;;
- *)
- echo "Usage: irda {start|stop|restart}"
- exit 1
-esac
-
-exit 0
diff --git a/network/irda-utils/slack-desc b/network/irda-utils/slack-desc
deleted file mode 100644
index 1749aeba93..0000000000
--- a/network/irda-utils/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------------------------------------------------------|
-irda-utils: IrDA-Utils (manage and control infrared devices)
-irda-utils:
-irda-utils: This package contains various user space utilities which control
-irda-utils: IrDA stack and a bunch of little programs serving as examples and
-irda-utils: tools for IrDA applications.
-irda-utils:
-irda-utils: Homepage: http://irda.sourceforge.net
-irda-utils:
-irda-utils:
-irda-utils:
-irda-utils: