From owner-svn-ports-head@freebsd.org Thu Feb 7 09:43:18 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 09F9E14D1CF0; Thu, 7 Feb 2019 09:43:18 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A288E80473; Thu, 7 Feb 2019 09:43:17 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 969741B364; Thu, 7 Feb 2019 09:43:17 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x179hHu5008471; Thu, 7 Feb 2019 09:43:17 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x179hGCt008463; Thu, 7 Feb 2019 09:43:16 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201902070943.x179hGCt008463@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Thu, 7 Feb 2019 09:43:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r492354 - in head/net: . mod_amd mod_amd/files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/net: . mod_amd mod_amd/files X-SVN-Commit-Revision: 492354 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: A288E80473 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.98)[-0.977,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Feb 2019 09:43:18 -0000 Author: tobik Date: Thu Feb 7 09:43:16 2019 New Revision: 492354 URL: https://svnweb.freebsd.org/changeset/ports/492354 Log: New port: net/mod_amd Asterisk app_amd for FreeSWITCH This is an implementation of Asterisk's answering machine detection (voice activity detection) for FreeSWITCH. WWW: https://github.com/seanbright/mod_amd PR: 211773 Submitted by: Šimun Mikecin Reviewed by: koobs Added: head/net/mod_amd/ head/net/mod_amd/Makefile (contents, props changed) head/net/mod_amd/distinfo (contents, props changed) head/net/mod_amd/files/ head/net/mod_amd/files/amd.conf.xml (contents, props changed) head/net/mod_amd/files/patch-Makefile (contents, props changed) head/net/mod_amd/pkg-descr (contents, props changed) Modified: head/net/Makefile Modified: head/net/Makefile ============================================================================== --- head/net/Makefile Thu Feb 7 09:30:40 2019 (r492353) +++ head/net/Makefile Thu Feb 7 09:43:16 2019 (r492354) @@ -470,6 +470,7 @@ SUBDIR += miruo SUBDIR += mlvpn SUBDIR += mobile-broadband-provider-info + SUBDIR += mod_amd SUBDIR += mono-zeroconf SUBDIR += mopd SUBDIR += morebalance Added: head/net/mod_amd/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/mod_amd/Makefile Thu Feb 7 09:43:16 2019 (r492354) @@ -0,0 +1,32 @@ +# Created by: Simun Mikecin +# $FreeBSD$ + +PORTNAME= mod_amd +PORTVERSION= g20150926 +CATEGORIES= net + +MAINTAINER= numisemis@yahoo.com +COMMENT= Asterisk app_amd for FreeSWITCH + +LICENSE= CC0-1.0 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libfreeswitch.so:net/freeswitch + +USES= pkgconfig +USE_GITHUB= yes +GH_ACCOUNT= seanbright +GH_TAGNAME= 60daa7e + +MAKE_ARGS= prefix=${STAGEDIR}${PREFIX} + +PLIST_FILES= etc/freeswitch/autoload_configs/amd.conf.xml \ + lib/freeswitch/mod/mod_amd.so + +post-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/freeswitch/autoload_configs + ${INSTALL_DATA} ${FILESDIR}/amd.conf.xml \ + ${STAGEDIR}${PREFIX}/etc/freeswitch/autoload_configs + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/freeswitch/mod/mod_amd.so + +.include Added: head/net/mod_amd/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/mod_amd/distinfo Thu Feb 7 09:43:16 2019 (r492354) @@ -0,0 +1,3 @@ +TIMESTAMP = 1471001403 +SHA256 (seanbright-mod_amd-g20150926-60daa7e_GH0.tar.gz) = 10cce0b849c7165f48cc37d4a0d8e4b030b4905c1cd78c1f31dd8acff86ec5bb +SIZE (seanbright-mod_amd-g20150926-60daa7e_GH0.tar.gz) = 6245 Added: head/net/mod_amd/files/amd.conf.xml ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/mod_amd/files/amd.conf.xml Thu Feb 7 09:43:16 2019 (r492354) @@ -0,0 +1,13 @@ + + + + + + + + + + + + + Added: head/net/mod_amd/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/mod_amd/files/patch-Makefile Thu Feb 7 09:43:16 2019 (r492354) @@ -0,0 +1,35 @@ +--- Makefile.orig 2015-10-26 15:12:15 UTC ++++ Makefile +@@ -1,20 +1,19 @@ + MODNAME = mod_amd.so + MODOBJ = mod_amd.o +-MODCFLAGS = -Wall -Werror ++MODCFLAGS = -Wall + # MODLDFLAGS = -lssl + +-CC = gcc +-CFLAGS = -fPIC -g -ggdb `pkg-config --cflags freeswitch` $(MODCFLAGS) ++CFLAGS += -fPIC `pkg-config --cflags freeswitch` $(MODCFLAGS) + LDFLAGS = `pkg-config --libs freeswitch` $(MODLDFLAGS) + + .PHONY: all + all: $(MODNAME) + + $(MODNAME): $(MODOBJ) +- @$(CC) -shared -o $@ $(MODOBJ) $(LDFLAGS) ++ $(CC) -shared -o $@ $(MODOBJ) $(LDFLAGS) + + .c.o: $< +- @$(CC) $(CFLAGS) -o $@ -c $< ++ $(CC) $(CFLAGS) -o $@ -c $< + + .PHONY: clean + clean: +@@ -22,5 +21,5 @@ clean: + + .PHONY: install + install: $(MODNAME) +- install -d $(DESTDIR)/usr/lib/freeswitch/mod +- install $(MODNAME) $(DESTDIR)/usr/lib/freeswitch/mod ++ install -d $(prefix)/lib/freeswitch/mod ++ install $(MODNAME) $(prefix)/lib/freeswitch/mod Added: head/net/mod_amd/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/mod_amd/pkg-descr Thu Feb 7 09:43:16 2019 (r492354) @@ -0,0 +1,6 @@ +Asterisk app_amd for FreeSWITCH + +This is an implementation of Asterisk's answering machine detection +(voice activity detection) for FreeSWITCH. + +WWW: https://github.com/seanbright/mod_amd