From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jan 27 14:10:02 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4CC616A421 for ; Sun, 27 Jan 2008 14:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9711813C459 for ; Sun, 27 Jan 2008 14:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m0REA29d006153 for ; Sun, 27 Jan 2008 14:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m0REA25Q006152; Sun, 27 Jan 2008 14:10:02 GMT (envelope-from gnats) Resent-Date: Sun, 27 Jan 2008 14:10:02 GMT Resent-Message-Id: <200801271410.m0REA25Q006152@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Luiz Otavio O Souza Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E50F216A419 for ; Sun, 27 Jan 2008 14:06:02 +0000 (UTC) (envelope-from luiz@ad.com.br) Received: from ad.com.br (200-205-66-188.adseguros.com.br [200.205.66.188]) by mx1.freebsd.org (Postfix) with ESMTP id 428FD13C457 for ; Sun, 27 Jan 2008 14:06:01 +0000 (UTC) (envelope-from luiz@ad.com.br) Received: (qmail 8543 invoked by uid 1003); 27 Jan 2008 13:31:56 -0000 Message-Id: <20080127133156.8542.qmail@ad.com.br> Date: 27 Jan 2008 13:31:56 -0000 From: Luiz Otavio O Souza To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/120042: [mainteiner update] net-im/msn-proxy: port does not intall all needed files X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Luiz Otavio O Souza List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jan 2008 14:10:02 -0000 >Number: 120042 >Category: ports >Synopsis: [mainteiner update] net-im/msn-proxy: port does not intall all needed files >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Jan 27 14:10:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Luiz Otavio O Souza >Release: FreeBSD 7.0-BETA1 i386 >Organization: >Environment: System: FreeBSD server.rede.int.br 7.0-BETA1 FreeBSD 7.0-BETA1 #0: Sat Oct 27 17:44:02 BRST 2007 root@server.rede.int.br:/usr/src/sys/i386/compile/FW i386 >Description: The current port does not install the needed php support neither the web files >How-To-Repeat: >Fix: diff -urN msn-proxy-orig/Makefile msn-proxy/Makefile --- msn-proxy-orig/Makefile 2008-01-27 10:09:09.000000000 -0200 +++ msn-proxy/Makefile 2008-01-27 11:31:44.000000000 -0200 @@ -9,7 +9,6 @@ PORTVERSION= 0.5 CATEGORIES= net-im MASTER_SITES= SF -#DISTNAME= msn-proxy-${PORTVERSION} MAINTAINER= loos.br@gmail.com COMMENT= Messenger proxy/control daemon @@ -18,15 +17,37 @@ USE_MYSQL= yes +SUB_FILES= pkg-message WRKSRC= ${WRKDIR}/${PORTNAME} + DOCS= INSTALL +MSNPROXYWWW= ajax.inc.php al.inc.php bl.inc.php chat-to.php chat.php \ + conf.php default.array.cmd.inc.php default.array.option.inc.php \ + default.array.status.inc.php fl.inc.php group.inc.php \ + header.inc.php index.php mysql.inc.php save_contact_op.php \ + save_default_op.php save_msg.php save_user_op.php user.php \ + view-to.php view.php +MSNPROXYIMG= ausente.gif notinlist.png ocupado.gif offline.gif online.gif \ + send_im.gif webcam.png + +WANT_PHP_WEB= yes +USE_PHP= mysql post-install: + @${MKDIR} ${WWWDIR} +.for FILE in ${MSNPROXYWWW} + @cd ${WRKSRC}/php && ${INSTALL} -m 644 ${FILE} ${WWWDIR} +.endfor + @${MKDIR} ${WWWDIR}/imagens +.for FILE in ${MSNPROXYIMG} + @cd ${WRKSRC}/php/imagens && ${INSTALL} -m 644 ${FILE} ${WWWDIR}/imagens +.endfor .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for FILE in ${DOCS} @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}/${FILE} .endfor .endif + @${CAT} ${PKGMESSAGE} .include diff -urN msn-proxy-orig/files/pkg-message.in msn-proxy/files/pkg-message.in --- msn-proxy-orig/files/pkg-message.in 1969-12-31 21:00:00.000000000 -0300 +++ msn-proxy/files/pkg-message.in 2008-01-27 11:19:40.000000000 -0200 @@ -0,0 +1,24 @@ +------------------------------------------------ +msn-proxy post installation (basic) instructions +------------------------------------------------ + +On mysql create the database and the user to msn-proxy: +> create database `msn-proxy`; +> grant all privileges on `msn-proxy`.* to `msn-proxy`@localhost identified by 'secret'; +> flush privileges; + +Pay attention at "`" and "'" differences on mysql commands. + +At first run, msn-proxy will check and create the mysql tables, after that +insert the default configuration (with your real proxy ip): + +> insert into defaults (internal_host) values ('192.168.0.1'); + +Now the proxy should be ready to run, just redirect the msn clients to +the proxy (all connections to the port 1863 should be redirect at your +gateway / firewall). + +(text from %%DOCSDIR%%/INSTALL) + +------------------------------------------------ + diff -urN msn-proxy-orig/pkg-plist msn-proxy/pkg-plist --- msn-proxy-orig/pkg-plist 2008-01-27 10:09:09.000000000 -0200 +++ msn-proxy/pkg-plist 2008-01-27 11:15:22.000000000 -0200 @@ -7,8 +7,38 @@ etc/msn-proxy/mysql/tables/contact_groups etc/msn-proxy/msn-proxy.conf bin/msn-proxy +%%WWWDIR%%/ajax.inc.php +%%WWWDIR%%/al.inc.php +%%WWWDIR%%/bl.inc.php +%%WWWDIR%%/chat-to.php +%%WWWDIR%%/chat.php +%%WWWDIR%%/conf.php +%%WWWDIR%%/default.array.cmd.inc.php +%%WWWDIR%%/default.array.option.inc.php +%%WWWDIR%%/default.array.status.inc.php +%%WWWDIR%%/fl.inc.php +%%WWWDIR%%/group.inc.php +%%WWWDIR%%/header.inc.php +%%WWWDIR%%/index.php +%%WWWDIR%%/mysql.inc.php +%%WWWDIR%%/save_contact_op.php +%%WWWDIR%%/save_default_op.php +%%WWWDIR%%/save_msg.php +%%WWWDIR%%/save_user_op.php +%%WWWDIR%%/user.php +%%WWWDIR%%/view-to.php +%%WWWDIR%%/view.php +%%WWWDIR%%/imagens/ausente.gif +%%WWWDIR%%/imagens/notinlist.png +%%WWWDIR%%/imagens/ocupado.gif +%%WWWDIR%%/imagens/offline.gif +%%WWWDIR%%/imagens/online.gif +%%WWWDIR%%/imagens/send_im.gif +%%WWWDIR%%/imagens/webcam.png %%PORTDOCS%%%%DOCSDIR%%/INSTALL %%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrmtry etc/msn-proxy/mysql/tables @dirrmtry etc/msn-proxy/mysql @dirrmtry etc/msn-proxy +@dirrmtry %%WWWDIR%%/imagens +@dirrmtry %%WWWDIR%% >Release-Note: >Audit-Trail: >Unformatted: