pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
callweaver: Upstream dead since 2010
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Sat Sep 24 20:23:33 2016 +0200
Changeset: c8bd45379a76ea781bf49176c9b1ac1bfa59ee91
Removed Files:
callweaver/DESCR
callweaver/Makefile
callweaver/PLIST
callweaver/TODO
callweaver/distinfo
callweaver/files/callweaver.sh
callweaver/options.mk
callweaver/patches/patch-aa
callweaver/patches/patch-ab
callweaver/patches/patch-ac
callweaver/patches/patch-ad
callweaver/patches/patch-ae
Log Message:
callweaver: Upstream dead since 2010
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c8bd45379a76ea781bf49176c9b1ac1bfa59ee91
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
callweaver/DESCR | 7 -
callweaver/Makefile | 140 --------------------
callweaver/PLIST | 281 -----------------------------------------
callweaver/TODO | 0
callweaver/distinfo | 10 --
callweaver/files/callweaver.sh | 25 ----
callweaver/options.mk | 38 ------
callweaver/patches/patch-aa | 36 ------
callweaver/patches/patch-ab | 13 --
callweaver/patches/patch-ac | 12 --
callweaver/patches/patch-ad | 13 --
callweaver/patches/patch-ae | 53 --------
12 files changed, 628 deletions(-)
diffs:
diff --git a/callweaver/DESCR b/callweaver/DESCR
deleted file mode 100644
index 88e92ec..0000000
--- a/callweaver/DESCR
+++ /dev/null
@@ -1,7 +0,0 @@
-CallWeaver is a community-driven, vendor-independent, cross-platform,
-open source, PBX software project (formerly known as OpenPBX.org).
-
-It was originally derived from Asterisk. Now it supports analog and
-digital PSTN telephony, multi-protocol voice over IP telephony, fax,
-software-fax, T.38 fax over IP and many telephony applications such as
-IVR, conferencing and callcenter queue management.
diff --git a/callweaver/Makefile b/callweaver/Makefile
deleted file mode 100644
index ecb7385..0000000
--- a/callweaver/Makefile
+++ /dev/null
@@ -1,140 +0,0 @@
-# $NetBSD: Makefile,v 1.10 2013/07/08 05:10:00 makoto Exp $
-
-DISTNAME= callweaver-1.2.1
-PKGREVISION= 2
-CATEGORIES= comms
-MASTER_SITES= http://devs.callweaver.org/release/
-EXTRACT_SUFX= .tgz
-
-MAINTAINER= x400%msfu.ru@localhost
-HOMEPAGE= http://www.callweaver.org/
-COMMENT= The Callweaver Software PBX
-LICENSE= gnu-gpl-v2
-
-GNU_CONFIGURE= yes
-USE_LIBTOOL= yes
-USE_LANGUAGES= c c++ fortran77
-USE_TOOLS+= gmake perl:run
-
-USE_GNU_READLINE= yes
-USE_NCURSES= yes
-
-PKG_USERS= callweaver:callweaver
-PKG_GROUPS= callweaver
-
-BUILD_DEFS+= VARBASE
-
-PKG_SYSCONFSUBDIR= callweaver
-
-CWPREFIX?= ${PREFIX}
-CWEXECDIR?= ${PREFIX}/bin
-CWUTILSDIR?= ${PREFIX}/sbin
-CWCONFDIR?= ${PREFIX}/etc/callweaver
-CWLIBDIR?= ${PREFIX}/lib/callweaver
-CWVARDIR?= ${VARBASE}/db/callweaver
-CWDATADIR?= ${PREFIX}/share/callweaver
-CWLOGDIR?= ${VARBASE}/log/callweaver
-CWRUNDIR?= ${VARBASE}/run
-CWSPOOLDIR?= ${VARBASE}/spool/callweaver
-CWMANDIR?= ${PREFIX}/man
-CWDOCDIR?= ${PREFIX}/share/doc/callweaver
-
-CWCONFEXAMPLESDIR?= ${PREFIX}/share/examples/callweaver
-
-SUBST_CLASSES+= callweaver
-SUBST_STAGE.callweaver= pre-configure
-SUBST_FILES.callweaver= layout.freebsd
-SUBST_SED.callweaver+= -e 's|^ *\(cwprefix\)=.*|\1=${CWPREFIX}|'
-SUBST_SED.callweaver+= -e 's|^ *\(cwexecdir\)=.*|\1=${CWEXECDIR}|'
-SUBST_SED.callweaver+= -e 's|^ *\(cwutilsdir\)=.*|\1=${CWUTILSDIR}|'
-SUBST_SED.callweaver+= -e 's|^ *\(cwconfdir\)=.*|\1=${CWCONFDIR}|'
-SUBST_SED.callweaver+= -e 's|^ *\(cwlibdir\)=.*|\1=${CWLIBDIR}|'
-SUBST_SED.callweaver+= -e 's|^ *\(cwvardir\)=.*|\1=${CWVARDIR}|'
-SUBST_SED.callweaver+= -e 's|^ *\(cwdatadir\)=.*|\1=${CWDATADIR}|'
-SUBST_SED.callweaver+= -e 's|^ *\(cwlogdir\)=.*|\1=${CWLOGDIR}|'
-SUBST_SED.callweaver+= -e 's|^ *\(cwrundir\)=.*|\1=${CWRUNDIR}|'
-SUBST_SED.callweaver+= -e 's|^ *\(cwspooldir\)=.*|\1=${CWSPOOLDIR}|'
-SUBST_SED.callweaver+= -e 's|^ *\(cwmandir\)=.*|\1=${CWMANDIR}|'
-SUBST_SED.callweaver+= -e 's|^ *\(cwdocdir\)=.*|\1=${CWDOCDIR}|'
-
-CONFIGURE_ARGS+= --with-directory-layout=freebsd
-CONFIGURE_ARGS+= --localstatedir=${VARBASE}
-CONFIGURE_ARGS+= --with-app_backticks --with-app_dtmftotext --with-app_page --with-app_valetparking
-
-.include "options.mk"
-
-RCD_SCRIPTS= callweaver
-
-OWN_DIRS+= ${CWLOGDIR} ${CWSPOOLDIR} ${CWVARDIR}
-
-.for f in adsi.conf \
- adtranvofr.conf \
- agents.conf \
- amd.conf \
- callweaver.adsi \
- callweaver.conf \
- cdr.conf \
- cdr_custom.conf \
- cdr_manager.conf \
- cdr_tds.conf \
- codecs.conf \
- db-memcached.conf \
- dnsmgr.conf \
- dundi.conf \
- enum.conf \
- extconfig.conf \
- extensions.ael \
- extensions.conf \
- features.conf \
- iax.conf \
- indications.conf \
- logger.conf \
- manager.conf \
- meetme.conf \
- mgcp.conf \
- modem.conf \
- modules.conf \
- musiconhold.conf \
- muted.conf \
- osp.conf \
- privacy.conf \
- queues.conf \
- res_snmp.conf \
- rtp.conf \
- sip.conf \
- sip_notify.conf \
- udptl.conf \
- voicemail.conf \
- woomera.conf
-CONF_FILES+= ${CWCONFEXAMPLESDIR:Q}/${f} ${CWCONFDIR:Q}/${f}
-.endfor
-
-.if !empty(PKG_OPTIONS:Mjabber)
-.for f in res_jabber.conf
-CONF_FILES+= ${CWCONFEXAMPLESDIR:Q}/${f} ${CWCONFDIR:Q}/${f}
-.endfor
-.endif
-
-.if !empty(PKG_OPTIONS:Mmysql)
-.for f in cdr_mysql.conf \
- res_mysql.conf
-CONF_FILES+= ${CWCONFEXAMPLESDIR:Q}/${f} ${CWCONFDIR:Q}/${f}
-.endfor
-.endif
-
-.if !empty(PKG_OPTIONS:Mpgsql)
-.for f in cdr_pgsql.conf \
- res_pgsql.conf
-CONF_FILES+= ${CWCONFEXAMPLESDIR:Q}/${f} ${CWCONFDIR:Q}/${f}
-.endfor
-.endif
-
-PKGCONFIG_OVERRIDE+= sqlite3-embedded/sqlite3.pc.in
-PKGCONFIG_OVERRIDE+= sqlite3-embedded/sqlite.pc.in
-
-.include "../../audio/speex/buildlink3.mk"
-.include "../../devel/readline/buildlink3.mk"
-.include "../../devel/ncurses/buildlink3.mk"
-.include "../../comms/spandsp/buildlink3.mk"
-.include "../../graphics/tiff/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/callweaver/PLIST b/callweaver/PLIST
deleted file mode 100644
index 0dd8e9d..0000000
--- a/callweaver/PLIST
+++ /dev/null
@@ -1,281 +0,0 @@
-@comment $NetBSD: PLIST,v 1.6 2010/01/13 13:21:04 x400 Exp $
-bin/callweaver
-sbin/streamplayer
-include/callweaver/acl.h
-include/callweaver/adsi.h
-include/callweaver/aes.h
-include/callweaver/alaw.h
-include/callweaver/app.h
-include/callweaver/callweaver_db.h
-include/callweaver/callweaver_expr.h
-include/callweaver/callweaver_hash.h
-include/callweaver/callweaver_keywords.h
-include/callweaver/callweaver_mm.h
-include/callweaver/causes.h
-include/callweaver/cdr.h
-include/callweaver/chan_capi.h
-include/callweaver/chan_capi20.h
-include/callweaver/channel.h
-include/callweaver/chanvars.h
-include/callweaver/cli.h
-include/callweaver/compiler.h
-include/callweaver/config.h
-include/callweaver/crypto.h
-include/callweaver/cwobj.h
-include/callweaver/devicestate.h
-include/callweaver/dlfcn-compat.h
-include/callweaver/dns.h
-include/callweaver/dnsmgr.h
-include/callweaver/dsp.h
-include/callweaver/dundi.h
-include/callweaver/enum.h
-include/callweaver/features.h
-include/callweaver/file.h
-include/callweaver/frame.h
-include/callweaver/generator.h
-include/callweaver/generic_jb.h
-include/callweaver/image.h
-include/callweaver/indications.h
-include/callweaver/inline_api.h
-include/callweaver/io.h
-include/callweaver/linkedlists.h
-include/callweaver/localtime.h
-include/callweaver/lock.h
-include/callweaver/logger.h
-include/callweaver/manager.h
-include/callweaver/module.h
-include/callweaver/monitor.h
-include/callweaver/musiconhold.h
-include/callweaver/netsock.h
-include/callweaver/ogi.h
-include/callweaver/options.h
-include/callweaver/pbx.h
-include/callweaver/phone_no_utils.h
-include/callweaver/poll-compat.h
-include/callweaver/privacy.h
-include/callweaver/res_odbc.h
-include/callweaver/resonator.h
-include/callweaver/rtp.h
-include/callweaver/say.h
-include/callweaver/sched.h
-include/callweaver/slinfactory.h
-include/callweaver/srv.h
-include/callweaver/strings.h
-include/callweaver/stun.h
-include/callweaver/term.h
-include/callweaver/time.h
-include/callweaver/transcap.h
-include/callweaver/translate.h
-include/callweaver/udp.h
-include/callweaver/udpfromto.h
-include/callweaver/udptl.h
-include/callweaver/ulaw.h
-include/callweaver/unaligned.h
-include/callweaver/utils.h
-include/callweaver/xlaw.h
-lib/callweaver/libcallweaver.la
-lib/callweaver/libcwjb.la
-lib/callweaver/libcwsqlite3.la
-lib/callweaver/modules/app_adsiprog.la
-lib/callweaver/modules/app_amd.la
-lib/callweaver/modules/app_authenticate.la
-lib/callweaver/modules/app_backgrounddetect.la
-lib/callweaver/modules/app_backticks.la
-lib/callweaver/modules/app_cdr.la
-lib/callweaver/modules/app_changrab.la
-lib/callweaver/modules/app_chanisavail.la
-lib/callweaver/modules/app_chanspy.la
-lib/callweaver/modules/app_controlplayback.la
-lib/callweaver/modules/app_db.la
-lib/callweaver/modules/app_devstate.la
-lib/callweaver/modules/app_dial.la
-lib/callweaver/modules/app_dictate.la
-lib/callweaver/modules/app_directed_pickup.la
-lib/callweaver/modules/app_directory.la
-lib/callweaver/modules/app_disa.la
-lib/callweaver/modules/app_dtmftotext.la
-lib/callweaver/modules/app_dumpchan.la
-lib/callweaver/modules/app_echo.la
-lib/callweaver/modules/app_enumlookup.la
-lib/callweaver/modules/app_eval.la
-lib/callweaver/modules/app_exec.la
-lib/callweaver/modules/app_faxdetect.la
-lib/callweaver/modules/app_forkcdr.la
-lib/callweaver/modules/app_getcpeid.la
-lib/callweaver/modules/app_getdevstate.la
-lib/callweaver/modules/app_getextstate.la
-lib/callweaver/modules/app_groupcount.la
-lib/callweaver/modules/app_hasnewvoicemail.la
-lib/callweaver/modules/app_lookupblacklist.la
-lib/callweaver/modules/app_lookupcidname.la
-lib/callweaver/modules/app_milliwatt.la
-lib/callweaver/modules/app_muxmon.la
-lib/callweaver/modules/app_nconference.la
-lib/callweaver/modules/app_page.la
-lib/callweaver/modules/app_pipe.la
-lib/callweaver/modules/app_playback.la
-lib/callweaver/modules/app_privacy.la
-lib/callweaver/modules/app_proc.la
-lib/callweaver/modules/app_queue.la
-lib/callweaver/modules/app_random.la
-lib/callweaver/modules/app_read.la
-lib/callweaver/modules/app_record.la
-lib/callweaver/modules/app_rxfax.la
-lib/callweaver/modules/app_sayunixtime.la
-lib/callweaver/modules/app_senddtmf.la
-lib/callweaver/modules/app_sendtext.la
-lib/callweaver/modules/app_setcallerpres.la
-lib/callweaver/modules/app_setcdruserfield.la
-lib/callweaver/modules/app_setrdnis.la
-lib/callweaver/modules/app_settransfercapability.la
-lib/callweaver/modules/app_sms.la
-lib/callweaver/modules/app_softhangup.la
-lib/callweaver/modules/app_stack.la
-lib/callweaver/modules/app_system.la
-lib/callweaver/modules/app_t38gateway.la
-lib/callweaver/modules/app_transfer.la
-lib/callweaver/modules/app_txfax.la
-lib/callweaver/modules/app_userevent.la
-lib/callweaver/modules/app_valetparking.la
-lib/callweaver/modules/app_verbose.la
-lib/callweaver/modules/app_voicemail.la
-lib/callweaver/modules/app_waitfordigits.la
-lib/callweaver/modules/app_waitforring.la
-lib/callweaver/modules/app_waitforsilence.la
-lib/callweaver/modules/app_while.la
-lib/callweaver/modules/app_zapateller.la
-lib/callweaver/modules/cdr_csv.la
-lib/callweaver/modules/cdr_custom.la
-lib/callweaver/modules/cdr_manager.la
-lib/callweaver/modules/cdr_sqlite3.la
-lib/callweaver/modules/chan_agent.la
-lib/callweaver/modules/chan_features.la
-lib/callweaver/modules/chan_iax2.la
-lib/callweaver/modules/chan_local.la
-lib/callweaver/modules/chan_mgcp.la
-lib/callweaver/modules/chan_sip.la
-lib/callweaver/modules/chan_woomera.la
-lib/callweaver/modules/codec_a_mu.la
-lib/callweaver/modules/codec_alaw.la
-lib/callweaver/modules/codec_dvi_adpcm.la
-lib/callweaver/modules/codec_g722.la
-lib/callweaver/modules/codec_g722_16k_8k.la
-lib/callweaver/modules/codec_g726.la
-lib/callweaver/modules/codec_gsm.la
-lib/callweaver/modules/codec_lpc10.la
-lib/callweaver/modules/codec_oki_adpcm.la
-lib/callweaver/modules/codec_speex.la
-lib/callweaver/modules/codec_ulaw.la
-lib/callweaver/modules/format_au.la
-lib/callweaver/modules/format_g723_1.la
-lib/callweaver/modules/format_g726.la
-lib/callweaver/modules/format_g729.la
-lib/callweaver/modules/format_gsm.la
-lib/callweaver/modules/format_h263.la
-lib/callweaver/modules/format_jpeg.la
-lib/callweaver/modules/format_pcm.la
-lib/callweaver/modules/format_pcm_alaw.la
-lib/callweaver/modules/format_sln.la
-lib/callweaver/modules/format_wav.la
-lib/callweaver/modules/format_wav_gsm.la
-lib/callweaver/modules/func_callerid.la
-lib/callweaver/modules/func_cdr.la
-lib/callweaver/modules/func_config.la
-lib/callweaver/modules/func_db.la
-lib/callweaver/modules/func_enum.la
-lib/callweaver/modules/func_env.la
-lib/callweaver/modules/func_fileexists.la
-lib/callweaver/modules/func_groupcount.la
-lib/callweaver/modules/func_language.la
-lib/callweaver/modules/func_logic.la
-lib/callweaver/modules/func_math.la
-lib/callweaver/modules/func_md5.la
-lib/callweaver/modules/func_moh.la
-lib/callweaver/modules/func_strings.la
-lib/callweaver/modules/func_timeout.la
-lib/callweaver/modules/func_uri.la
-lib/callweaver/modules/pbx_config.la
-lib/callweaver/modules/pbx_dundi.la
-lib/callweaver/modules/pbx_loopback.la
-lib/callweaver/modules/pbx_realtime.la
-lib/callweaver/modules/pbx_spool.la
-lib/callweaver/modules/res_adsi.la
-lib/callweaver/modules/res_crypto.la
-lib/callweaver/modules/res_features.la
-lib/callweaver/modules/res_indications.la
-lib/callweaver/modules/res_monitor.la
-lib/callweaver/modules/res_musiconhold.la
-lib/callweaver/modules/res_ogi.la
-${PLIST.jabber}lib/callweaver/modules/res_jabber.la
-${PLIST.mysql}lib/callweaver/modules/app_sql_mysql.la
-${PLIST.mysql}lib/callweaver/modules/cdr_mysql.la
-${PLIST.mysql}lib/callweaver/modules/res_config_mysql.la
-${PLIST.pgsql}lib/callweaver/modules/app_sql_postgres.la
-${PLIST.pgsql}lib/callweaver/modules/cdr_pgsql.la
-${PLIST.pgsql}lib/callweaver/modules/res_config_pgsql.la
-${PLIST.snmp}lib/callweaver/modules/res_snmp.la
-man/man8/callweaver.8
-man/man8/safe_callweaver.8
-sbin/callweaver_cli
-sbin/safe_callweaver
-${PLIST.sipsecurity}share/callweaver/keys/dh1024.pem
-${PLIST.sipsecurity}share/callweaver/keys/dh512.pem
-${PLIST.sipsecurity}share/callweaver/keys/servercert.pem
-${PLIST.sipsecurity}share/callweaver/keys/serverkey.pem
-${PLIST.sipsecurity}share/callweaver/keys/trustcerts.pem
-share/callweaver/ogi/eogi-sphinx-test
-share/callweaver/ogi/eogi-test
-share/callweaver/ogi/fastogi-test
-share/callweaver/ogi/ogi-test.ogi
-share/doc/callweaver/CREDITS
-share/doc/callweaver/LICENSE
-share/doc/callweaver/README
-share/examples/callweaver/adsi.conf
-share/examples/callweaver/adtranvofr.conf
-share/examples/callweaver/agents.conf
-share/examples/callweaver/amd.conf
-share/examples/callweaver/callweaver.adsi
-share/examples/callweaver/callweaver.conf
-share/examples/callweaver/cdr.conf
-share/examples/callweaver/cdr_custom.conf
-share/examples/callweaver/cdr_manager.conf
-share/examples/callweaver/cdr_tds.conf
-share/examples/callweaver/codecs.conf
-share/examples/callweaver/db-memcached.conf
-share/examples/callweaver/dnsmgr.conf
-share/examples/callweaver/dundi.conf
-share/examples/callweaver/enum.conf
-share/examples/callweaver/extconfig.conf
-share/examples/callweaver/extensions.ael
-share/examples/callweaver/extensions.conf
-share/examples/callweaver/features.conf
-share/examples/callweaver/iax.conf
-share/examples/callweaver/indications.conf
-share/examples/callweaver/logger.conf
-share/examples/callweaver/manager.conf
-share/examples/callweaver/meetme.conf
-share/examples/callweaver/mgcp.conf
-share/examples/callweaver/modem.conf
-share/examples/callweaver/modules.conf
-share/examples/callweaver/musiconhold.conf
-share/examples/callweaver/muted.conf
-share/examples/callweaver/osp.conf
-share/examples/callweaver/privacy.conf
-share/examples/callweaver/queues.conf
-share/examples/callweaver/res_snmp.conf
-share/examples/callweaver/rtp.conf
-share/examples/callweaver/sip.conf
-share/examples/callweaver/sip_notify.conf
-share/examples/callweaver/udptl.conf
-share/examples/callweaver/voicemail.conf
-share/examples/callweaver/woomera.conf
-${PLIST.jabber}share/examples/callweaver/res_jabber.conf
-${PLIST.mysql}share/examples/callweaver/cdr_mysql.conf
-${PLIST.mysql}share/examples/callweaver/res_mysql.conf
-${PLIST.pgsql}share/examples/callweaver/cdr_pgsql.conf
-${PLIST.pgsql}share/examples/callweaver/res_pgsql.conf
-share/examples/rc.d/callweaver
-@exec ${MKDIR} %D/share/callweaver/moh
-@exec ${MKDIR} %D/share/callweaver/keys
-@exec ${MKDIR} %D/share/callweaver/images
-@exec ${MKDIR} %D/lib/callweaver/modules/icd
diff --git a/callweaver/TODO b/callweaver/TODO
deleted file mode 100644
index e69de29..0000000
diff --git a/callweaver/distinfo b/callweaver/distinfo
deleted file mode 100644
index 90613c8..0000000
--- a/callweaver/distinfo
+++ /dev/null
@@ -1,10 +0,0 @@
-$NetBSD: distinfo,v 1.5 2011/01/19 10:12:30 x400 Exp $
-
-SHA1 (callweaver-1.2.1.tgz) = f84cc3575879a89fa602e45978272bc522177ed1
-RMD160 (callweaver-1.2.1.tgz) = 89f94fdca876e9126732e3e725a4ab30fdc272fc
-Size (callweaver-1.2.1.tgz) = 5795528 bytes
-SHA1 (patch-aa) = 661b7565ab9de1e9c10ba69bb5fe03a186b847c8
-SHA1 (patch-ab) = a827290d6055b8e2660429991cf4c5d70aedf29f
-SHA1 (patch-ac) = 7524d64116941f8ae86f4b0fe9ae7cdc8833517e
-SHA1 (patch-ad) = 8be584c01144aaa7366c268cdf2c7faba2b287ae
-SHA1 (patch-ae) = b947e17a739d33dc067239f673506456d70c76e5
diff --git a/callweaver/files/callweaver.sh b/callweaver/files/callweaver.sh
deleted file mode 100644
index b04c13c..0000000
--- a/callweaver/files/callweaver.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-#!@RCD_SCRIPTS_SHELL@
-#
-# $NetBSD: callweaver.sh,v 1.1.1.1 2008/12/05 15:39:43 x400 Exp $
-#
-# PROVIDE: callweaver
-# REQUIRE: DAEMON
-# KEYWORD: shutdown
-
-if [ -f /etc/rc.subr ]
-then
- . /etc/rc.subr
-fi
-
-name="callweaver"
-rcvar=$name
-command="@PREFIX@/bin/callweaver"
-required_files="@PKG_SYSCONFDIR@/callweaver.conf"
-extra_commands="reload"
-
-stop_cmd="callweaver -r -x 'stop gracefully' >/dev/null"
-reload_cmd="callweaver -r -x 'reload' >/dev/null"
-callweaver_nice="-20"
-
-load_rc_config $name
-run_rc_command "$1"
diff --git a/callweaver/options.mk b/callweaver/options.mk
deleted file mode 100644
index 9417963..0000000
--- a/callweaver/options.mk
+++ /dev/null
@@ -1,38 +0,0 @@
-# $NetBSD: options.mk,v 1.7 2010/09/12 00:15:30 x400 Exp $
-
-PKG_OPTIONS_VAR= PKG_OPTIONS.callweaver
-PKG_SUPPORTED_OPTIONS= jabber mysql pgsql sipsecurity snmp
-
-.include "../../mk/bsd.options.mk"
-
-PLIST_VARS+= jabber mysql pgsql sipsecurity snmp
-
-.if !empty(PKG_OPTIONS:Mjabber)
-.include "../../chat/loudmouth/buildlink3.mk"
-PLIST.jabber= yes
-CONFIGURE_ARGS+= --enable-jabber --with-res_jabber
-.endif
-
-.if !empty(PKG_OPTIONS:Mmysql)
-.include "../../databases/mysql55-client/buildlink3.mk"
-PLIST.mysql= yes
-CONFIGURE_ARGS+= --enable-mysql --with-app_sql_mysql --with-cdr_mysql --with-res_config_mysql
-.endif
-
-.if !empty(PKG_OPTIONS:Mpgsql)
-.include "../../databases/postgresql84-client/buildlink3.mk"
-PLIST.pgsql= yes
-CONFIGURE_ARGS+= --enable-postgresql --with-app_sql_postgres --with-cdr_pgsql --with-res_config_pgsql
-.endif
-
-.if !empty(PKG_OPTIONS:Msipsecurity)
-PLIST.sipsecurity= yes
-CONFIGURE_ARGS+= --enable-sip-tcp-support --enable-srtp
-.endif
-
-.if !empty(PKG_OPTIONS:Msnmp)
-.include "../../net/net-snmp/buildlink3.mk"
-.include "../../lang/perl5/buildlink3.mk"
-PLIST.snmp= yes
-CONFIGURE_ARGS+= --with-res_snmp
-.endif
diff --git a/callweaver/patches/patch-aa b/callweaver/patches/patch-aa
deleted file mode 100644
index e926581..0000000
--- a/callweaver/patches/patch-aa
+++ /dev/null
@@ -1,36 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2008/12/10 00:31:53 x400 Exp $
-
---- configs/Makefile.in.orig 2008-05-27 02:50:18.000000000 +0400
-+++ configs/Makefile.in
-@@ -508,24 +508,24 @@
- mv musiconhold.conf.sample.tmp musiconhold.conf.sample
-
- install-data-local:
-- if [ ! -d "$(DESTDIR)${cwconfdir}" ]; \
-+ if [ ! -d "$(DESTDIR)${prefix}/share/examples/callweaver" ]; \
- then \
-- mkdir -p $(DESTDIR)${cwconfdir}; \
-- chmod 0750 $(DESTDIR)${cwconfdir}; \
-+ mkdir -p $(DESTDIR)${prefix}/share/examples/callweaver; \
-+ chmod 0750 $(DESTDIR)${prefix}/share/examples/callweaver; \
- fi; \
- if test -z "$(DESTDIR)"; \
- then \
-- chown ${cwrunuser}:${cwrungroup} $(DESTDIR)${cwconfdir}; \
-+ chown ${cwrunuser}:${cwrungroup} $(DESTDIR)${prefix}/share/examples/callweaver; \
- fi; \
- for samplefile in $(SAMPLES); \
- do \
- configfile=`basename $${samplefile} .sample`; \
-- if test ! -f $(DESTDIR)${cwconfdir}/$${configfile}; \
-+ if test ! -f $(DESTDIR)${prefix}/share/examples/callweaver/$${configfile}; \
- then \
-- $(INSTALL) -m 0640 $${samplefile} $(DESTDIR)${cwconfdir}/$${configfile}; \
-+ $(INSTALL) -m 0640 $${samplefile} $(DESTDIR)${prefix}/share/examples/callweaver/$${configfile}; \
- if test -z "$(DESTDIR)"; \
- then \
-- chown ${cwrunuser}:${cwrungroup} $(DESTDIR)${cwconfdir}/$${configfile}; \
-+ chown ${cwrunuser}:${cwrungroup} $(DESTDIR)${prefix}/share/examples/callweaver/$${configfile}; \
- fi; \
- fi; \
- done
diff --git a/callweaver/patches/patch-ab b/callweaver/patches/patch-ab
deleted file mode 100644
index b874a48..0000000
--- a/callweaver/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2010/01/13 13:22:20 x400 Exp $
-
---- configure.orig 2010-01-13 14:39:12.000000000 +0300
-+++ configure
-@@ -43183,7 +43183,7 @@
- # [ --with-net_snmp enable snmp [will check /usr /usr/local ]
- # ],
- #[ AC_MSG_RESULT(yes)
-- for dir in $withval /usr/local /usr ; do
-+ for dir in $withval /usr/local /usr /usr/pkg ; do
- snmpdir="$dir"
-
- if test -f "$dir/include/net-snmp/net-snmp-config.h"; then
diff --git a/callweaver/patches/patch-ac b/callweaver/patches/patch-ac
deleted file mode 100644
index 5f639e2..0000000
--- a/callweaver/patches/patch-ac
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2010/01/13 13:22:20 x400 Exp $
-
---- corelib/pbx.c.orig 2010-01-13 14:39:27.000000000 +0300
-+++ corelib/pbx.c
-@@ -3040,6 +3040,7 @@
- if (cw_pthread_create(&t, &attr, pbx_thread, c))
- {
- cw_log(LOG_WARNING, "Failed to create new channel thread\n");
-+ decrease_call_count();
- return CW_PBX_FAILED;
- }
-
diff --git a/callweaver/patches/patch-ad b/callweaver/patches/patch-ad
deleted file mode 100644
index 519c87e..0000000
--- a/callweaver/patches/patch-ad
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ad,v 1.1 2010/09/12 00:16:22 x400 Exp $
-
---- res/Makefile.in.orig 2009-05-19 13:41:26.000000000 +0400
-+++ res/Makefile.in
-@@ -502,7 +502,7 @@
- @WANT_RES_CONFIG_CURL_TRUE@res_config_curl_la_LIBADD = ${top_builddir}/corelib/libcallweaver.la
- @WANT_RES_SNMP_TRUE@res_snmp_la_SOURCES = res_snmp.c snmp/agent.c
- @WANT_RES_SNMP_TRUE@res_snmp_la_LDFLAGS = -module -avoid-version -no-undefined
--@WANT_RES_SNMP_TRUE@res_snmp_la_CFLAGS = $(AM_CFLAGS)
-+@WANT_RES_SNMP_TRUE@res_snmp_la_CFLAGS = $(AM_CFLAGS) `perl -MExtUtils::Embed -e ldopts`
- @WANT_RES_SNMP_TRUE@res_snmp_la_LIBADD = -lnetsnmp -lnetsnmpagent -lnetsnmphelpers -lnetsnmpmibs ${top_builddir}/corelib/libcallweaver.la
-
- #if WANT_RES_ODBC
diff --git a/callweaver/patches/patch-ae b/callweaver/patches/patch-ae
deleted file mode 100644
index ba23320..0000000
--- a/callweaver/patches/patch-ae
+++ /dev/null
@@ -1,53 +0,0 @@
-$NetBSD: patch-ae,v 1.1 2011/01/19 10:12:30 x400 Exp $
-
---- res/res_monitor.c.orig 2008-11-18 16:45:50.000000000 +0300
-+++ res/res_monitor.c
-@@ -57,7 +57,7 @@
- static void *monitor_app;
- static const char *monitor_name = "Monitor";
- static const char *monitor_synopsis = "Monitor a channel";
--static const char *monitor_syntax = "Monitor([file_format[:urlbase]][, [fname_base][, [options]]])";
-+static const char *monitor_syntax = "Monitor([file_format[:urlbase]][, [fname_base][, [options][, [syscmd]]]])";
- static const char *monitor_descrip =
- "Used to start monitoring a channel. The channel's input and output\n"
- "voice packets are logged to files until the channel hangs up or\n"
-@@ -78,6 +78,7 @@
- " administrator interface\n"
- "\n"
- " b - Don't begin recording unless a call is bridged to another channel\n"
-+" syscmd optional, if set, monitor will execute system command after recording.\n"
- "\nReturns -1 if monitor files can't be opened or if the channel is already\n"
- "monitored, otherwise 0.\n"
- ;
-@@ -230,6 +231,7 @@
- {
- char *execute;
- char *execute_args;
-+ char *syscmdfl;
- int explicit_file_type;
- int delfiles = 0;
-
-@@ -321,6 +323,14 @@
- cw_log(LOG_WARNING, "Execute of %s failed.\n",tmp);
- }
-
-+ syscmdfl = pbx_builtin_getvar_helper(chan, "AUTO_MONITOR_SYSCMD");
-+ if (syscmdfl != NULL && syscmdfl[0] != '\0')
-+ {
-+ cw_log(LOG_DEBUG,"monitor executing %s\n",syscmdfl);
-+ if (cw_safe_system(syscmdfl) == -1)
-+ cw_log(LOG_WARNING, "Execute of %s failed.\n",syscmdfl);
-+ }
-+
- free(chan->monitor->format);
- free(chan->monitor);
- chan->monitor = NULL;
-@@ -375,6 +385,8 @@
- int waitforbridge = 0;
- int res = 0;
-
-+ pbx_builtin_setvar_helper(chan, "AUTO_MONITOR_SYSCMD", (argc > 3 ? argv[3] : ""));
-+
- if (argc > 2) {
- for (; argv[2][0]; argv[2]++) {
- switch (argv[2][0]) {
Home |
Main Index |
Thread Index |
Old Index