2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-16 03:30:23 -07:00

dhcpcd: bump to 8.1.0

This commit is contained in:
Dylan Araps 2019-10-13 00:13:06 +03:00
parent 7f66036baf
commit 6ab6b65a3e
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
5 changed files with 28 additions and 3 deletions

View File

@ -1,5 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
patch -p1 < dhcpcd-fix-musl.patch
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--sbindir=/usr/bin \ --sbindir=/usr/bin \

View File

@ -1,2 +1,3 @@
66b50199ed83bf502af3fab9ac001b417f0fac7e69c92d97a9c41499cebabd4f dhcpcd-8.0.6.tar.xz 0ef8bc9aab04f046e71af3a8b9edc342fedbf7eb18f5b4645e05c4a28d32668b dhcpcd-8.1.0.tar.xz
588cf6f8e51c82dd652949b023b58eacd3c7a6cb6f17cd59b74ac4b682322cfe dhcpcd-fix-musl.patch
533714c2f3edcd70e47822cb880d8e8ffdba673b10452ea808037ec2714a375c dhcpcd.run 533714c2f3edcd70e47822cb880d8e8ffdba673b10452ea808037ec2714a375c dhcpcd.run

View File

@ -0,0 +1,21 @@
diff --git a/src/if-linux.c b/src/if-linux.c
index fd47278..6a6c0d0 100644
--- a/src/if-linux.c
+++ b/src/if-linux.c
@@ -37,7 +37,6 @@
#include <linux/if_addr.h>
#include <linux/if_link.h>
#include <linux/if_packet.h>
-#include <linux/if_tun.h>
#include <linux/if_vlan.h>
#include <linux/filter.h>
#include <linux/netlink.h>
@@ -291,7 +290,7 @@ if_tap(const char *ifname)
snprintf(path, sizeof(path), SYS_TUNTAP, ifname);
if (check_proc_hex(path, &n) == -1)
return false;
- return n & IFF_TAP;
+ return n & 0x0002;
}
bool

View File

@ -1,2 +1,3 @@
https://roy.marples.name/downloads/dhcpcd/dhcpcd-8.0.6.tar.xz https://roy.marples.name/downloads/dhcpcd/dhcpcd-8.1.0.tar.xz
patches/dhcpcd-fix-musl.patch
files/dhcpcd.run files/dhcpcd.run

View File

@ -1 +1 @@
8.0.6 1 8.1.0 1