[Frugalware-git] frugalware-current: bpck-usb-firmware * remove package (last update in 2008, and website is 404)

James Buren ryuo at frugalware.org
Thu Aug 23 23:37:05 CEST 2012


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=4d008df6ca7aa39553eeb47093532719fb0d3927

commit 4d008df6ca7aa39553eeb47093532719fb0d3927
Author: James Buren <ryuo at frugalware.org>
Date:   Thu Aug 23 16:36:21 2012 -0500

bpck-usb-firmware
* remove package (last update in 2008, and website is 404)

diff --git a/source/lib-extra/bpck-usb-firmware/FrugalBuild b/source/lib-extra/bpck-usb-firmware/FrugalBuild
deleted file mode 100644
index b644089..0000000
--- a/source/lib-extra/bpck-usb-firmware/FrugalBuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Compiling Time: 0 SBU
-# Maintainer:  Rob Kennedy <frugalware at gmail.com>
-
-pkgname=bpck-usb-firmware
-pkgver=1.1
-pkgrel=1
-pkgdesc="Firmware and drivers for Backpack USB drives (such as CD Writers)"
-url="http://www.micro-solutions.com"
-depends=('fxload' 'udev' 'bash')
-makedepends=('bash')
-groups=('lib-extra')
-archs=('i686' 'x86_64')
-up2date="lynx -dump http://www.micro-solutions.com/downloads/linux/index3.asp|grep '.*ftp.*bpck.*tgz'|sed 's|.*bpck-usb-firmware-\(.*\).tgz|\1|'"
-install=($pkgname.install)
-source=(ftp://ftp.micro-solutions.com/software/backpack/linux/bpck-usb-firmware-1.1.tgz convert_usermap_backpack.sh)
-sha1sums=('4849a7f3e84a7f3258c912914a1cb1fc24c8b5a9' '375b5281726b8ff2932f970abf2bb6217b3512d5')
-
-build() {
-	Fcd
-	Fmessage "Converting usb.usermap to backpack-usb.rules for use with udev..."
-	chmod +x $startdir/src/convert_usermap_backpack.sh
-	$startdir/src/convert_usermap_backpack.sh ./usb.usermap
-	Fmessage "Installing backpack-usb.rules..."
-	install -D -m644 backpack-usb.rules $startdir/pkg/etc/udev/rules.d/backpack-usb.rules
-	Fsed 'usb/bpckusb.fw' '/lib/firmware/backpack-usb.d' bpckusb
-	Fmessage "Installing Backpack Firmware and Script called by backpack-usb.rules..."
-	install -D -m744 bpckusb $startdir/pkg/lib/udev/backpack-usb.sh
-	install -d -m755 $startdir/pkg/lib/firmware/backpack-usb.d
-	install -D -m644 firmware/* $startdir/pkg/lib/firmware/backpack-usb.d
-}
-
-# optimization OK
-
-
diff --git a/source/lib-extra/bpck-usb-firmware/bpck-usb-firmware.install b/source/lib-extra/bpck-usb-firmware/bpck-usb-firmware.install
deleted file mode 100644
index e36f971..0000000
--- a/source/lib-extra/bpck-usb-firmware/bpck-usb-firmware.install
+++ /dev/null
@@ -1,52 +0,0 @@
-# This is a default template for a post-install scriptlet.  You can
-# remove any functions you don't need (and this header).
-
-# arg 1:  the new package version
-pre_install() {
-  /bin/true
-}
-
-# arg 1:  the new package version
-post_install() {
-  /bin/cat <<END
->>
->> Now running udevstart
->>
->> If the USB device does not initially appear, unplug and plug back in
->> the USB device.
->>
-END
-  /sbin/udevstart
-}
-
-# arg 1:  the new package version
-# arg 2:  the old package version
-pre_upgrade() {
-  /bin/true
-}
-
-# arg 1:  the new package version
-# arg 2:  the old package version
-post_upgrade() {
-  post_install $1
-}
-
-# arg 1:  the old package version
-pre_remove() {
-  /bin/true
-}
-
-# arg 1:  the old package version
-post_remove() {
-  /bin/cat <<END
-
->>
->> Now running udevstart
->>
-END
-  /sbin/udevstart
-}
-
-op=$1
-shift
-$op $*
diff --git a/source/lib-extra/bpck-usb-firmware/convert_usermap_backpack.sh b/source/lib-extra/bpck-usb-firmware/convert_usermap_backpack.sh
deleted file mode 100644
index aa73d42..0000000
--- a/source/lib-extra/bpck-usb-firmware/convert_usermap_backpack.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/bash
-#
-# This script converts the usb.usermap file for the Micro Solutions
-# Backpack drives to an udev rules file
-#
-# Copyright 2006 by Rob Kennedy <archpackages at gmail.com>
-# Licence for this script:  GPL2
-#
-
-cat "$1" | { while read map; do
-
-     if $(echo "$map" | grep -q ^# > /dev/null); then
-          echo $map >> backpack-usb.rules
-
-     else
-
-          if [ -n "$map" ]; then
-
-               set $map
-
-               vid=$(echo $3 | cut -b3-)
-               pid=$(echo $4 | cut -b3-)
-
-               echo -e "SYSFS{idVendor}==\"$vid\", SYSFS{idProduct}==\"$pid\", RUN+=\"/lib/udev/backpack-usb.sh\"" >> backpack-usb.rules
-
-          fi
-
-     fi
-
-done }
-
-exit 0


More information about the Frugalware-git mailing list