- Update to 0.7

PR:		132932
Submitted by:	Luiz Otavio O Souza <loos.br@gmail.com> (maintainer)
This commit is contained in:
Martin Wilke 2009-03-22 15:40:07 +00:00
parent 755c293dc3
commit 8da4df5b88
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=230673
3 changed files with 25 additions and 60 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= msn-proxy
PORTVERSION= 0.6.3
PORTVERSION= 0.7
CATEGORIES= net-im
MASTER_SITES= SF
@ -15,50 +15,27 @@ COMMENT= Messenger proxy/control daemon
LIB_DEPENDS= event-1.4:${PORTSDIR}/devel/libevent
OPTIONS+= MYSQL "Use MySQL database version" off
OPTIONS+= PGSQL "Use Postgresql (pgsql) database version" on
WRKSRC= ${WRKDIR}/${PORTNAME}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
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 \
MSNPROXYWWW= js.inc.php lists.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 save_contact_op.php save_default_op.php \
save_msg.php save_user_op.php user.php view-to.php view.php \
user.inc.php
user.inc.php mysql.inc.php class.ctl.php .htaccess
MSNPROXYIMG= ausente.gif block.gif notinlist.png ocupado.gif offline.gif \
online.gif send_im.gif webcam.png
SUB_FILES= pkg-message-mysql
WANT_PHP_WEB= yes
USE_PHP= session sockets
USE_PHP= mysql session sockets
USE_MYSQL= yes
MAKE_ARGS= SYSCONFDIR=$(DESTDIR)${PREFIX}/etc/msn-proxy \
BINDIR=$(DESTDIR)${PREFIX}/bin
.include <bsd.port.pre.mk>
.if defined(WITH_PGSQL)
DISTVERSIONSUFFIX= -pgsql
MSNPROXYWWW+= pgsql.inc.php
SUB_FILES= pkg-message-pgsql
USE_PGSQL= yes
USE_PHP+= pgsql
PLIST_SUB+= PGSQL=""
.else
PLIST_SUB+= PGSQL="@comment "
.endif
.if defined(WITH_MYSQL)
DISTVERSIONSUFFIX= -mysql
MSNPROXYWWW+= mysql.inc.php
SUB_FILES= pkg-message-mysql
USE_MYSQL= yes
USE_PHP+= mysql
PLIST_SUB+= MYSQL=""
.else
PLIST_SUB+= MYSQL="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/config.h

View file

@ -1,6 +1,3 @@
MD5 (msn-proxy-0.6.3-mysql.tar.gz) = 1b143133d3462b3a6fdc22dc77e3df5a
SHA256 (msn-proxy-0.6.3-mysql.tar.gz) = 6a56785e527625ef409deb34b7872627d5c7073e7f159d7035a37d0d8b01b572
SIZE (msn-proxy-0.6.3-mysql.tar.gz) = 83567
MD5 (msn-proxy-0.6.3-pgsql.tar.gz) = 536d7c764e94708f6b839a9852a2a2b1
SHA256 (msn-proxy-0.6.3-pgsql.tar.gz) = 1a96e749ee23d3464432f454c2948d8468d57f6a44c3ddbce769b7b13150c646
SIZE (msn-proxy-0.6.3-pgsql.tar.gz) = 83405
MD5 (msn-proxy-0.7.tar.gz) = 11faa72c70c36874685ca1b0ed382dcc
SHA256 (msn-proxy-0.7.tar.gz) = 0752c7f13f0e57fd71239dc0ff33f1ab94cebb5ffc0fe6e4c87c12e70a6dae83
SIZE (msn-proxy-0.7.tar.gz) = 87480

View file

@ -1,11 +1,12 @@
bin/msn-proxy
%%ETCDIR%%/msn-proxy.conf
%%WWWDIR%%/ajax.inc.php
%%WWWDIR%%/al.inc.php
%%WWWDIR%%/bl.inc.php
%%WWWDIR%%/.htaccess
%%WWWDIR%%/js.inc.php
%%WWWDIR%%/lists.inc.php
%%WWWDIR%%/chat-to.php
%%WWWDIR%%/chat.php
%%WWWDIR%%/conf.php
%%WWWDIR%%/class.ctl.php
%%WWWDIR%%/default.array.cmd.inc.php
%%WWWDIR%%/default.array.option.inc.php
%%WWWDIR%%/default.array.status.inc.php
@ -31,26 +32,16 @@ bin/msn-proxy
%%WWWDIR%%/imagens/webcam.png
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%PGSQL%%%%ETCDIR%%/pgsql/conf
%%PGSQL%%%%ETCDIR%%/pgsql/tables/sb
%%PGSQL%%%%ETCDIR%%/pgsql/tables/log
%%PGSQL%%%%ETCDIR%%/pgsql/tables/users
%%PGSQL%%%%ETCDIR%%/pgsql/tables/contacts
%%PGSQL%%%%ETCDIR%%/pgsql/tables/defaults
%%PGSQL%%%%ETCDIR%%/pgsql/tables/contact_groups
%%PGSQL%%%%WWWDIR%%/pgsql.inc.php
%%MYSQL%%%%ETCDIR%%/mysql/conf
%%MYSQL%%%%ETCDIR%%/mysql/tables/sb
%%MYSQL%%%%ETCDIR%%/mysql/tables/log
%%MYSQL%%%%ETCDIR%%/mysql/tables/users
%%MYSQL%%%%ETCDIR%%/mysql/tables/contacts
%%MYSQL%%%%ETCDIR%%/mysql/tables/defaults
%%MYSQL%%%%ETCDIR%%/mysql/tables/contact_groups
%%MYSQL%%%%WWWDIR%%/mysql.inc.php
%%PGSQL%%@dirrmtry %%ETCDIR%%/pgsql/tables
%%PGSQL%%@dirrmtry %%ETCDIR%%/pgsql
%%MYSQL%%@dirrmtry %%ETCDIR%%/mysql/tables
%%MYSQL%%@dirrmtry %%ETCDIR%%/mysql
%%ETCDIR%%/mysql/conf
%%ETCDIR%%/mysql/tables/sb
%%ETCDIR%%/mysql/tables/log
%%ETCDIR%%/mysql/tables/users
%%ETCDIR%%/mysql/tables/contacts
%%ETCDIR%%/mysql/tables/defaults
%%ETCDIR%%/mysql/tables/contact_groups
%%WWWDIR%%/mysql.inc.php
@dirrmtry %%ETCDIR%%/mysql/tables
@dirrmtry %%ETCDIR%%/mysql
@dirrmtry %%ETCDIR%%
@dirrmtry %%WWWDIR%%/imagens
@dirrmtry %%WWWDIR%%