sofia-sip new package

This commit is contained in:
Rmys
2024-10-14 22:22:33 +03:00
parent c743621387
commit 9e61926de8
8 changed files with 190 additions and 2 deletions
+22
View File
@@ -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*")
@@ -0,0 +1,23 @@
From 46b02f0655af0a9594e805f09a8ee99278f84777 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tomi=20L=C3=A4hteenm=C3=A4ki?= <lihis@lihis.net>
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, &params) >= 0) {
id->id_info_params = params;
}
+71
View File
@@ -0,0 +1,71 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>sofia-sip</Name>
<Homepage>https://github.com/freeswitch/sofia-sip</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2.1</License>
<IsA>library</IsA>
<Summary>An open-source SIP User-Agent library</Summary>
<Description>Açık kaynaklı bir SIP Kullanıcı Aracısı kütüphanesi</Description>
<Archive sha1sum="8789852f2611c9ce68379920d449cee1cdf758cf" type="targz">https://github.com/freeswitch/sofia-sip/archive/refs/tags/v1.13.17.tar.gz</Archive>
<BuildDependencies>
<Dependency>gawk-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>Dep3-devel</Dependency>
<Dependency>openssl-devel</Dependency>
<Dependency>libsocket-devel</Dependency>
</BuildDependencies>
<!--
<Patches>
<Patch>sofia-sip.patch</Patch>
<Patch level="1">sofia-sip.patch</Patch>
</Patches>
-->
</Source>
<Package>
<Name>sofia-sip</Name>
<RuntimeDependencies>
<Dependency>zlib</Dependency>
<Dependency>glib2</Dependency>
<Dependency>Dep3</Dependency>
<Dependency>openssl</Dependency>
<Dependency>libsocket</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>sofia-sip-devel</Name>
<Summary>Development files for sofia-sip</Summary>
<RuntimeDependencies>
<Dependency release="current">sofia-sip</Dependency>
<Dependency>glib2-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2024-09-30</Date>
<Version>1.13.17</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>sofia-sip</Name>
<Summary xml:lang="tr">An open-source SIP User-Agent library</Summary>
<Description xml:lang="tr">Açık kaynaklı bir SIP Kullanıcı Aracısı kütüphanesi</Description>
</Source>
</PISI>
+64
View File
@@ -404955,6 +404955,70 @@ functionality to build high-performing, platform-independent programs.</Descript
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>sofia-sip</Name>
<Homepage>https://github.com/freeswitch/sofia-sip</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2.1</License>
<IsA>library</IsA>
<PartOf>network.library</PartOf>
<Summary xml:lang="en">An open-source SIP User-Agent library</Summary>
<Summary xml:lang="tr">An open-source SIP User-Agent library</Summary>
<Description xml:lang="en">Açık kaynaklı bir SIP Kullanıcı Aracısı kütüphanesi</Description>
<Description xml:lang="tr">Açık kaynaklı bir SIP Kullanıcı Aracısı kütüphanesi</Description>
<Archive type="targz" sha1sum="8789852f2611c9ce68379920d449cee1cdf758cf" name="v1.13.17.tar.gz">https://github.com/freeswitch/sofia-sip/archive/refs/tags/v1.13.17.tar.gz</Archive>
<BuildDependencies>
<Dependency>gawk-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>Dep3-devel</Dependency>
<Dependency>openssl-devel</Dependency>
<Dependency>libsocket-devel</Dependency>
</BuildDependencies>
<SourceURI>network/library/sofia-sip/pspec.xml</SourceURI>
</Source>
<Package>
<Name>sofia-sip</Name>
<RuntimeDependencies>
<Dependency>zlib</Dependency>
<Dependency>glib2</Dependency>
<Dependency>Dep3</Dependency>
<Dependency>openssl</Dependency>
<Dependency>libsocket</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>sofia-sip-devel</Name>
<Summary xml:lang="en">Development files for sofia-sip</Summary>
<RuntimeDependencies>
<Dependency release="1">sofia-sip</Dependency>
<Dependency>glib2-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2024-09-30</Date>
<Version>1.13.17</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>libqrtr-glib</Name>
+1 -1
View File
@@ -1 +1 @@
42bc07d603338ff108262ce4760e3bed8d35886d
12fc436a7069f5257a84bf4a203b7a4ceed89004
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
2973d86300c4890fb55ab1766ee70e0f6fbb17d4
4ce1150099ae883c58cc6844df515272e80cb20b