Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Mar 2018 08:15:01 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r463872 - in head/net-im: . toxins
Message-ID:  <201803080815.w288F1Bl085364@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Thu Mar  8 08:15:01 2018
New Revision: 463872
URL: https://svnweb.freebsd.org/changeset/ports/463872

Log:
  New port: net-im/toxins: Collection of small programs using toxcore
  
  Approved by:	tcberner (mentor, implicit)

Added:
  head/net-im/toxins/
  head/net-im/toxins/Makefile   (contents, props changed)
  head/net-im/toxins/distinfo   (contents, props changed)
  head/net-im/toxins/pkg-descr   (contents, props changed)
Modified:
  head/net-im/Makefile

Modified: head/net-im/Makefile
==============================================================================
--- head/net-im/Makefile	Thu Mar  8 08:07:29 2018	(r463871)
+++ head/net-im/Makefile	Thu Mar  8 08:15:01 2018	(r463872)
@@ -197,6 +197,7 @@
     SUBDIR += tox
     SUBDIR += tox12
     SUBDIR += toxic
+    SUBDIR += toxins
     SUBDIR += turpial
     SUBDIR += twirssi
     SUBDIR += twitmail

Added: head/net-im/toxins/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/toxins/Makefile	Thu Mar  8 08:15:01 2018	(r463872)
@@ -0,0 +1,35 @@
+# $FreeBSD$
+
+PORTNAME=	toxins
+DISTVERSION=	g20180214
+CATEGORIES=	net-im
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Collection of small programs using toxcore
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
+
+LIB_DEPENDS=	libsodium.so:security/libsodium \
+		libtoxcore.so:net-im/tox
+
+USES=		gmake pkgconfig
+USE_GITHUB=	yes
+GH_ACCOUNT=	TokTok
+GH_TAGNAME=	e7bb43c
+ALL_TARGET=	build
+
+PROGS=		irc_syncbot tox_shell tox_sync echobot
+
+PLIST_FILES=	${PROGS:S/^/bin\//}
+
+post-patch:
+	@${RM} -r ${WRKSRC}/toxvpn # will be in a separate port
+	@${REINPLACE_CMD} -e 's|-static -ltoxcore|`pkg-config --cflags --libs toxcore`|' ${WRKSRC}/*/Makefile
+
+do-install:
+.for f in ${PROGS}
+	${INSTALL_PROGRAM} ${WRKSRC}/${f}/${f} ${STAGEDIR}${PREFIX}/bin/${f}
+.endfor
+
+.include <bsd.port.mk>

Added: head/net-im/toxins/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/toxins/distinfo	Thu Mar  8 08:15:01 2018	(r463872)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1520496023
+SHA256 (TokTok-toxins-g20180214-e7bb43c_GH0.tar.gz) = 481efdfe6eb33feb16c161cd169305c53f671de367b418006936688b4cd160a6
+SIZE (TokTok-toxins-g20180214-e7bb43c_GH0.tar.gz) = 23606

Added: head/net-im/toxins/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/toxins/pkg-descr	Thu Mar  8 08:15:01 2018	(r463872)
@@ -0,0 +1,12 @@
+A collection of small utilities, mostly written in C or C++, that use toxcore.
+
+List of toxins:
+* irc_syncbot: Bot that synchronizes an IRC channel and a Tox group chat
+  (conference).
+* tox_shell: Proof of concept SSH-like server software using Tox. Testing
+  program, not intended for actual use.
+* tox_sync: Bittorrent-sync-like software using Tox. Syncs two directories
+  together.
+* echobot: Bot that accepts all friend requests and echoes all messages.
+
+WWW: https://github.com/TokTok/toxins



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803080815.w288F1Bl085364>