diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-17 12:00:05 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-17 12:00:05 +0000 |
commit | 7af0b1392ab4eb22be78b22fe7f5dd3876cbdc66 (patch) | |
tree | 0eb18a54c390a3f7563859c669bb61763383b997 | |
parent | fae29142ae1d4a744dc8ff48fb6d4275c5a2f483 (diff) | |
download | aports-7af0b1392ab4eb22be78b22fe7f5dd3876cbdc66.tar.bz2 aports-7af0b1392ab4eb22be78b22fe7f5dd3876cbdc66.tar.xz |
main/sipsak: enable SRV lookups
-rw-r--r-- | main/sipsak/APKBUILD | 14 | ||||
-rw-r--r-- | main/sipsak/sipsak-0001-Fix-for-wrong-arity-of-callback-function-for-c-ares.patch | 30 |
2 files changed, 39 insertions, 5 deletions
diff --git a/main/sipsak/APKBUILD b/main/sipsak/APKBUILD index 41dd9c13c4..45a455d88d 100644 --- a/main/sipsak/APKBUILD +++ b/main/sipsak/APKBUILD @@ -2,18 +2,19 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=sipsak pkgver=0.9.6 -pkgrel=3 +pkgrel=4 pkgdesc="SIP swiss army knife" url="http://sipsak.org/" arch="all" license="GPL2+" depends="" -makedepends="openssl-dev" +makedepends="openssl-dev c-ares-dev" install="" subpackages="$pkgname-dbg $pkgname-doc" source="http://downloads.sourceforge.net/project/sipsak.berlios/${pkgname}-${pkgver}-1.tar.gz musl-fix-strcasestr.patch fix-off-by-one-bugs.patch + sipsak-0001-Fix-for-wrong-arity-of-callback-function-for-c-ares.patch " _builddir="$srcdir"/$pkgname-$pkgver @@ -48,10 +49,13 @@ package() { md5sums="c4eb8e282902e75f4f040f09ea9d99d5 sipsak-0.9.6-1.tar.gz fd7aa34ef656fc40b7ff186a670b4b60 musl-fix-strcasestr.patch -8fa15fbeadba6d319ae6bfbbb85b1bf7 fix-off-by-one-bugs.patch" +8fa15fbeadba6d319ae6bfbbb85b1bf7 fix-off-by-one-bugs.patch +b4d16490aa1344301da4d3b551cee261 sipsak-0001-Fix-for-wrong-arity-of-callback-function-for-c-ares.patch" sha256sums="5064c56d482a080b6a4aea71821b78c21b59d44f6d1aa14c27429441917911a9 sipsak-0.9.6-1.tar.gz 98fbef70fa537a6c46f5641392b19d074ccc0d2c6e71bb903c69a7940dbab3cd musl-fix-strcasestr.patch -bc05de62df8a24492ce6d74f5ce1ec7149db5b7b56bbec941bdc6db038027fe9 fix-off-by-one-bugs.patch" +bc05de62df8a24492ce6d74f5ce1ec7149db5b7b56bbec941bdc6db038027fe9 fix-off-by-one-bugs.patch +72a57b34d34e0e68c224e9dfe4e1bc1b8e4631217fb90c3b935fbd9c20f1687e sipsak-0001-Fix-for-wrong-arity-of-callback-function-for-c-ares.patch" sha512sums="c2d62ddaf2ecc9616941cf002a0494d2f9c43747e6b527f8b1542e9b5ae143fc69b18fc140bd3f255896b0e8eb02f7d198cc1799a4041e2d0c95d90b653591fe sipsak-0.9.6-1.tar.gz 5a9f2679ef8b5e7a7d2db79e32c2a9ca304bd507804d86628231ad273cc08810bf3470f2b3fb5e873279d619669917f81fbf9bdfe74e83e3dfa6451aa4b62e85 musl-fix-strcasestr.patch -4f4978924482d9d8b4a1167bf968cec8c3e705ea81cd8fe4b83873f408684d43cc166d0eeeb20f7a459ff9e02ddb0cac08644d5d6f77629557d07f96f9634605 fix-off-by-one-bugs.patch" +4f4978924482d9d8b4a1167bf968cec8c3e705ea81cd8fe4b83873f408684d43cc166d0eeeb20f7a459ff9e02ddb0cac08644d5d6f77629557d07f96f9634605 fix-off-by-one-bugs.patch +1bfd9703029cc5e0b8bd5719d96871358c33412982a39bb1f8204ed68cd472ee3bbdee7924d4cd8f48e33299659c484709c7c347629f3771707f5e23d8eb2b2f sipsak-0001-Fix-for-wrong-arity-of-callback-function-for-c-ares.patch" diff --git a/main/sipsak/sipsak-0001-Fix-for-wrong-arity-of-callback-function-for-c-ares.patch b/main/sipsak/sipsak-0001-Fix-for-wrong-arity-of-callback-function-for-c-ares.patch new file mode 100644 index 0000000000..d62ba0e276 --- /dev/null +++ b/main/sipsak/sipsak-0001-Fix-for-wrong-arity-of-callback-function-for-c-ares.patch @@ -0,0 +1,30 @@ +From eeeee47c6cb0e13619b76bc4109479e52b5dc441 Mon Sep 17 00:00:00 2001 +From: Peter Lemenkov <lemenkov@gmail.com> +Date: Tue, 15 Nov 2011 00:33:49 +0400 +Subject: [PATCH 1/1] Fix for wrong arity of callback function for c-ares + +See rhbz #753372 for further details + +https://bugzilla.redhat.com/753372 + +Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> +--- + helper.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/helper.c b/helper.c +index c5dee06..976b73b 100644 +--- a/helper.c ++++ b/helper.c +@@ -262,7 +262,7 @@ static const unsigned char *skip_query(const unsigned char *aptr, const unsigned + return aptr; + } + +-static void cares_callback(void *arg, int status, unsigned char *abuf, int alen) { ++static void cares_callback(void *arg, int status, int timeouts, unsigned char *abuf, int alen) { + int i; + unsigned int ancount, nscount, arcount; + const unsigned char *aptr; +-- +1.7.7 + |