aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 553cc32978305..94ff0a8ecd98c 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 7dc4f3725c5a9..a7185f54da39a 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=""