From e7ee4654a4458469999f591478d748a17c94c4f2 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Wed, 16 Apr 2014 21:17:04 +0000 Subject: ipw3945d & ipw3945-ucode: remove old pkgs --- abs/core/ipw3945-ucode/PKGBUILD | 22 --------------- abs/core/ipw3945-ucode/ipw3945-ucode.install | 18 ------------ abs/core/ipw3945d/PKGBUILD | 28 ------------------- abs/core/ipw3945d/ipw3945d.install | 35 ----------------------- abs/core/ipw3945d/ipw3945d.rc | 42 ---------------------------- 5 files changed, 145 deletions(-) delete mode 100644 abs/core/ipw3945-ucode/PKGBUILD delete mode 100644 abs/core/ipw3945-ucode/ipw3945-ucode.install delete mode 100644 abs/core/ipw3945d/PKGBUILD delete mode 100644 abs/core/ipw3945d/ipw3945d.install delete mode 100644 abs/core/ipw3945d/ipw3945d.rc diff --git a/abs/core/ipw3945-ucode/PKGBUILD b/abs/core/ipw3945-ucode/PKGBUILD deleted file mode 100644 index dbc79ca..0000000 --- a/abs/core/ipw3945-ucode/PKGBUILD +++ /dev/null @@ -1,22 +0,0 @@ -# Contributor: Giovanni Scafora - -pkgname=ipw3945-ucode -pkgver=1.14.2 -pkgrel=2 -pkgdesc="Intel Centrino Drivers firmware for IPW3945" -arch=(i686 x86_64) -url="http://www.bughost.org/ipw3945" -license="" -depends=('udev') -install=ipw3945-ucode.install -source=(http://www.bughost.org/ipw3945/ucode/$pkgname-$pkgver.tgz) - - -build() { - cd $startdir/src/$pkgname-$pkgver - #Install firmware - install -D -m 644 ipw3945.ucode $startdir/pkg/lib/firmware/ipw3945.ucode - # Install firmware license - install -D -m 644 LICENSE.ipw3945-ucode $startdir/pkg/lib/firmware/LICENSE.ipw3945-ucode -} -md5sums=('c1c4cc7f993f448e7c05768c012084aa') diff --git a/abs/core/ipw3945-ucode/ipw3945-ucode.install b/abs/core/ipw3945-ucode/ipw3945-ucode.install deleted file mode 100644 index 9296f8c..0000000 --- a/abs/core/ipw3945-ucode/ipw3945-ucode.install +++ /dev/null @@ -1,18 +0,0 @@ -# arg 1: the new package version -post_install() { -cat << EOF -IMPORTANT -==> In order to use this firmware you have to agree to Intel's license located in -==> /lib/firmware/LICENSE.ipw3945-ucode else please remove this package. -EOF -} - -# arg 1: the new package version -# arg 2: the old package version -post_upgrade() { - post_install $1 -} - -op=$1 -shift -$op $* diff --git a/abs/core/ipw3945d/PKGBUILD b/abs/core/ipw3945d/PKGBUILD deleted file mode 100644 index 5a9351b..0000000 --- a/abs/core/ipw3945d/PKGBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: James Rayner -# Contributor: Giovanni Scafora - -pkgname=ipw3945d -pkgver=1.7.22 -pkgrel=5 -pkgdesc="Regulatory daemon for IPW3945" -arch=('i686' 'x86_64') -url="http://www.bughost.org/ipw3945" -license=('custom') -depends=('glibc') -install=ipw3945d.install -source=(http://www.bughost.org/ipw3945/daemon/${pkgname}-${pkgver}.tgz ipw3945d.rc) - -build() { - cd ${srcdir}/${pkgname}-${pkgver} - #Install daemon w/ Arch specific fix - if [ "$CARCH" = "x86_64" ]; then - install -D -m 755 x86_64/ipw3945d ${pkgdir}/sbin/ipw3945d - else install -D -m 755 x86/ipw3945d ${pkgdir}/sbin/ipw3945d - fi - # Install license - install -D -m 644 LICENSE.ipw3945d ${pkgdir}/usr/share/licenses/$pkgname/LICENSE - install -m755 -D ${srcdir}/ipw3945d.rc ${pkgdir}/etc/rc.d/ipw3945d || return -} -md5sums=('097888f5be05eb2b9b87dcdbeeb948ce' - '72aafd7cba214592de6175974a48b4f9') diff --git a/abs/core/ipw3945d/ipw3945d.install b/abs/core/ipw3945d/ipw3945d.install deleted file mode 100644 index 3d35fc5..0000000 --- a/abs/core/ipw3945d/ipw3945d.install +++ /dev/null @@ -1,35 +0,0 @@ -# arg 1: the new package version -post_install() { -cat << EOF -IMPORTANT -==> In order to use this daemon you have to agree to Intel's license located -==> in /usr/share/licenses/custom/ipw3945d/LICENSE.ipw3945d -==> else please remove this package. -==> -==> To use this daemon, add 'ipw3945d' to your DAEMONS=() entry in /etc/rc.conf -EOF -} - -# arg 1: the new package version -# arg 2: the old package version -post_upgrade() { -cat << EOF -IMPORTANT -==> In order to use this daemon you have to agree to Intel's license located -==> in /usr/share/licenses/custom/ipw3945d/LICENSE.ipw3945d -==> else please remove this package. -==> -AUTOMATIC DAEMON LOADING VIA MODPROBE -==> To do this, you typically place the following two lines into your -==> /etc/modprobe.conf: -==> echo install ipw3945 /sbin/modprobe --ignore-install ipw3945 ; \ -==> sleep 0.5 ; /sbin/ipw3945d --quiet >> /etc/modprobe.conf -==> -==> echo remove ipw3945 /sbin/ipw3945d --kill ; \ -==> /sbin/modprobe -r --ignore-remove ipw3945 >> /etc/modprobe.conf -EOF -} - -op=$1 -shift -$op $* diff --git a/abs/core/ipw3945d/ipw3945d.rc b/abs/core/ipw3945d/ipw3945d.rc deleted file mode 100644 index b0e02bb..0000000 --- a/abs/core/ipw3945d/ipw3945d.rc +++ /dev/null @@ -1,42 +0,0 @@ - -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -PID=`pidof -o %PPID /sbin/ipw3945d` -case "$1" in - start) - stat_busy "Starting IPW3945d" - [ -z "$PID" ] && /sbin/ipw3945d --quiet - if [ $? -gt 0 ]; then - stat_fail - else - echo `pidof -o %PPID /sbin/ipw3945d` > /var/run/ipw3945d.pid - add_daemon ipw3945d - sleep 1 # not good, but daemon needs time to upload to card, otherwise network fails. - stat_done - fi - - sleep 0.5 - ;; - stop) - stat_busy "Stopping IPW3945d" - [ ! -z "$PID" ] && /sbin/ipw3945d --kill - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon ipw3945d - stat_done - fi - ;; - restart) - $0 stop - sleep 1 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 - -- cgit v0.12