diff options
author | pav <pav@FreeBSD.org> | 2004-03-07 23:19:13 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-03-07 23:19:13 +0000 |
commit | 19791c4e6ba33b6b5b43ed7ee5391340d5b51e7f (patch) | |
tree | c8f838b00d73212962fa499ad25ad44565e4e251 /misc | |
parent | 7a8a3d5eb0eb526a6a2c5a8d77c202a2d194a267 (diff) | |
download | FreeBSD-ports-19791c4e6ba33b6b5b43ed7ee5391340d5b51e7f.zip FreeBSD-ports-19791c4e6ba33b6b5b43ed7ee5391340d5b51e7f.tar.gz |
Add callid, a tool to be be able to show incoming calls in a web-based interface.
the calls are logged through the ISDN D-Channel.
PR: ports/63067
Submitted by: Michele Possamai <possamai@xs4all.nl>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/Makefile | 1 | ||||
-rw-r--r-- | misc/callid/Makefile | 54 | ||||
-rw-r--r-- | misc/callid/distinfo | 1 | ||||
-rw-r--r-- | misc/callid/pkg-descr | 5 | ||||
-rw-r--r-- | misc/callid/pkg-plist | 20 |
5 files changed, 81 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile index 906b670..d5e8005 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -33,6 +33,7 @@ SUBDIR += bsdiff SUBDIR += buffer SUBDIR += c-hey + SUBDIR += callid SUBDIR += cave SUBDIR += cfe SUBDIR += cheatah diff --git a/misc/callid/Makefile b/misc/callid/Makefile new file mode 100644 index 0000000..17c28a6 --- /dev/null +++ b/misc/callid/Makefile @@ -0,0 +1,54 @@ +# New ports collection makefile for: callid +# Date created: 19 February 2004 +# Whom: M. Possamai +# +# $FreeBSD$ +# + +PORTNAME= callid +PORTVERSION= 1.1 +CATEGORIES= misc +MASTER_SITES= http://www.xs4all.nl/~possamai/callid/ + +MAINTAINER= possamai@xs4all.nl +COMMENT= Utility to log incoming calls using ISDN and output to mysql/php + +RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql40 + +USE_MYSQL= yes +USE_PHP= yes +WANT_PHP_WEB= yes + +NO_BUILD= yes + +PORTDOCS= README TODO make-db.mysql + +pre-everything:: + @${ECHO} "" + @${ECHO} "You have to configure PHP with MYSQL support." + @${ECHO} "" + @${ECHO} "If you have already compiled PHP without MYSQL," + @${ECHO} "press CTRL+C now and rebuild it before installing callid." + @${ECHO} "" + +do-install: + @${MKDIR} ${PREFIX}/www/callid + @${INSTALL_DATA} ${WRKSRC}/src/*.php ${PREFIX}/www/callid + @${INSTALL_DATA} ${WRKSRC}/src/*.html ${PREFIX}/www/callid + @${MKDIR} ${PREFIX}/www/callid/images + @${INSTALL_DATA} ${WRKSRC}/src/images/*.jpg ${PREFIX}/www/callid/images + @${INSTALL_DATA} -m 550 ${WRKSRC}/sbin/call-logd ${PREFIX}/sbin +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for f in ${PORTDOCS} + @${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR} +.endfor +.endif + +post-install: + @if [ ! -f ${PREFIX}/etc/rc.d/callid.sh ]; then \ + ${ECHO} "Installing ${PREFIX}/etc/rc.d/callid.sh startup file."; \ + ${INSTALL_SCRIPT} -m 751 ${WRKSRC}/etc/rc.d/callid.sh ${PREFIX}/etc/rc.d/callid.sh; \ + fi + +.include <bsd.port.mk> diff --git a/misc/callid/distinfo b/misc/callid/distinfo new file mode 100644 index 0000000..105ab47 --- /dev/null +++ b/misc/callid/distinfo @@ -0,0 +1 @@ +MD5 (callid-1.1.tar.gz) = 29ccde3cf488297f54689228d231ee97 diff --git a/misc/callid/pkg-descr b/misc/callid/pkg-descr new file mode 100644 index 0000000..385b802 --- /dev/null +++ b/misc/callid/pkg-descr @@ -0,0 +1,5 @@ +Callid is a tool to be be able to show incoming calls in a web-based interface. +the calls are logged through the ISDN D-Channel. + +- M. Possamai +possamai@xs4all.nl diff --git a/misc/callid/pkg-plist b/misc/callid/pkg-plist new file mode 100644 index 0000000..7f95307 --- /dev/null +++ b/misc/callid/pkg-plist @@ -0,0 +1,20 @@ +etc/rc.d/callid.sh +sbin/call-logd +www/callid/index.html +www/callid/config.php +www/callid/names-add.php +www/callid/names-del.php +www/callid/names-menu.php +www/callid/names.php +www/callid/phone-menu.php +www/callid/phone.php +www/callid/top.php +www/callid/images/add-name.jpg +www/callid/images/call-log.jpg +www/callid/images/callid.jpg +www/callid/images/delete-name.jpg +www/callid/images/list-names.jpg +www/callid/images/names-menu.jpg +www/callid/images/phone-menu.jpg +@dirrm www/callid/images +@dirrm www/callid |