diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/keepalived/APKBUILD | 16 | ||||
-rw-r--r-- | testing/keepalived/musl-fix-stdint.patch | 21 |
2 files changed, 34 insertions, 3 deletions
diff --git a/testing/keepalived/APKBUILD b/testing/keepalived/APKBUILD index dda010267d..ad764b14ca 100644 --- a/testing/keepalived/APKBUILD +++ b/testing/keepalived/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Pablo Castorino <pcastorino@mendoza-conicet.gob.ar> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=keepalived -pkgver=1.2.10 -pkgrel=1 +pkgver=1.2.12 +pkgrel=0 pkgdesc="Health Checking for Linux Virtual Server & High-Availability" url="http://www.keepalived.org/" arch="all" @@ -12,6 +12,7 @@ makedepends="openssl-dev popt-dev linux-headers net-snmp-dev libnl-dev" install= subpackages="$pkgname-doc $pkgname-sample-config:samples" source="http://www.keepalived.org/software/$pkgname-$pkgver.tar.gz + musl-fix-stdint.patch $pkgname.initd $pkgname.confd " @@ -58,6 +59,15 @@ samples() { mv "$pkgdir"/etc/keepalived/samples "$subpkgdir"/etc/keepalived/ } -md5sums="d838c23d80682650315d1ae447dad48a keepalived-1.2.10.tar.gz +md5sums="60f2564acc1e1faa0237b53cf4392d1f keepalived-1.2.12.tar.gz +04834e595d2ec407830237ad014c173a stdint.patch d20faa8d55b8a41b8ddb71bb00a6bead keepalived.initd 56ff68ad19e973826c2dbc42c892939f keepalived.confd" +sha256sums="7cd5b1c44b9ec805bb70d208db5962f2c2ff42798c2efd10c6f92e263cf549ab keepalived-1.2.12.tar.gz +2d8ca0ea51bff4c7f04e4171edc2423f0068a3d972e95e84aabcbb6fb47cb8ee stdint.patch +a4925cfdbefbee4de59391e320d86538e6ed17a82edc5970fc4b7ea9f42f0787 keepalived.initd +36a6d3345d0ecfd5ca38c2459762f594ff969096e56fa04d8b5b4ee78575d78a keepalived.confd" +sha512sums="816d5a4e8aa65bd9509f68290b762e67feac235678e0960d8c80ee81cb1b3f16311c17ca5e885f87d5d4698df8cb6c42b19ebdc9f43be125dffaf31e68ef67be keepalived-1.2.12.tar.gz +3f51c193ac3a80ed7d3b384eb2d7d671b8e41f4985e2d3c23bb6372459fecc77f882247cebd9efb590f2431426ae0fbc7acf5828eae620c86db3eb1a3a6b8d95 stdint.patch +e0928b230743438285cb530341a69b6406b31ead8fcdfed05739770e3ea11ca8162a55479eabfa90d636ad9d2d6c5b1f38946b1e9fcf494ffce87d77db957db3 keepalived.initd +2aec829602c694ae8a4ec669843734f0fb2c9ae2cc6d032d2d724bbcf5da35ad597e7b45df985a2cb6102ed96d60c4d8d9a54da4b734bf1354bb522c4fc705e0 keepalived.confd" diff --git a/testing/keepalived/musl-fix-stdint.patch b/testing/keepalived/musl-fix-stdint.patch new file mode 100644 index 0000000000..73080f1390 --- /dev/null +++ b/testing/keepalived/musl-fix-stdint.patch @@ -0,0 +1,21 @@ +diff --git a/keepalived/vrrp/vrrp_if.c b/keepalived/vrrp/vrrp_if.c +index 7360369..12dda84 100644 +--- a/keepalived/vrrp/vrrp_if.c ++++ b/keepalived/vrrp/vrrp_if.c +@@ -23,11 +23,11 @@ + /* global include */ + #include <unistd.h> + #include <string.h> +-#include <sys/types.h> +-typedef __uint64_t u64; +-typedef __uint32_t u32; +-typedef __uint16_t u16; +-typedef __uint8_t u8; ++#include <stdint.h> ++typedef uint64_t u64; ++typedef uint32_t u32; ++typedef uint16_t u16; ++typedef uint8_t u8; + #include <sys/socket.h> + #include <sys/ioctl.h> + #include <netinet/in.h> |