FreeBSD Bugzilla – Attachment 84100 Details for
Bug 120042
[maintainer update] net-im/msn-proxy: port does not intall all needed files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 3.75 KB, created by
Luiz Otavio O Souza
on 2008-01-27 14:10:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Luiz Otavio O Souza
Created:
2008-01-27 14:10:02 UTC
Size:
3.75 KB
patch
obsolete
>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 <bsd.port.mk> >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%%
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 120042
: 84100