diff --git a/network/library/sofia-sip/actions.py b/network/library/sofia-sip/actions.py new file mode 100644 index 0000000000..f95302dcd8 --- /dev/null +++ b/network/library/sofia-sip/actions.py @@ -0,0 +1,22 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + +def setup(): + shelltools.system("sh ./autogen.sh") + autotools.configure("--with-openssl") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README*") diff --git a/network/library/sofia-sip/files/0001-fix_incompatible_pointer_type_in_sip_basic_c.patch b/network/library/sofia-sip/files/0001-fix_incompatible_pointer_type_in_sip_basic_c.patch new file mode 100644 index 0000000000..56d81f537f --- /dev/null +++ b/network/library/sofia-sip/files/0001-fix_incompatible_pointer_type_in_sip_basic_c.patch @@ -0,0 +1,23 @@ +From 46b02f0655af0a9594e805f09a8ee99278f84777 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Tomi=20L=C3=A4hteenm=C3=A4ki?= +Date: Mon, 19 Feb 2024 09:06:20 +0200 +Subject: [PATCH] Fix incompatible pointer type in sip_basic.c + +Closes #248 +--- + libsofia-sip-ua/sip/sip_basic.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libsofia-sip-ua/sip/sip_basic.c b/libsofia-sip-ua/sip/sip_basic.c +index 3444fb25..82e824e3 100644 +--- a/libsofia-sip-ua/sip/sip_basic.c ++++ b/libsofia-sip-ua/sip/sip_basic.c +@@ -2901,7 +2901,7 @@ issize_t sip_identity_d(su_home_t *home, sip_header_t *h, char *s, isize_t slen) + ext = strchr(ppt, ';'); + + if (ext) { +- msg_param_t *params = su_alloc(home, sizeof(msg_param_t)); ++ msg_param_t const *params = su_alloc(home, sizeof(msg_param_t)); + if (msg_params_d(home, &ext, ¶ms) >= 0) { + id->id_info_params = params; + } diff --git a/network/library/sofia-sip/pspec.xml b/network/library/sofia-sip/pspec.xml new file mode 100644 index 0000000000..7e517a5255 --- /dev/null +++ b/network/library/sofia-sip/pspec.xml @@ -0,0 +1,71 @@ + + + + + sofia-sip + https://github.com/freeswitch/sofia-sip + + PisiLinux Community + admins@pisilinux.org + + LGPLv2.1 + library + An open-source SIP User-Agent library + Açık kaynaklı bir SIP Kullanıcı Aracısı kütüphanesi + https://github.com/freeswitch/sofia-sip/archive/refs/tags/v1.13.17.tar.gz + + gawk-devel + zlib-devel + glib2-devel + Dep3-devel + openssl-devel + libsocket-devel + + + + + + sofia-sip + + zlib + glib2 + Dep3 + openssl + libsocket + + + /usr/bin + /usr/lib + /usr/share + /usr/share/doc + + + + + sofia-sip-devel + Development files for sofia-sip + + sofia-sip + glib2-devel + + + /usr/include + /usr/lib/pkgconfig + + + + + + 2024-09-30 + 1.13.17 + First release + PisiLinux Community + admins@pisilinux.org + + + diff --git a/network/library/sofia-sip/translations.xml b/network/library/sofia-sip/translations.xml new file mode 100644 index 0000000000..fc18635642 --- /dev/null +++ b/network/library/sofia-sip/translations.xml @@ -0,0 +1,8 @@ + + + + sofia-sip + An open-source SIP User-Agent library + Açık kaynaklı bir SIP Kullanıcı Aracısı kütüphanesi + + diff --git a/pisi-index.xml b/pisi-index.xml index b678f95727..0ad1a1c592 100644 --- a/pisi-index.xml +++ b/pisi-index.xml @@ -404955,6 +404955,70 @@ functionality to build high-performing, platform-independent programs. + + + sofia-sip + https://github.com/freeswitch/sofia-sip + + PisiLinux Community + admins@pisilinux.org + + LGPLv2.1 + library + network.library + An open-source SIP User-Agent library + An open-source SIP User-Agent library + Açık kaynaklı bir SIP Kullanıcı Aracısı kütüphanesi + Açık kaynaklı bir SIP Kullanıcı Aracısı kütüphanesi + https://github.com/freeswitch/sofia-sip/archive/refs/tags/v1.13.17.tar.gz + + gawk-devel + zlib-devel + glib2-devel + Dep3-devel + openssl-devel + libsocket-devel + + network/library/sofia-sip/pspec.xml + + + sofia-sip + + zlib + glib2 + Dep3 + openssl + libsocket + + + /usr/bin + /usr/lib + /usr/share + /usr/share/doc + + + + sofia-sip-devel + Development files for sofia-sip + + sofia-sip + glib2-devel + + + /usr/include + /usr/lib/pkgconfig + + + + + 2024-09-30 + 1.13.17 + First release + PisiLinux Community + admins@pisilinux.org + + + libqrtr-glib diff --git a/pisi-index.xml.sha1sum b/pisi-index.xml.sha1sum index 698c71dd39..0c03149f79 100644 --- a/pisi-index.xml.sha1sum +++ b/pisi-index.xml.sha1sum @@ -1 +1 @@ -42bc07d603338ff108262ce4760e3bed8d35886d \ No newline at end of file +12fc436a7069f5257a84bf4a203b7a4ceed89004 \ No newline at end of file diff --git a/pisi-index.xml.xz b/pisi-index.xml.xz index 23ab5ea76d..35d88bcc7c 100644 Binary files a/pisi-index.xml.xz and b/pisi-index.xml.xz differ diff --git a/pisi-index.xml.xz.sha1sum b/pisi-index.xml.xz.sha1sum index 8f6b1c86ce..e0f08c84cc 100644 --- a/pisi-index.xml.xz.sha1sum +++ b/pisi-index.xml.xz.sha1sum @@ -1 +1 @@ -2973d86300c4890fb55ab1766ee70e0f6fbb17d4 \ No newline at end of file +4ce1150099ae883c58cc6844df515272e80cb20b \ No newline at end of file