aboutsummaryrefslogtreecommitdiffstats
path: root/main/dhcpcd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-07-01 12:30:46 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-07-01 12:31:44 +0000
commitcc4b739209ab8e847b89b894290f8cbee981f06c (patch)
treeae33eeddc94c4eea6f2eabade092a1dc1bc4248f /main/dhcpcd
parent22723aec92a6d7a7b7a3036f42521071533e1884 (diff)
downloadaports-cc4b739209ab8e847b89b894290f8cbee981f06c.tar.bz2
aports-cc4b739209ab8e847b89b894290f8cbee981f06c.tar.xz
main/dhcpcd: upgrade to 6.4.0
Diffstat (limited to 'main/dhcpcd')
-rw-r--r--main/dhcpcd/APKBUILD17
-rw-r--r--main/dhcpcd/cc.patch11
-rw-r--r--main/dhcpcd/fix-caddr_t.patch13
3 files changed, 36 insertions, 5 deletions
diff --git a/main/dhcpcd/APKBUILD b/main/dhcpcd/APKBUILD
index f4010df3cb..71a28021cc 100644
--- a/main/dhcpcd/APKBUILD
+++ b/main/dhcpcd/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dhcpcd
-pkgver=6.3.2
+pkgver=6.4.0
pkgrel=0
pkgdesc="RFC2131 compliant DHCP client"
url="http://roy.marples.name/projects/dhcpcd/"
@@ -14,6 +14,8 @@ subpackages="$pkgname-doc"
source="http://roy.marples.name/downloads/dhcpcd/$pkgname-$pkgver.tar.bz2
busybox-logger.patch
fix-includes.patch
+ cc.patch
+ fix-caddr_t.patch
dhcpcd.initd"
prepare() {
@@ -27,7 +29,6 @@ prepare() {
build() {
cd "$srcdir/$pkgname-$pkgver"
- # work around issue with in6_pktinfo in uclibc
CFLAGS="$CFLAGS -D_GNU_SOURCE"
./configure \
--build=$CBUILD \
@@ -44,15 +45,21 @@ package() {
install -Dm755 "$srcdir"/dhcpcd.initd "$pkgdir"/etc/init.d/dhcpcd
}
-md5sums="bb7d8e8533161fbe0eee3b8830fdbdf4 dhcpcd-6.3.2.tar.bz2
+md5sums="3a6f5952fd1bcf0eefb9c7c087acbfc9 dhcpcd-6.4.0.tar.bz2
ee37c1f2b73055e6cf127fc8e581af87 busybox-logger.patch
6f5f2e7df22f09b0ef8f3ff05fe87151 fix-includes.patch
+f5058ba88ed8c14dee8a1264bca96ab3 cc.patch
+247992cddc9fa9088d84a3f500674d1b fix-caddr_t.patch
ecbd807cf3f87d7c5b6095bf63f26894 dhcpcd.initd"
-sha256sums="b69c1ef06a92f327993ee1cc4cfd9145c296aa1ac6070ba2f9ac74931b2f55ec dhcpcd-6.3.2.tar.bz2
+sha256sums="0413a9c8910cad4df2758402be88a9f1630361e1f5dd09926161461a1ea69013 dhcpcd-6.4.0.tar.bz2
a590961c9e53829a9d33ae458fc4c4b68880f5b2b972c3a78c60a947b8c56fb5 busybox-logger.patch
fd7aae982ee22b6e22bbeb4fa4e8a5694ed68eac64b2cfc52a6f2c97ddd60049 fix-includes.patch
+baa515f07494b6329d2ce135f74f5557c9996185a956d6a7a0c1032c7866e1d3 cc.patch
+ef861dad9bc5149b33987e3023a435733a859d12dda0118d42b5ef63a8930f20 fix-caddr_t.patch
72b42c9939fda3fb56666813513029ed36194c1708bddce06bcb3e131e547492 dhcpcd.initd"
-sha512sums="fa5d3287e658064df39c426eaa960567d916dd8241be6b69315f5fa39bdf51c97fbd306222b3e062fa83ec54acd63481bac4c3f52a2f2e5e2a077c76e0bb4326 dhcpcd-6.3.2.tar.bz2
+sha512sums="d2a1be0f26e1537756874ba476bfdb55e97e7cad336e13f35bc34bacb4f9be3c5b21b6eb428d5da1fcb2906a69d8e6f40653391186f663d5b4fbff0115dae204 dhcpcd-6.4.0.tar.bz2
35960cc9197750890d1a8540eb920e6c0544295993044718aa5309303e29eb2c7622eee74f742861cf446d88c7b80b5ea104f3f6bcc3e9daa5be59237a962971 busybox-logger.patch
d21e431f723537061e0787f461eaeed2f02384653dd82d89cd53163ea0b616f11a2d2b1a4013bd1a5682c6c6f4c24d1f42d1201ad5a63be007b26923d884b7dd fix-includes.patch
+f6eb27ba164504dcac7602cdc83eb967c625fd46ba26710222f88196c9488d0c5d7e847d61d5873896d4be8bd5c396ae504169116bd8e711707ab2692887bb0e cc.patch
+afe7bb9c1a592c7268bce1544bf8c106e7c6db721ba98bd3f4e67753eca35183b48ec01b677e0edfd781e8ccff3cb095ec7ab2774cadbd397063e33497f86ad6 fix-caddr_t.patch
0a188b67f0641a480ac6d3cf6a634dddc4b72b1b9b47df33b05fba5d802693dd88e0cece0bfe9b641009c03022c620595b1ce35cd53d5024ee87f4c81e9acf63 dhcpcd.initd"
diff --git a/main/dhcpcd/cc.patch b/main/dhcpcd/cc.patch
new file mode 100644
index 0000000000..b09cc0c49e
--- /dev/null
+++ b/main/dhcpcd/cc.patch
@@ -0,0 +1,11 @@
+--- ./configure.orig
++++ ./configure
+@@ -272,7 +272,7 @@
+ fi
+
+ echo "Using compiler .. $CC"
+-if ! type "$CC" >/dev/null 2>&1; then
++if ! $CC -v >/dev/null 2>&1; then
+ echo "$CC is not an executable"
+ exit 1
+ fi
diff --git a/main/dhcpcd/fix-caddr_t.patch b/main/dhcpcd/fix-caddr_t.patch
new file mode 100644
index 0000000000..2fa00a9bd6
--- /dev/null
+++ b/main/dhcpcd/fix-caddr_t.patch
@@ -0,0 +1,13 @@
+--- ./dhcp6.c.orig
++++ ./dhcp6.c
+@@ -835,8 +835,8 @@
+
+ ctx = ifp->ctx->ipv6;
+ dst.sin6_scope_id = ifp->index;
+- ctx->sndhdr.msg_name = (caddr_t)&dst;
+- ctx->sndhdr.msg_iov[0].iov_base = (caddr_t)state->send;
++ ctx->sndhdr.msg_name = (void *)&dst;
++ ctx->sndhdr.msg_iov[0].iov_base = (void *)state->send;
+ ctx->sndhdr.msg_iov[0].iov_len = state->send_len;
+
+ /* Set the outbound interface */