summaryrefslogtreecommitdiff
path: root/net-misc/sipsak
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/sipsak
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/sipsak')
-rw-r--r--net-misc/sipsak/Manifest7
-rw-r--r--net-misc/sipsak/files/0.9.6_p1-callback.patch12
-rw-r--r--net-misc/sipsak/metadata.xml10
-rw-r--r--net-misc/sipsak/sipsak-0.9.6_p1-r1.ebuild35
-rw-r--r--net-misc/sipsak/sipsak-0.9.6_p1-r2.ebuild37
5 files changed, 101 insertions, 0 deletions
diff --git a/net-misc/sipsak/Manifest b/net-misc/sipsak/Manifest
new file mode 100644
index 000000000000..227ef08d0200
--- /dev/null
+++ b/net-misc/sipsak/Manifest
@@ -0,0 +1,7 @@
+AUX 0.9.6_p1-callback.patch 490 SHA256 0ef5adc2bae0b45a3bfafab645625f1071094329ba0d1a3504d13534cec8ae8b SHA512 c10dec8410143ae5fee3b78fb65a83494e5b2539c41f2424455fdabce73a780e78ca159ce2e579db5e2344882e7472abd3f884f76863241218745451108fce4a WHIRLPOOL 12c41fb6b1fa5f7413ff607a7c4d34280737e71054169c2c900d891c4872d5bab5b610dd00f0b3e5fc2dc2090e7f5b52680bb906c6d3d5a74411602f3c022754
+DIST sipsak-0.9.6-1.tar.gz 158776 SHA256 5064c56d482a080b6a4aea71821b78c21b59d44f6d1aa14c27429441917911a9 SHA512 c2d62ddaf2ecc9616941cf002a0494d2f9c43747e6b527f8b1542e9b5ae143fc69b18fc140bd3f255896b0e8eb02f7d198cc1799a4041e2d0c95d90b653591fe WHIRLPOOL 40c5f38c429703c0d3063c2c1bee8f0195b3fb0e1377b29350ef1b566c55960679292f245720d77203948111df8e3914b9cb82d4c6f4a74581d29f0403c02cb6
+EBUILD sipsak-0.9.6_p1-r1.ebuild 730 SHA256 cfcbeb7687f82e4d961c5128111b744e047930e6e82f926cf77276694fb77382 SHA512 840242bb19f70596a43c618d7eb66c965f9b50a38365a8d5aa173cc4535d2b21d01f1f7cfa5e2c286a4fb8db6289852220b1c20ab3aed8aae705affa77718552 WHIRLPOOL 05f6b401ae9e93fbc6c18c05ca3c63a51cf4ebeab37bb6a8331e276029e85f1d750f973d0b4230f961e5f156828778885e671ee6a79beb1b862f28ec95a97356
+EBUILD sipsak-0.9.6_p1-r2.ebuild 775 SHA256 91d4d0939241cdf4f85c400b4b73aa1b766957aac401afbc8c3fed325dd00c01 SHA512 856e40a857f425fa8a023e65a0f4f22e10862e1fdfc6c8b14159cb8d653bcc38cd9b0818e15e35ee50934c70d25c8f81f456429898eae48400e3d63388ca6afb WHIRLPOOL 68811dad6a37a2fb320809ffba0abacfa62269d657818eb1f32d3fb263a3e3445b876b4041b1bae550dc5629c85056ccd6b1ae6913f1928f07a99edb470f37bb
+MISC ChangeLog 3005 SHA256 ee04bc8bd5f39eee4ee814c30d2673ce77a0c27e756dec4298be0b2671d1273e SHA512 1c25e8266224e827c25e3734c4cc1dff3ec5f6bfa89fc50b48161554ec60c765d1b1536e0922bca71752cfda1476df9ef3d6efffba764038be823a0e2e2bbbb1 WHIRLPOOL 90bc6fc6783d495453ef4390a2841a95f8c4b49634b59a753a930e9d0dcc170cb2cdf5cfd43360a24f9529d1a6151004405735e277c34ec65e5d549d318d81f2
+MISC ChangeLog-2015 2994 SHA256 47f3eee28a9fbcd4931ff94dfe8c662860db43913b7b9c71f86035bc02954987 SHA512 bce3fd57a086aa816c19a6a5e6c9c641747b1b07ffd78f48c7e57fd37f9d25d9f897fd9627453bc333eb92e74330e46124bcc31aba55fe4d5707b6ffa1a96b24 WHIRLPOOL bafc4fdc53b1cd2a68e0bd93fd740408abcb378740af1f21ed742c8b4a937c56d92f63c2a97ffba277c8ec1b870c823859d22faf7fceb3d548d128e24ebee1af
+MISC metadata.xml 303 SHA256 ef1a3d8fc0c93ada52d93802721ca216b3b24f5bf84dc3094db7575dbba83df7 SHA512 82474d39e280eff65aee9c5d4ccb9bb513d56bb2d55b10b8f49b161d505387ab351d3228d0253a40c01a9c4f5f2c5104bb7f2c41b227b0aa653350e6facf07d4 WHIRLPOOL 44dcfac19f4493b15b1a8a555d4b59172a005f8f3b1f11d57c7b34bad5733d79f40972dd061fcac7f196cb3203062b5ccc0ef03dfb3dd6f8505a2932a914f09a
diff --git a/net-misc/sipsak/files/0.9.6_p1-callback.patch b/net-misc/sipsak/files/0.9.6_p1-callback.patch
new file mode 100644
index 000000000000..37dc486d3174
--- /dev/null
+++ b/net-misc/sipsak/files/0.9.6_p1-callback.patch
@@ -0,0 +1,12 @@
+diff -uNr sipsak-0.9.6.ORIG/helper.c sipsak-0.9.6/helper.c
+--- sipsak-0.9.6.ORIG/helper.c 2015-01-27 14:14:12.208729426 +0000
++++ sipsak-0.9.6/helper.c 2015-01-27 14:14:55.406728851 +0000
+@@ -250,7 +250,7 @@
+ 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;
diff --git a/net-misc/sipsak/metadata.xml b/net-misc/sipsak/metadata.xml
new file mode 100644
index 000000000000..9a14eb279ec0
--- /dev/null
+++ b/net-misc/sipsak/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>chainsaw@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">sipsak.berlios</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-misc/sipsak/sipsak-0.9.6_p1-r1.ebuild b/net-misc/sipsak/sipsak-0.9.6_p1-r1.ebuild
new file mode 100644
index 000000000000..3623e28e87ae
--- /dev/null
+++ b/net-misc/sipsak/sipsak-0.9.6_p1-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="small command line tool for testing SIP applications and devices"
+HOMEPAGE="https://sourceforge.net/projects/sipsak.berlios/"
+SRC_URI="mirror://sourceforge/sipsak.berlios/${P/_p/-}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
+IUSE="gnutls"
+
+RDEPEND="gnutls? ( net-libs/gnutls )
+ net-dns/c-ares"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${P/_p1}
+
+src_prepare() {
+ epatch "${FILESDIR}/${PV}-callback.patch"
+}
+
+src_configure() {
+ econf \
+ $(use_enable gnutls)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}
diff --git a/net-misc/sipsak/sipsak-0.9.6_p1-r2.ebuild b/net-misc/sipsak/sipsak-0.9.6_p1-r2.ebuild
new file mode 100644
index 000000000000..a4ee1948c371
--- /dev/null
+++ b/net-misc/sipsak/sipsak-0.9.6_p1-r2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="small command line tool for testing SIP applications and devices"
+HOMEPAGE="https://sourceforge.net/projects/sipsak.berlios/"
+SRC_URI="mirror://sourceforge/sipsak.berlios/${P/_p/-}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~x86-fbsd"
+IUSE="gnutls"
+
+RDEPEND="gnutls? ( net-libs/gnutls )
+ net-dns/c-ares"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${P/_p1}
+
+src_prepare() {
+ epatch "${FILESDIR}/${PV}-callback.patch"
+}
+
+src_configure() {
+ append-cflags -std=gnu89
+
+ econf \
+ $(use_enable gnutls)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}