From 757948ba4f166e9878c7999aae475b798d3e5ed5 Mon Sep 17 00:00:00 2001
From: Rene Ladan <rene@FreeBSD.org>
Date: Tue, 21 Aug 2018 18:17:30 +0000
Subject: Remove expired port: 2018-08-20 net-p2p/twister: Broken for more than
 5 months

---
 MOVED                                              |  1 +
 net-p2p/Makefile                                   |  1 -
 net-p2p/twister/Makefile                           | 63 ----------------------
 net-p2p/twister/distinfo                           |  2 -
 .../patch-libtorrent-include-libtorrent-config.hpp | 15 ------
 net-p2p/twister/files/patch-share_genbuild.sh      | 23 --------
 net-p2p/twister/files/patch-src_makefile.freebsd   | 11 ----
 net-p2p/twister/files/patch-src_scrypt.cpp         | 12 -----
 net-p2p/twister/pkg-descr                          | 24 ---------
 9 files changed, 1 insertion(+), 151 deletions(-)
 delete mode 100644 net-p2p/twister/Makefile
 delete mode 100644 net-p2p/twister/distinfo
 delete mode 100644 net-p2p/twister/files/patch-libtorrent-include-libtorrent-config.hpp
 delete mode 100644 net-p2p/twister/files/patch-share_genbuild.sh
 delete mode 100644 net-p2p/twister/files/patch-src_makefile.freebsd
 delete mode 100644 net-p2p/twister/files/patch-src_scrypt.cpp
 delete mode 100644 net-p2p/twister/pkg-descr

diff --git a/MOVED b/MOVED
index f7664e0d475c..6e863b66bdd6 100644
--- a/MOVED
+++ b/MOVED
@@ -10488,3 +10488,4 @@ sysutils/rubygem-fluentd010||2018-08-21|Has expired: Broken for more than 5 mont
 mail/mutt14-lite||2018-08-21|Remove expired slave port
 net/coda6_client||2018-08-21|Remove expired slave port
 net/openmq-client||2018-08-21|Remove expired slave port
+net-p2p/twister||2018-08-21|Has expired: Broken for more than 5 months
diff --git a/net-p2p/Makefile b/net-p2p/Makefile
index 8a2eda38327c..3ab9af378bc5 100644
--- a/net-p2p/Makefile
+++ b/net-p2p/Makefile
@@ -96,7 +96,6 @@
     SUBDIR += transmission-qt
     SUBDIR += transmission-remote-gui
     SUBDIR += tribler
-    SUBDIR += twister
     SUBDIR += uhub
     SUBDIR += valknut
     SUBDIR += verlihub
diff --git a/net-p2p/twister/Makefile b/net-p2p/twister/Makefile
deleted file mode 100644
index 6721fec32e0b..000000000000
--- a/net-p2p/twister/Makefile
+++ /dev/null
@@ -1,63 +0,0 @@
-# Created by: Thierry Thomas <thierry@pompo.net>
-# $FreeBSD$
-
-PORTNAME=	twister-core
-PORTVERSION=	0.9.34
-DISTVERSIONPREFIX=	v
-PORTREVISION=	12
-PORTEPOCH=	1
-CATEGORIES=	net-p2p
-
-MAINTAINER=	thierry@FreeBSD.org
-COMMENT=	Experimental peer-to-peer microblogging software
-
-LICENSE=	BSD3CLAUSE MIT
-LICENSE_COMB=	dual
-LICENSE_FILE=	${WRKSRC}/COPYING
-
-LIB_DEPENDS=	libboost_system.so:devel/boost-libs	\
-		libleveldb.so:databases/leveldb
-
-BROKEN=		fails to build with boost 1.66, see bug 224134
-DEPRECATED=	Broken for more than 5 months
-EXPIRATION_DATE=	2018-08-20
-BROKEN_powerpc64=	Does not build: /usr/bin/ld: final link failed: Bad value
-
-OPTIONS_DEFINE=	DOCS
-
-USE_GITHUB=	yes
-GH_ACCOUNT=	miguelfreitas
-
-USES=		bdb:48 autoreconf:build gmake iconv libtool ssl
-
-GNU_CONFIGURE=	yes
-CONFIGURE_WRKSRC=${WRKSRC}/libtorrent
-CONFIGURE_ARGS=	--with-libiconv			\
-		--with-boost=${LOCALBASE}	\
-		--with-boost-system=boost_system
-MAKEFILE=	makefile.freebsd
-BUILD_WRKSRC=	${WRKSRC}/src
-MAKE_ENV=	BOOST_INCLUDE_PATH=${LOCALBASE}/include	\
-		BOOST_LIB_PATH=${LOCALBASE}/lib		\
-		BDB_INCLUDE_PATH=${BDB_INCLUDE_DIR}	\
-		BDB_LIB_PATH=${BDB_LIB_DIR}		\
-		ICONV_LIB="${ICONV_LIB}"
-
-PLIST_FILES=	bin/twisterd
-PORTDOCS=	README.md
-
-post-patch:
-	@${REINPLACE_CMD} 's|%%PORTVERSION%%|${PORTVERSION}|'	\
-		${WRKSRC}/share/genbuild.sh
-
-pre-configure:
-	(cd ${CONFIGURE_WRKSRC} && ./autotool.sh)
-
-do-install:
-	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/twisterd ${STAGEDIR}${PREFIX}/bin
-
-do-install-DOCS-on:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
-
-.include <bsd.port.mk>
diff --git a/net-p2p/twister/distinfo b/net-p2p/twister/distinfo
deleted file mode 100644
index 1400e2e23bff..000000000000
--- a/net-p2p/twister/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (miguelfreitas-twister-core-v0.9.34_GH0.tar.gz) = b250508c7d1c72d1d0dcb2377f65199d1af27e3da9a0f4b4277d818304b101bf
-SIZE (miguelfreitas-twister-core-v0.9.34_GH0.tar.gz) = 6213664
diff --git a/net-p2p/twister/files/patch-libtorrent-include-libtorrent-config.hpp b/net-p2p/twister/files/patch-libtorrent-include-libtorrent-config.hpp
deleted file mode 100644
index 38f4e98e25c4..000000000000
--- a/net-p2p/twister/files/patch-libtorrent-include-libtorrent-config.hpp
+++ /dev/null
@@ -1,15 +0,0 @@
---- libtorrent/include/libtorrent/config.hpp.orig	2015-03-29 22:58:17 UTC
-+++ libtorrent/include/libtorrent/config.hpp
-@@ -204,12 +204,6 @@ POSSIBILITY OF SUCH DAMAGE.
- 
- #endif // __APPLE__
- 
--#else
--// FreeBSD has a reasonable iconv signature
--// unless we're on glibc
--#ifndef __GLIBC__
--# define TORRENT_ICONV_ARG (const char**)
--#endif
- #endif
- #define TORRENT_HAS_FALLOCATE 0
- #define TORRENT_USE_IFADDRS 1
diff --git a/net-p2p/twister/files/patch-share_genbuild.sh b/net-p2p/twister/files/patch-share_genbuild.sh
deleted file mode 100644
index 2a4f7748e186..000000000000
--- a/net-p2p/twister/files/patch-share_genbuild.sh
+++ /dev/null
@@ -1,23 +0,0 @@
---- share/genbuild.sh.orig	2014-11-29 16:20:43.000000000 +0100
-+++ share/genbuild.sh	2014-11-30 12:27:01.000000000 +0100
-@@ -11,16 +11,12 @@
-     exit 1
- fi
- 
--if [ -e "$(which git)" ]; then
--    # clean 'dirty' status of touched files that haven't been modified
--    git diff >/dev/null 2>/dev/null 
- 
--    # get a string like "v0.6.0-66-g59887e8-dirty"
--    DESC="$(git describe --dirty 2>/dev/null)"
-+# get a string like "v0.6.0-66-g59887e8-dirty"
-+DESC="v%%PORTVERSION%%"
- 
--    # get a string like "2012-04-10 16:27:19 +0200"
--    TIME="$(git log -n 1 --format="%ci")"
--fi
-+# get a string like "2012-04-10 16:27:19 +0200"
-+TIME="$(date "+%F %T %z")"
- 
- if [ -n "$DESC" ]; then
-     NEWINFO="#define BUILD_DESC \"$DESC\""
diff --git a/net-p2p/twister/files/patch-src_makefile.freebsd b/net-p2p/twister/files/patch-src_makefile.freebsd
deleted file mode 100644
index d763662b74fa..000000000000
--- a/net-p2p/twister/files/patch-src_makefile.freebsd
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/makefile.freebsd.orig	2014-06-28 13:26:56.000000000 +0200
-+++ src/makefile.freebsd	2014-07-05 20:16:28.000000000 +0200
-@@ -40,7 +40,7 @@
-    -l boost_thread$(BOOST_LIB_SUFFIX) \
-    -l boost_locale$(BOOST_LIB_SUFFIX) \
-    -l db_cxx$(BDB_LIB_SUFFIX) \
--   -l ssl \
-+   $(ICONV_LIB) -l ssl \
-    -l crypto \
-    -l rt
- 
diff --git a/net-p2p/twister/files/patch-src_scrypt.cpp b/net-p2p/twister/files/patch-src_scrypt.cpp
deleted file mode 100644
index 85d877a60d29..000000000000
--- a/net-p2p/twister/files/patch-src_scrypt.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/scrypt.cpp.orig	2014-06-28 13:26:56.000000000 +0200
-+++ src/scrypt.cpp	2014-07-05 19:42:46.000000000 +0200
-@@ -33,6 +33,9 @@
- #include <stdint.h>
- #include <string.h>
- #include <openssl/sha.h>
-+#if defined(__FreeBSD__) && (__FreeBSD_version < 100000)
-+#include <sys/endian.h>
-+#endif
- 
- #ifndef __FreeBSD__
- /* Allready defined in sys/endian.h */
diff --git a/net-p2p/twister/pkg-descr b/net-p2p/twister/pkg-descr
deleted file mode 100644
index a9c5590b5603..000000000000
--- a/net-p2p/twister/pkg-descr
+++ /dev/null
@@ -1,24 +0,0 @@
-twister is an experimental decentralized P2P microblogging platform leveraging
-from the free software implementations of Bitcoin and BitTorrent protocols.
-
-User registration and authentication is provided by a bitcoin-like network, so
-it is completely distributed (does not depend on any central authority).
-
-Post distribution uses kademlia DHT network and bittorrent-like swarms, both are
-provided by libtorrent.
-
-Both Bitcoin and libtorrent versions included here are highly patched and do not
-interoperate with existing networks (on purpose).
-
-Warning!  This is alpha software! In other words: this software is probably
-difficult to compile, it is not feature-complete, it can be unstable, and it may
-crash causing data loss. You have been warned.
-
-If you choose to continue you probably must fall into one of the following
-categories:
-
-    You are a developer.
-    You are an early adopter (who wants to reserve your nickname).
-    You are a masochist.
-
-WWW: http://twister.net.co/
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0