import appkonference, use this instead of app_conference for Asterisk 1.6

appkonference is a channel-independent conference application for Asterisk.
It is a fork of app_conference, focusing on stability and growth.
This commit is contained in:
sthen 2009-12-13 12:24:49 +00:00
parent 5738d5ec6f
commit 5658e13ed0
5 changed files with 92 additions and 0 deletions

View File

@ -0,0 +1,40 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/12/13 12:24:49 sthen Exp $
SHARED_ONLY= Yes
COMMENT= conferencing application for asterisk
V= 1.1
DISTNAME= appkonference-$V
CATEGORIES= telephony
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=appkonference/$V/}
HOMEPAGE= http://sourceforge.net/projects/appkonference/
# GPLv2
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
NO_REGRESS= Yes
USE_GMAKE= Yes
BUILD_DEPENDS= :asterisk->=1.6:telephony/asterisk
RUN_DEPENDS= ${BUILD_DEPENDS}
MAKE_ENV+= LOCALBASE=${LOCALBASE} \
ASTERISK_INCLUDE_DIR=${LOCALBASE}/include
WRKDIST= ${WRKDIR}/appkonference
WRKSRC= ${WRKDIST}/konference
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/asterisk/modules
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/app_konference
${INSTALL_DATA} ${WRKSRC}/app_konference.so \
${PREFIX}/lib/asterisk/modules
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/app_konference
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (appkonference-1.1.tar.gz) = 7//znDk0gRSqR/d4gSvmLw==
RMD160 (appkonference-1.1.tar.gz) = M5WbbDKYrnRf+rahB32pi1smnsA=
SHA1 (appkonference-1.1.tar.gz) = efi6OMDl/ZwtNJXSuZg6GqLmMW8=
SHA256 (appkonference-1.1.tar.gz) = EKZt55SPu6iyr8M12RArLS0GeGfPDWeX+GLZp9CNdbE=
SIZE (appkonference-1.1.tar.gz) = 168026

View File

@ -0,0 +1,39 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2009/12/13 12:24:49 sthen Exp $
--- konference/Makefile.orig Wed Jul 22 16:27:32 2009
+++ konference/Makefile Mon Sep 21 22:35:02 2009
@@ -60,7 +60,7 @@ INSTALL = install
INCLUDE = -I$(ASTERISK_INCLUDE_DIR)
DEBUG := -g
-CFLAGS = -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MD -MP $(DEBUG)
+CFLAGS += -Wall -Wmissing-prototypes -Wmissing-declarations -MD -MP $(DEBUG)
CPPFLAGS = $(INCLUDE) -D_REENTRANT -D_GNU_SOURCE -DRELEASE=\"$(RELEASE)\"
#CFLAGS += -O2
#CFLAGS += -O3 -march=pentium3 -msse -mfpmath=sse,387 -ffast-math
@@ -72,7 +72,7 @@ CPPFLAGS = $(INCLUDE) -D_REENTRANT -D_GNU_SOURCE -DREL
# adding -msse -mfpmath=sse has little effect.
#CFLAGS += -O3 -msse -mfpmath=sse
#CFLAGS += $(shell if $(CC) -march=$(PROC) -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-march=$(PROC)"; fi)
-CFLAGS += $(shell if uname -m | grep -q ppc; then echo "-fsigned-char"; fi)
+CFLAGS += $(shell if uname -m | grep -qE '(arm|ppc)'; then echo "-fsigned-char"; fi)
CFLAGS += -fPIC
CPPFLAGS += -DCRYPTO
CPPFLAGS += -DCHANNEL_TABLE_SIZE=$(CHANNEL_TABLE_SIZE)
@@ -116,7 +116,7 @@ OSARCH=$(shell uname -s)
ifeq (${OSARCH},Darwin)
SOLINK=-dynamic -bundle -undefined suppress -force_flat_namespace
else
-SOLINK=-shared -Xlinker -x
+SOLINK=-shared -fPIC -Xlinker -x
endif
DEPS += $(subst .o,.d,$(OBJS))
@@ -136,7 +136,7 @@ distclean: clean
$(RM) $(TARGET)
$(TARGET): $(OBJS)
- $(CC) -pg $(SOLINK) -o $@ $(OBJS)
+ $(CC) $(SOLINK) -o $@ $(OBJS)
vad_test: vad_test.o libspeex/preprocess.o libspeex/misc.o libspeex/smallft.o
$(CC) $(PROFILE) -o $@ $^ -lm

View File

@ -0,0 +1,2 @@
appkonference is a channel-independent conference application for Asterisk.
It is a fork of app_conference, focusing on stability and growth.

View File

@ -0,0 +1,6 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/12/13 12:24:49 sthen Exp $
@conflict app_conference-*
@pkgpath telephony/app_conference
lib/asterisk/modules/app_konference.so
share/doc/app_konference/
share/doc/app_konference/README