aboutsummaryrefslogtreecommitdiff
path: root/system/displaylink
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-23 14:24:55 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-25 22:58:02 +0700
commita5f55918909327c1d4a36d100202e6f4bbf7bf75 (patch)
treec3816d1f6548af9b91466b14141ccbbab7f8fbd8 /system/displaylink
parent5aec82c779263fbb996eebd4f72164895f18d6ce (diff)
system/displaylink: Update README for new URL.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/displaylink')
-rw-r--r--system/displaylink/README19
-rw-r--r--system/displaylink/displaylink.SlackBuild23
-rw-r--r--system/displaylink/displaylink.info2
3 files changed, 27 insertions, 17 deletions
diff --git a/system/displaylink/README b/system/displaylink/README
index 475511c89e13..a45d7708bad4 100644
--- a/system/displaylink/README
+++ b/system/displaylink/README
@@ -1,10 +1,13 @@
Driver for DisplayLink devices.
-Notes:
- - This SlackBuild is a binary repacking. To download this pack you
- need to navigate to download URL and accept the license.
- Another option is to use the following commands:
-
- . ./displaylink.info
- wget -O displaylink-driver-$VERSION.zip \
- --post-data="fileId=1057&accept_submit=Accept" $DOWNLOAD
+This SlackBuild is a binary repackaging. To download the "source", you
+must navigate to download URL and accept the license.
+
+Another option is to use the following command:
+
+wget https://www.synaptics.com/sites/default/files/exe_files/2021-02/DisplayLink%20USB%20Graphics%20Software%20for%20Ubuntu1.4-EXE.zip
+
+Note that this command may stop working at some point, if Synaptics
+changes the layout of their web site. Also note that this is
+proprietary software with a non-free license. Using wget does not
+exempt you from the license terms.
diff --git a/system/displaylink/displaylink.SlackBuild b/system/displaylink/displaylink.SlackBuild
index c119593961dd..787e99c083fe 100644
--- a/system/displaylink/displaylink.SlackBuild
+++ b/system/displaylink/displaylink.SlackBuild
@@ -22,6 +22,12 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220223 bkw: Modified by SlackBuilds.org: update the wget
+# instructions in README. I could have just put the new URL in
+# DOWNLOAD, but doing it this way prompts users to accept the license.
+# Also, I have no DisplayLink hardware to test the driver with, and
+# it's quite an old version (they're up to version 5.4.1 now).
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=displaylink
@@ -38,9 +44,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -61,22 +64,26 @@ fi
set -e
+ZIPFILE="$CWD/DisplayLink%20USB%20Graphics%20Software%20for%20Ubuntu1.4-EXE.zip"
+if [ ! -e "$ZIPFILE" ]; then
+ ZIPFILE="$CWD/DisplayLink USB Graphics Software for Ubuntu1.4-EXE.zip"
+fi
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-unzip $CWD/$PRGNAM-driver-$VERSION.zip -d $PRGNAM-$VERSION
+unzip "$ZIPFILE" -d $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-chmod +x displaylink-driver-$VERSION.run
-./displaylink-driver-$VERSION.run --target . --noexec
+sh ./displaylink-driver-$VERSION.run --target . --noexec
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
install -d -m755 $PKG/usr/lib$LIBDIRSUFFIX/displaylink
install -D -m755 $PACK_ARCH-$PACK_DISTRO/DisplayLinkManager \
diff --git a/system/displaylink/displaylink.info b/system/displaylink/displaylink.info
index 086834905954..b884446e3283 100644
--- a/system/displaylink/displaylink.info
+++ b/system/displaylink/displaylink.info
@@ -1,7 +1,7 @@
PRGNAM="displaylink"
VERSION="1.4.210"
HOMEPAGE="http://www.displaylink.com/downloads/ubuntu.php"
-DOWNLOAD="http://www.displaylink.com/downloads/file?id=1057"
+DOWNLOAD="http://www.displaylink.com/downloads/ubuntu.php"
MD5SUM="eb65a2abb3aa120c9bb1d337a26e5e8b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""