View | Details | Raw Unified | Return to bug 280905 | Differences between
and this patch

Collapse All | Expand All

(-)b/net/Makefile (+1 lines)
Lines 34-39 Link Here
34
    SUBDIR += asterisk-chan_sccp
34
    SUBDIR += asterisk-chan_sccp
35
    SUBDIR += asterisk-g72x
35
    SUBDIR += asterisk-g72x
36
    SUBDIR += asterisk18
36
    SUBDIR += asterisk18
37
    SUBDIR += asterisk20
37
    SUBDIR += astron
38
    SUBDIR += astron
38
    SUBDIR += avahi
39
    SUBDIR += avahi
39
    SUBDIR += avahi-app
40
    SUBDIR += avahi-app
(-)b/net/asterisk20/Makefile (+340 lines)
Added Link Here
1
PORTNAME=	asterisk
2
DISTVERSION=	20.9.2
3
CATEGORIES=	net
4
MASTER_SITES=	https://downloads.asterisk.org/pub/telephony/%SUBDIR%/:DEFAULT,g729
5
MASTER_SITE_SUBDIR=	asterisk/ \
6
			asterisk/old-releases/ \
7
			sounds/releases/:g729
8
PKGNAMESUFFIX=	20
9
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
10
DIST_SUBDIR=	${PORTNAME}
11
EXTRACT_ONLY:=	${DISTNAME}${EXTRACT_SUFX}
12
13
MAINTAINER=	o.kryvulia@flex-it.com.ua
14
COMMENT=	Open Source PBX and telephony toolkit
15
WWW=		https://www.asterisk.org
16
17
LICENSE=	GPLv2
18
LICENSE_FILE=	${WRKSRC}/LICENSE
19
20
LIB_DEPENDS=	libuuid.so:misc/e2fsprogs-libuuid \
21
		libjansson.so:devel/jansson
22
23
USES=		bison compiler:c11 cpe gmake gnome iconv libedit localbase \
24
		pkgconfig shebangfix sqlite ssl ncurses
25
CPE_VENDOR=	digium
26
USE_GITHUB=	nodefault
27
USE_GNOME=	libxml2
28
USE_LDCONFIG=	yes
29
USE_RC_SUBR=	asterisk
30
31
SHEBANG_FILES=	agi/agi-test.agi \
32
		agi/jukebox.agi \
33
		contrib/scripts/astversion \
34
		contrib/scripts/ast_coredumper
35
36
GNU_CONFIGURE=	yes
37
CONFIGURE_ARGS=	--datarootdir=${DATADIR} \
38
		--with-ilbc=internal \
39
		--with-crypto=${OPENSSLBASE} \
40
		--with-ssl=${OPENSSLBASE} \
41
		--with-externals-cache=${DISTDIR}/${DIST_SUBDIR}
42
43
MAKE_ARGS+=	NOISY_BUILD=yes \
44
		ASTDATADIR=${DATADIR}
45
MAKE_ENV=	PTHREAD_LIBS="-lpthread" \
46
		MKDIR="${MKDIR}" \
47
		PWLIBDIR=${LOCALBASE}/share/pwlib \
48
		OSVERSION=${OSVERSION} \
49
		DOCSDIR=${DOCSDIR} \
50
		ASTCFLAGS="${CFLAGS}" \
51
		ASTLDFLAGS="${LDFLAGS}"
52
53
LDFLAGS+=	-L.
54
55
CONFLICTS=		ossp-uuid
56
CONFLICTS_BUILD=	linuxthreads
57
CONFLICTS_INSTALL=	asterisk18
58
59
USERS=	${ASTERISK_USER}
60
GROUPS=	${ASTERISK_GROUP} dahdi
61
62
OPTIONS_DEFINE=			ASTVERSION BACKTRACE CURL EXCHANGE FREETDS G729 LDAP LUA MACRO \
63
				MP3PLAYER OOH323 OPTIMIZED_CFLAGS PJSIP PORTAUDIO RADIUS SNMP \
64
				SIP SPANDSP SRTP SYSINFO URIPARSER XMLDOC XMPP
65
OPTIONS_DEFINE_aarch64=		GEOLOCATION
66
OPTIONS_DEFINE_amd64=		DAHDI GEOLOCATION
67
OPTIONS_DEFINE_i386=		DAHDI GEOLOCATION
68
OPTIONS_DEFINE_powerpc=		DAHDI
69
OPTIONS_DEFINE_powerpc64=	DAHDI
70
OPTIONS_DEFINE_powerpc64le=	DAHDI
71
OPTIONS_DEFAULT=		CURL FREETDS GSM LUA MACRO MP3PLAYER NEWT ODBC OPUS MYSQL PGSQL \
72
				PJSIP PORTAUDIO RADIUS SNMP SPANDSP SPEEX SRTP URIPARSER \
73
				VORBIS XMLDOC
74
OPTIONS_DEFAULT_amd64=		DAHDI XMPP
75
OPTIONS_DEFAULT_i386=		DAHDI XMPP
76
OPTIONS_DEFAULT_powerpc=	DAHDI XMPP
77
OPTIONS_DEFAULT_powerpc64=	DAHDI XMPP
78
OPTIONS_DEFAULT_powerpc64le=	DAHDI XMPP
79
80
OPTIONS_GROUP=			CODECS DATABASE
81
OPTIONS_GROUP_CODECS=		GSM NEWG711 OPUS SPEEX VORBIS
82
OPTIONS_GROUP_DATABASE=		MYSQL ODBC PGSQL
83
84
OPTIONS_MULTI=			MENU
85
OPTIONS_MULTI_MENU=		NCURSES NEWT
86
OPTIONS_SUB=		yes
87
88
ASTVERSION_DESC=	Install astversion (requires bash)
89
BACKTRACE_DESC=	Stack backtrace support via (lib)execinfo
90
CODECS_DESC=	Encoder/Decoder (Codec) Support
91
DAHDI_DESC=	DAHDI support
92
DATABASE_DESC=	Database Support
93
EXCHANGE_DESC=	Exchange calendar support
94
G729_DESC=	Install G.729 format sounds for Music-on-Hold (MoH)
95
GEOLOCATION_DESC=	Enable SIP Geolocation support
96
MACRO_DESC=	Enable app_macro (deprecated)
97
MENU_DESC=			Menuselect Interface Backend
98
MP3PLAYER_DESC=	Install MP3 Player for Music-On-Hold (mpg123)
99
NEWG711_DESC=	New G711 Codec
100
NEWT_DESC=	Newt User Interface
101
OOH323_DESC=	ooh323 support
102
OPUS_DESC=	Opus Codec
103
PJSIP_DESC=	Build the PJSIP based SIP channel
104
SIP_DESC=	Build the legacy SIP based channel
105
SRTP_DESC=	SecureRTP support
106
SYSINFO_DESC=	Use devel/libsysinfo to get system information
107
URIPARSER_DESC=	Use RFC 3986 compliant uriparser library
108
XMLDOC_DESC=	Build and install XML documentation
109
XMPP_DESC=	XMPP/GTALK support
110
111
ASTVERSION_RUN_DEPENDS=		bash:shells/bash
112
113
BACKTRACE_CONFIGURE_WITH=	execinfo
114
115
CURL_LIB_DEPENDS=	libcurl.so:ftp/curl
116
CURL_CONFIGURE_WITH=	libcurl
117
118
DAHDI_LIB_DEPENDS=	libpri.so:misc/libpri \
119
			libopenr2.so:misc/openr2 \
120
			libtonezone.so:misc/dahdi
121
DAHDI_CONFIGURE_WITH=	dahdi openr2
122
123
EXCHANGE_LIB_DEPENDS=	libneon.so:www/neon \
124
			libexpat.so:textproc/expat2
125
EXCHANGE_USES=		gettext-runtime
126
EXCHANGE_CONFIGURE_OFF=	--without-neon --without-neon29
127
128
FREETDS_LIB_DEPENDS=	libsybdb.so:databases/freetds
129
FREETDS_CONFIGURE_ON=	--with-tds=${LOCALBASE}
130
FREETDS_CONFIGURE_OFF=	--without-tds
131
132
G729_DISTFILES=			${ASTERISK_CORE_G729_SOUNDS}:g729 \
133
				${ASTERISK_MOH_G729_SOUNDS}:g729
134
135
GEOLOCATION_USE=	GNOME=libxslt
136
137
GSM_LIB_DEPENDS=	libgsm.so:audio/gsm
138
GSM_CONFIGURE_WITH=	gsm
139
140
LDAP_USES=		ldap
141
LDAP_CONFIGURE_WITH=	ldap
142
143
LUA_USES=		lua
144
LUA_CONFIGURE_WITH=	lua
145
LUA_CFLAGS=		-I${LUA_INCDIR}
146
LUA_LDFLAGS=		-L${LUA_LIBDIR}
147
148
MP3PLAYER_RUN_DEPENDS=	mpg123:audio/mpg123
149
150
MYSQL_LIB_DEPENDS=	libzstd.so:archivers/zstd \
151
			libunwind.so:devel/libunwind
152
MYSQL_USES=		mysql
153
MYSQL_CONFIGURE_WITH=	mysqlclient
154
155
NCURSES_USES=		ncurses
156
157
NEWT_LIB_DEPENDS=	libnewt.so:devel/newt
158
159
ODBC_LIB_DEPENDS=	libodbc.so:databases/unixODBC \
160
			libltdl.so:devel/libltdl
161
ODBC_CONFIGURE_ON=	--with-ltdl
162
ODBC_CONFIGURE_WITH=	unixodbc
163
164
OPUS_EXTRACT_ONLY=	${DISTFILE_opus}
165
OPUS_LIB_DEPENDS=	libopus.so:audio/opus
166
OPUS_GH_TUPLE=		traud:asterisk-opus:83e1b458c77e0e287adeca494eeb79edb077b0ff:opus
167
168
PGSQL_USES=		pgsql
169
PGSQL_CONFIGURE_WITH=	postgres
170
171
PJSIP_LIB_DEPENDS=	libsrtp2.so:net/libsrtp2 \
172
			libspeex.so:audio/speex \
173
			libspeexdsp.so:audio/speexdsp
174
PJSIP_GH_TUPLE=		pjsip:pjproject:${PJSIP_VERSION}:pjsip
175
PJSIP_CONFIGURE_WITH=	pjproject pjproject-bundled
176
177
PORTAUDIO_LIB_DEPENDS=	libportaudio.so:audio/portaudio
178
PORTAUDIO_CONFIGURE_WITH=	portaudio
179
180
RADIUS_LIB_DEPENDS=	libradiusclient-ng.so:net/radiusclient
181
RADIUS_CONFIGURE_WITH=	radius
182
183
SNMP_LIB_DEPENDS=	libnetsnmp.so:net-mgmt/net-snmp \
184
			libpkg.so:${PKG_ORIGIN}
185
SNMP_CONFIGURE_WITH=	netsnmp
186
187
SPANDSP_LIB_DEPENDS=	libspandsp.so:comms/spandsp \
188
			libtiff.so:graphics/tiff
189
SPANDSP_CONFIGURE_WITH=	spandsp
190
191
SPEEX_LIB_DEPENDS=	libspeex.so:audio/speex \
192
			libspeexdsp.so:audio/speexdsp
193
SPEEX_CONFIGURE_WITH=	speex
194
195
SRTP_LIB_DEPENDS=	libsrtp2.so:net/libsrtp2
196
SRTP_CONFIGURE_WITH=	srtp
197
198
SYSINFO_LIB_DEPENDS=	libsysinfo.so:devel/libsysinfo
199
200
URIPARSER_LIB_DEPENDS=	liburiparser.so:net/uriparser
201
URIPARSER_CONFIGURE_WITH=	uriparser
202
203
VORBIS_LIB_DEPENDS=	libvorbis.so:audio/libvorbis \
204
			libogg.so:audio/libogg
205
VORBIS_CONFIGURE_WITH=	ogg
206
207
XMLDOC_CONFIGURE_ENABLE=	xmldoc
208
209
XMPP_LIB_DEPENDS=	libiksemel.so:textproc/iksemel
210
XMPP_CONFIGURE_WITH=	iksemel
211
212
ASTERISK_CORE_G729_SOUNDS=	asterisk-core-sounds-en-g729-1.5.tar.gz
213
ASTERISK_MOH_G729_SOUNDS=	asterisk-moh-opsound-g729-2.03.tar.gz
214
ASTERISK_USER=	asterisk
215
ASTERISK_GROUP=	asterisk
216
217
PJSIP_VERSION=	2.14.1
218
219
.include <bsd.port.options.mk>
220
221
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
222
USES+=		llvm:max=14
223
.endif
224
225
.include <bsd.port.pre.mk>
226
227
.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
228
LIB_DEPENDS+=	libgnutls.so:security/gnutls
229
CFLAGS+=	-DOPENSSL_API_COMPAT=0x10100000L
230
LDFLAGS+=	-lgnutls
231
.endif
232
233
.if empty(ICONV_LIB)
234
CONFIGURE_ARGS+=ac_cv_lib_iconv_iconv_open=no \
235
		ac_cv_lib_iconv_libiconv_open=no
236
.endif
237
238
.if ${PREFIX} == ${LOCALBASE}
239
VARDIR=/var
240
.else
241
VARDIR=${PREFIX}/var
242
.endif
243
244
SUB_LIST+=	ASTERISK_USER=${ASTERISK_USER}
245
PLIST_SUB+=	ASTERISK_USER=${ASTERISK_USER} \
246
		ASTERISK_GROUP=${ASTERISK_GROUP} \
247
		VARDIR=${VARDIR}
248
249
.if ${PORT_OPTIONS:MGEOLOCATION}
250
.if ${ARCH} == i386
251
LLD_EMULATION=	elf_i386
252
.elif ${ARCH} == amd64
253
LLD_EMULATION=	elf_x86_64
254
.elif ${ARCH} == aarch64
255
LLD_EMULATION=	aarch64elf
256
.endif
257
.endif
258
259
post-extract:
260
	@${FIND} ${WRKSRC} -name '*.d' -delete
261
262
post-extract-G729-on:
263
	${CP} ${DISTDIR}/${DIST_SUBDIR}/${ASTERISK_CORE_G729_SOUNDS} ${WRKSRC}/sounds
264
	${CP} ${DISTDIR}/${DIST_SUBDIR}/${ASTERISK_MOH_G729_SOUNDS} ${WRKSRC}/sounds
265
266
post-extract-OPUS-on:
267
	${CP} ${WRKSRC_opus}/include/asterisk/* ${WRKSRC}/include/asterisk
268
	${CP} ${WRKSRC_opus}/codecs/* ${WRKSRC}/codecs
269
	${CP} ${WRKSRC_opus}/res/* ${WRKSRC}/res
270
271
post-patch:
272
	@${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/samples/musiconhold.conf.sample
273
	@${REINPLACE_CMD} -e 's/@XMLSTARLET@//' ${WRKSRC}/makeopts.in
274
	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/main/term.c
275
.if exists(${FILESDIR}/.asterisk.makeopts)
276
	${CP} ${FILESDIR}/.asterisk.makeopts ${WRKSRC}/menuselect.makeopts
277
.endif
278
279
post-patch-GEOLOCATION-on:
280
	@${REINPLACE_CMD} -e 's/%%LLD_EMULATION%%/${LLD_EMULATION}/' ${WRKSRC}/Makefile.rules
281
282
post-patch-SYSINFO-on:
283
	@${REINPLACE_CMD} -e 's/%%LIBSYSINFO%%/-lsysinfo/' ${WRKSRC}/main/Makefile
284
285
post-patch-SYSINFO-off:
286
	@${REINPLACE_CMD} -e '/#define HAVE_SYSINFO 1/d' ${WRKSRC}/configure
287
	@${REINPLACE_CMD} -e '/%%LIBSYSINFO%%/d' ${WRKSRC}/main/Makefile
288
289
post-configure:
290
	@cd ${WRKSRC} && ${MAKE_CMD} menuselect.makeopts
291
	@cd ${WRKSRC} && ./menuselect/menuselect --disable res_timing_kqueue menuselect.makeopts
292
	@cd ${WRKSRC} && ./menuselect/menuselect --enable chan_mgcp menuselect.makeopts
293
	@cd ${WRKSRC} && ./menuselect/menuselect --enable res_pktccops menuselect.makeopts
294
295
post-configure-GEOLOCATION-on:
296
	@cd ${WRKSRC} && ./menuselect/menuselect --enable res_geolocation menuselect.makeopts
297
298
post-configure-GEOLOCATION-off:
299
	@cd ${WRKSRC} && ./menuselect/menuselect --disable res_geolocation menuselect.makeopts
300
301
post-configure-MACRO-on:
302
	@cd ${WRKSRC} && ./menuselect/menuselect --enable app_macro menuselect.makeopts
303
304
post-configure-MYSQL-on:
305
	@cd ${WRKSRC} && ./menuselect/menuselect --enable res_config_mysql menuselect.makeopts
306
307
post-configure-OOH323-on:
308
	@cd ${WRKSRC} && ./menuselect/menuselect --enable chan_ooh323 menuselect.makeopts
309
310
post-configure-NEWG711-on:
311
	@cd ${WRKSRC} && ./menuselect/menuselect --enable G711_NEW_ALGORITHM menuselect.makeopts
312
313
post-configure-OPTIMIZED_CFLAGS-off:
314
	@cd ${WRKSRC} && ./menuselect/menuselect --disable BUILD_NATIVE menuselect.makeopts
315
316
post-configure-OPUS-on:
317
	@cd ${WRKSRC} && ./menuselect/menuselect --enable codec_opus_open_source menuselect.makeopts
318
319
post-configure-SIP-on:
320
	@cd ${WRKSRC} && ./menuselect/menuselect --enable chan_sip menuselect.makeopts	
321
	
322
post-install:
323
	@${RM} ${STAGEDIR}${ETCDIR}/*.conf ${STAGEDIR}${ETCDIR}/extensions.ael ${STAGEDIR}${ETCDIR}/extensions.lua
324
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/ast[a-f]* ${STAGEDIR}${PREFIX}/lib/*.so.* ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/modules/*.so ${STAGEDIR}${DATADIR}/agi-bin/eagi-*
325
	${FIND} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/modules -type f -name '*.so' | ${SED} "s,^${STAGEDIR}${PREFIX}/,," >> ${TMPPLIST}
326
	${FIND} ${STAGEDIR}${DATADIR}/sounds -type f | ${SED} "s,^${STAGEDIR}${DATADIR},${DATADIR}," >> ${TMPPLIST}
327
	${FIND} ${STAGEDIR}${DATADIR}/moh -type f | ${SED} "s,^${STAGEDIR}${DATADIR},${DATADIR}," >> ${TMPPLIST}
328
329
	(cd ${STAGEDIR} && \
330
		${ECHO} "@owner ${ASTERISK_USER}" >> ${TMPPLIST} && \
331
		${ECHO} "@group ${ASTERISK_GROUP}" >> ${TMPPLIST} && \
332
		${FIND} var/spool/${PORTNAME}/voicemail/default -type f | ${SED} "s,^,/," >> ${TMPPLIST} && \
333
		${FIND} var/spool/${PORTNAME}/voicemail/ -type d | ${SED} "s,^,@dir /," >> ${TMPPLIST} && \
334
		${ECHO} "@owner" >> ${TMPPLIST} && \
335
		${ECHO} "@group" >> ${TMPPLIST});
336
337
post-install-ASTVERSION-off:
338
	@${RM} ${STAGEDIR}${PREFIX}/sbin/astversion
339
340
.include <bsd.port.post.mk>
(-)b/net/asterisk20/distinfo (+7 lines)
Added Link Here
1
TIMESTAMP = 1723535320
2
SHA256 (asterisk/asterisk-20.9.2.tar.gz) = acc85a66f3b2a0e2784f4c551b8b0241a2393c47ff353543ae63b5dcf434b1ca
3
SIZE (asterisk/asterisk-20.9.2.tar.gz) = 28293235
4
SHA256 (asterisk/traud-asterisk-opus-83e1b458c77e0e287adeca494eeb79edb077b0ff_GH0.tar.gz) = 572a3c956371ed62b44a4bcd973db10eb4c84f3040cf7156e3acfad3b6bf3ded
5
SIZE (asterisk/traud-asterisk-opus-83e1b458c77e0e287adeca494eeb79edb077b0ff_GH0.tar.gz) = 24044
6
SHA256 (asterisk/pjsip-pjproject-2.14.1_GH0.tar.gz) = 6140f7a97e318caa89c17e8d5468599671c6eed12d64a7c160dac879ba004c68
7
SIZE (asterisk/pjsip-pjproject-2.14.1_GH0.tar.gz) = 10322231
(-)b/net/asterisk20/files/asterisk.in (+86 lines)
Added Link Here
1
#!/bin/sh
2
3
# PROVIDE: asterisk
4
# REQUIRE: LOGIN
5
# KEYWORD: shutdown
6
#
7
# Add the following lines to /etc/rc.conf to enable asterisk:
8
#
9
# asterisk_enable (bool):	Set it to "YES" to enable asterisk
10
#				Default is "NO"
11
# asterisk_user (string):	User asterisk runs as
12
#				Default is %%ASTERISK_USER%%
13
# asterisk_group (string):	Group asterisk runs as
14
#				Default is %%ASTERISK_GROUP%%
15
# asterisk_args (string):	Extra argumeents to pass to asterisk at startup
16
# 				Default is "-n"
17
# asterisk_pidfile (string):	Location of the asterisk pid file
18
#				Default is /var/run/asterisk/asterisk.pid
19
# asterisk_stopsleep (int):	Number of seconds to sleep before sending stop command
20
#				Default is 0, which disables it
21
# asterisk_umask (string):	File creation mode mask to run asterisk with
22
#
23
24
. /etc/rc.subr
25
26
name=asterisk
27
rcvar=asterisk_enable
28
desc="Asterisk PBX server"
29
30
load_rc_config $name
31
32
: ${asterisk_enable:=NO}
33
: ${asterisk_user:=%%ASTERISK_USER%%}
34
: ${asterisk_group:=%%ASTERISK_GROUP%%}
35
: ${asterisk_args=-n}
36
: ${asterisk_pidfile:=/var/run/asterisk/asterisk.pid}
37
: ${asterisk_stopsleep:=0}
38
39
extra_commands=reload
40
41
start_precmd=asterisk_precmd
42
stop_cmd=asterisk_stop
43
reload_cmd=asterisk_reload
44
45
pidfile="${asterisk_pidfile}"
46
47
command="%%PREFIX%%/sbin/asterisk"
48
command_args="${asterisk_args} -F -U ${asterisk_user}"
49
50
asterisk_precmd()
51
{
52
	local rundir=${asterisk_pidfile%/*}
53
	if [ ! -d $rundir ] ; then
54
		install -d -m 0750 -o "${asterisk_user}" -g "${asterisk_group}" "$rundir"
55
	fi
56
	if [ -n "${asterisk_umask}" ]; then
57
		umask ${asterisk_umask}
58
	fi
59
}
60
61
asterisk_stop()
62
{
63
	if [ -z "$rc_pid" ]; then
64
		[ -n "$rc_fast" ] && return 0
65
		_run_rc_notrunning
66
		return 1
67
	fi
68
	echo 'Stopping asterisk.'
69
	if [ ${asterisk_stopsleep} -gt 0 ]; then
70
		sleep ${asterisk_stopsleep}
71
	fi
72
	$command -rx 'core stop now'
73
	wait_for_pids $rc_pid
74
}
75
76
asterisk_reload()
77
{
78
	if [ -z "$rc_pid" ]; then
79
		_run_rc_notrunning
80
		return 1
81
	fi
82
	echo 'Reloading asterisk.'
83
	$command -rx 'reload'
84
}
85
86
run_rc_command "$1"
(-)b/net/asterisk20/files/patch-Makefile (+135 lines)
Added Link Here
1
--- Makefile.orig	2022-08-18 15:18:29 UTC
2
+++ Makefile
3
@@ -144,7 +144,7 @@ ASTTOPDIR:=$(subst $(space),\$(space),$(CURDIR))
4
 OVERWRITE=y
5
 
6
 # Include debug and macro symbols in the executables (-g) and profiling info (-pg)
7
-DEBUG=-g3
8
+#DEBUG=-g3
9
 
10
 # Asterisk.conf is located in ASTETCDIR or by using the -C flag
11
 # when starting Asterisk
12
@@ -168,7 +168,7 @@ LINKER_SYMBOL_PREFIX=
13
 #_ASTCFLAGS+=-DOLD_DSP_ROUTINES
14
 
15
 # Default install directory for DAHDI hooks.
16
-DAHDI_UDEV_HOOK_DIR = /usr/share/dahdi/span_config.d
17
+#DAHDI_UDEV_HOOK_DIR = /usr/share/dahdi/span_config.d
18
 
19
 # If the file .asterisk.makeopts is present in your home directory, you can
20
 # include all of your favorite menuselect options so that every time you download
21
@@ -226,12 +226,6 @@ else ifneq ($(findstring BSD,$(OSARCH)),)
22
   _ASTCFLAGS+=-isystem /usr/local/include
23
 endif
24
 
25
-ifeq ($(OSARCH),FreeBSD)
26
-  # -V is understood by BSD Make, not by GNU make.
27
-  BSDVERSION=$(shell make -V OSVERSION -f /usr/share/mk/bsd.port.subdir.mk)
28
-  _ASTCFLAGS+=$(shell if test $(BSDVERSION) -lt 500016 ; then echo "-D_THREAD_SAFE"; fi)
29
-endif
30
-
31
 ifeq ($(OSARCH),NetBSD)
32
   _ASTCFLAGS+=-pthread -D__LIBPTHREAD_SOURCE__ -I/usr/pkg/include
33
 endif
34
@@ -475,8 +469,12 @@ endif
35
 			$(INSTALL) -m 644 $$n "$(DESTDIR)$(ASTDATADIR)/static-http/docs" ; \
36
 		done \
37
 	fi
38
+	if [ ! -d $(DESTDIR)$(DOCSDIR)/images ]; then \
39
+		$(MKDIR) $(DESTDIR)$(DOCSDIR)/images; \
40
+	fi
41
+
42
 	for x in images/*.jpg; do \
43
-		$(INSTALL) -m 644 $$x "$(DESTDIR)$(ASTDATADIR)/images" ; \
44
+		$(INSTALL) -m 644 $$x "$(DESTDIR)$(DOCSDIR)/images" ; \
45
 	done
46
 	$(MAKE) -C sounds install
47
 	find rest-api -name "*.json" | while read x; do \
48
@@ -545,7 +543,7 @@ INSTALLDIRS="$(ASTLIBDIR)" "$(ASTMODDIR)" "$(ASTSBINDI
49
 	"$(ASTDATADIR)/firmware/iax" "$(ASTDATADIR)/images" "$(ASTDATADIR)/keys" \
50
 	"$(ASTDATADIR)/phoneprov" "$(ASTDATADIR)/rest-api" "$(ASTDATADIR)/static-http" \
51
 	"$(ASTDATADIR)/sounds" "$(ASTDATADIR)/moh" "$(ASTMANDIR)/man8" "$(AGI_DIR)" "$(ASTDBDIR)" \
52
-	"$(ASTDATADIR)/third-party" "${ASTDATADIR}/keys/stir_shaken" "${ASTDATADIR}/keys/stir_shaken/cache"
53
+	"$(ASTDATADIR)/third-party" "${ASTDATADIR}/keys/stir_shaken" "$(ASTSPOOLDIR)/outgoing"
54
 
55
 installdirs:
56
 	@for i in $(INSTALLDIRS); do \
57
@@ -557,7 +555,7 @@ installdirs:
58
 main-bininstall:
59
 	+@DESTDIR="$(DESTDIR)" ASTSBINDIR="$(ASTSBINDIR)" ASTLIBDIR="$(ASTLIBDIR)" $(SUBMAKE) -C main bininstall
60
 
61
-bininstall: _all installdirs $(SUBDIRS_INSTALL) main-bininstall
62
+bininstall: _all installdirs $(SUBDIRS_INSTALL) main-bininstall install-headers
63
 	$(INSTALL) -m 755 contrib/scripts/astversion "$(DESTDIR)$(ASTSBINDIR)/"
64
 	$(INSTALL) -m 755 contrib/scripts/astgenkey "$(DESTDIR)$(ASTSBINDIR)/"
65
 	$(INSTALL) -m 755 contrib/scripts/autosupport "$(DESTDIR)$(ASTSBINDIR)/"
66
@@ -578,10 +576,10 @@ endif
67
 	if [ -f contrib/firmware/iax/iaxy.bin ] ; then \
68
 		$(INSTALL) -m 644 contrib/firmware/iax/iaxy.bin "$(DESTDIR)$(ASTDATADIR)/firmware/iax/iaxy.bin"; \
69
 	fi
70
-ifeq ($(HAVE_DAHDI),1)
71
-	$(INSTALL) -d $(DESTDIR)/$(DAHDI_UDEV_HOOK_DIR)
72
-	$(INSTALL) -m 644 contrib/scripts/dahdi_span_config_hook $(DESTDIR)$(DAHDI_UDEV_HOOK_DIR)/40-asterisk
73
-endif
74
+#ifeq ($(HAVE_DAHDI),1)
75
+#	$(INSTALL) -d $(DESTDIR)/$(DAHDI_UDEV_HOOK_DIR)
76
+#	$(INSTALL) -m 644 contrib/scripts/dahdi_span_config_hook $(DESTDIR)$(DAHDI_UDEV_HOOK_DIR)/40-asterisk
77
+#endif
78
 
79
 $(SUBDIRS_INSTALL):
80
 	+@DESTDIR="$(DESTDIR)" ASTSBINDIR="$(ASTSBINDIR)" ASTDATADIR="$(ASTDATADIR)" $(SUBMAKE) -C $(@:-install=) install
81
@@ -706,7 +704,7 @@ ifeq ($(ASTERISKVERSION),UNKNOWN__git_check_fail)
82
 endif
83
 
84
 
85
-install: badshell versioncheck bininstall datafiles
86
+install: badshell versioncheck bininstall datafiles samples
87
 	@if [ -x /usr/sbin/asterisk-post-install ]; then \
88
 		/usr/sbin/asterisk-post-install "$(DESTDIR)" . ; \
89
 	fi
90
@@ -751,23 +749,10 @@ upgrade: bininstall
91
 #  (2) the extension to strip off
92
 define INSTALL_CONFIGS
93
 	@for x in $(1)/*$(2); do \
94
-		dst="$(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x $(2)`"; \
95
-		if [ -f "$${dst}" ]; then \
96
-			if [ "$(OVERWRITE)" = "y" ]; then \
97
-				if cmp -s "$${dst}" "$$x" ; then \
98
-					echo "Config file $$x is unchanged"; \
99
-					continue; \
100
-				fi ; \
101
-				mv -f "$${dst}" "$${dst}.old" ; \
102
-			else \
103
-				echo "Skipping config file $$x"; \
104
-				continue; \
105
-			fi ;\
106
-		fi ; \
107
 		echo "Installing file $$x"; \
108
-		$(INSTALL) -m 644 "$$x" "$${dst}" ;\
109
+		$(INSTALL) -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`.sample ; \
110
 	done ; \
111
-	if [ "$(OVERWRITE)" = "y" ]; then \
112
+	if true; then \
113
 		echo "Updating asterisk.conf" ; \
114
 		sed -e 's|^astcachedir.*$$|astcachedir => $(ASTCACHEDIR)|' \
115
 			-e 's|^astetcdir.*$$|astetcdir => $(ASTETCDIR)|' \
116
@@ -781,8 +766,8 @@ define INSTALL_CONFIGS
117
 			-e 's|^astrundir.*$$|astrundir => $(ASTVARRUNDIR)|' \
118
 			-e 's|^astlogdir.*$$|astlogdir => $(ASTLOGDIR)|' \
119
 			-e 's|^astsbindir.*$$|astsbindir => $(ASTSBINDIR)|' \
120
-			"$(DESTDIR)$(ASTCONFPATH)" > "$(DESTDIR)$(ASTCONFPATH).tmp" ; \
121
-		$(INSTALL) -m 644 "$(DESTDIR)$(ASTCONFPATH).tmp" "$(DESTDIR)$(ASTCONFPATH)" ; \
122
+			"$(DESTDIR)$(ASTCONFPATH).sample" > "$(DESTDIR)$(ASTCONFPATH).tmp" ; \
123
+		$(INSTALL) -m 644 "$(DESTDIR)$(ASTCONFPATH).tmp" "$(DESTDIR)$(ASTCONFPATH).sample" ; \
124
 		rm -f "$(DESTDIR)$(ASTCONFPATH).tmp" ; \
125
 	fi
126
 endef
127
@@ -816,7 +801,7 @@ adsi:
128
 		else \
129
 			echo "Installing $$x" ; \
130
 		fi ; \
131
-		$(INSTALL) -m 644 "$$x" "$(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x`" ; \
132
+		$(INSTALL) -m 644 "$$x" "$(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x`.sample" ; \
133
 	done
134
 
135
 samples: adsi
(-)b/net/asterisk20/files/patch-Makefile.rules (+27 lines)
Added Link Here
1
--- Makefile.rules.orig	2023-01-12 11:42:40 UTC
2
+++ Makefile.rules
3
@@ -107,6 +107,11 @@ ifeq ($(C_COMPILER_FAMILY),clang)
4
 # Clang -Werror warning suppressions
5
 ifeq ($(C_COMPILER_FAMILY),clang)
6
 	CC_CFLAGS+=-Wno-unused-value -Wno-parentheses-equality
7
+	BINARY_LLD_FLAGS= -z noexecstack
8
+	LLD_EMULATION=%%LLD_EMULATION%%
9
+else
10
+	BINARY_LLD_FLAGS=
11
+	LLD_EMULATION=
12
 endif
13
 
14
 ifeq ($(GNU_LD),1)
15
@@ -213,10 +218,10 @@ endif
16
 # extern const size_t _binary_abc_def_xml_size;
17
 %.o: %.xml
18
 	$(ECHO_PREFIX) echo "   [LD] $^ -> $@"
19
-	$(CMD_PREFIX) $(CC) -g -Wl,-znoexecstack -nostartfiles  -nodefaultlibs -nostdlib -r -Wl,-b,binary -o $@ $^
20
+	$(CMD_PREFIX) $(CC) -g -Wl,-znoexecstack -nostartfiles  -nodefaultlibs -nostdlib $(BINARY_LLD_FLAGS) -r -Wl,-b,binary,-m,$(LLD_EMULATION) -o $@ $^
21
 
22
 %.o: %.xslt
23
 	$(ECHO_PREFIX) echo "   [LD] $^ -> $@"
24
-	$(CMD_PREFIX) $(CC) -g -Wl,-znoexecstack -nostartfiles  -nodefaultlibs -nostdlib -r -Wl,-b,binary -o $@ $^
25
+	$(CMD_PREFIX) $(CC) -g -Wl,-znoexecstack -nostartfiles  -nodefaultlibs -nostdlib $(BINARY_LLD_FLAGS) -r -Wl,-b,binary,-m,$(LLD_EMULATION) -o $@ $^
26
 
27
 dist-clean:: clean
(-)b/net/asterisk20/files/patch-agi_Makefile (+13 lines)
Added Link Here
1
--- agi/Makefile.orig	2020-07-09 15:39:17 UTC
2
+++ agi/Makefile
3
@@ -16,7 +16,9 @@ ASTTOPDIR?=..
4
 
5
 .PHONY: clean all uninstall
6
 
7
-AGIS=$(MENUSELECT_AGIS)
8
+AGIS_BIN=eagi-test eagi-sphinx-test
9
+AGIS_SCR=agi-test.agi jukebox.agi
10
+AGIS=$(AGIS_SCR) $(AGIS_BIN)
11
 
12
 ifeq ($(OSARCH),SunOS)
13
   LIBS+=-lsocket -lnsl
(-)b/net/asterisk20/files/patch-build__tools_make__xml__documentation (+11 lines)
Added Link Here
1
--- build_tools/make_xml_documentation.orig	2022-06-23 15:26:13 UTC
2
+++ build_tools/make_xml_documentation
3
@@ -214,7 +214,7 @@ for subdir in ${mod_subdirs} ; do
4
 					${XMLSTARLET} val -e -d "${source_tree}/doc/appdocsxml.dtd" "${i}" || { echo "" ; exit 1 ; }
5
 			fi
6
 		fi
7
-		${SED} -r "/^\s*(<[?]xml|<.DOCTYPE|<.?docs)/d" "${i}" >> "${output_file}"
8
+		${SED} -r "/^[[:space:]]*(<[?]xml|<.DOCTYPE|<.?docs)/d" "${i}" >> "${output_file}"
9
 	done
10
 done
11
 echo "</docs>" >> "${output_file}"
(-)b/net/asterisk20/files/patch-channels_chan__dahdi.c (+33 lines)
Added Link Here
1
--- channels/chan_dahdi.c.orig	2022-08-18 15:18:29 UTC
2
+++ channels/chan_dahdi.c
3
@@ -4803,6 +4803,8 @@ void dahdi_ec_enable(struct dahdi_pvt *p)
4
 		return;
5
 	}
6
 	if (p->echocancel.head.tap_length) {
7
+		struct dahdi_echocanparams *pecp;
8
+
9
 #if defined(HAVE_PRI) || defined(HAVE_SS7)
10
 		switch (p->sig) {
11
 #if defined(HAVE_PRI)
12
@@ -4833,7 +4835,9 @@ void dahdi_ec_enable(struct dahdi_pvt *p)
13
 			break;
14
 		}
15
 #endif	/* defined(HAVE_PRI) || defined(HAVE_SS7) */
16
-		res = ioctl(p->subs[SUB_REAL].dfd, DAHDI_ECHOCANCEL_PARAMS, &p->echocancel);
17
+
18
+		pecp = &p->echocancel.head;
19
+		res = ioctl(p->subs[SUB_REAL].dfd, DAHDI_ECHOCANCEL_PARAMS, &pecp);
20
 		if (res) {
21
 			ast_log(LOG_WARNING, "Unable to enable echo cancellation on channel %d (%s)\n", p->channel, strerror(errno));
22
 		} else {
23
@@ -4867,8 +4871,9 @@ void dahdi_ec_disable(struct dahdi_pvt *p)
24
 
25
 	if (p->echocanon) {
26
 		struct dahdi_echocanparams ecp = { .tap_length = 0 };
27
+		struct dahdi_echocanparams *pecp = &ecp;
28
 
29
-		res = ioctl(p->subs[SUB_REAL].dfd, DAHDI_ECHOCANCEL_PARAMS, &ecp);
30
+		res = ioctl(p->subs[SUB_REAL].dfd, DAHDI_ECHOCANCEL_PARAMS, &pecp);
31
 
32
 		if (res)
33
 			ast_log(LOG_WARNING, "Unable to disable echo cancellation on channel %d: %s\n", p->channel, strerror(errno));
(-)b/net/asterisk20/files/patch-channels_sip_include_sip.h (+11 lines)
Added Link Here
1
--- channels/sip/include/sip.h.orig	2022-06-23 15:26:13 UTC
2
+++ channels/sip/include/sip.h
3
@@ -193,7 +193,7 @@
4
 #define DEFAULT_MOHINTERPRET   "default"  /*!< The default music class */
5
 #define DEFAULT_MOHSUGGEST     ""
6
 #define DEFAULT_VMEXTEN        "asterisk" /*!< Default voicemail extension */
7
-#define DEFAULT_CALLERID       "asterisk" /*!< Default caller ID */
8
+#define DEFAULT_CALLERID       "Unknown" /*!< Default caller ID */
9
 #define DEFAULT_MWI_FROM       ""
10
 #define DEFAULT_NOTIFYMIME     "application/simple-message-summary"
11
 #define DEFAULT_ALLOWGUEST     TRUE
(-)b/net/asterisk20/files/patch-configure (+88 lines)
Added Link Here
1
--- configure.orig	2024-07-25 15:24:13 UTC
2
+++ configure
3
@@ -5101,8 +5101,6 @@ case "${host_os}" in
4
      ;;
5
      dragonfly*|freebsd*)
6
      ac_default_prefix=/usr/local
7
-     CPPFLAGS=-I/usr/local/include
8
-     LDFLAGS=-L/usr/local/lib
9
      ;;
10
      openbsd*)
11
      ac_default_prefix=/usr/local
12
@@ -21439,8 +21437,6 @@ printf "%s\n" "yes" >&6; }
13
   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14
 printf "%s\n" "yes" >&6; }
15
 
16
-printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
17
-
18
 else $as_nop
19
   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20
 printf "%s\n" "no" >&6; }
21
@@ -23085,6 +23081,8 @@ printf %s "checking for getifaddrs() support... " >&6;
22
 
23
 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24
 /* end confdefs.h.  */
25
+ #include <sys/types.h>
26
+ #include <sys/socket.h>
27
  #include <ifaddrs.h>
28
 int
29
 main (void)
30
@@ -31990,6 +31988,8 @@ for ver in ${LUA_VERSIONS:-5.4 5.3 5.2 5.1}; do
31
 
32
 for ver in ${LUA_VERSIONS:-5.4 5.3 5.2 5.1}; do
33
 
34
+vernodot=`echo ${ver} | sed 's/\.//'`
35
+
36
 if test "x${PBX_LUA}" != "x1" -a "${USE_LUA}" != "no"; then
37
    pbxlibdir=""
38
    # if --with-LUA=DIR has been specified, use it.
39
@@ -32004,14 +32004,14 @@ if test "x${PBX_LUA}" != "x1" -a "${USE_LUA}" != "no";
40
       ast_ext_lib_check_save_CFLAGS="${CFLAGS}"
41
       CFLAGS="${CFLAGS} "
42
       as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua${ver}""_luaL_newstate" | $as_tr_sh`
43
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua${ver}" >&5
44
-printf %s "checking for luaL_newstate in -llua${ver}... " >&6; }
45
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua-${ver}" >&5
46
+printf %s "checking for luaL_newstate in -llua-${ver}... " >&6; }
47
 if eval test \${$as_ac_Lib+y}
48
 then :
49
   printf %s "(cached) " >&6
50
 else $as_nop
51
   ac_check_lib_save_LIBS=$LIBS
52
-LIBS="-llua${ver} ${pbxlibdir} -lm $LIBS"
53
+LIBS="-llua-${ver} ${pbxlibdir} -lm $LIBS"
54
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55
 /* end confdefs.h.  */
56
 
57
@@ -32052,7 +32052,7 @@ fi
58
 
59
    # now check for the header.
60
    if test "${AST_LUA_FOUND}" = "yes"; then
61
-      LUA_LIB="${pbxlibdir} -llua${ver} -lm"
62
+      LUA_LIB="${pbxlibdir} -llua-${ver} -lm"
63
       # if --with-LUA=DIR has been specified, use it.
64
       if test "x${LUA_DIR}" != "x"; then
65
          LUA_INCLUDE="-I${LUA_DIR}/include"
66
@@ -32062,8 +32062,8 @@ fi
67
          # check for the header
68
          ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}"
69
          CPPFLAGS="${CPPFLAGS} ${LUA_INCLUDE}"
70
-         as_ac_Header=`printf "%s\n" "ac_cv_header_lua${ver}/lua.h" | $as_tr_sh`
71
-ac_fn_c_check_header_compile "$LINENO" "lua${ver}/lua.h" "$as_ac_Header" "$ac_includes_default"
72
+         as_ac_Header=`printf "%s\n" "ac_cv_header_lua${vernodot}/lua.h" | $as_tr_sh`
73
+ac_fn_c_check_header_compile "$LINENO" "lua${vernodot}/lua.h" "$as_ac_Header" "$ac_includes_default"
74
 if eval test \"x\$"$as_ac_Header"\" = x"yes"
75
 then :
76
   LUA_HEADER_FOUND=1
77
@@ -32090,9 +32090,9 @@ fi
78
 
79
 	if test "x${PBX_LUA}" = "x1" ; then
80
 		if test x"${LUA_DIR}" = x; then
81
-			LUA_INCLUDE="${LUA_INCLUDE} -I/usr/include/lua${ver}"
82
+			LUA_INCLUDE="${LUA_INCLUDE} -I/usr/include/lua${vernodot}"
83
 		else
84
-			LUA_INCLUDE="${LUA_INCLUDE} -I${LUA_DIR}/lua${ver}"
85
+			LUA_INCLUDE="${LUA_INCLUDE} -I${LUA_DIR}/lua${vernodot}"
86
 		fi
87
 		break;
88
 	fi
(-)b/net/asterisk20/files/patch-contrib_Makefile (+23 lines)
Added Link Here
1
--- contrib/Makefile.orig	2020-07-09 15:39:17 UTC
2
+++ contrib/Makefile
3
@@ -24,14 +24,14 @@ install:
4
 	$(INSTALL) -m 755 scripts/ast_logescalator "$(DESTDIR)$(ASTDATADIR)/scripts/ast_logescalator"
5
 	$(INSTALL) -m 755 scripts/ast_loggrabber "$(DESTDIR)$(ASTDATADIR)/scripts/ast_loggrabber"
6
 	$(INSTALL) -m 755 scripts/ast_coredumper "$(DESTDIR)$(ASTDATADIR)/scripts/ast_coredumper"
7
-	$(INSTALL) -m 755 scripts/refcounter.py "$(DESTDIR)$(ASTDATADIR)/scripts/refcounter.py"
8
-	$(INSTALL) -m 755 scripts/refstats.py "$(DESTDIR)$(ASTDATADIR)/scripts/refstats.py"
9
-	$(INSTALL) -m 755 scripts/reflocks.py "$(DESTDIR)$(ASTDATADIR)/scripts/reflocks.py"
10
+#	$(INSTALL) -m 755 scripts/refcounter.py "$(DESTDIR)$(ASTDATADIR)/scripts/refcounter.py"
11
+#	$(INSTALL) -m 755 scripts/refstats.py "$(DESTDIR)$(ASTDATADIR)/scripts/refstats.py"
12
+#	$(INSTALL) -m 755 scripts/reflocks.py "$(DESTDIR)$(ASTDATADIR)/scripts/reflocks.py"
13
 
14
 uninstall:
15
 	-rm -f "$(DESTDIR)$(ASTDATADIR)/scripts/ast_logescalator"
16
 	-rm -f "$(DESTDIR)$(ASTDATADIR)/scripts/ast_loggrabber"
17
 	-rm -f "$(DESTDIR)$(ASTDATADIR)/scripts/ast_coredumper"
18
-	-rm -f "$(DESTDIR)$(ASTDATADIR)/scripts/refcounter.py"
19
-	-rm -f "$(DESTDIR)$(ASTDATADIR)/scripts/refstats.py"
20
-	-rm -f "$(DESTDIR)$(ASTDATADIR)/scripts/reflocks.py"
21
+#	-rm -f "$(DESTDIR)$(ASTDATADIR)/scripts/refcounter.py"
22
+#	-rm -f "$(DESTDIR)$(ASTDATADIR)/scripts/refstats.py"
23
+#	-rm -f "$(DESTDIR)$(ASTDATADIR)/scripts/reflocks.py"
(-)b/net/asterisk20/files/patch-main_Makefile (+14 lines)
Added Link Here
1
--- main/Makefile.orig	2022-08-18 15:18:29 UTC
2
+++ main/Makefile
3
@@ -79,9 +79,8 @@ else
4
 endif
5
 
6
 ifeq ($(OSARCH),FreeBSD)
7
-  # -V is understood by BSD Make, not by GNU make.
8
-  BSDVERSION=$(shell make -V OSVERSION -f /usr/share/mk/bsd.port.subdir.mk)
9
-  AST_LIBS+=$(shell if test $(BSDVERSION) -lt 502102 ; then echo "-lc_r"; else echo "-pthread"; fi)
10
+  AST_LIBS+=-pthread
11
+  CRYPT_LIB=-lcrypt
12
   AST_LIBS+=-lcrypto
13
 endif
14
 
(-)b/net/asterisk20/files/patch-main_config.c (+18 lines)
Added Link Here
1
commit f4726b93e3cee3e81d241a5163541849d4f6851f
2
Author: Christoph Moench-Tegeder <cmt@burggraben.net>
3
Date:   Thu Jan 25 22:29:37 2024 +0100
4
5
    include sys/wait.h for pclose() return values
6
7
diff --git main/config.c main/config.c
8
index 49bbe6d95b..1cdd7c8b7b 100644
9
--- main/config.c
10
+++ main/config.c
11
@@ -44,6 +44,7 @@
12
 #include <libgen.h>
13
 #include <time.h>
14
 #include <sys/stat.h>
15
+#include <sys/wait.h>
16
 
17
 #include <math.h>	/* HUGE_VAL */
18
 #include <regex.h>
(-)b/net/asterisk20/files/patch-main_lock.c (+12 lines)
Added Link Here
1
--- main/lock.c.orig	2020-07-09 15:39:17 UTC
2
+++ main/lock.c
3
@@ -689,9 +689,6 @@ int __ast_rwlock_init(int tracking, const char *filena
4
 #endif /* DEBUG_THREADS */
5
 
6
 	pthread_rwlockattr_init(&attr);
7
-#ifdef HAVE_PTHREAD_RWLOCK_PREFER_WRITER_NP
8
-	pthread_rwlockattr_setkind_np(&attr, PTHREAD_RWLOCK_PREFER_WRITER_NP);
9
-#endif
10
 	res = pthread_rwlock_init(&t->lock, &attr);
11
 	pthread_rwlockattr_destroy(&attr);
12
 
(-)b/net/asterisk20/files/patch-main_term.c (+10 lines)
Added Link Here
1
--- main/term.c.orig	2022-06-23 15:26:13 UTC
2
+++ main/term.c
3
@@ -46,6 +46,7 @@ static char enddata[80] = "";
4
 static char quitdata[80] = "";
5
 
6
 static const char * const termpath[] = {
7
+	"%%LOCALBASE%%/share/terminfo",
8
 	"/usr/share/terminfo",
9
 	"/usr/local/share/misc/terminfo",
10
 	"/usr/lib/terminfo",
(-)b/net/asterisk20/files/patch-menuselect_configure (+11 lines)
Added Link Here
1
--- menuselect/configure.orig	2022-06-23 15:26:13 UTC
2
+++ menuselect/configure
3
@@ -5099,7 +5099,7 @@ else
4
 printf "%s\n" "yes" >&6; }
5
 
6
             PBX_LIBXML2=1
7
-            LIBXML2_INCLUDE=$(echo ${LIBXML2_CFLAGS} | $SED -e "s|-std=c99||g")
8
+            LIBXML2_INCLUDE=$(echo ${LIBXML2_CFLAGS} | sed -e "s|-std=c99||g")
9
             LIBXML2_LIB="$LIBXML2_LIBS"
10
 
11
 printf "%s\n" "#define HAVE_LIBXML2 1" >>confdefs.h
(-)b/net/asterisk20/files/patch-third-party_pjproject_Makefile (+30 lines)
Added Link Here
1
--- third-party/pjproject/Makefile.orig	2022-02-03 12:25:09 UTC
2
+++ third-party/pjproject/Makefile
3
@@ -98,15 +98,11 @@ SHELL_ECHO_PREFIX := echo '[pjproject] '
4
 
5
 _all: $(TARGETS)
6
 
7
-$(DOWNLOAD_DIR)/$(TARBALL_FILE): ../versions.mak
8
-	$(CMD_PREFIX) ($(TARBALL_EXISTS) && $(TARBALL_VERIFY) && touch $@) || (rm -rf $@ ;\
9
-	$(TARBALL_DOWNLOAD)) || (rm -rf $@ ;\
10
-	$(SHELL_ECHO_PREFIX) Retrying download ; $(TARBALL_DOWNLOAD))
11
+$(DOWNLOAD_DIR)/$(TARBALL_FILE):
12
+	@true
13
 
14
 source/.unpacked: $(DOWNLOAD_DIR)/$(TARBALL_FILE)
15
-	$(CMD_PREFIX) \
16
-		$(TARBALL_VERIFY) || (rm -rf $@ ; $(SHELL_ECHO_PREFIX) Retrying download ; $(TARBALL_DOWNLOAD)) ;\
17
-		$(SHELL_ECHO_PREFIX) Unpacking $< ;\
18
+	$(SHELL_ECHO_PREFIX) Unpacking $< ;\
19
 		rm -rf source pjproject-*/ $(REALLY_QUIET) || : ;\
20
 		$(TAR) -xjf $< ;\
21
 		mv pjproject-$(PJPROJECT_VERSION) source
22
@@ -212,7 +208,7 @@ $(ALL_LIB_FILES): source/build.mak source/pjlib/includ
23
 
24
 pjproject.symbols: $(ALL_LIB_FILES)
25
 	$(ECHO_PREFIX) Generating symbols
26
-	$(CMD_PREFIX) $(NM) -Pog $(ALL_LIB_FILES) | $(SED) -n -E -e "s/.+: ([_]?[pP][jJ][^ ]+) .+/\1/gp" | sort -u > pjproject.symbols
27
+	$(CMD_PREFIX) $(NM) -Pog $(ALL_LIB_FILES) | $(SED) -n -r -e "s/^([pP][jJ][^ ]+) .+/\1/gp" | sort -u > pjproject.symbols
28
 
29
 source/pjsip-apps/src/asterisk_malloc_debug.c: patches/asterisk_malloc_debug.c
30
 	$(ECHO_PREFIX) Copying $< to $@
(-)b/net/asterisk20/files/patch-third-party_pjproject_Makefile.rules (+20 lines)
Added Link Here
1
--- third-party/pjproject/Makefile.rules.orig	2020-07-09 15:39:17 UTC
2
+++ third-party/pjproject/Makefile.rules
3
@@ -7,7 +7,7 @@
4
 # PACKAGE_URL ?= http://www.pjsip.org/release/$(PJPROJECT_VERSION)
5
 
6
 PACKAGE_URL ?= https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/$(PJPROJECT_VERSION)
7
-TARBALL_FILE = pjproject-$(PJPROJECT_VERSION).tar.bz2
8
+TARBALL_FILE = pjsip-pjproject-$(PJPROJECT_VERSION)_GH0.tar.gz
9
 
10
 # PJPROJECT_CONFIGURE_OPTS could come from the command line or could be
11
 # set/modified by configure.m4 if the build or host tuples aren't the same
12
@@ -37,7 +37,7 @@ PJPROJECT_CONFIG_OPTS = $(PJPROJECT_CONFIGURE_OPTS) --
13
 	--disable-ipp \
14
 	--disable-libwebrtc \
15
 	--without-external-pa \
16
-	--without-external-srtp
17
+	--with-external-srtp
18
 
19
 ifneq ($(AST_DEVMODE),yes)
20
     PJPROJECT_CONFIG_OPTS += --disable-resample --disable-g711-codec
(-)b/net/asterisk20/pkg-descr (+3 lines)
Added Link Here
1
Asterisk is an Open Source PBX and telephony toolkit.  It is, in a
2
sense, middleware between Internet and telephony channels on the bottom,
3
and Internet and telephony applications at the top.
(-)b/net/asterisk20/pkg-message (+42 lines)
Added Link Here
1
[
2
{ type: install
3
  message: <<EOM
4
  This port supports custom Asterisk configurations using a *user-supplied*
5
  menuselect.makeopt file.
6
7
  This feature is of most value for users that want to disable or override
8
  default functionality that they dont want or need, particular in space
9
  and/or resource constrained, or embedded environments.
10
11
  If a file named ".asterisk.makeopts" is found in the ports files/
12
  directory, its contents will be used to configure Asterisk at the
13
  post-configure stage.
14
15
  If the file is *not* found, the port will default to a 'normal' Asterisk
16
  menuselect configuration, and only execute menuselect commands according
17
  to what port OPTIONS the user has selected.
18
19
  The format of this file is the same as the output of a standard
20
  `make menuselect` command, as per standard build instructions for
21
  Asterisk.
22
23
  NOTE: The contents of this file *MUST* be syntactically and semantically
24
        valid, as the port does *NOT* perform validation of this file.
25
26
        In particular, ensure that all Asterisk options have their
27
        dependencies met, using the corresponding port OPTIONS dependencies.
28
29
  The `menuselect --check-deps` command can be used to verify the
30
  configuration
31
32
  The following related documentation resources are also available:
33
34
    * https://wiki.asterisk.org/wiki/display/AST/Using+Menuselect+to+Select+Asterisk+Options
35
    * http://www.asteriskdocs.org/en/3rd_Edition/asterisk-book-html-chunk/installing_base_configuration.html#Installing_id293213
36
37
  NOTE: To get color output in the asterisk console you need to install
38
        the misc/terminfo-db port
39
40
EOM
41
}
42
]
(-)b/net/asterisk20/pkg-plist (-1 / +428 lines)
Added Link Here
0
- 
1
@sample %%ETCDIR%%/acl.conf.sample
2
@sample %%ETCDIR%%/adsi.conf.sample
3
@sample %%ETCDIR%%/aeap.conf.sample
4
@sample %%ETCDIR%%/agents.conf.sample
5
@sample %%ETCDIR%%/alarmreceiver.conf.sample
6
@sample %%ETCDIR%%/alsa.conf.sample
7
@sample %%ETCDIR%%/amd.conf.sample
8
@sample %%ETCDIR%%/app_skel.conf.sample
9
@sample %%ETCDIR%%/ari.conf.sample
10
@sample %%ETCDIR%%/ast_debug_tools.conf.sample
11
@sample %%ETCDIR%%/asterisk.adsi.sample
12
@sample %%ETCDIR%%/asterisk.conf.sample
13
@sample %%ETCDIR%%/calendar.conf.sample
14
@sample %%ETCDIR%%/ccss.conf.sample
15
@sample %%ETCDIR%%/cdr.conf.sample
16
@sample %%ETCDIR%%/cdr_adaptive_odbc.conf.sample
17
@sample %%ETCDIR%%/cdr_beanstalkd.conf.sample
18
@sample %%ETCDIR%%/cdr_custom.conf.sample
19
@sample %%ETCDIR%%/cdr_manager.conf.sample
20
@sample %%ETCDIR%%/cdr_odbc.conf.sample
21
@sample %%ETCDIR%%/cdr_pgsql.conf.sample
22
@sample %%ETCDIR%%/cdr_sqlite3_custom.conf.sample
23
@sample %%ETCDIR%%/cdr_tds.conf.sample
24
@sample %%ETCDIR%%/cel.conf.sample
25
@sample %%ETCDIR%%/cel_beanstalkd.conf.sample
26
@sample %%ETCDIR%%/cel_custom.conf.sample
27
@sample %%ETCDIR%%/cel_odbc.conf.sample
28
@sample %%ETCDIR%%/cel_pgsql.conf.sample
29
@sample %%ETCDIR%%/cel_sqlite3_custom.conf.sample
30
@sample %%ETCDIR%%/cel_tds.conf.sample
31
@sample %%ETCDIR%%/chan_dahdi.conf.sample
32
@sample %%ETCDIR%%/chan_mobile.conf.sample
33
@sample %%ETCDIR%%/cli.conf.sample
34
@sample %%ETCDIR%%/cli_aliases.conf.sample
35
@sample %%ETCDIR%%/cli_permissions.conf.sample
36
@sample %%ETCDIR%%/codecs.conf.sample
37
@sample %%ETCDIR%%/confbridge.conf.sample
38
@sample %%ETCDIR%%/config_test.conf.sample
39
@sample %%ETCDIR%%/console.conf.sample
40
@sample %%ETCDIR%%/dbsep.conf.sample
41
@sample %%ETCDIR%%/dnsmgr.conf.sample
42
@sample %%ETCDIR%%/dsp.conf.sample
43
@sample %%ETCDIR%%/dundi.conf.sample
44
@sample %%ETCDIR%%/enum.conf.sample
45
@sample %%ETCDIR%%/extconfig.conf.sample
46
@sample %%ETCDIR%%/extensions.ael.sample
47
@sample %%ETCDIR%%/extensions.conf.sample
48
@sample %%ETCDIR%%/extensions.lua.sample
49
@sample %%ETCDIR%%/extensions_minivm.conf.sample
50
@sample %%ETCDIR%%/features.conf.sample
51
@sample %%ETCDIR%%/festival.conf.sample
52
@sample %%ETCDIR%%/followme.conf.sample
53
@sample %%ETCDIR%%/func_odbc.conf.sample
54
@sample %%ETCDIR%%/geolocation.conf.sample
55
@sample %%ETCDIR%%/hep.conf.sample
56
@sample %%ETCDIR%%/http.conf.sample
57
@sample %%ETCDIR%%/iax.conf.sample
58
@sample %%ETCDIR%%/iaxprov.conf.sample
59
@sample %%ETCDIR%%/indications.conf.sample
60
@sample %%ETCDIR%%/logger.conf.sample
61
@sample %%ETCDIR%%/manager.conf.sample
62
@sample %%ETCDIR%%/meetme.conf.sample
63
@sample %%ETCDIR%%/mgcp.conf.sample
64
@sample %%ETCDIR%%/minivm.conf.sample
65
@sample %%ETCDIR%%/modules.conf.sample
66
@sample %%ETCDIR%%/motif.conf.sample
67
@sample %%ETCDIR%%/musiconhold.conf.sample
68
@sample %%ETCDIR%%/ooh323.conf.sample
69
@sample %%ETCDIR%%/osp.conf.sample
70
@sample %%ETCDIR%%/phoneprov.conf.sample
71
@sample %%ETCDIR%%/pjproject.conf.sample
72
@sample %%ETCDIR%%/pjsip.conf.sample
73
@sample %%ETCDIR%%/pjsip_notify.conf.sample
74
@sample %%ETCDIR%%/pjsip_wizard.conf.sample
75
@sample %%ETCDIR%%/prometheus.conf.sample
76
@sample %%ETCDIR%%/queuerules.conf.sample
77
@sample %%ETCDIR%%/queues.conf.sample
78
@sample %%ETCDIR%%/res_config_mysql.conf.sample
79
@sample %%ETCDIR%%/res_config_odbc.conf.sample
80
@sample %%ETCDIR%%/res_config_sqlite3.conf.sample
81
@sample %%ETCDIR%%/res_corosync.conf.sample
82
@sample %%ETCDIR%%/res_curl.conf.sample
83
@sample %%ETCDIR%%/res_fax.conf.sample
84
@sample %%ETCDIR%%/res_http_media_cache.conf.sample
85
@sample %%ETCDIR%%/res_ldap.conf.sample
86
@sample %%ETCDIR%%/res_odbc.conf.sample
87
@sample %%ETCDIR%%/res_parking.conf.sample
88
@sample %%ETCDIR%%/res_pgsql.conf.sample
89
@sample %%ETCDIR%%/res_pktccops.conf.sample
90
@sample %%ETCDIR%%/res_snmp.conf.sample
91
@sample %%ETCDIR%%/res_stun_monitor.conf.sample
92
@sample %%ETCDIR%%/resolver_unbound.conf.sample
93
@sample %%ETCDIR%%/rtp.conf.sample
94
@sample %%ETCDIR%%/say.conf.sample
95
@sample %%ETCDIR%%/sip.conf.sample
96
@sample %%ETCDIR%%/sip_notify.conf.sample
97
@sample %%ETCDIR%%/skinny.conf.sample
98
@sample %%ETCDIR%%/sla.conf.sample
99
@sample %%ETCDIR%%/smdi.conf.sample
100
@sample %%ETCDIR%%/sorcery.conf.sample
101
@sample %%ETCDIR%%/ss7.timers.sample
102
@sample %%ETCDIR%%/stasis.conf.sample
103
@sample %%ETCDIR%%/statsd.conf.sample
104
@sample %%ETCDIR%%/stir_shaken.conf.sample
105
@sample %%ETCDIR%%/telcordia-1.adsi.sample
106
@sample %%ETCDIR%%/test_sorcery.conf.sample
107
@sample %%ETCDIR%%/udptl.conf.sample
108
@sample %%ETCDIR%%/unistim.conf.sample
109
@sample %%ETCDIR%%/users.conf.sample
110
@sample %%ETCDIR%%/voicemail.conf.sample
111
@sample %%ETCDIR%%/xmpp.conf.sample
112
include/asterisk.h
113
include/asterisk/_private.h
114
include/asterisk/abstract_jb.h
115
include/asterisk/acl.h
116
include/asterisk/adsi.h
117
include/asterisk/ael_structs.h
118
include/asterisk/agi.h
119
include/asterisk/alaw.h
120
include/asterisk/alertpipe.h
121
include/asterisk/aoc.h
122
include/asterisk/app.h
123
include/asterisk/ari.h
124
include/asterisk/ast_expr.h
125
include/asterisk/ast_version.h
126
include/asterisk/astdb.h
127
include/asterisk/astmm.h
128
include/asterisk/astobj2.h
129
include/asterisk/audiohook.h
130
include/asterisk/autochan.h
131
include/asterisk/autoconfig.h
132
include/asterisk/backtrace.h
133
include/asterisk/beep.h
134
include/asterisk/bridge.h
135
include/asterisk/bridge_after.h
136
include/asterisk/bridge_basic.h
137
include/asterisk/bridge_channel.h
138
include/asterisk/bridge_channel_internal.h
139
include/asterisk/bridge_features.h
140
include/asterisk/bridge_internal.h
141
include/asterisk/bridge_roles.h
142
include/asterisk/bridge_technology.h
143
include/asterisk/bucket.h
144
include/asterisk/build.h
145
include/asterisk/buildinfo.h
146
include/asterisk/buildopts.h
147
include/asterisk/calendar.h
148
include/asterisk/callerid.h
149
include/asterisk/causes.h
150
include/asterisk/ccss.h
151
include/asterisk/cdr.h
152
include/asterisk/cel.h
153
include/asterisk/celt.h
154
include/asterisk/channel.h
155
include/asterisk/channel_internal.h
156
include/asterisk/channelstate.h
157
include/asterisk/chanvars.h
158
include/asterisk/cli.h
159
include/asterisk/codec.h
160
include/asterisk/compat.h
161
include/asterisk/compiler.h
162
include/asterisk/config.h
163
include/asterisk/config_options.h
164
include/asterisk/conversions.h
165
include/asterisk/core_local.h
166
include/asterisk/core_unreal.h
167
include/asterisk/crypto.h
168
include/asterisk/data_buffer.h
169
include/asterisk/datastore.h
170
include/asterisk/devicestate.h
171
include/asterisk/dial.h
172
include/asterisk/dlinkedlists.h
173
include/asterisk/dns.h
174
include/asterisk/dns_core.h
175
include/asterisk/dns_internal.h
176
include/asterisk/dns_naptr.h
177
include/asterisk/dns_query_set.h
178
include/asterisk/dns_recurring.h
179
include/asterisk/dns_resolver.h
180
include/asterisk/dns_srv.h
181
include/asterisk/dns_test.h
182
include/asterisk/dns_tlsa.h
183
include/asterisk/dns_txt.h
184
include/asterisk/dnsmgr.h
185
include/asterisk/doxygen/architecture.h
186
include/asterisk/doxygen/licensing.h
187
include/asterisk/doxyref.h
188
include/asterisk/dsp.h
189
include/asterisk/dundi.h
190
include/asterisk/endian.h
191
include/asterisk/endpoints.h
192
include/asterisk/enum.h
193
include/asterisk/event.h
194
include/asterisk/event_defs.h
195
include/asterisk/extconf.h
196
include/asterisk/features.h
197
include/asterisk/features_config.h
198
include/asterisk/file.h
199
include/asterisk/format.h
200
include/asterisk/format_cache.h
201
include/asterisk/format_cap.h
202
include/asterisk/format_compatibility.h
203
include/asterisk/frame.h
204
include/asterisk/framehook.h
205
include/asterisk/fskmodem.h
206
include/asterisk/fskmodem_float.h
207
include/asterisk/fskmodem_int.h
208
include/asterisk/global_datastores.h
209
include/asterisk/hashtab.h
210
include/asterisk/heap.h
211
include/asterisk/http.h
212
include/asterisk/http_websocket.h
213
include/asterisk/ilbc.h
214
include/asterisk/image.h
215
include/asterisk/indications.h
216
include/asterisk/inline_api.h
217
include/asterisk/io.h
218
include/asterisk/iostream.h
219
include/asterisk/json.h
220
include/asterisk/linkedlists.h
221
include/asterisk/localtime.h
222
include/asterisk/lock.h
223
include/asterisk/logger.h
224
include/asterisk/logger_category.h
225
include/asterisk/manager.h
226
include/asterisk/max_forwards.h
227
include/asterisk/md5.h
228
include/asterisk/media_cache.h
229
include/asterisk/media_index.h
230
include/asterisk/message.h
231
include/asterisk/mixmonitor.h
232
include/asterisk/mod_format.h
233
include/asterisk/module.h
234
include/asterisk/monitor.h
235
include/asterisk/multicast_rtp.h
236
include/asterisk/musiconhold.h
237
include/asterisk/mwi.h
238
include/asterisk/named_locks.h
239
include/asterisk/netsock2.h
240
include/asterisk/network.h
241
include/asterisk/optional_api.h
242
include/asterisk/options.h
243
include/asterisk/opus.h
244
include/asterisk/parking.h
245
include/asterisk/paths.h
246
include/asterisk/pbx.h
247
include/asterisk/phoneprov.h
248
include/asterisk/pickup.h
249
include/asterisk/pktccops.h
250
include/asterisk/plc.h
251
include/asterisk/poll-compat.h
252
include/asterisk/presencestate.h
253
include/asterisk/privacy.h
254
include/asterisk/pval.h
255
include/asterisk/refer.h
256
include/asterisk/res_aeap.h
257
include/asterisk/res_aeap_message.h
258
include/asterisk/res_audiosocket.h
259
include/asterisk/res_fax.h
260
include/asterisk/res_geolocation.h
261
include/asterisk/res_hep.h
262
include/asterisk/res_mwi_external.h
263
include/asterisk/res_odbc.h
264
include/asterisk/res_odbc_transaction.h
265
include/asterisk/res_pjproject.h
266
include/asterisk/res_pjsip.h
267
include/asterisk/res_pjsip_body_generator_types.h
268
include/asterisk/res_pjsip_cli.h
269
include/asterisk/res_pjsip_outbound_publish.h
270
include/asterisk/res_pjsip_presence_xml.h
271
include/asterisk/res_pjsip_pubsub.h
272
include/asterisk/res_pjsip_session.h
273
include/asterisk/res_pjsip_session_caps.h
274
include/asterisk/res_prometheus.h
275
include/asterisk/res_srtp.h
276
include/asterisk/res_stir_shaken.h
277
include/asterisk/rtp_engine.h
278
include/asterisk/say.h
279
include/asterisk/sched.h
280
include/asterisk/sdp_srtp.h
281
include/asterisk/security_events.h
282
include/asterisk/security_events_defs.h
283
include/asterisk/select.h
284
include/asterisk/sem.h
285
include/asterisk/serializer.h
286
include/asterisk/sha1.h
287
include/asterisk/silk.h
288
include/asterisk/sip_api.h
289
include/asterisk/slin.h
290
include/asterisk/slinfactory.h
291
include/asterisk/smdi.h
292
include/asterisk/smoother.h
293
include/asterisk/sorcery.h
294
include/asterisk/sounds_index.h
295
include/asterisk/speech.h
296
include/asterisk/spinlock.h
297
include/asterisk/srv.h
298
include/asterisk/stasis.h
299
include/asterisk/stasis_app.h
300
include/asterisk/stasis_app_device_state.h
301
include/asterisk/stasis_app_impl.h
302
include/asterisk/stasis_app_mailbox.h
303
include/asterisk/stasis_app_playback.h
304
include/asterisk/stasis_app_recording.h
305
include/asterisk/stasis_app_snoop.h
306
include/asterisk/stasis_bridges.h
307
include/asterisk/stasis_cache_pattern.h
308
include/asterisk/stasis_channels.h
309
include/asterisk/stasis_endpoints.h
310
include/asterisk/stasis_internal.h
311
include/asterisk/stasis_message_router.h
312
include/asterisk/stasis_state.h
313
include/asterisk/stasis_system.h
314
include/asterisk/stasis_test.h
315
include/asterisk/statsd.h
316
include/asterisk/stream.h
317
include/asterisk/stringfields.h
318
include/asterisk/strings.h
319
include/asterisk/stun.h
320
include/asterisk/syslog.h
321
include/asterisk/taskprocessor.h
322
include/asterisk/tcptls.h
323
include/asterisk/tdd.h
324
include/asterisk/term.h
325
include/asterisk/test.h
326
include/asterisk/threadpool.h
327
include/asterisk/threadstorage.h
328
include/asterisk/time.h
329
include/asterisk/timing.h
330
include/asterisk/transcap.h
331
include/asterisk/translate.h
332
include/asterisk/udptl.h
333
include/asterisk/ulaw.h
334
include/asterisk/unaligned.h
335
include/asterisk/uri.h
336
include/asterisk/utf8.h
337
include/asterisk/utils.h
338
include/asterisk/uuid.h
339
include/asterisk/vector.h
340
include/asterisk/version.h
341
include/asterisk/xml.h
342
include/asterisk/xmldoc.h
343
include/asterisk/xmpp.h
344
%%PJSIP%%lib/libasteriskpj.so
345
%%PJSIP%%lib/libasteriskpj.so.2
346
lib/libasteriskssl.so
347
lib/libasteriskssl.so.1
348
share/man/man8/astdb2bdb.8.gz
349
share/man/man8/astdb2sqlite3.8.gz
350
share/man/man8/asterisk.8.gz
351
share/man/man8/astgenkey.8.gz
352
share/man/man8/autosupport.8.gz
353
share/man/man8/safe_asterisk.8.gz
354
sbin/astcanary
355
sbin/astdb2bdb
356
sbin/astdb2sqlite3
357
sbin/asterisk
358
sbin/astgenkey
359
%%ASTVERSION%%sbin/astversion
360
sbin/autosupport
361
sbin/rasterisk
362
sbin/safe_asterisk
363
%%DATADIR%%/agi-bin/agi-test.agi
364
%%DATADIR%%/agi-bin/eagi-sphinx-test
365
%%DATADIR%%/agi-bin/eagi-test
366
%%DATADIR%%/agi-bin/jukebox.agi
367
%%XMLDOC%%%%DATADIR%%/documentation/appdocsxml.dtd
368
%%XMLDOC%%%%DATADIR%%/documentation/appdocsxml.xslt
369
%%XMLDOC%%%%DATADIR%%/documentation/core-en_US.xml
370
%%DATADIR%%/phoneprov/000000000000-directory.xml
371
%%DATADIR%%/phoneprov/000000000000-phone.cfg
372
%%DATADIR%%/phoneprov/000000000000.cfg
373
%%DATADIR%%/phoneprov/polycom.xml
374
%%DATADIR%%/phoneprov/polycom_line.xml
375
%%DATADIR%%/phoneprov/snom-mac.xml
376
%%DATADIR%%/rest-api/applications.json
377
%%DATADIR%%/rest-api/asterisk.json
378
%%DATADIR%%/rest-api/bridges.json
379
%%DATADIR%%/rest-api/channels.json
380
%%DATADIR%%/rest-api/deviceStates.json
381
%%DATADIR%%/rest-api/endpoints.json
382
%%DATADIR%%/rest-api/events.json
383
%%DATADIR%%/rest-api/mailboxes.json
384
%%DATADIR%%/rest-api/playbacks.json
385
%%DATADIR%%/rest-api/recordings.json
386
%%DATADIR%%/rest-api/resources.json
387
%%DATADIR%%/rest-api/sounds.json
388
%%DATADIR%%/scripts/ast_coredumper
389
%%DATADIR%%/scripts/ast_logescalator
390
%%DATADIR%%/scripts/ast_loggrabber
391
%%XMLDOC%%%%DATADIR%%/static-http/appdocsxml.xslt
392
%%DATADIR%%/static-http/ajamdemo.html
393
%%DATADIR%%/static-http/astman.css
394
%%DATADIR%%/static-http/astman.js
395
%%XMLDOC%%%%DATADIR%%/static-http/core-en_US.xml
396
%%DATADIR%%/static-http/prototype.js
397
%%DATADIR%%/static-http/mantest.html
398
%%DOCSDIR%%/images/asterisk-intro.jpg
399
%%DOCSDIR%%/images/kpad2.jpg
400
@dir lib/asterisk/modules
401
@dir %%DATADIR%%/documentation/thirdparty
402
@dir %%DATADIR%%/firmware/iax
403
@dir %%DATADIR%%/images
404
@dir %%DATADIR%%/keys/stir_shaken
405
@dir %%DATADIR%%/keys
406
@dir %%DATADIR%%/moh
407
@dir %%DATADIR%%/sounds
408
@dir %%DATADIR%%/third-party
409
%%PJSIP%%@dir %%DATADIR%%/third-party/pjproject
410
@owner %%ASTERISK_USER%%
411
@group %%ASTERISK_GROUP%%
412
@dir %%VARDIR%%/cache/asterisk
413
@dir %%VARDIR%%/log/asterisk/cdr-csv
414
@dir %%VARDIR%%/log/asterisk/cdr-custom
415
@dir %%VARDIR%%/log/asterisk/cel-custom
416
@dir %%VARDIR%%/log/asterisk
417
@dir %%VARDIR%%/spool/asterisk/dictate
418
@dir %%VARDIR%%/spool/asterisk/meetme
419
@dir %%VARDIR%%/spool/asterisk/monitor
420
@dir %%VARDIR%%/spool/asterisk/outgoing
421
@dir %%VARDIR%%/spool/asterisk/recording
422
@dir %%VARDIR%%/spool/asterisk
423
@dir %%VARDIR%%/spool/asterisk/system
424
@dir %%VARDIR%%/spool/asterisk/tmp
425
@dir %%VARDIR%%/db/asterisk
426
@dir %%VARDIR%%/run/asterisk
427
@owner
428
@group

Return to bug 280905