pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/comms/asterisk15/patches Removed comms/asterisk15 as m...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3f5941499bd6
branches: trunk
changeset: 455050:3f5941499bd6
user: jnemeth <jnemeth%pkgsrc.org@localhost>
date: Sun Jun 27 08:53:55 2021 +0000
description:
Removed comms/asterisk15 as mentioned on pkgsrc-users.
diffstat:
comms/asterisk15/files/smf/manifest.xml | 34 -
comms/asterisk15/patches/patch-Makefile | 125 ------
comms/asterisk15/patches/patch-addons_chan__ooh323.c | 13 -
comms/asterisk15/patches/patch-apps_app__adsiprog.c | 22 -
comms/asterisk15/patches/patch-apps_app__chanspy.c | 13 -
comms/asterisk15/patches/patch-apps_app__directory.c | 13 -
comms/asterisk15/patches/patch-apps_app__dumpchan.c | 22 -
comms/asterisk15/patches/patch-apps_app__followme.c | 22 -
comms/asterisk15/patches/patch-apps_app__minivm.c | 13 -
comms/asterisk15/patches/patch-apps_app__queue.c | 163 -------
comms/asterisk15/patches/patch-apps_app__sms.c | 102 -----
comms/asterisk15/patches/patch-apps_app__voicemail.c | 76 ---
comms/asterisk15/patches/patch-build__tools_mkpkgconfig | 19 -
comms/asterisk15/patches/patch-cdr_cdr__pgsql.c | 31 -
comms/asterisk15/patches/patch-cel_cel__pgsql.c | 13 -
comms/asterisk15/patches/patch-channels_chan__pjsip.c | 32 -
comms/asterisk15/patches/patch-channels_chan__sip.c | 40 -
comms/asterisk15/patches/patch-channels_pjsip_cli__commands.c | 33 -
comms/asterisk15/patches/patch-channels_pjsip_dialplan__functions.c | 32 -
comms/asterisk15/patches/patch-configure | 204 ----------
comms/asterisk15/patches/patch-configure.ac | 44 --
comms/asterisk15/patches/patch-contrib_scripts_vmail.cgi | 181 --------
comms/asterisk15/patches/patch-funcs_func__cdr.c | 13 -
comms/asterisk15/patches/patch-funcs_func__channel.c | 13 -
comms/asterisk15/patches/patch-funcs_func__env.c | 49 --
comms/asterisk15/patches/patch-funcs_func__pjsip__aor.c | 22 -
comms/asterisk15/patches/patch-funcs_func__pjsip__contact.c | 22 -
comms/asterisk15/patches/patch-funcs_func__pjsip__endpoint.c | 23 -
comms/asterisk15/patches/patch-funcs_func__strings.c | 40 -
comms/asterisk15/patches/patch-include_asterisk_autoconfig.h.in | 27 -
comms/asterisk15/patches/patch-include_asterisk_lock.h | 76 ---
comms/asterisk15/patches/patch-include_asterisk_sha1.h | 131 ------
comms/asterisk15/patches/patch-include_asterisk_strings.h | 40 -
comms/asterisk15/patches/patch-main_Makefile | 38 -
comms/asterisk15/patches/patch-main_acl.c | 40 -
comms/asterisk15/patches/patch-main_app.c | 13 -
comms/asterisk15/patches/patch-main_ast__expr2.c | 16 -
comms/asterisk15/patches/patch-main_ast__expr2.y | 16 -
comms/asterisk15/patches/patch-main_asterisk.c | 40 -
comms/asterisk15/patches/patch-main_astmm.c | 13 -
comms/asterisk15/patches/patch-main_bridge__basic.c | 13 -
comms/asterisk15/patches/patch-main_callerid.c | 28 -
comms/asterisk15/patches/patch-main_cdr.c | 25 -
comms/asterisk15/patches/patch-main_cel.c | 13 -
comms/asterisk15/patches/patch-main_cli.c | 22 -
comms/asterisk15/patches/patch-main_conversions.c | 13 -
comms/asterisk15/patches/patch-main_dns__naptr.c | 40 -
comms/asterisk15/patches/patch-main_enum.c | 76 ---
comms/asterisk15/patches/patch-main_features.c | 20 -
comms/asterisk15/patches/patch-main_http.c | 13 -
comms/asterisk15/patches/patch-main_indications.c | 13 -
comms/asterisk15/patches/patch-main_logger.c | 22 -
comms/asterisk15/patches/patch-main_manager.c | 83 ----
comms/asterisk15/patches/patch-main_netsock.c | 13 -
comms/asterisk15/patches/patch-main_pbx.c | 13 -
comms/asterisk15/patches/patch-main_pbx__builtins.c | 33 -
comms/asterisk15/patches/patch-main_pbx__timing.c | 13 -
comms/asterisk15/patches/patch-main_sched.c | 27 -
comms/asterisk15/patches/patch-main_stdtime_localtime.c | 147 -------
comms/asterisk15/patches/patch-main_tdd.c | 13 -
comms/asterisk15/patches/patch-main_test.c | 13 -
comms/asterisk15/patches/patch-main_utils.c | 60 --
comms/asterisk15/patches/patch-menuselect_menuselect.c | 22 -
comms/asterisk15/patches/patch-pbx_pbx__config.c | 22 -
comms/asterisk15/patches/patch-pbx_pbx__dundi.c | 40 -
comms/asterisk15/patches/patch-res_ael_pval.c | 41 --
comms/asterisk15/patches/patch-res_res__calendar.c | 37 -
comms/asterisk15/patches/patch-res_res__calendar__caldav.c | 13 -
comms/asterisk15/patches/patch-res_res__calendar__icalendar.c | 13 -
comms/asterisk15/patches/patch-res_res__hep__pjsip.c | 23 -
comms/asterisk15/patches/patch-res_res__limit.c | 13 -
comms/asterisk15/patches/patch-res_res__musiconhold.c | 22 -
comms/asterisk15/patches/patch-res_res__pjproject.c | 31 -
comms/asterisk15/patches/patch-res_res__pjsip.c | 42 --
comms/asterisk15/patches/patch-res_res__pjsip__acl.c | 23 -
comms/asterisk15/patches/patch-res_res__pjsip__authenticator__digest.c | 22 -
comms/asterisk15/patches/patch-res_res__pjsip__caller__id.c | 23 -
comms/asterisk15/patches/patch-res_res__pjsip__config__wizard.c | 25 -
comms/asterisk15/patches/patch-res_res__pjsip__dialog__info__body__generator.c | 18 -
comms/asterisk15/patches/patch-res_res__pjsip__diversion.c | 34 -
comms/asterisk15/patches/patch-res_res__pjsip__dlg__options.c | 18 -
comms/asterisk15/patches/patch-res_res__pjsip__dtmf__info.c | 19 -
comms/asterisk15/patches/patch-res_res__pjsip__empty__info.c | 19 -
comms/asterisk15/patches/patch-res_res__pjsip__endpoint__identifier__anonymous.c | 17 -
comms/asterisk15/patches/patch-res_res__pjsip__endpoint__identifier__ip.c | 22 -
comms/asterisk15/patches/patch-res_res__pjsip__endpoint__identifier__user.c | 17 -
comms/asterisk15/patches/patch-res_res__pjsip__exten__state.c | 31 -
comms/asterisk15/patches/patch-res_res__pjsip__header__funcs.c | 28 -
comms/asterisk15/patches/patch-res_res__pjsip__history.c | 26 -
comms/asterisk15/patches/patch-res_res__pjsip__logger.c | 23 -
comms/asterisk15/patches/patch-res_res__pjsip__messaging.c | 22 -
comms/asterisk15/patches/patch-res_res__pjsip__mwi.c | 33 -
comms/asterisk15/patches/patch-res_res__pjsip__mwi__body__generator.c | 23 -
comms/asterisk15/patches/patch-res_res__pjsip__nat.c | 21 -
comms/asterisk15/patches/patch-res_res__pjsip__notify.c | 27 -
comms/asterisk15/patches/patch-res_res__pjsip__one__touch__record__info.c | 23 -
comms/asterisk15/patches/patch-res_res__pjsip__outbound__authenticator__digest.c | 22 -
comms/asterisk15/patches/patch-res_res__pjsip__outbound__publish.c | 26 -
comms/asterisk15/patches/patch-res_res__pjsip__outbound__registration.c | 29 -
comms/asterisk15/patches/patch-res_res__pjsip__path.c | 21 -
comms/asterisk15/patches/patch-res_res__pjsip__phoneprov__provider.c | 21 -
comms/asterisk15/patches/patch-res_res__pjsip__pidf__body__generator.c | 18 -
comms/asterisk15/patches/patch-res_res__pjsip__pidf__digium__body__supplement.c | 20 -
comms/asterisk15/patches/patch-res_res__pjsip__pidf__eyebeam__body__supplement.c | 18 -
comms/asterisk15/patches/patch-res_res__pjsip__publish__asterisk.c | 24 -
comms/asterisk15/patches/patch-res_res__pjsip__pubsub.c | 36 -
comms/asterisk15/patches/patch-res_res__pjsip__refer.c | 29 -
comms/asterisk15/patches/patch-res_res__pjsip__registrar.c | 26 -
comms/asterisk15/patches/patch-res_res__pjsip__rfc3326.c | 23 -
comms/asterisk15/patches/patch-res_res__pjsip__sdp__rtp.c | 28 -
comms/asterisk15/patches/patch-res_res__pjsip__send__to__voicemail.c | 21 -
comms/asterisk15/patches/patch-res_res__pjsip__session.c | 37 -
comms/asterisk15/patches/patch-res_res__pjsip__sips__contact.c | 17 -
comms/asterisk15/patches/patch-res_res__pjsip__t38.c | 28 -
comms/asterisk15/patches/patch-res_res__pjsip__transport__websocket.c | 23 -
comms/asterisk15/patches/patch-res_res__pjsip__xpidf__body__generator.c | 18 -
comms/asterisk15/patches/patch-res_res__pjsip_config__auth.c | 22 -
comms/asterisk15/patches/patch-res_res__pjsip_config__domain__aliases.c | 21 -
comms/asterisk15/patches/patch-res_res__pjsip_config__global.c | 25 -
comms/asterisk15/patches/patch-res_res__pjsip_config__system.c | 23 -
comms/asterisk15/patches/patch-res_res__pjsip_config__transport.c | 31 -
comms/asterisk15/patches/patch-res_res__pjsip_location.c | 33 -
comms/asterisk15/patches/patch-res_res__pjsip_pjsip__cli.c | 31 -
comms/asterisk15/patches/patch-res_res__pjsip_pjsip__configuration.c | 40 -
comms/asterisk15/patches/patch-res_res__pjsip_pjsip__distributor.c | 22 -
comms/asterisk15/patches/patch-res_res__pjsip_pjsip__global__headers.c | 19 -
comms/asterisk15/patches/patch-res_res__pjsip_pjsip__message__filter.c | 13 -
comms/asterisk15/patches/patch-res_res__pjsip_pjsip__options.c | 34 -
comms/asterisk15/patches/patch-res_res__pjsip_pjsip__resolver.c | 33 -
comms/asterisk15/patches/patch-res_res__pjsip_pjsip__scheduler.c | 18 -
comms/asterisk15/patches/patch-res_res__pjsip_pjsip__session.c | 25 -
comms/asterisk15/patches/patch-res_res__pjsip_pjsip__transport__events.c | 20 -
comms/asterisk15/patches/patch-res_res__pjsip_pjsip__transport__management.c | 20 -
comms/asterisk15/patches/patch-res_res__pjsip_presence__xml.c | 20 -
comms/asterisk15/patches/patch-res_res__pjsip_security__events.c | 17 -
comms/asterisk15/patches/patch-res_res__rtp__asterisk.c | 44 --
comms/asterisk15/patches/patch-res_res__xmpp.c | 13 -
comms/asterisk15/patches/patch-sounds_Makefile | 25 -
comms/asterisk15/patches/patch-tests_test__locale.c | 13 -
comms/asterisk15/patches/patch-tests_test__voicemail__api.c | 13 -
comms/asterisk15/patches/patch-utils_Makefile | 24 -
comms/asterisk15/patches/patch-utils_db1-ast_include_db.h | 13 -
comms/asterisk15/patches/patch-utils_extconf.c | 67 ---
comms/asterisk15/patches/patch-utils_smsq.c | 13 -
144 files changed, 0 insertions(+), 4602 deletions(-)
diffs (truncated from 5178 to 300 lines):
diff -r 7900f708a253 -r 3f5941499bd6 comms/asterisk15/files/smf/manifest.xml
--- a/comms/asterisk15/files/smf/manifest.xml Sun Jun 27 08:53:54 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
-<service_bundle type="manifest" name="export">
- <service name="@SMF_PREFIX@/@SMF_NAME@" type="service" version="1">
- <create_default_instance enabled="false" />
- <single_instance />
- <dependency name='network' grouping='require_all' restart_on='error' type='service'>
- <service_fmri value='svc:/milestone/network:default' />
- </dependency>
- <dependency name='filesystem-local' grouping='require_all' restart_on='none' type='service'>
- <service_fmri value='svc:/system/filesystem/local:default' />
- </dependency>
- <method_context>
- <method_environment>
- <envvar name="LD_PRELOAD_32" value="/usr/lib/extendedFILE.so.1" />
- </method_environment>
- </method_context>
- <exec_method type="method" name="start" exec="@PREFIX@/sbin/asterisk" timeout_seconds="60" />
- <exec_method type="method" name="stop" exec="@PREFIX@/sbin/asterisk -nr -x 'core stop gracefully' >/dev/null" timeout_seconds="60" />
- <exec_method type="method" name="refresh" exec="@PREFIX@/sbin/asterisk -nr -x 'core reload' >/dev/null" timeout_seconds="60" />
- <property_group name="startd" type="framework">
- <propval name="duration" type="astring" value="contract" />
- <propval name="ignore_error" type="astring" value="core,signal" />
- </property_group>
- <property_group name="application" type="application">
- <propval name="config_file" type="astring" value="@PKG_SYSCONFDIR@/asterisk.conf" />
- </property_group>
- <template>
- <common_name>
- <loctext xml:lang="C">Asterisk PBX</loctext>
- </common_name>
- </template>
- </service>
-</service_bundle>
diff -r 7900f708a253 -r 3f5941499bd6 comms/asterisk15/patches/patch-Makefile
--- a/comms/asterisk15/patches/patch-Makefile Sun Jun 27 08:53:54 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,125 +0,0 @@
-$NetBSD: patch-Makefile,v 1.2 2021/01/17 08:32:40 jnemeth Exp $
-
---- Makefile.orig 2019-09-05 13:09:20.000000000 +0000
-+++ Makefile
-@@ -145,7 +145,7 @@ DEBUG=-g3
-
- # Asterisk.conf is located in ASTETCDIR or by using the -C flag
- # when starting Asterisk
--ASTCONFPATH=$(ASTETCDIR)/asterisk.conf
-+ASTCONFPATH=$(ASTEXAMPLEDIR)/asterisk.conf
- AGI_DIR=$(ASTDATADIR)/agi-bin
-
- # If you use Apache, you may determine by a grep 'DocumentRoot' of your httpd.conf file
-@@ -217,12 +217,6 @@ ifeq ($(AST_DEVMODE),yes)
- endif
- endif
-
--ifeq ($(OSARCH),NetBSD)
-- _ASTCFLAGS+=-isystem /usr/pkg/include
--else ifneq ($(findstring BSD,$(OSARCH)),)
-- _ASTCFLAGS+=-isystem /usr/local/include
--endif
--
- ifeq ($(OSARCH),FreeBSD)
- # -V is understood by BSD Make, not by GNU make.
- BSDVERSION=$(shell make -V OSVERSION -f /usr/share/mk/bsd.port.subdir.mk)
-@@ -433,7 +427,6 @@ dist-clean: distclean
-
- distclean: $(SUBDIRS_DIST_CLEAN) _clean
- @$(MAKE) -C menuselect dist-clean
-- @$(MAKE) -C sounds dist-clean
- rm -f menuselect.makeopts makeopts menuselect-tree menuselect.makedeps
- rm -f config.log config.status config.cache
- rm -rf autom4te.cache
-@@ -554,7 +547,7 @@ update:
-
- NEWHEADERS=$(notdir $(wildcard include/asterisk/*.h))
- OLDHEADERS=$(filter-out $(NEWHEADERS) $(notdir $(DESTDIR)$(ASTHEADERDIR)),$(notdir $(wildcard $(DESTDIR)$(ASTHEADERDIR)/*.h)))
--INSTALLDIRS="$(ASTLIBDIR)" "$(ASTMODDIR)" "$(ASTSBINDIR)" "$(ASTETCDIR)" "$(ASTVARRUNDIR)" \
-+INSTALLDIRS="$(ASTLIBDIR)" "$(ASTMODDIR)" "$(ASTSBINDIR)" "$(ASTEXAMPLEDIR)" "$(ASTVARRUNDIR)" \
- "$(ASTSPOOLDIR)" "$(ASTSPOOLDIR)/dictate" "$(ASTSPOOLDIR)/meetme" \
- "$(ASTSPOOLDIR)/monitor" "$(ASTSPOOLDIR)/system" "$(ASTSPOOLDIR)/tmp" \
- "$(ASTSPOOLDIR)/voicemail" "$(ASTSPOOLDIR)/recording" \
-@@ -767,7 +760,7 @@ upgrade: bininstall
- # (2) the extension to strip off
- define INSTALL_CONFIGS
- @for x in $(1)/*$(2); do \
-- dst="$(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x $(2)`"; \
-+ dst="$(DESTDIR)$(ASTEXAMPLEDIR)/`$(BASENAME) $$x $(2)`"; \
- if [ -f "$${dst}" ]; then \
- if [ "$(OVERWRITE)" = "y" ]; then \
- if cmp -s "$${dst}" "$$x" ; then \
-@@ -796,9 +789,9 @@ define INSTALL_CONFIGS
- -e 's|^astrundir.*$$|astrundir => $(ASTVARRUNDIR)|' \
- -e 's|^astlogdir.*$$|astlogdir => $(ASTLOGDIR)|' \
- -e 's|^astsbindir.*$$|astsbindir => $(ASTSBINDIR)|' \
-- "$(DESTDIR)$(ASTCONFPATH)" > "$(DESTDIR)$(ASTCONFPATH).tmp" ; \
-- $(INSTALL) -m 644 "$(DESTDIR)$(ASTCONFPATH).tmp" "$(DESTDIR)$(ASTCONFPATH)" ; \
-- rm -f "$(DESTDIR)$(ASTCONFPATH).tmp" ; \
-+ "$(DESTDIR)$(ASTEXAMPLEDIR)/asterisk.conf" > "$(DESTDIR)$(ASTEXAMPLEDIR)/asterisk.conf.tmp" ; \
-+ $(INSTALL) -m 644 "$(DESTDIR)$(ASTEXAMPLEDIR)/asterisk.conf.tmp" "$(DESTDIR)$(ASTEXAMPLEDIR)/asterisk.conf" ; \
-+ rm -f "$(DESTDIR)$(ASTEXAMPLEDIR)/asterisk.conf.tmp" ; \
- fi
- endef
-
-@@ -813,15 +806,15 @@ install-configs:
- # XXX why *.adsi is installed first ?
- adsi:
- @echo Installing adsi config files...
-- $(INSTALL) -d "$(DESTDIR)$(ASTETCDIR)"
-+ $(INSTALL) -d "$(DESTDIR)$(ASTEXAMPLEDIR)"
- @for x in configs/samples/*.adsi; do \
-- dst="$(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x`" ; \
-+ dst="$(DESTDIR)$(ASTEXAMPLEDIR)/`$(BASENAME) $$x`" ; \
- if [ -f "$${dst}" ] ; then \
- echo "Overwriting $$x" ; \
- else \
- echo "Installing $$x" ; \
- fi ; \
-- $(INSTALL) -m 644 "$$x" "$(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x`" ; \
-+ $(INSTALL) -m 644 "$$x" "$(DESTDIR)$(ASTEXAMPLEDIR)/`$(BASENAME) $$x`" ; \
- done
-
- samples: adsi
-@@ -854,7 +847,7 @@ basic-pbx:
- webvmail:
- @[ -d "$(DESTDIR)$(HTTP_DOCSDIR)/" ] || ( printf "http docs directory not found.\nUpdate assignment of variable HTTP_DOCSDIR in Makefile!\n" && exit 1 )
- @[ -d "$(DESTDIR)$(HTTP_CGIDIR)" ] || ( printf "cgi-bin directory not found.\nUpdate assignment of variable HTTP_CGIDIR in Makefile!\n" && exit 1 )
-- $(INSTALL) -m 4755 contrib/scripts/vmail.cgi "$(DESTDIR)$(HTTP_CGIDIR)/vmail.cgi"
-+ $(INSTALL) contrib/scripts/vmail.cgi "$(DESTDIR)$(HTTP_CGIDIR)/vmail"
- $(INSTALL) -d "$(DESTDIR)$(HTTP_DOCSDIR)/_asterisk"
- for x in images/*.gif; do \
- $(INSTALL) -m 644 $$x "$(DESTDIR)$(HTTP_DOCSDIR)/_asterisk/"; \
-@@ -904,11 +897,11 @@ endif
- endif
-
- install-logrotate:
-- if [ ! -d "$(DESTDIR)$(ASTETCDIR)/../logrotate.d" ]; then \
-- $(INSTALL) -d "$(DESTDIR)$(ASTETCDIR)/../logrotate.d" ; \
-+ if [ ! -d "$(DESTDIR)$(ASTEXAMPLEDIR)/../logrotate.d" ]; then \
-+ $(INSTALL) -d "$(DESTDIR)$(ASTEXAMPLEDIR)/../logrotate.d" ; \
- fi
- sed 's#__LOGDIR__#$(ASTLOGDIR)#g' < contrib/scripts/asterisk.logrotate | sed 's#__SBINDIR__#$(ASTSBINDIR)#g' > contrib/scripts/asterisk.logrotate.tmp
-- $(INSTALL) -m 0644 contrib/scripts/asterisk.logrotate.tmp "$(DESTDIR)$(ASTETCDIR)/../logrotate.d/asterisk"
-+ $(INSTALL) -m 0644 contrib/scripts/asterisk.logrotate.tmp "$(DESTDIR)$(ASTEXAMPLEDIR)/../logrotate.d/asterisk"
- rm -f contrib/scripts/asterisk.logrotate.tmp
-
- config:
-@@ -1032,7 +1025,7 @@ uninstall-all: _uninstall
- rm -rf "$(DESTDIR)$(ASTVARLIBDIR)"
- rm -rf "$(DESTDIR)$(ASTDATADIR)"
- rm -rf "$(DESTDIR)$(ASTSPOOLDIR)"
-- rm -rf "$(DESTDIR)$(ASTETCDIR)"
-+ rm -rf "$(DESTDIR)$(ASTEXAMPLEDIR)"
- rm -rf "$(DESTDIR)$(ASTLOGDIR)"
-
- menuconfig: menuselect
-@@ -1121,6 +1114,7 @@ check-alembic: makeopts
-
- .PHONY: install-configs
- .PHONY: menuselect
-+.PHONY: menuselect.makeopts
- .PHONY: main
- .PHONY: sounds
- .PHONY: clean
diff -r 7900f708a253 -r 3f5941499bd6 comms/asterisk15/patches/patch-addons_chan__ooh323.c
--- a/comms/asterisk15/patches/patch-addons_chan__ooh323.c Sun Jun 27 08:53:54 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-addons_chan__ooh323.c,v 1.1 2018/07/16 21:53:05 joerg Exp $
-
---- addons/chan_ooh323.c.orig 2018-05-01 20:12:26.000000000 +0000
-+++ addons/chan_ooh323.c
-@@ -4035,7 +4035,7 @@ static void *do_monitor(void *data)
- h323->lastrtprx + h323->rtptimeout < t) {
- if (!ast_channel_trylock(h323->owner)) {
- ast_softhangup_nolock(h323->owner, AST_SOFTHANGUP_DEV);
-- ast_log(LOG_NOTICE, "Disconnecting call '%s' for lack of RTP activity in %ld seconds\n", ast_channel_name(h323->owner), (long) (t - h323->lastrtprx));
-+ ast_log(LOG_NOTICE, "Disconnecting call '%s' for lack of RTP activity in %jd seconds\n", ast_channel_name(h323->owner), (intmax_t) (t - h323->lastrtprx));
- ast_channel_unlock(h323->owner);
- }
-
diff -r 7900f708a253 -r 3f5941499bd6 comms/asterisk15/patches/patch-apps_app__adsiprog.c
--- a/comms/asterisk15/patches/patch-apps_app__adsiprog.c Sun Jun 27 08:53:54 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-$NetBSD: patch-apps_app__adsiprog.c,v 1.1 2018/07/16 21:53:05 joerg Exp $
-
---- apps/app_adsiprog.c.orig 2018-05-07 17:17:45.731153122 +0000
-+++ apps/app_adsiprog.c
-@@ -215,7 +215,7 @@ static int process_token(void *out, char
- /* Convert */
- *((unsigned int *)out) = htonl(*((unsigned int *)out));
- }
-- } else if ((strlen(src) > 2) && (src[0] == '0') && (tolower(src[1]) == 'x')) {
-+ } else if ((strlen(src) > 2) && (src[0] == '0') && (tolower((unsigned char)src[1]) == 'x')) {
- if (!(argtype & ARG_NUMBER))
- return -1;
- /* Hex value */
-@@ -225,7 +225,7 @@ static int process_token(void *out, char
- /* Convert */
- *((unsigned int *)out) = htonl(*((unsigned int *)out));
- }
-- } else if ((!ast_strlen_zero(src) && isdigit(src[0]))) {
-+ } else if ((!ast_strlen_zero(src) && isdigit((unsigned char)src[0]))) {
- if (!(argtype & ARG_NUMBER))
- return -1;
- /* Hex value */
diff -r 7900f708a253 -r 3f5941499bd6 comms/asterisk15/patches/patch-apps_app__chanspy.c
--- a/comms/asterisk15/patches/patch-apps_app__chanspy.c Sun Jun 27 08:53:54 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-apps_app__chanspy.c,v 1.1 2018/07/16 21:53:05 joerg Exp $
-
---- apps/app_chanspy.c.orig 2018-05-07 17:20:13.916423247 +0000
-+++ apps/app_chanspy.c
-@@ -1105,7 +1105,7 @@ static int common_exec(struct ast_channe
- if ((ptr = strchr(peer_name, '/'))) {
- *ptr++ = '\0';
- for (s = peer_name; s < ptr; s++) {
-- *s = tolower(*s);
-+ *s = tolower((unsigned char)*s);
- }
- if ((s = strchr(ptr, '-'))) {
- *s = '\0';
diff -r 7900f708a253 -r 3f5941499bd6 comms/asterisk15/patches/patch-apps_app__directory.c
--- a/comms/asterisk15/patches/patch-apps_app__directory.c Sun Jun 27 08:53:54 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-apps_app__directory.c,v 1.1 2018/07/16 21:53:05 joerg Exp $
-
---- apps/app_directory.c.orig 2018-05-07 17:19:54.317128994 +0000
-+++ apps/app_directory.c
-@@ -194,7 +194,7 @@ static int compare(const char *text, con
- }
-
- while (*template) {
-- digit = toupper(*text++);
-+ digit = toupper((unsigned char)*text++);
- switch (digit) {
- case 0:
- return -1;
diff -r 7900f708a253 -r 3f5941499bd6 comms/asterisk15/patches/patch-apps_app__dumpchan.c
--- a/comms/asterisk15/patches/patch-apps_app__dumpchan.c Sun Jun 27 08:53:54 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-$NetBSD: patch-apps_app__dumpchan.c,v 1.1 2018/07/16 21:53:05 joerg Exp $
-
---- apps/app_dumpchan.c.orig 2015-10-09 21:48:48.000000000 +0000
-+++ apps/app_dumpchan.c
-@@ -117,7 +117,7 @@ static int serialize_showchan(struct ast
- "1stFileDescriptor= %d\n"
- "Framesin= %u %s\n"
- "Framesout= %u %s\n"
-- "TimetoHangup= %ld\n"
-+ "TimetoHangup= %jd\n"
- "ElapsedTime= %dh%dm%ds\n"
- "BridgeID= %s\n"
- "Context= %s\n"
-@@ -155,7 +155,7 @@ static int serialize_showchan(struct ast
- ast_channel_fd(c, 0),
- ast_channel_fin(c) & ~DEBUGCHAN_FLAG, (ast_channel_fin(c) & DEBUGCHAN_FLAG) ? " (DEBUGGED)" : "",
- ast_channel_fout(c) & ~DEBUGCHAN_FLAG, (ast_channel_fout(c) & DEBUGCHAN_FLAG) ? " (DEBUGGED)" : "",
-- (long)ast_channel_whentohangup(c)->tv_sec,
-+ (intmax_t)ast_channel_whentohangup(c)->tv_sec,
- hour,
- min,
- sec,
diff -r 7900f708a253 -r 3f5941499bd6 comms/asterisk15/patches/patch-apps_app__followme.c
--- a/comms/asterisk15/patches/patch-apps_app__followme.c Sun Jun 27 08:53:54 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-$NetBSD: patch-apps_app__followme.c,v 1.1 2018/07/16 21:53:05 joerg Exp $
-
---- apps/app_followme.c.orig 2015-10-09 21:48:48.000000000 +0000
-+++ apps/app_followme.c
-@@ -380,7 +380,7 @@ static struct number *create_followme_nu
- *tmp = '\0';
- ast_copy_string(cur->number, buf, sizeof(cur->number));
- cur->order = numorder;
-- ast_debug(1, "Created a number, %s, order of , %d, with a timeout of %ld.\n", cur->number, cur->order, cur->timeout);
-+ ast_debug(1, "Created a number, %s, order of , %d, with a timeout of %jd.\n", cur->number, cur->order, (intmax_t)cur->timeout);
-
- return cur;
- }
-@@ -1010,7 +1010,7 @@ static struct ast_channel *findmeexec(st
- break;
- }
-
-- ast_debug(2, "Number(s) %s timeout %ld\n", nm->number, nm->timeout);
-+ ast_debug(2, "Number(s) %s timeout %jd\n", nm->number, (intmax_t)nm->timeout);
-
- /*
- * Put all active outgoing channels into autoservice.
diff -r 7900f708a253 -r 3f5941499bd6 comms/asterisk15/patches/patch-apps_app__minivm.c
--- a/comms/asterisk15/patches/patch-apps_app__minivm.c Sun Jun 27 08:53:54 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
Home |
Main Index |
Thread Index |
Old Index