aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/udsclient3/README5
-rw-r--r--network/udsclient3/doinst.sh3
-rw-r--r--network/udsclient3/douninst.sh9
-rw-r--r--network/udsclient3/slack-desc19
-rw-r--r--network/udsclient3/udsclient3.SlackBuild80
-rw-r--r--network/udsclient3/udsclient3.info10
6 files changed, 126 insertions, 0 deletions
diff --git a/network/udsclient3/README b/network/udsclient3/README
new file mode 100644
index 0000000000..958db0e859
--- /dev/null
+++ b/network/udsclient3/README
@@ -0,0 +1,5 @@
+UDS Client for linux
+--------------------
+
+Ensure that a /media folder exists on your machine, that will be
+redirected on RDP connections.
diff --git a/network/udsclient3/doinst.sh b/network/udsclient3/doinst.sh
new file mode 100644
index 0000000000..5fb28930db
--- /dev/null
+++ b/network/udsclient3/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
diff --git a/network/udsclient3/douninst.sh b/network/udsclient3/douninst.sh
new file mode 100644
index 0000000000..1afb39b6b6
--- /dev/null
+++ b/network/udsclient3/douninst.sh
@@ -0,0 +1,9 @@
+# douninst.sh
+#
+# uninstall script for Slackware >= 15.0
+#
+# NOTE: This script is run AFTER package removal, so be careful!
+# Consider it optional, use if it is really needed.
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q 2>&1
+fi
diff --git a/network/udsclient3/slack-desc b/network/udsclient3/slack-desc
new file mode 100644
index 0000000000..d0a2f8ed4f
--- /dev/null
+++ b/network/udsclient3/slack-desc
@@ -0,0 +1,19 @@
+# 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 ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+udsclient3: udsclient3 (UDS Helper)
+udsclient3:
+udsclient3: UDS Client for "other" Linux systems.
+udsclient3:
+udsclient3: Dependencies are: python3-paramiko and cryptography.
+udsclient3: Ensure that a /media folder exists on your machine, that
+udsclient3: will be redirected on RDP connections.
+udsclient3:
+udsclient3: Product home page: https://www.udsenterprise.com
+udsclient3:
+udsclient3:
diff --git a/network/udsclient3/udsclient3.SlackBuild b/network/udsclient3/udsclient3.SlackBuild
new file mode 100644
index 0000000000..cdd1dd0a7f
--- /dev/null
+++ b/network/udsclient3/udsclient3.SlackBuild
@@ -0,0 +1,80 @@
+#!/bin/bash
+
+# Slackware build script for udsclient3
+
+# Copyright 2025 Eduardo Domínguez Vázquez Spain
+# 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.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=udsclient3
+VERSION=${VERSION:-3.6.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" != "x86_64" ]; then
+ echo "This package only runs on x86_64 systems. Exiting"
+ exit 1
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar --one-top-level=$PRGNAM-$VERSION -xvf $CWD/$PRGNAM-$VERSION.tar.gz
+mkdir -p $PKG/usr/share/applications
+mkdir -p $PKG/usr/lib64/UDSClient/uds
+cp -r $PRGNAM-$VERSION/usr/lib/UDSClient/* $PKG/usr/lib64/UDSClient
+cp -r $PRGNAM-$VERSION/usr/share/applications/* $PKG/usr/share/applications/
+cd $PRGNAM-$VERSION
+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 \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/douninst.sh > $PKG/install/douninst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/udsclient3/udsclient3.info b/network/udsclient3/udsclient3.info
new file mode 100644
index 0000000000..3c66684fb1
--- /dev/null
+++ b/network/udsclient3/udsclient3.info
@@ -0,0 +1,10 @@
+PRGNAM="udsclient3"
+VERSION="3.6.0"
+HOMEPAGE="https://udsenterprise.com/"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://images.udsenterprise.com/files/UDSClient/UDS-3.6.0/Other/udsclient3-3.6.0.tar.gz"
+MD5SUM_x86_64="75a5ab25a11431a634bd365e7d521c97"
+REQUIRES="python3-paramiko cryptography"
+MAINTAINER="Eduardo Domínguez Vázquez"
+EMAIL="sollericos@gmail.com"