aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authortobik <tobik@FreeBSD.org>2018-08-18 21:15:18 +0800
committertobik <tobik@FreeBSD.org>2018-08-18 21:15:18 +0800
commit776df01da14778c1c37cd383479954ca18bafe67 (patch)
treef314cd17b7b0110275d2ce80c8cdb9e4d313831b /net-im
parente2f5adb7d725d993f85ba55ed2e077274a204c1d (diff)
downloadfreebsd-ports-gnome-776df01da14778c1c37cd383479954ca18bafe67.tar.gz
freebsd-ports-gnome-776df01da14778c1c37cd383479954ca18bafe67.tar.zst
freebsd-ports-gnome-776df01da14778c1c37cd383479954ca18bafe67.zip
Remove net-im/tox12
After r472992 the last consumer net-im/uTox now uses net-im/tox Approved by: thierry (maintainer)
Diffstat (limited to 'net-im')
-rw-r--r--net-im/Makefile1
-rw-r--r--net-im/tox12/Makefile67
-rw-r--r--net-im/tox12/distinfo3
-rw-r--r--net-im/tox12/files/patch-CMakeLists.txt26
-rw-r--r--net-im/tox12/files/patch-toxcore_ccompat.h11
-rw-r--r--net-im/tox12/files/tox-bootstrapd.in42
-rw-r--r--net-im/tox12/pkg-descr9
-rw-r--r--net-im/tox12/pkg-message.daemon4
-rw-r--r--net-im/tox12/pkg-plist59
9 files changed, 0 insertions, 222 deletions
diff --git a/net-im/Makefile b/net-im/Makefile
index b83de1077bf4..13e98f939307 100644
--- a/net-im/Makefile
+++ b/net-im/Makefile
@@ -207,7 +207,6 @@
SUBDIR += tkabber-plugins
SUBDIR += toot
SUBDIR += tox
- SUBDIR += tox12
SUBDIR += toxbot
SUBDIR += toxic
SUBDIR += toxins
diff --git a/net-im/tox12/Makefile b/net-im/tox12/Makefile
deleted file mode 100644
index cce9d667f480..000000000000
--- a/net-im/tox12/Makefile
+++ /dev/null
@@ -1,67 +0,0 @@
-# Created by: Thierry Thomas <thierry@pompo.net>
-# $FreeBSD$
-
-PORTNAME= toxcore
-PORTVERSION= 0.1.11
-DISTVERSIONPREFIX= v
-PORTREVISION= 3
-PORTEPOCH= 1
-CATEGORIES= net-im net-p2p
-PKGNAMESUFFIX= -legacy
-
-MAINTAINER= thierry@FreeBSD.org
-COMMENT= ProjectTox-Core library, a decentralized and secure messenger (legacy)
-
-LICENSE= GPLv3
-
-BUILD_DEPENDS= checkmk:devel/check
-LIB_DEPENDS= libvpx.so:multimedia/libvpx \
- libsndfile.so:audio/libsndfile \
- libsodium.so:security/libsodium \
- libopencv_core.so:graphics/opencv-core \
- libopus.so:audio/opus \
- libconfig.so:devel/libconfig
-TEST_DEPENDS= ${LOCALBASE}/lib/libmsgpackc.so:devel/msgpack \
- ${LOCALBASE}/lib/libportaudio.so:audio/portaudio
-
-CONFLICTS= tox-0.2*
-
-USE_GITHUB= yes
-GH_ACCOUNT= TokTok
-GH_PROJECT= c-toxcore
-
-USES= cmake compiler:c11 libtool pathfix pkgconfig
-USE_LDCONFIG= yes
-PLIST_SUB= VER=${PORTVERSION:C/0.//}.0 SO=1
-
-OPTIONS_DEFINE= DAEMON
-OPTIONS_SUB= yes
-
-DAEMON_DESC= Bootstrap daemon
-DAEMON_CMAKE_ON= -DBOOTSTRAP_DAEMON=on
-DAEMON_LIB_DEPENDS= libconfig.so:devel/libconfig
-
-TEST_TARGET= test
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDAEMON}
-USERS= toxdht
-USE_RC_SUBR= tox-bootstrapd
-SUB_LIST= TOXDHT=${USERS}
-PLIST_SUB+= TOXDHT=${USERS}
-KEYS_DIR= /var/lib/tox-bootstrapd
-PID_DIR= /var/run/tox-bootstrapd
-PKGMESSAGE= ${PKGDIR}/pkg-message.daemon
-.endif
-
-post-install:
-.if ${PORT_OPTIONS:MDAEMON}
- ${INSTALL_PROGRAM} ${WRKSRC}/tox-bootstrapd ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/other/bootstrap_daemon/tox-bootstrapd.conf \
- ${STAGEDIR}${PREFIX}/etc/tox-bootstrapd.conf.sample
- ${MKDIR} ${STAGEDIR}${KEYS_DIR}
- ${MKDIR} ${STAGEDIR}${PID_DIR}
-.endif
-
-.include <bsd.port.mk>
diff --git a/net-im/tox12/distinfo b/net-im/tox12/distinfo
deleted file mode 100644
index 14ea3a2af55e..000000000000
--- a/net-im/tox12/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1514391164
-SHA256 (TokTok-c-toxcore-v0.1.11_GH0.tar.gz) = 85b6184a160c343616e3253a0bf728cfe1588e73b6d6f8772aa1e44061e41b10
-SIZE (TokTok-c-toxcore-v0.1.11_GH0.tar.gz) = 458597
diff --git a/net-im/tox12/files/patch-CMakeLists.txt b/net-im/tox12/files/patch-CMakeLists.txt
deleted file mode 100644
index 28e07d41f71c..000000000000
--- a/net-im/tox12/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,26 +0,0 @@
---- CMakeLists.txt.orig 2017-12-27 18:43:18 UTC
-+++ CMakeLists.txt
-@@ -349,23 +349,6 @@ if(NOT SPECTEST)
- endif()
- endif()
-
--if(MSGPACK_FOUND)
-- add_c_executable(toxcore-sut
-- testing/hstox/binary_decode.c
-- testing/hstox/binary_encode.c
-- testing/hstox/driver.c
-- testing/hstox/methods.c
-- testing/hstox/packet_kinds.c
-- testing/hstox/test_main.c
-- testing/hstox/util.c)
-- target_link_modules(toxcore-sut
-- toxcore
-- ${MSGPACK_LIBRARIES})
-- if(SPECTEST)
-- add_test(NAME spectest COMMAND ${SPECTEST} $<TARGET_FILE:toxcore-sut>)
-- endif()
--endif()
--
- ################################################################################
- #
- # :: Automated regression tests
diff --git a/net-im/tox12/files/patch-toxcore_ccompat.h b/net-im/tox12/files/patch-toxcore_ccompat.h
deleted file mode 100644
index cf5ec0f15006..000000000000
--- a/net-im/tox12/files/patch-toxcore_ccompat.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- toxcore/ccompat.h.orig 2017-04-27 18:20:19 UTC
-+++ toxcore/ccompat.h
-@@ -29,8 +29,6 @@
- // Emulation using alloca.
- #ifdef _WIN32
- #include <malloc.h>
--#else
--#include <alloca.h>
- #endif
-
- #define VLA(type, name, size) \
diff --git a/net-im/tox12/files/tox-bootstrapd.in b/net-im/tox12/files/tox-bootstrapd.in
deleted file mode 100644
index 0bfb82e8d2cf..000000000000
--- a/net-im/tox12/files/tox-bootstrapd.in
+++ /dev/null
@@ -1,42 +0,0 @@
-#! /bin/sh
-#
-# $FreeBSD$
-#
-
-# PROVIDE: tox_bootstrapd
-# REQUIRE: NETWORKING DAEMON
-# KEYWORD: shutdown
-
-# Add the following line to /etc/rc.conf to enable `tox-bootstrapd':
-#
-#tox_bootstrapd_enable="YES"
-#
-
-. /etc/rc.subr
-
-name="tox_bootstrapd"
-rcvar=tox_bootstrapd_enable
-
-# read settings, set default values
-load_rc_config "${name}"
-: ${tox_bootstrapd_enable="NO"}
-
-required_files=${tox_bootstrapd_config:="%%PREFIX%%/etc/tox-bootstrapd.conf"}
-_pidprefix="/var/run/tox-bootstrapd"
-pidfile=${tox_bootstrapd_pidfile:="$_pidprefix/tox-bootstrapd.pid"}
-long_name="Tox DHT bootstrap daemon."
-tox_bootstrapd_user="%%TOXDHT%%"
-command="%%PREFIX%%/bin/tox-bootstrapd"
-command_args="--config ${tox_bootstrapd_config}"
-
-stop_cmd=${name}_stop
-
-# Cannot use the regular stop() because the daemon forks
-tox_bootstrapd_stop() {
- [ -f $pidfile ] || (echo "$name not running?"; exit 1)
- echo "Stopping $long_name"
- kill `ps ax | grep $command | grep -v grep | awk '{print $1}'`
- rm -f $pidfile
-}
-
-run_rc_command "$1"
diff --git a/net-im/tox12/pkg-descr b/net-im/tox12/pkg-descr
deleted file mode 100644
index 72979b3c0b1c..000000000000
--- a/net-im/tox12/pkg-descr
+++ /dev/null
@@ -1,9 +0,0 @@
-Tox is a decentralized, secure messenger with audio and video chat capabilities.
-You can see it as an alternative to Skype.
-
-This is only the core library. To use it, you have to install a client, like
-e.g. net-im/toxic, net-im/qTox or net-im/uTox.
-
-This legacy version must be used only with uTox (untill a new release).
-
-WWW: http://tox.chat/
diff --git a/net-im/tox12/pkg-message.daemon b/net-im/tox12/pkg-message.daemon
deleted file mode 100644
index e5e85be67b94..000000000000
--- a/net-im/tox12/pkg-message.daemon
+++ /dev/null
@@ -1,4 +0,0 @@
-
-Warning: your public key will be logged at the level INFO. Check that your
-/etc/syslog is configured to log these messages if you need it (to publicize
-it).
diff --git a/net-im/tox12/pkg-plist b/net-im/tox12/pkg-plist
deleted file mode 100644
index e295da0bee21..000000000000
--- a/net-im/tox12/pkg-plist
+++ /dev/null
@@ -1,59 +0,0 @@
-%%DAEMON%%bin/tox-bootstrapd
-%%DAEMON%%@sample etc/tox-bootstrapd.conf.sample
-include/tox/tox.h
-include/tox/toxav.h
-include/tox/toxdns.h
-include/tox/toxencryptsave.h
-lib/libtoxav.a
-lib/libtoxav.so
-lib/libtoxav.so.%%SO%%
-lib/libtoxav.so.%%VER%%
-lib/libtoxcore.a
-lib/libtoxcore.so
-lib/libtoxcore.so.%%SO%%
-lib/libtoxcore.so.%%VER%%
-lib/libtoxcrypto.a
-lib/libtoxcrypto.so
-lib/libtoxcrypto.so.%%SO%%
-lib/libtoxcrypto.so.%%VER%%
-lib/libtoxdht.a
-lib/libtoxdht.so
-lib/libtoxdht.so.%%SO%%
-lib/libtoxdht.so.%%VER%%
-lib/libtoxdns.a
-lib/libtoxdns.so
-lib/libtoxdns.so.%%SO%%
-lib/libtoxdns.so.%%VER%%
-lib/libtoxencryptsave.a
-lib/libtoxencryptsave.so
-lib/libtoxencryptsave.so.%%SO%%
-lib/libtoxencryptsave.so.%%VER%%
-lib/libtoxfriends.a
-lib/libtoxfriends.so
-lib/libtoxfriends.so.%%SO%%
-lib/libtoxfriends.so.%%VER%%
-lib/libtoxgroup.a
-lib/libtoxgroup.so
-lib/libtoxgroup.so.%%SO%%
-lib/libtoxgroup.so.%%VER%%
-lib/libtoxmessenger.a
-lib/libtoxmessenger.so
-lib/libtoxmessenger.so.%%SO%%
-lib/libtoxmessenger.so.%%VER%%
-lib/libtoxnetcrypto.a
-lib/libtoxnetcrypto.so
-lib/libtoxnetcrypto.so.%%SO%%
-lib/libtoxnetcrypto.so.%%VER%%
-lib/libtoxnetwork.a
-lib/libtoxnetwork.so
-lib/libtoxnetwork.so.%%SO%%
-lib/libtoxnetwork.so.%%VER%%
-libdata/pkgconfig/libtoxav.pc
-libdata/pkgconfig/libtoxcore.pc
-libdata/pkgconfig/toxav.pc
-libdata/pkgconfig/toxcore.pc
-libdata/pkgconfig/toxdns.pc
-libdata/pkgconfig/toxencryptsave.pc
-%%DAEMON%%@dir(%%TOXDHT%%,nobody,755) /var/run/tox-bootstrapd
-%%DAEMON%%@dir(%%TOXDHT%%,nobody,700) /var/lib/tox-bootstrapd
-%%DAEMON%%@dir /var/lib