From owner-freebsd-bugs@FreeBSD.ORG Thu Feb 19 06:50:19 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CBE016A4CE for ; Thu, 19 Feb 2004 06:50:19 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 051F443D2D for ; Thu, 19 Feb 2004 06:50:19 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i1JEoIbv091050 for ; Thu, 19 Feb 2004 06:50:18 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i1JEoIOe091049; Thu, 19 Feb 2004 06:50:18 -0800 (PST) (envelope-from gnats) Resent-Date: Thu, 19 Feb 2004 06:50:18 -0800 (PST) Resent-Message-Id: <200402191450.i1JEoIOe091049@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Michele Possamai Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BF0016A4CE for ; Thu, 19 Feb 2004 06:41:22 -0800 (PST) Received: from tnt.yi.org (possamai.xs4all.nl [213.84.64.160]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB07F43D1F for ; Thu, 19 Feb 2004 06:41:21 -0800 (PST) (envelope-from tnt@tnt.yi.org) Received: from tnt.yi.org (tnt@localhost [127.0.0.1]) by tnt.yi.org (8.12.10/8.12.10) with ESMTP id i1JEf9PD003139; Thu, 19 Feb 2004 15:41:09 +0100 (CET) (envelope-from tnt@tnt.yi.org) Received: (from tnt@localhost) by tnt.yi.org (8.12.10/8.12.10/Submit) id i1JEf8Ys003138; Thu, 19 Feb 2004 15:41:08 +0100 (CET) (envelope-from tnt) Message-Id: <200402191441.i1JEf8Ys003138@tnt.yi.org> Date: Thu, 19 Feb 2004 15:41:08 +0100 (CET) From: Michele Possamai To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: possamai@xs4all.nl Subject: misc/63067: New Port: misc/callid - log incoming calls (isdn) automaticly to a webinterface X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Michele Possamai List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2004 14:50:19 -0000 >Number: 63067 >Category: misc >Synopsis: New Port: misc/callid - log incoming calls (isdn) automaticly to a webinterface >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Feb 19 06:50:18 PST 2004 >Closed-Date: >Last-Modified: >Originator: Michele Possamai >Release: FreeBSD 4.9-STABLE i386 >Organization: >Environment: System: FreeBSD tnt.yi.org 4.9-STABLE FreeBSD 4.9-STABLE #1: Sat Jan 31 22:06:08 CET 2004 root@tnt.yi.org:/usr/obj/usr/src/sys/SCORPIO i386 >Description: 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. >How-To-Repeat: >Fix: --- callid.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # callid # callid/Makefile # callid/pkg-descr # callid/pkg-plist # callid/distinfo # echo c - callid mkdir -p callid > /dev/null 2>&1 echo x - callid/Makefile sed 's/^X//' >callid/Makefile << 'END-of-callid/Makefile' X# New ports collection makefile for: callid X# Date created: 19 February 2004 X# Whom: M. Possamai X# X# $FreeBSD$ X# X XPORTNAME= callid XPORTVERSION= 1.1 XCATEGORIES= misc XMASTER_SITES= http://www.xs4all.nl/~possamai/callid/ X XMAINTAINER= possamai@xs4all.nl XCOMMENT= Utility to log incoming calls using ISDN and output to mysql/php X XUSE_MYSQL= yes XUSE_PHP= yes XWANT_PHP_WEB= yes X XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} XNO_BUILD= yes X Xpre-everything:: X @${ECHO} "" X @${ECHO} "You have to configure PHP with MYSQL support." X @${ECHO} "" X @${ECHO} "If you have already compiled PHP without MYSQL," X @${ECHO} "press CTRL+C now and rebuild it before installing callid." X @${ECHO} "" X Xdo-install: X @${MKDIR} ${PREFIX}/www/callid X @${INSTALL_DATA} ${WRKSRC}/src/*.php ${PREFIX}/www/callid X @${INSTALL_DATA} ${WRKSRC}/src/*.html ${PREFIX}/www/callid X @${MKDIR} ${PREFIX}/www/callid/images X @${INSTALL_DATA} ${WRKSRC}/src/images/*.jpg ${PREFIX}/www/callid/images X @${INSTALL_DATA} -m 550 ${WRKSRC}/sbin/call-logd ${PREFIX}/sbin X @${INSTALL_DATA} ${WRKSRC}/doc/README ${PREFIX}/share/doc X @${INSTALL_DATA} ${WRKSRC}/doc/TODO ${PREFIX}/share/doc X @${INSTALL_DATA} ${WRKSRC}/doc/make-db.mysql ${PREFIX}/share/doc X Xpost-install: X @if [ ! -f ${PREFIX}/etc/rc.d/callid.sh ]; then \ X ${ECHO} "Installing ${PREFIX}/etc/rc.d/callid.sh startup file."; \ X ${INSTALL_SCRIPT} -m 751 ${WRKSRC}/etc/rc.d/callid.sh ${PREFIX}/etc/rc.d/callid.sh; \ X fi X X.include END-of-callid/Makefile echo x - callid/pkg-descr sed 's/^X//' >callid/pkg-descr << 'END-of-callid/pkg-descr' XCallid is a tool to be be able to show incoming calls in a web-based interface. Xthe calls are logged through the ISDN D-Channel. X XWWW: no website.. yet.. X X- M. Possamai Xpossamai@xs4all.nl END-of-callid/pkg-descr echo x - callid/pkg-plist sed 's/^X//' >callid/pkg-plist << 'END-of-callid/pkg-plist' Xsbin/call-logd Xwww/callid/index.html Xwww/callid/config.php Xwww/callid/names-add.php Xwww/callid/names-del.php Xwww/callid/names-menu.php Xwww/callid/names.php Xwww/callid/phone-menu.php Xwww/callid/phone.php Xwww/callid/top.php Xwww/callid/images/add-name.jpg Xwww/callid/images/call-log.jpg Xwww/callid/images/callid.jpg Xwww/callid/images/delete-name.jpg Xwww/callid/images/list-names.jpg Xwww/callid/images/names-menu.jpg Xwww/callid/images/phone-menu.jpg Xetc/rc.d/callid.sh Xshare/doc/README Xshare/doc/TODO Xshare/doc//make-db.mysql X@dirrm www/callid/images X@dirrm www/callid END-of-callid/pkg-plist echo x - callid/distinfo sed 's/^X//' >callid/distinfo << 'END-of-callid/distinfo' XMD5 (callid-1.1.tar.gz) = 29ccde3cf488297f54689228d231ee97 END-of-callid/distinfo exit --- callid.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: