summaryrefslogtreecommitdiff
path: root/chat/toxcore
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2018-07-30 18:58:43 +0000
committerjperkin <jperkin@pkgsrc.org>2018-07-30 18:58:43 +0000
commite8193b393ff5a3ab86c915e2a4248ac0165aa03d (patch)
treed8d468eb81a2e0deee68f5e01cfd4ae056573231 /chat/toxcore
parenta2be3267ac796ab7c8eb709ea325a70661618d38 (diff)
downloadpkgsrc-e8193b393ff5a3ab86c915e2a4248ac0165aa03d.tar.gz
toxcore: Import new package, version 0.2.4.
Packaged initially in wip and updated by iphydf (toxcore author) in joyent/pkgsrc-wip#98. Toxcore is a p2p network level library that provides encrypted communication and data transfer between peers who can find each other anonymously through a DHT. The peers are identified with a 256 bit public key to be used for message encryption. The protocol specification can be found at https://toktok.ltd/spec.
Diffstat (limited to 'chat/toxcore')
-rw-r--r--chat/toxcore/DESCR5
-rw-r--r--chat/toxcore/Makefile23
-rw-r--r--chat/toxcore/PLIST10
-rw-r--r--chat/toxcore/buildlink3.mk16
-rw-r--r--chat/toxcore/distinfo6
5 files changed, 60 insertions, 0 deletions
diff --git a/chat/toxcore/DESCR b/chat/toxcore/DESCR
new file mode 100644
index 00000000000..ff02521187c
--- /dev/null
+++ b/chat/toxcore/DESCR
@@ -0,0 +1,5 @@
+Toxcore is a p2p network level library that provides encrypted
+communication and data transfer between peers who can find each
+other anonymously through a DHT. The peers are identified with
+a 256 bit public key to be used for message encryption. The
+protocol specification can be found at https://toktok.ltd/spec.
diff --git a/chat/toxcore/Makefile b/chat/toxcore/Makefile
new file mode 100644
index 00000000000..c614af5fded
--- /dev/null
+++ b/chat/toxcore/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2018/07/30 18:58:43 jperkin Exp $
+
+DISTNAME= toxcore-0.2.4
+CATEGORIES= chat
+MASTER_SITES= ${MASTER_SITE_GITHUB:=TokTok/}
+GITHUB_PROJECT= c-toxcore
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://tox.chat/
+COMMENT= Tox protocol library
+LICENSE= gnu-gpl-v3
+
+USE_CMAKE= yes
+USE_LANGUAGES= c c++
+USE_TOOLS= pkg-config
+TEST_TARGET= test
+
+.include "../../audio/libopus/buildlink3.mk"
+.include "../../devel/libconfig/buildlink3.mk"
+.include "../../multimedia/libvpx/buildlink3.mk"
+.include "../../security/libsodium/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/chat/toxcore/PLIST b/chat/toxcore/PLIST
new file mode 100644
index 00000000000..1ef3498e4e1
--- /dev/null
+++ b/chat/toxcore/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2018/07/30 18:58:43 jperkin Exp $
+bin/tox-bootstrapd
+include/tox/tox.h
+include/tox/toxav.h
+include/tox/toxencryptsave.h
+lib/libtoxcore.a
+lib/libtoxcore.so
+lib/libtoxcore.so.2
+lib/libtoxcore.so.2.4.0
+lib/pkgconfig/toxcore.pc
diff --git a/chat/toxcore/buildlink3.mk b/chat/toxcore/buildlink3.mk
new file mode 100644
index 00000000000..146b7ecf6e9
--- /dev/null
+++ b/chat/toxcore/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2018/07/30 18:58:43 jperkin Exp $
+
+BUILDLINK_TREE+= toxcore
+
+.if !defined(TOXCORE_BUILDLINK3_MK)
+TOXCORE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.toxcore+= toxcore>=0.2.4
+BUILDLINK_PKGSRCDIR.toxcore?= ../../chat/toxcore
+
+.include "../../audio/libopus/buildlink3.mk"
+.include "../../multimedia/libvpx/buildlink3.mk"
+.include "../../security/libsodium/buildlink3.mk"
+.endif # TOXCORE_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -toxcore
diff --git a/chat/toxcore/distinfo b/chat/toxcore/distinfo
new file mode 100644
index 00000000000..3e726983ea2
--- /dev/null
+++ b/chat/toxcore/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/07/30 18:58:43 jperkin Exp $
+
+SHA1 (toxcore-0.2.4.tar.gz) = 2fbc29180f774d35e387447d3c25c74f86578a24
+RMD160 (toxcore-0.2.4.tar.gz) = fd4404fdd9f5484cccfff022faaa9b218f64836f
+SHA512 (toxcore-0.2.4.tar.gz) = 322a5970087cd149f5c037ad4463eb34edfcc074dd76f7d63b117af93ee813922855380afbe0cda4cf39fd16f177eedee18a8e453ed14915321f9cec8ae7679d
+Size (toxcore-0.2.4.tar.gz) = 479618 bytes