summaryrefslogtreecommitdiff
path: root/network/r8168
diff options
context:
space:
mode:
authorHunter Sezen <orbea@fredslev.dk>2018-08-12 20:22:55 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-08-18 08:39:45 +0700
commit334a9bceeee8e218e4be0eed6669618db4cef248 (patch)
treecce0be960830c1a148831dfb73c3cd4dcf76ac66 /network/r8168
parent3a9220ecaf6260ae79166a054303e26a63d623ec (diff)
downloadslackbuilds-334a9bceeee8e218e4be0eed6669618db4cef248.tar.gz
network/r8168: Updated for version 8.046.00.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/r8168')
-rw-r--r--network/r8168/linux-4.15.patch.gzbin753 -> 0 bytes
-rw-r--r--network/r8168/r8168.SlackBuild24
-rw-r--r--network/r8168/r8168.info6
3 files changed, 13 insertions, 17 deletions
diff --git a/network/r8168/linux-4.15.patch.gz b/network/r8168/linux-4.15.patch.gz
deleted file mode 100644
index 343a559c56..0000000000
--- a/network/r8168/linux-4.15.patch.gz
+++ /dev/null
Binary files differ
diff --git a/network/r8168/r8168.SlackBuild b/network/r8168/r8168.SlackBuild
index 585eeb33ba..6a1d8894e9 100644
--- a/network/r8168/r8168.SlackBuild
+++ b/network/r8168/r8168.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=r8168
-VERSION=${VERSION:-8.045.08}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-8.046.00}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -72,22 +72,18 @@ find -L . \
KERNEL="${KERNEL:-"$(uname -r)"}"
PKGVER="$(printf %s "${VERSION}_$KERNEL" | tr - _)"
-ORIGARCH="$ARCH"
-unset ARCH
-
-# Patch for linux 4.15 kernels, from arch
-zcat $CWD/linux-4.15.patch.gz | patch -p1
-
-make -C /lib/modules/$KERNEL/build \
- SUBDIRS="$TMP/$PRGNAM-$VERSION/src" \
- EXTRA_CFLAGS="$SLKCFLAGS" \
- modules
+(
+ unset ARCH
+ cd /lib/modules/$KERNEL/build
+ make \
+ SUBDIRS="$TMP/$PRGNAM-$VERSION/src" \
+ EXTRA_CFLAGS="$SLKCFLAGS" \
+ modules
+)
install -Dm0644 src/$PRGNAM.ko \
$PKG/lib/modules/$KERNEL/kernel/drivers/net/ethernet/realtek/$PRGNAM.ko
-ARCH="$ORIGARCH"
-
mkdir -p $PKG/etc/modprobe.d
echo 'blacklist r8169' > $PKG/etc/modprobe.d/r8169_blacklist.conf.new
diff --git a/network/r8168/r8168.info b/network/r8168/r8168.info
index 34c4fd5f49..085dd1c591 100644
--- a/network/r8168/r8168.info
+++ b/network/r8168/r8168.info
@@ -1,8 +1,8 @@
PRGNAM="r8168"
-VERSION="8.045.08"
+VERSION="8.046.00"
HOMEPAGE="https://github.com/mtorromeo/r8168"
-DOWNLOAD="https://github.com/mtorromeo/r8168/archive/8.045.08/r8168-8.045.08.tar.gz"
-MD5SUM="8a586d9948bfd6fbbcc02087b70e0a79"
+DOWNLOAD="https://github.com/mtorromeo/r8168/archive/8.046.00/r8168-8.046.00.tar.gz"
+MD5SUM="4f7616004ad95e1529e6b1b55f496409"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""