mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
net/kamailio: Update to 5.4.1
Changelog: https://www.kamailio.org/pub/kamailio/5.4.1/ChangeLog PR: 249393 Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru> (maintainer) Event: September 2020 Bugathon
This commit is contained in:
parent
ac0e2ce983
commit
a95d658838
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=548992
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= kamailio
|
||||
PORTVERSION= 5.4.0
|
||||
PORTVERSION= 5.4.1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.kamailio.org/pub/kamailio/${PORTVERSION}/src/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}_src
|
||||
@ -126,7 +126,7 @@ CFG_ARGS+= include_modules="${EXTRA_MODULES}"
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} '563s|run_target = $$(run_prefix)/$$(run_dir)|run_target = ${KAMAILIO_RUNDIR}|' \
|
||||
${REINPLACE_CMD} '565s|run_target = $$(run_prefix)/$$(run_dir)|run_target = ${KAMAILIO_RUNDIR}|' \
|
||||
${WRKSRC}/src/Makefile.defs
|
||||
|
||||
post-patch-DOCS-off:
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1597605362
|
||||
SHA256 (kamailio-5.4.0_src.tar.gz) = 9ee22d566a7b6f60eaf283e95ee6633046dc87117be03b6cf2bc27293087718b
|
||||
SIZE (kamailio-5.4.0_src.tar.gz) = 12586462
|
||||
TIMESTAMP = 1599259759
|
||||
SHA256 (kamailio-5.4.1_src.tar.gz) = 2a970e2edbc6989429dd52d9a45dad4b891901867c3b267734c67e87e3706bc3
|
||||
SIZE (kamailio-5.4.1_src.tar.gz) = 12608802
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- atomic/atomic_native.h.orig 2015-09-06 19:01:51 UTC
|
||||
+++ atomic/atomic_native.h
|
||||
@@ -46,6 +46,8 @@
|
||||
#ifndef __atomic_native
|
||||
#define __atomic_native
|
||||
|
||||
+#define CC_GCC_LIKE_ASM 1
|
||||
+#define __CPU_x86_64 1
|
||||
#ifdef CC_GCC_LIKE_ASM
|
||||
|
||||
#if defined __CPU_i386 || defined __CPU_x86_64
|
@ -1,11 +0,0 @@
|
||||
--- atomic/atomic_native.h.orig 2015-09-06 19:01:51 UTC
|
||||
+++ atomic/atomic_native.h
|
||||
@@ -46,6 +46,8 @@
|
||||
#ifndef __atomic_native
|
||||
#define __atomic_native
|
||||
|
||||
+#define CC_GCC_LIKE_ASM 1
|
||||
+#define __CPU_i386 1
|
||||
#ifdef CC_GCC_LIKE_ASM
|
||||
|
||||
#if defined __CPU_i386 || defined __CPU_x86_64
|
@ -1,4 +1,4 @@
|
||||
--- src/Makefile.defs.orig 2020-07-29 10:22:39 UTC
|
||||
--- src/Makefile.defs.orig 2020-09-01 08:11:08 UTC
|
||||
+++ src/Makefile.defs
|
||||
@@ -257,7 +257,7 @@ YACC := $(shell echo "$${YACC}")
|
||||
|
||||
@ -16,9 +16,9 @@
|
||||
- CC_NAME=gcc
|
||||
+ CC_NAME=clang
|
||||
RPAREN=)
|
||||
CC_VER:=$(word 1,$(CC)) $(shell $(CC) - --version|head -n 1|\
|
||||
CC_VER:=$(word 1,$(CC)) $(shell $(CC) - --version 2>/dev/null|head -n 1|\
|
||||
sed -e 's/([^$(RPAREN)]*)//g' \
|
||||
@@ -456,7 +456,7 @@ LIBDIR ?=
|
||||
@@ -458,7 +458,7 @@ LIBDIR ?=
|
||||
ifeq ($(LIBDIR),)
|
||||
ARCHBSZ= $(shell echo $(ARCH) | sed -e 's/.*64.*/64b/')
|
||||
ifeq ($(ARCHBSZ),64b)
|
||||
@ -27,18 +27,3 @@
|
||||
else
|
||||
LIBDIR = lib
|
||||
endif
|
||||
@@ -1979,12 +1979,11 @@ ifeq ($(OS), freebsd)
|
||||
ifeq ($(RAW_SOCKS), yes)
|
||||
C_DEFS+= -DUSE_RAW_SOCKS
|
||||
endif
|
||||
+ LIBS= -lm # resolv and dlopen is in libc
|
||||
ifneq ($(found_lock_method), yes)
|
||||
C_DEFS+= -DUSE_PTHREAD_MUTEX # try pthread sems
|
||||
found_lock_method=yes
|
||||
- LIBS+= -pthread #dlopen is in libc
|
||||
- else
|
||||
- LIBS= #dlopen is in libc
|
||||
+ LIBS+= -pthread
|
||||
endif
|
||||
# check for ver >= 4.1
|
||||
ifeq ($(shell [ $(OSREL_N) -gt 4001 ] && echo has_kqueue), has_kqueue)
|
||||
|
Loading…
Reference in New Issue
Block a user