Skip to content

Commit

Permalink
audio/re: Update to 2.12.0
Browse files Browse the repository at this point in the history
Many changes since the last version, so please see:

https://github.com/baresip/re/blob/main/CHANGELOG.md

PR:	ports/261035
  • Loading branch information
DenisPolygalov authored and crees committed Mar 25, 2023
1 parent 659af90 commit ce31373
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 33 deletions.
29 changes: 14 additions & 15 deletions audio/re/Makefile
@@ -1,26 +1,25 @@
PORTNAME= re
PORTVERSION= 0.5.8
DISTVERSIONPREFIX= v
DISTVERSION= 2.12.0
CATEGORIES= audio devel
MASTER_SITES= http://www.creytiv.com/pub/

MAINTAINER= crees@FreeBSD.org
COMMENT= Library for real-time comms with async IO support
WWW= http://www.creytiv.com/re.html
WWW= https://github.com/baresip

LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/docs/COPYING
LICENSE_FILE= ${WRKSRC}/LICENSE

USES= gmake ssl
USE_LDCONFIG= yes
MAKE_ARGS+= SYSROOT_ALT=${OPENSSLBASE}
USES= cmake ssl
USE_GITHUB= yes
GH_ACCOUNT= baresip

PORTDATA= re.mk

do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC}/include && \
${COPYTREE_SHARE} \*.h ${STAGEDIR}${PREFIX}/include/${PORTNAME})
${INSTALL_DATA} ${WRKSRC}/mk/${PORTNAME}.mk ${STAGEDIR}${DATADIR}
${INSTALL_LIB} ${WRKSRC}/lib${PORTNAME}.[sa]* ${STAGEDIR}${PREFIX}/lib
# FIXME values of the next 3 variables taken from source code Makefile
ABI_MAJOR= 14
ABI_AGE= 12
ABI_REV= 0
PLIST_SUB= ABI_MAJOR=${ABI_MAJOR}
PLIST_SUB+= ABI_AGE=${ABI_AGE}
PLIST_SUB+= ABI_REV=${ABI_REV}

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions audio/re/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1524574824
SHA256 (re-0.5.8.tar.gz) = 190fd652da167d8d6351b7a26fa0aef2ddab75fe5e8d5de77edf023988440e70
SIZE (re-0.5.8.tar.gz) = 301351
TIMESTAMP = 1679632225
SHA256 (baresip-re-v2.12.0_GH0.tar.gz) = efc387c9f06cac3f0a70e14a8da9d986cb15580e4712a496df66f3fb0257ac9b
SIZE (baresip-re-v2.12.0_GH0.tar.gz) = 394411
12 changes: 0 additions & 12 deletions audio/re/files/patch-mk_re.mk

This file was deleted.

12 changes: 12 additions & 0 deletions audio/re/files/patch-src_sip_auth.c
@@ -0,0 +1,12 @@
--- src/sip/auth.c.orig 2022-10-01 08:24:34 UTC
+++ src/sip/auth.c
@@ -3,6 +3,9 @@
*
* Copyright (C) 2010 Creytiv.com
*/
+#ifndef ETIME
+#define ETIME ETIMEDOUT
+#endif
#include <time.h>
#include <string.h>
#include <re_types.h>
22 changes: 19 additions & 3 deletions audio/re/pkg-plist
@@ -1,13 +1,19 @@
include/re/re.h
include/re/re_aes.h
include/re/re_async.h
include/re/re_atomic.h
include/re/re_av1.h
include/re/re_base64.h
include/re/re_bfcp.h
include/re/re_bitv.h
include/re/re_btrace.h
include/re/re_conf.h
include/re/re_convert.h
include/re/re_crc32.h
include/re/re_dbg.h
include/re/re_dns.h
include/re/re_fmt.h
include/re/re_h264.h
include/re/re_h265.h
include/re/re_hash.h
include/re/re_hmac.h
include/re/re_http.h
Expand All @@ -16,21 +22,23 @@ include/re/re_ice.h
include/re/re_jbuf.h
include/re/re_json.h
include/re/re_list.h
include/re/re_lock.h
include/re/re_main.h
include/re/re_mbuf.h
include/re/re_md5.h
include/re/re_mem.h
include/re/re_mod.h
include/re/re_mqueue.h
include/re/re_msg.h
include/re/re_natbd.h
include/re/re_net.h
include/re/re_odict.h
include/re/re_pcp.h
include/re/re_rtmp.h
include/re/re_rtp.h
include/re/re_rtpext.h
include/re/re_sa.h
include/re/re_sdp.h
include/re/re_sha.h
include/re/re_shim.h
include/re/re_sip.h
include/re/re_sipevent.h
include/re/re_sipreg.h
Expand All @@ -40,12 +48,20 @@ include/re/re_stun.h
include/re/re_sys.h
include/re/re_tcp.h
include/re/re_telev.h
include/re/re_thread.h
include/re/re_tls.h
include/re/re_tmr.h
include/re/re_trace.h
include/re/re_trice.h
include/re/re_turn.h
include/re/re_types.h
include/re/re_udp.h
include/re/re_unixsock.h
include/re/re_uri.h
include/re/re_websock.h
lib/cmake/re/re-config.cmake
lib/libre.a
lib/libre.so
lib/libre.so.%%ABI_MAJOR%%
lib/libre.so.%%ABI_MAJOR%%.%%ABI_AGE%%.%%ABI_REV%%
libdata/pkgconfig/libre.pc

0 comments on commit ce31373

Please sign in to comment.