1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

As compared to VyQChat in TriX such new features appears as:

files transfer, bulletin board, users avatars, logs, links
navigation, broadcast and multicast type of connection, search
by IP address and many other, a few more features not listed here.
Now TriX is compatible with the version 2.0 of the Vypress Chat
protocol developed by VyPRESS Research.

WWW: http://trix.sourceforge.net/

PR:		ports/123037
Submitted by:	Kozienko Aleksandr <pascalamsg at gmail.com>
This commit is contained in:
Martin Wilke 2008-06-03 13:19:58 +00:00
parent 185e66579d
commit 1f1fa3bf10
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=214241
9 changed files with 264 additions and 0 deletions

View File

@ -142,6 +142,7 @@
SUBDIR += tkabber-devel
SUBDIR += tkabber-plugins
SUBDIR += tmsnc
SUBDIR += trix
SUBDIR += vicq
SUBDIR += vqcc-gtk
SUBDIR += xfce4-messenger-plugin

37
net-im/trix/Makefile Normal file
View File

@ -0,0 +1,37 @@
# New ports collection makefile for: trix
# Date created: 17 April 2008
# Whom: Kozienko Aleksandr <pascalamsg@gmail.com>
#
# $FreeBSD$
#
PORTNAME= trix
PORTVERSION= 0.93
CATEGORIES= net-im
MAINTAINER= pascalamsg@gmail.com
COMMENT= TriX is a chat compatible with 2.0 protocol of the Vypress Chat
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
USE_QT_VER= 3
USE_GMAKE= yes
USE_PERL5= yes
USE_XLIB= yes
GNU_CONFIGURE= yes
USE_BZIP2= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS += --with-qt-dir=${QT_PREFIX} \
--with-extra-includes=${LOCALBASE}/include \
--with-extra-libs=${LOCALBASE}/lib
.if !defined(WITHOUT_PLAY)
BUILD_DEPENDS= play:${PORTSDIR}/audio/play
.endif
post-extract:
${CHMOD} 744 ${WRKSRC}/install-sh
.include <bsd.port.mk>

3
net-im/trix/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (trix-0.93.tar.bz2) = ad60f8b608fb08f8738deab69e1880f1
SHA256 (trix-0.93.tar.bz2) = cf9e2df926277b79227900817e289e8fcf242922b3f233bb7d037e95cb3a3dd4
SIZE (trix-0.93.tar.bz2) = 1050048

View File

@ -0,0 +1,8 @@
--- src/crypto.cpp.orig 2008-01-04 18:25:54.000000000 +0200
+++ src/crypto.cpp 2008-04-21 01:30:02.000000000 +0300
@@ -1,4 +1,5 @@
#include "crypto.h"
+typedef unsigned int uint;
//#include <iostream>
PROV_ENUMALGS_EX aProvEnumAlgsEx[4][RSAENH_MAX_ENUMALGS+1] =

View File

@ -0,0 +1,29 @@
--- src/settings.cpp.orig 2008-01-04 18:25:54.000000000 +0200
+++ src/settings.cpp 2008-04-24 00:55:06.000000000 +0300
@@ -8,15 +8,12 @@
#include <unistd.h>
#include <sys/ioctl.h>
-#include <net/if.h>
+#include <netinet/in.h>
#include <sys/socket.h>
+#include <net/if.h>
#include <sys/types.h>
#include <arpa/inet.h>
-
-#ifdef FREEBSD
#include <net/route.h>
-#include <netinet/in.h>
-#endif
#endif
@@ -279,7 +276,7 @@
#if defined ( WIN32 )
def_playcmd = "";
#else
- def_playcmd = "/usr/bin/aplay";
+ def_playcmd = "/usr/local/bin/play";
#endif
def_snd[Sound::Chatline] = datapath + "snd/chatline.wav";
def_snd[Sound::Beep] = datapath + "snd/beep.wav";

View File

@ -0,0 +1,37 @@
--- src/xxxprotocol.cpp.orig 2008-01-04 18:25:54.000000000 +0200
+++ src/xxxprotocol.cpp 2008-04-21 01:19:07.000000000 +0300
@@ -8,6 +8,7 @@
#include <quuid.h>
#include <qsocketnotifier.h>
#include <qmessagebox.h>
+#include <sys/param.h>
#ifdef WIN32
#include <winsock.h>
#else
@@ -21,7 +22,7 @@
#include <fcntl.h>
#endif
-#ifdef FREEBSD
+#ifdef BSD
#include <err.h>
#include <errno.h>
#include <net/if.h>
@@ -223,7 +224,7 @@
QString XXXProtocol::getHWAddr(const QString& addr, const QString& iface)
{
QString macaddr(tr("Unknown"));
-#if defined( FREEBSD )
+#if defined( BSD )
struct sockaddr_inarp addr_inarp;
bzero(&addr_inarp, sizeof(addr_inarp));
@@ -265,7 +266,7 @@
return macaddr;
}
-#if defined( FREEBSD )
+#if defined( BSD )
struct sockaddr_dl * XXXProtocol::search(u_long addr)
{
int mib[6];

View File

@ -0,0 +1,20 @@
--- src/xxxprotocol.h.orig 2008-01-04 18:25:54.000000000 +0200
+++ src/xxxprotocol.h 2008-04-21 01:20:02.000000000 +0300
@@ -4,7 +4,7 @@
#include "global.h"
#include "tcpsocket.h"
#include "crypto.h"
-
+#include <sys/param.h>
#ifdef WIN32
#include <winsock.h>
#endif
@@ -31,7 +31,7 @@
uint port;
int recvsd; //UDP socket
-#if defined( FREEBSD )
+#if defined( BSD )
struct sockaddr_dl *search(u_long addr);
#endif

9
net-im/trix/pkg-descr Normal file
View File

@ -0,0 +1,9 @@
As compared to VyQChat in TriX such new features appears as:
files transfer, bulletin board, users avatars, logs, links
navigation, broadcast and multicast type of connection, search
by IP address and many other, a few more features not listed here.
Now TriX is compatible with the version 2.0 of the Vypress Chat
protocol developed by VyPRESS Research.
WWW: http://trix.sourceforge.net/

120
net-im/trix/pkg-plist Normal file
View File

@ -0,0 +1,120 @@
bin/trix
share/trix/avatars/bird.gif
share/trix/avatars/blue_angel.jpg
share/trix/avatars/blue_sky.jpg
share/trix/avatars/dark.jpg
share/trix/avatars/dark_angel.jpg
share/trix/avatars/edward.gif
share/trix/avatars/female_face_1.jpg
share/trix/avatars/hand.jpg
share/trix/avatars/red.jpg
share/trix/avatars/tekila.jpg
share/trix/avatars/white_angel.jpg
share/trix/gfx/about.png
share/trix/gfx/angel.png
share/trix/gfx/angry.png
share/trix/gfx/automessage.png
share/trix/gfx/bat.png
share/trix/gfx/beep.png
share/trix/gfx/beer.png
share/trix/gfx/boardnormal.png
share/trix/gfx/cake.png
share/trix/gfx/cat.png
share/trix/gfx/cbblank.png
share/trix/gfx/cbchecked.png
share/trix/gfx/chnlalert.png
share/trix/gfx/chnlnormal.png
share/trix/gfx/clear.png
share/trix/gfx/clock.png
share/trix/gfx/cocktail.png
share/trix/gfx/colors.png
share/trix/gfx/confused.png
share/trix/gfx/copy.png
share/trix/gfx/cry.png
share/trix/gfx/cup.png
share/trix/gfx/decrypted.png
share/trix/gfx/default.png
share/trix/gfx/devil.png
share/trix/gfx/dog.png
share/trix/gfx/down.png
share/trix/gfx/downarrows.png
share/trix/gfx/dude_hug.png
share/trix/gfx/edit.png
share/trix/gfx/editclear.png
share/trix/gfx/editcut.png
share/trix/gfx/editpaste.png
share/trix/gfx/embarassed.png
share/trix/gfx/encrypted.png
share/trix/gfx/exit.png
share/trix/gfx/female.png
share/trix/gfx/film.png
share/trix/gfx/find.png
share/trix/gfx/fonts.png
share/trix/gfx/forward.png
share/trix/gfx/gear.png
share/trix/gfx/girl_hug.png
share/trix/gfx/info.png
share/trix/gfx/kiss.png
share/trix/gfx/leave.png
share/trix/gfx/lightbulb.png
share/trix/gfx/locale.png
share/trix/gfx/logo.png
share/trix/gfx/love.png
share/trix/gfx/mail.png
share/trix/gfx/male.png
share/trix/gfx/massmessage.png
share/trix/gfx/message.png
share/trix/gfx/network.png
share/trix/gfx/new.png
share/trix/gfx/normal.png
share/trix/gfx/notify.png
share/trix/gfx/omg.png
share/trix/gfx/phone.png
share/trix/gfx/photo.png
share/trix/gfx/present.png
share/trix/gfx/prvalert.png
share/trix/gfx/prvnormal.png
share/trix/gfx/refresh.png
share/trix/gfx/rose.png
share/trix/gfx/sad.png
share/trix/gfx/save.png
share/trix/gfx/saveas.png
share/trix/gfx/saynick.png
share/trix/gfx/send.png
share/trix/gfx/settings.png
share/trix/gfx/shade.png
share/trix/gfx/sleep.png
share/trix/gfx/smile.png
share/trix/gfx/smiletris.png
share/trix/gfx/sound.png
share/trix/gfx/star.png
share/trix/gfx/switchuser.png
share/trix/gfx/sysmsg.png
share/trix/gfx/teeth.png
share/trix/gfx/thumbs_down.png
share/trix/gfx/thumbs_up.png
share/trix/gfx/tongue.png
share/trix/gfx/trash.png
share/trix/gfx/trayntfy.png
share/trix/gfx/unlove.png
share/trix/gfx/uparrows.png
share/trix/gfx/useraway.png
share/trix/gfx/userdnd.png
share/trix/gfx/useroffline.png
share/trix/gfx/users.png
share/trix/gfx/wilted_rose.png
share/trix/gfx/wink.png
share/trix/gfx/xedit.png
share/trix/snd/beep.wav
share/trix/snd/chatline.wav
share/trix/snd/join.wav
share/trix/snd/leave.wav
share/trix/snd/message.wav
share/trix/tr/trix_bg.qm
share/trix/tr/trix_en.qm
share/trix/tr/trix_ru.qm
@dirrm share/trix/tr
@dirrm share/trix/snd
@dirrm share/trix/gfx
@dirrm share/trix/avatars
@dirrm share/trix