aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-09 16:40:00 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-12 00:29:38 +0700
commit8d08c0e2c5e9538110cb1cc7359a44b36ede87b9 (patch)
treea2bc0ac09aa1e9f47398b37ef988442bb3ffc854
parente6e1f80234e05badf7d35b8af93aba98d092600d (diff)
system/tpe-kmod: Fix download URL.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/tpe-kmod/tpe-kmod.SlackBuild13
-rw-r--r--system/tpe-kmod/tpe-kmod.info2
2 files changed, 9 insertions, 6 deletions
diff --git a/system/tpe-kmod/tpe-kmod.SlackBuild b/system/tpe-kmod/tpe-kmod.SlackBuild
index 553cc3297830..94ff0a8ecd98 100644
--- a/system/tpe-kmod/tpe-kmod.SlackBuild
+++ b/system/tpe-kmod/tpe-kmod.SlackBuild
@@ -22,6 +22,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220209 bkw: Modified by SlackBuilds.org. Fix the github URL/filename
+# mismatch. However, this is still *broken* because our kernel on 15.0 is
+# too new for it.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=tpe-kmod
@@ -40,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}_${KERNVER//-/_}-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -54,12 +55,14 @@ OUTPUT=${OUTPUT:-/tmp}
set -e
+SRCNAM=tpe-lkm
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd tpe-lkm-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/system/tpe-kmod/tpe-kmod.info b/system/tpe-kmod/tpe-kmod.info
index 7dc4f3725c5a..a7185f54da39 100644
--- a/system/tpe-kmod/tpe-kmod.info
+++ b/system/tpe-kmod/tpe-kmod.info
@@ -1,7 +1,7 @@
PRGNAM="tpe-kmod"
VERSION="2.0.4"
HOMEPAGE="https://github.com/cormander/tpe-lkm"
-DOWNLOAD="https://github.com/cormander/tpe-lkm/archive/2.0.4/tpe-kmod-2.0.4.tar.gz"
+DOWNLOAD="https://github.com/cormander/tpe-lkm/archive/2.0.4/tpe-lkm-2.0.4.tar.gz"
MD5SUM="e90cd220d299ca9adde7206c7d6fdf8b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""