From f36e13b41f026660b357f6885075eb31ae8f2ae1 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Mon, 16 Dec 2019 23:13:10 +0000 Subject: Mon Dec 16 23:13:10 UTC 2019 a/usb_modeswitch-2.5.2-x86_64-2.txz: Rebuilt. Seems there's a regression in usb_modeswitch-2.6.0, so let's revert to usb_modeswitch-2.5.2 but keep the latest usb-modeswitch-data-20191128. Thanks to Lockywolf. l/fuse3-3.9.0-x86_64-2.txz: Rebuilt. Install fuse.conf as fuse.conf.new. This won't prevent an existing config file from being overwritten with this upgrade, but it will prevent that from happening again moving forward. Thanks to chrisVV. --- source/a/usb_modeswitch/usb_modeswitch.SlackBuild | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'source/a') diff --git a/source/a/usb_modeswitch/usb_modeswitch.SlackBuild b/source/a/usb_modeswitch/usb_modeswitch.SlackBuild index a75620e80..97392fc1e 100755 --- a/source/a/usb_modeswitch/usb_modeswitch.SlackBuild +++ b/source/a/usb_modeswitch/usb_modeswitch.SlackBuild @@ -1,6 +1,8 @@ #!/bin/bash -# Copyright 2010, 2012, 2013, 2015, 2017, 2018, 2019 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Slackware build script for usb_modeswitch. + +# Copyright 2010, 2012, 2013, 2015, 2017, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA # Copyright 2010 David Somero, Athens, TN, USA # All rights reserved. # @@ -24,9 +26,9 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=usb_modeswitch -VERSION=${VERSION:-2.6.0} +VERSION=${VERSION:-2.5.2} DATAVER=${DATAVER:-20191128} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -70,7 +72,7 @@ rm -rf $PKG mkdir -p $TMP $PKG cd $TMP rm -rf $SRCPKGNAM-$VERSION -tar xvf $CWD/$SRCPKGNAM-$VERSION.tar.?z || exit 1 +tar xvf $CWD/$SRCPKGNAM-$VERSION.tar.?z* || exit 1 cd $SRCPKGNAM-$VERSION || exit 1 chown -R root:root . find . \ @@ -80,6 +82,8 @@ find . \ -exec chmod 644 {} \+ make clean || exit 1 +# "make static" uses the embedded "jim" Tcl interpreter +make static || exit 1 make \ DESTDIR=$PKG \ @@ -112,6 +116,10 @@ cp -a \ $PKG/usr/doc/$PKGNAM-$VERSION # http://www.draisberghof.de/usb_modeswitch/device_reference.txt.gz zcat $CWD/device_reference.txt.gz > $PKG/usr/doc/$PKGNAM-$VERSION/device_reference.txt +mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION/jim +cp -a \ + jim/{AUTHORS,LICENSE,README*} \ + $PKG/usr/doc/$PKGNAM-$VERSION/jim # If there's a ChangeLog, installing at least part of the recent history # is useful, but don't let it get totally out of control: @@ -124,7 +132,7 @@ fi # Now, install the data pack: cd $TMP rm -rf usb-modeswitch-data-${DATAVER} -tar xvf $CWD/usb-modeswitch-data-${DATAVER}.tar.?z || exit 1 +tar xvf $CWD/usb-modeswitch-data-${DATAVER}.tar.?z* || exit 1 cd usb-modeswitch-data-${DATAVER} || exit 1 chown -R root:root . find . \ -- cgit v1.2.3-65-gdbad