mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
network/r8168: Updated for version 8.046.00.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
3a9220ecaf
commit
334a9bceee
3 changed files with 13 additions and 17 deletions
Binary file not shown.
|
@ -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
|
||||
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue