libpri 1.6.0

This commit is contained in:
Jan Engelhardt 2025-02-13 14:47:27 +01:00
commit 52eba6d4e4
6 changed files with 496 additions and 0 deletions

1
baselibs.conf Normal file
View File

@ -0,0 +1 @@
libpri1_4

BIN
libpri-1.6.0.tar.gz Normal file

Binary file not shown.

24
libpri-1.6.0.tar.gz.asc Normal file
View File

@ -0,0 +1,24 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEABECAAYFAliLh7IACgkQbLROVXvZgtjxzQCeKFnp8PzaGoxfPOHmJRWGC1Aa
A9YAn0rJIAuTv0dUX1OSsdBb5YCsja1K
=NQHP
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEABECAAYFAliLirwACgkQnFnwAHd9zEXzqQCfYCQIOC7EtW1CwWozz8/K9BCe
Yf0AoKZOd5KCFPIKrjB+CDlKAcqWjKD3
=nIL1
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE-----
iQEcBAABAgAGBQJYi6CPAAoJEDaKszK1mXXzUpcIALTmWlHY3Vj+8NLd/EAsZkvd
rL7+/sxLUhq8FKt2jnz2oRhtyqUfSoL1TXk+uTaQfLJYgsTP+3oDuP8tMNhUR0lg
YPbdxgexx4ejPEcqbi46vHC2ouaKEARpo9olrp2SUhUMHZr0knT9AEp9/IXplT03
383L8IMMYvXF/GjCwDC3pnzIoEb6f4033sbQ9625vArhE67UfgwFgK5D8kASrgZr
X6B1B6oz/CMtlcTtoGalxqiHnKlBgEpWA16RsadmMrZbW8rUAYDezL1lYTfyUCSH
EjDhdEHblOUoW6dIaAOZqGvaITtdHCZMwjLOjhrQNHD2IR8UuJfa5x3B0AHoAac=
=Rh52
-----END PGP SIGNATURE-----

264
libpri.changes Normal file
View File

@ -0,0 +1,264 @@
-------------------------------------------------------------------
Sun Sep 6 13:04:08 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Remove old specfile constructs.
- Drop -Werror.
-------------------------------------------------------------------
Mon Sep 4 10:17:04 UTC 2017 - jengelh@inai.de
- Update to new upstream release 1.6.0
* work around bug in Lucent switches that set the
octet 3 extension bit
-------------------------------------------------------------------
Sat Jun 28 00:41:32 UTC 2014 - jengelh@inai.de
- Update to new upstream release 1.4.15 (bugfix release)
* Fix hole in layer2_persistence option for TE PTMP links.
* libpri: Make TE-PTP mode respond to MDL TEI check requests.
* http://downloads.asterisk.org/pub/telephony/libpri/libpri-1.4.15-summary.html
- Delete libpri-soname.diff (replaced by changed make call in
%build): switch back to original SONAME (libpri-1_4 ->
libpri1_4), and add symvers to it instead.
-------------------------------------------------------------------
Thu Jan 24 16:19:42 UTC 2013 - jengelh@inai.de
- Update to new upstream release 1.4.14 (bugfix release)
* Normal Clearing in Progress Message was ignored
-------------------------------------------------------------------
Mon Oct 3 08:23:20 UTC 2011 - jengelh@medozas.de
- Update to new upstream release 1.4.12
(no user-level changelog available; see ChangeLog file for
developer changelog)
- Add patch libpri-soname.diff to fix broken SO versioning
- Implement correct shlib name (libpri1_4 -> libpri-1_4)
-------------------------------------------------------------------
Tue Jan 18 15:15:25 UTC 2011 - chris@computersalat.de
- update to 1.4.11.5
* q921.c: Merged revision 2101 from
https://origsvn.digium.com/svn/libpri/branches/1.4 ..........
r2101 | rmudgett | 2010-11-05 14:24:01 -0500 (Fri, 05 Nov 2010) |
9 lines Remove all TEIs when NT PTMP starts. Remove all TEIs when
a NT PTMP link is started and there are no other links to make
sure there are no devices that think they have a TEI. A device
may think it has a TEI if the upper layer program is restarted or
the system reboots. This fixes the bug portion of JIRA
LIBPRI-51/SWP-2453. ..........
- for more information about changes please see ChangeLog file
-------------------------------------------------------------------
Thu Sep 2 06:42:42 UTC 2010 - chris@computersalat.de
- update to 1.4.11.4
* lot of changes please see ChangeLog file
-------------------------------------------------------------------
Fri Jul 30 13:52:40 UTC 2010 - chris@computersalat.de
- update to 1.4.11.3
* pri_internal.h, q931.c: [regression] Calling Number assignment
logic change in libpri 1.4.11. Restored the old behaviour if
there is more than one calling number in the incoming SETUP
message. A network provided number is reported as ANI. (closes
issue #17495) Reported by: ibercom Patches:
issue_17495_v1.4.11.2.patch uploaded by rmudgett (license 664)
issue_17495_v1.4.patch uploaded by rmudgett (license 664) Tested
by: ibercom
- cleanup spec
o updated description
o macro so_name for libpri1-4
-------------------------------------------------------------------
Tue Jun 15 15:08:47 UTC 2010 - chris@computersalat.de
- update to 1.4.11.2
* pri_facility.c: Q.SIG calling name in FACILITY message not
reported to the upper layer. Q.SIG can send the CallingName,
CalledName, and ConnectedName in stand alone FACILITY messages.
If the CallingName was not sent in the SETUP message, the caller
id name was not reported to the upper layer. (closes issue #17458)
Reported by: jsmith Patches: issue17458_post_qsig_name.patch uploaded
by rmudgett (license 664) issue17458_post_qsig_name_v1.4.11.1.patch
uploaded by rmudgett (license 664) Tested by: rmudgett, jsmith
* pri.c: Inband disconnect setting does nothing on BRI spans.
The acceptinbanddisconnect flag is not inherited when creating
a new TEI and thus rendering the setting (and its respective
equivalent in Asterisk) a no-op on BRI setups. (closes issue
#15265) Reported by: paravoid Patches: inband-bri.diff uploaded
by paravoid (license 200) Tested by: paravoid
* q931.c, rose.c, rosetest.c: Multi component FACILITY messages
only process the first component. The code was only processing
the first ROSE component in the facility message. I also updated
rosetest.c to have a multiple component ROSE message test.
(closes issue #17428) Reported by: patrol-cz Patches:
issue17428.patch uploaded by rmudgett (license 664) Tested by:
rmudgett, patrol-cz
* for more see ChangeLog
-------------------------------------------------------------------
Sun Feb 21 23:28:55 UTC 2010 - chris@computersalat.de
- revert to obviously deleted stuff
o State of submit-request #28379 was changed by vitsoft:
new -> accepted
o merged changes
- added baselibs.conf
-------------------------------------------------------------------
Sat Jan 9 18:45:23 UTC 2010 - chris@computersalat.de
- update to 1.4.10.2
o lot of changes read ChangLog
- cleanup spec
o added header
o sort TAGS
o fix RPM_OPT_FLAGS
o merged spec changes with changes file
o added debug_package_requires
- cleanup Source
- add subpackage libpri1_4 for shared lib
- removed libpri package
o not needed
-------------------------------------------------------------------
Fri Jul 03 21:38:47 CET 2009 - vittorio@vitsoft.bz
- libpri 1.4.10.1
-------------------------------------------------------------------
Wed Jul 01 04:33:16 CET 2009 - vittorio@vitsoft.bz
- libpri 1.4.10
-------------------------------------------------------------------
Wed Mar 18 11:04:30 CET 2009 - vittorio@vitsoft.bz
- libpri 1.4.9
-------------------------------------------------------------------
Sun Oct 05 22:15:40 CET 2008 - vittorio@vitsoft.bz
- libpri 1.4.7
-------------------------------------------------------------------
Fri Feb 08 12:26:37 CET 2008 - vittorio@vitsoft.bz
- libpri 1.4.3 asterisk 1.4
-------------------------------------------------------------------
Wed Oct 17 22:01:29 CET 2007 - vittorio@vitsoft.bz
- libpri 1.4.2 asterisk 1.4
-------------------------------------------------------------------
Mon Aug 13 08:26:18 CET 2007 - vittorio@vitsoft.bz
- libpri for asterisk 1.4
-------------------------------------------------------------------
Thu Oct 19 15:42:19 CEST 2006 - max@suse.de
- New versions: libpri-1.2.4, bristuff-0.3.0-PRE-1s
- Fix some bugs and match the latest version of Asterisk.
-------------------------------------------------------------------
Fri Jul 7 14:42:52 CEST 2006 - max@suse.de
- New versions: libpri-1.2.3, bristuff-0.3.0-PRE-1q, fix some bugs
and match the newest versions of Asterisk and zaptel.
-------------------------------------------------------------------
Mon Mar 20 17:25:06 CET 2006 - max@suse.de
- Updated the bristuff patch to version 0.3.0-PRE-1k to match the
new version of Asterisk.
-------------------------------------------------------------------
Fri Jan 27 02:07:09 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Wed Jan 25 18:30:38 CET 2006 - max@suse.de
- New versions: libpri-1.2.2, bristuff-0.3.0-PRE-1i
-------------------------------------------------------------------
Fri Dec 16 16:40:31 CET 2005 - max@suse.de
- New version: 1.2.1
- New version of the bristuff patch: 0.3.0-PRE-1c
-------------------------------------------------------------------
Wed Aug 10 18:40:33 CEST 2005 - max@suse.de
- New version of the bristuff patch: 0.2.0-rc8n
-------------------------------------------------------------------
Mon Jul 18 19:26:14 CEST 2005 - max@suse.de
- New version 1.0.9
- New version of the bristuff patch: 0.2.0-rc8j
-------------------------------------------------------------------
Mon Mar 7 16:08:02 CET 2005 - max@suse.de
- New version of the bristuff patch: 0.2.0-rc7k
-------------------------------------------------------------------
Mon Feb 28 17:04:30 CET 2005 - max@suse.de
- New version: 1.0.6
- New version of the bristuff patch: 0.2.0-rc7i
-------------------------------------------------------------------
Thu Jan 13 16:20:59 CET 2005 - max@suse.de
- New version: 1.0.3
- New version of the bristuff patch: 0.2.0-rc3a
-------------------------------------------------------------------
Fri Nov 12 00:55:02 CET 2004 - ro@suse.de
- fixed file list
-------------------------------------------------------------------
Fri Nov 5 12:52:15 CET 2004 - max@suse.de
- New version: 1.0.2
- New version of the bristuff patch: 0.2.0-rc2a
-------------------------------------------------------------------
Thu Aug 19 17:56:36 CEST 2004 - max@suse.de
- Update to bristuff 0.1.0-RC4a
- Update to CVS snapshot from 2004-08-13
-------------------------------------------------------------------
Thu Aug 12 17:22:01 CEST 2004 - max@suse.de
- Update to bristuff 0.1.0-RC3.
- Update to CVS snapshot from 2004-08-12.
- Run ldconfig after (un)installation.
-------------------------------------------------------------------
Fri Jul 23 17:03:17 CEST 2004 - max@suse.de
- Update to bristuff 0.1.0-RC2
- Update to CVS snapshot from 2004-07-22
-------------------------------------------------------------------
Wed Jun 23 18:16:44 CEST 2004 - max@suse.de
- New package: libpri - Userspace implementation of the
ISDN PRI (S2M) protocols. It supports TE, and NT mode.
- CVS snapshot from 2004-05-10, based on 0.6.0.
- Added patch to support BRI (S0-Bus) as well.

106
libpri.keyring Normal file
View File

@ -0,0 +1,106 @@
pub dsa1024/0xAA0920F2F1DDCF73 2011-11-15 [SC]
Key fingerprint = DA6D 9B42 EE6F 9C59 C379 0700 AA09 20F2 F1DD CF73
uid [ unknown] Matthew Jordan <mjordan@digium.com>
sub elg1024/0x61F02C3951E145E3 2011-11-15 [E]
pub dsa1024/0x6CB44E557BD982D8 2010-08-30 [SC]
Key fingerprint = 57E7 69BC 3790 6C09 1E7F 641F 6CB4 4E55 7BD9 82D8
uid [ unknown] Richard Mudgett <rmudgett@digium.com>
sub elg1024/0xF0556C24253C5733 2010-08-30 [E]
pub dsa1024/0x9C59F000777DCC45 2013-03-27 [SC]
Key fingerprint = 639D 932D 5170 532F 8C20 0CCD 9C59 F000 777D CC45
uid [ unknown] Kevin Harwell <kharwell@digium.com>
sub elg1024/0xF3AAF493D520EE46 2013-03-27 [E]
pub rsa2048/0x368AB332B59975F3 2016-04-20 [SC]
Key fingerprint = 21A9 1EB1 F012 2529 93E9 BF4A 368A B332 B599 75F3
uid [ unknown] George Joseph <gjoseph@digium.com>
sub rsa2048/0xEE5B5FF60C3CF379 2016-04-20 [E]
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGiBE7Cs1wRBACKAIjLS7px9u5GaxPD6EliEEs9UfVPu9BalptM4UhYcYlxX8lY
9QUA7nB1pTMLsajxsvoJnA2m3yICRL0QpAWSyTJs98x6jtMUZWgZDhR1CWKgE8kW
O6wCCInXqH8T7AQ9f4NqyhaYhw41XP/tVmvd1FzERfXPFstoL8NpXEUsgwCgwZKv
odmpcpjnWGLOiQQlUP1QZG8D/A9il4Wsmwli6aSpIgR+xgYa/SigxgXf09Bv3r4p
7q8sMNsgH/AwKfWaHLyERU7kTgChvd38ACY6EAkGeI/x6IyOO8CoP+a17QHBgP7+
tvd4TuRndI3u0tWiX56iAc3A5JnAn/H/7Gk8jas98+QVCrDo7zKf+4zQmmbOmeOU
Y8gwA/93wRyufhjlsH8Q1hkY+M8P9/R1T/8wFv9o3AwaI1rer3tzdtIG4vjyNRre
gZinERkfRRKTn05O9n77DbQ5n5Fh/6EPMkvGiOJGZiBeo/giDxa/JlPvsCqDXY/l
fiT7zbm+wygCCPIh9qtb4azOdk3AYtNJ7CjZj35Aw/l4vZNM37QjTWF0dGhldyBK
b3JkYW4gPG1qb3JkYW5AZGlnaXVtLmNvbT6IYgQTEQIAIgUCTsKzXAIbAwYLCQgH
AwIGFQgCCQoLB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ou8jD9YuRFA9xpnWTISoQ1EGN4zPfRud5izeRoTFQAOKRSYNO
BaNd7rg4Ea5G4HbsZ7Qi+LeCqVIQK0ZrhPYm9SkReswewNZ4F7IdhlNH7FlWgoEF
MqwQ/6CLdi88NpBO4OPOBx9THxb9mnY4AtYSeRADb8piO6rbFeDYDHOMTDbLgmby
87wqm/g730Zr2mvnDeMieXWcaMC9QyauHD8WdXmSXTGcAB+6D77nVxV64PF0GemY
oUGNuIPKlDOJFeGTPGNiX2xT+pOQqIrf7laQi1O8e02YUn5FB96u444CllB0wB3K
P26HomryjZGJGHm3
=t3Xy
-----END PGP PUBLIC KEY BLOCK-----

101
libpri.spec Normal file
View File

@ -0,0 +1,101 @@
#
# spec file for package libpri
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: libpri
%define lname libpri1_4
Version: 1.6.0
Release: 0
Summary: An implementation of Primary Rate ISDN
License: GPL-2.0
Group: Development/Libraries/C and C++
Url: http://asterisk.org/
Source: http://downloads.asterisk.org/pub/telephony/libpri/%name-%version.tar.gz
Source2: http://downloads.asterisk.org/pub/telephony/libpri/%name-%version.tar.gz.asc
Source3: %name.keyring
BuildRequires: dahdi-linux-devel
BuildRequires: libtonezone-devel
%description
libpri is a C implementation of the Primary Rate ISDN specification.
It was based on the Bellcore specification SR-NWT-002343 for National
ISDN. It has been tested work with NI-2, Nortel DMS-100, and Lucent
5E Custom protocols on switches from Nortel and Lucent.
%package -n %lname
Summary: An implementation of Primary Rate ISDN
Group: System/Libraries
%description -n %lname
libpri is a C implementation of the Primary Rate ISDN specification.
It was based on the Bellcore specification SR-NWT-002343 for National
ISDN. It has been tested work with NI-2, Nortel DMS-100, and Lucent
5E Custom protocols on switches from Nortel and Lucent.
%package devel
Summary: Development Library of Primary Rate ISDN
Group: Development/Libraries/C and C++
Requires: %lname = %version
%description devel
libpri is a C implementation of the Primary Rate ISDN specification.
It was based on the Bellcore specification SR-NWT-002343 for National
ISDN. It has been tested work with NI-2, Nortel DMS-100, and Lucent
5E Custom protocols on switches from Nortel and Lucent.
This package contains the header files and libraries necessary for
developing applications which use libpri.
%prep
%autosetup -p1
# change harcoded /usr/lib path to %_libdir so libs are placed properly
# on 64 bit arches too
perl -pi -e's,\$\(INSTALL_BASE\)/lib,%_libdir,g' Makefile
# if building as non-root make sure the location of restorecon is known
perl -pi -e's,restorecon,/sbin/restorecon,g' Makefile
# use $(RPM_OPT_FLAGS)
perl -pi -e 's,CFLAGS=(.*),CFLAGS=\$(RPM_OPT_FLAGS) $1,' Makefile
perl -pi -e 's{ -Werror }{ }' Makefile
%build
# The developers have added functions in the past (for example, between 1.4.12
# and 1.4.13) without one of: (a) bumping SO version, or (b) ELF symbol
# versioning. Therefore, tag all symbols now to make updates/downgrades
# guarantee working.
echo 'V_%version { global: *; };' >libpri.sym
%make_build LDFLAGS="-Wl,--version-script=libpri.sym"
%install
%make_install
rm -fv "%buildroot/%_libdir"/*.a
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
%license LICENSE
%_libdir/libpri.so.1.4*
%files devel
%doc ChangeLog README TODO
%_libdir/libpri.so
%_includedir/libpri.h
%changelog