10 Commits

Author SHA1 Message Date
Daniel Golle
44d6355a7b libpri: update to version 1.6.1
Allows to drop backport patch which is now part of the new release.

Change Log for Release libpri-1.6.1
========================================

Links:
----------------------------------------

 - [Full ChangeLog](https://downloads.asterisk.org/pub/telephony/libpri/releases/ChangeLog-1.6.1.md)
 - [GitHub Diff](https://github.com/asterisk/libpri/compare/1.6.0...1.6.1)
 - [Tarball](https://downloads.asterisk.org/pub/telephony/libpri/libpri-1.6.1.tar.gz)
 - [Downloads](https://downloads.asterisk.org/pub/telephony/libpri)

Summary:
----------------------------------------

- .github: Add Releaser workflow
- Link README to README.md
- Makefile: Fix modern compiler errors.
- Makefile: Add the ability to build libpri on MacOS for Linux target.
- q931.c: Fix subaddress finding octet 4.

User Notes:
----------------------------------------

Upgrade Notes:
----------------------------------------

Closed Issues:
----------------------------------------

None

Commits By Author:
----------------------------------------

- ### George Joseph (2):
  - Link README to README.md
  - .github: Add Releaser workflow

- ### Sean Bright (1):
  - Makefile: Fix modern compiler errors.

- ### Sergey V. Lobanov (1):
  - Makefile: Add the ability to build libpri on MacOS for Linux target.

- ### bbabic (1):
  - q931.c: Fix subaddress finding octet 4.

Detail:
----------------------------------------

- ### .github: Add Releaser workflow
  Author: George Joseph
  Date:   2023-08-16

- ### Link README to README.md
  Author: George Joseph
  Date:   2023-08-15

- ### Makefile: Fix modern compiler errors.
  Author: Sean Bright
  Date:   2023-03-10

  Disable GCC's zero-length-bounds and stringop-overflow errors.

  PRI-189 #close

- ### Makefile: Add the ability to build libpri on MacOS for Linux target.
  Author: Sergey V. Lobanov
  Date:   2022-02-19

  This patch allows to redefine ar and ranlib tool using AR and
  RANLIB make flags.

  PRI-188 #close

- ### q931.c: Fix subaddress finding octet 4.
  Author: bbabic
  Date:   2017-10-23

  Some switches have extended subaddress ie octet 3 encoding to be
  multi-octet.

  * Update dump and receive helper functions to search for the end of octet
  3 encoding to determine where octet 4 starts.

  ASTERISK-27342

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-07-20 23:22:46 +01:00
Sergey V. Lobanov
3424e0027d libpri: fix build on macos
libpri can not be built on macos for OpenWrt Linux target due to:
1. Makefile uses `ar` and `ranlib` (without using make variables).
   MacOS system ar and ranlib are not compatible with the objects
   generated by OpenWrt GCC toolchain. This commit adds patch to
   add an ability to redefine `ar` and `ranlib` tools.
   Upstream issue: https://issues.asterisk.org/jira/browse/PRI-188
2. Makefile detects Darwin using `uname -s` and changes build logic
   but it is not need for cross-platfrom build. This commit
   redefines OSARCH=Linux in OpenWrt Makefile
3. After redefining OSARCH=Linux, libpri Makefile uses /sbin/ldconfig
   that does not exist on MacOS. This commit redefines LDCONFIG=ldconfig
   in OpenWrt Makefile to use ldconfig provided by OpenWrt.

Patch '001-fix-include-signal-h-warning.patch' was refreshed to pass
CI checks. The payload of this patch was not changed.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-30 14:40:24 +03:00
Rosen Penev
7a9cc85b22 libpri: remove Werror
Fixes compilation under musl 1.2.x where time_t is 64-bit.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-09 02:31:31 -07:00
Sebastian Kemper
f808a0b76c libpri: update install defines
- Use $(INSTALL_DATA) for the header file.

- Make sure that also the libpri.so symlink gets installed.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-24 10:46:34 +01:00
Sebastian Kemper
45ed7d4afc telephony: use https:// PKG_SOURCE_URLs where possible
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-10-08 10:11:02 +02:00
Daniel Golle
0d74b1de1d libpri: update to version 1.6.0
Reported-by: Jonas Albrecht <jalb-ledeml@freenet.de>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-04-29 13:06:29 +02:00
Daniel Golle
3f7533b41c libpri: update to version 1.5.0
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-06-12 14:36:24 +02:00
Mantas Pucka
95b9f91748 libpri: add old release dir to mirrors
Signed-off-by: Mantas Pucka <mantas@8devices.com>
2016-06-10 14:42:30 +03:00
Daniel Golle
f09b7600aa libpri: fix warning when building with musl
fix #warning redirecting incorrect #include <sys/signal.h> to <signal.h>

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-10-02 00:12:09 +02:00
Daniel Golle
185e293082 libpri: add new package
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-09-27 00:16:58 +02:00