diff --git a/MOVED b/MOVED index 7ffa8ce843e1..e68dce49ab35 100644 --- a/MOVED +++ b/MOVED @@ -16016,3 +16016,6 @@ devel/py-typing||2021-01-12|Python 2 only, backport of Python 3 net/py-ipaddress||2021-01-12|Uses Python 2.7 which is EOLed upstream graphics/gif2png||2021-01-13|Has expired: Uses Python 2.7 which is EOLed upstream lang/harbour||2021-01-15|BROKEN, needs ancient version of openssl, upstream will not fix it +net-im/telegram|net-im/telegram-cli|2021-01-17|Has expired: Upstream unmaintained; please migrate to net-im/telegram-cli +science/dlpoly-classic||2021-01-17|Has expired: MASTERSITE gone; possibly replaced by https://gitlab.com/DL_POLY_Classic/dl_poly ? +security/py-gtts-token|audio/py-gtts|2021-01-17|Has expired: Obsolete, please use audio/py-gtts instead diff --git a/net-im/Makefile b/net-im/Makefile index 713195d6916c..d39dc1809dfa 100644 --- a/net-im/Makefile +++ b/net-im/Makefile @@ -151,7 +151,6 @@ SUBDIR += sshout SUBDIR += talkatu SUBDIR += teamwords - SUBDIR += telegram SUBDIR += telegram-cli SUBDIR += telegram-desktop SUBDIR += telegram-purple diff --git a/net-im/telegram/Makefile b/net-im/telegram/Makefile deleted file mode 100644 index 1c50bf4e741f..000000000000 --- a/net-im/telegram/Makefile +++ /dev/null @@ -1,59 +0,0 @@ -# Created by: gahr -# $FreeBSD$ - -PORTNAME= telegram -PORTVERSION= 1.4.1.g20161227 -PORTREVISION= 7 -CATEGORIES= net-im - -MAINTAINER= 0mp@FreeBSD.org -COMMENT= Command-line interface for Telegram - -LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/LICENSE - -BROKEN_mips= Missing header -BROKEN_mips64= Missing header -BROKEN_powerpc64= Does not build: Assertion failed: (get_int () == TLS_SCHEMA_V2) - -DEPRECATED= Upstream unmaintained; please migrate to net-im/telegram-cli -EXPIRATION_DATE= 2021-01-14 - -LIB_DEPENDS= libconfig.so:devel/libconfig \ - libevent.so:devel/libevent \ - libjansson.so:devel/jansson - -USES= gmake lua:52 pkgconfig readline ssl -USE_GITHUB= yes -GH_ACCOUNT= vysheng -GH_PROJECT= tg tgl:tgl tl-parser:tlparser -GH_SUBDIR= tgl:tgl tgl/tl-parser:tlparser -GH_TAGNAME= 6547c0b ffb04ca:tgl 36bf190:tlparser - -CFLAGS+= -fcommon - -GNU_CONFIGURE= yes - -CONFLICTS_INSTALL= telegram-cli - -PLIST_FILES= bin/telegram-cli \ - etc/telegram-cli/server.pub -PORTDOCS= * - -OPTIONS_DEFINE= DOCS - -.include - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200085 -EXTRA_PATCHES+= ${FILESDIR}/extra-patch-openssl-1.1.0 -.endif - -do-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/etc/telegram-cli - ${INSTALL_PROGRAM} ${WRKSRC}/bin/telegram-cli ${STAGEDIR}${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/tg-server.pub ${STAGEDIR}${PREFIX}/etc/telegram-cli/server.pub - @${MKDIR} ${STAGEDIR}${DOCSDIR} - (cd ${WRKSRC}/ && ${INSTALL_DATA} CHANGELOG README-LUA README.es README.md \ - ${STAGEDIR}${DOCSDIR}) - -.include diff --git a/net-im/telegram/distinfo b/net-im/telegram/distinfo deleted file mode 100644 index 9d80703ff462..000000000000 --- a/net-im/telegram/distinfo +++ /dev/null @@ -1,7 +0,0 @@ -TIMESTAMP = 1482845149 -SHA256 (vysheng-tg-1.4.1.g20161227-6547c0b_GH0.tar.gz) = 1e70d800d46e92ab71360db4fee8b63512d682986aa4d8d90adf49219ec17928 -SIZE (vysheng-tg-1.4.1.g20161227-6547c0b_GH0.tar.gz) = 307276 -SHA256 (vysheng-tgl-ffb04ca_GH0.tar.gz) = 2a2aafe6366e3a4c7df2af916c015fa0c0200094e785e69396ca6ff0ef612cd4 -SIZE (vysheng-tgl-ffb04ca_GH0.tar.gz) = 240798 -SHA256 (vysheng-tl-parser-36bf190_GH0.tar.gz) = 9c4222cfc39f1f58061678c2a22dac5d2391e2594d4ec00e5ab9a7c12e606789 -SIZE (vysheng-tl-parser-36bf190_GH0.tar.gz) = 66898 diff --git a/net-im/telegram/files/extra-patch-openssl-1.1.0 b/net-im/telegram/files/extra-patch-openssl-1.1.0 deleted file mode 100644 index f21a36260780..000000000000 --- a/net-im/telegram/files/extra-patch-openssl-1.1.0 +++ /dev/null @@ -1,38 +0,0 @@ ---- tgl/crypto/rsa_pem_openssl.c.orig 2018-10-21 14:25:36 UTC -+++ tgl/crypto/rsa_pem_openssl.c -@@ -36,18 +36,28 @@ TGLC_WRAPPER_ASSOC(rsa,RSA) - // TODO: Refactor crucial struct-identity into its own header. - TGLC_WRAPPER_ASSOC(bn,BIGNUM) - -+/* -+ * Note: Since OpenSSL version 1.1.0-pre5 the RSA struct (rsa_st) is opaque, -+ * see https://wiki.openssl.org/index.php/OpenSSL_1.1.0_Changes -+ */ - TGLC_rsa *TGLC_rsa_new (unsigned long e, int n_bytes, const unsigned char *n) { - RSA *ret = RSA_new (); -- ret->e = unwrap_bn (TGLC_bn_new ()); -- TGLC_bn_set_word (wrap_bn (ret->e), e); -- ret->n = unwrap_bn (TGLC_bn_bin2bn (n, n_bytes, NULL)); -+ BIGNUM *ret_e = unwrap_bn (TGLC_bn_new ()); -+ BIGNUM *ret_n = unwrap_bn (TGLC_bn_bin2bn (n, n_bytes, NULL)); -+ RSA_set0_key (ret, ret_n, ret_e, NULL); -+ TGLC_bn_set_word (wrap_bn (ret_e), e); - return wrap_rsa (ret); - } - --#define RSA_GETTER(M) \ -- TGLC_bn *TGLC_rsa_ ## M (TGLC_rsa *key) { \ -- return wrap_bn (unwrap_rsa (key)->M); \ -- } \ -+#define RSA_GETTER(M) \ -+TGLC_bn *TGLC_rsa_ ## M (TGLC_rsa *key) { \ -+ BIGNUM *rsa_n, *rsa_e, *rsa_d; \ -+ RSA_get0_key(unwrap_rsa (key), \ -+ (const BIGNUM **) &rsa_n, \ -+ (const BIGNUM **) &rsa_e, \ -+ (const BIGNUM **) &rsa_d); \ -+ return wrap_bn (rsa_ ## M); \ -+} - - RSA_GETTER(n); - RSA_GETTER(e); diff --git a/net-im/telegram/files/patch-Makefile.in b/net-im/telegram/files/patch-Makefile.in deleted file mode 100644 index 366dbffd315a..000000000000 --- a/net-im/telegram/files/patch-Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.in.orig 2016-03-23 11:42:53 UTC -+++ Makefile.in -@@ -6,7 +6,7 @@ CPPFLAGS=@CPPFLAGS@ @OPENSSL_INCLUDES@ - DEFS=@DEFS@ - COMPILE_FLAGS=${CFLAGS} ${CPFLAGS} ${CPPFLAGS} ${DEFS} -Wall -Werror -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC - EXTRA_LIBS=@LIBS@ @EXTRA_LIBS@ @OPENSSL_LIBS@ --LOCAL_LDFLAGS=-rdynamic -ggdb -levent ${EXTRA_LIBS} -ldl -lpthread -lutil -+LOCAL_LDFLAGS=-rdynamic -ggdb -levent ${EXTRA_LIBS} -lpthread -lutil - LINK_FLAGS=${LDFLAGS} ${LOCAL_LDFLAGS} - - DEP=dep diff --git a/net-im/telegram/files/patch-lua-tg.c b/net-im/telegram/files/patch-lua-tg.c deleted file mode 100644 index 017dbde0e622..000000000000 --- a/net-im/telegram/files/patch-lua-tg.c +++ /dev/null @@ -1,15 +0,0 @@ ---- lua-tg.c.orig 2016-12-27 02:26:05 UTC -+++ lua-tg.c -@@ -661,9 +661,9 @@ struct lua_arg { - struct lua_arg lua_ptr[MAX_LUA_COMMANDS]; - static int pos; - --static inline tgl_peer_t *get_peer (const char *s) { -- return tgl_peer_get_by_name (TLS, s); --} -+// static inline tgl_peer_t *get_peer (const char *s) { -+// return tgl_peer_get_by_name (TLS, s); -+// } - - enum lua_query_type { - lq_contact_list, diff --git a/net-im/telegram/files/patch-tgl_mtproto-utils.c b/net-im/telegram/files/patch-tgl_mtproto-utils.c deleted file mode 100644 index a974a96495d6..000000000000 --- a/net-im/telegram/files/patch-tgl_mtproto-utils.c +++ /dev/null @@ -1,22 +0,0 @@ ---- tgl/mtproto-utils.c.orig 2016-03-23 11:42:06 UTC -+++ tgl/mtproto-utils.c -@@ -98,9 +98,7 @@ static unsigned long long BN2ull (TGLC_b - if (sizeof (unsigned long) == 8) { - return TGLC_bn_get_word (b); - } else if (sizeof (unsigned long long) == 8) { -- assert (0); // As long as nobody ever uses this code, assume it is broken. - unsigned long long tmp; -- /* Here be dragons, but it should be okay due to be64toh */ - TGLC_bn_bn2bin (b, (unsigned char *) &tmp); - return be64toh (tmp); - } else { -@@ -112,9 +110,7 @@ static void ull2BN (TGLC_bn *b, unsigned - if (sizeof (unsigned long) == 8 || val < (1ll << 32)) { - TGLC_bn_set_word (b, val); - } else if (sizeof (unsigned long long) == 8) { -- assert (0); // As long as nobody ever uses this code, assume it is broken. - htobe64(val); -- /* Here be dragons, but it should be okay due to htobe64 */ - TGLC_bn_bin2bn ((unsigned char *) &val, 8, b); - } else { - assert (0); diff --git a/net-im/telegram/files/patch-tgl_tl-parser_portable__endian.h b/net-im/telegram/files/patch-tgl_tl-parser_portable__endian.h deleted file mode 100644 index abdee15df81f..000000000000 --- a/net-im/telegram/files/patch-tgl_tl-parser_portable__endian.h +++ /dev/null @@ -1,18 +0,0 @@ ---- tgl/tl-parser/portable_endian.h.orig 2015-10-17 13:33:25 UTC -+++ tgl/tl-parser/portable_endian.h -@@ -53,6 +53,7 @@ - - # include - -+#if !defined(__FreeBSD__) - # define be16toh(x) betoh16(x) - # define le16toh(x) letoh16(x) - -@@ -61,6 +62,7 @@ - - # define be64toh(x) betoh64(x) - # define le64toh(x) letoh64(x) -+#endif /* !defined(__FreeBSD__) */ - - #elif defined(__WINDOWS__) - diff --git a/net-im/telegram/pkg-descr b/net-im/telegram/pkg-descr deleted file mode 100644 index 8ef7426e0c17..000000000000 --- a/net-im/telegram/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -tg is a command-line interface for the Telegram instant-messaging network. - -WWW: https://github.com/vysheng/tg diff --git a/science/Makefile b/science/Makefile index 5cc341f3ff8c..7b3e9b97c424 100644 --- a/science/Makefile +++ b/science/Makefile @@ -64,7 +64,6 @@ SUBDIR += dftbplus SUBDIR += dkh SUBDIR += dlib-cpp - SUBDIR += dlpoly-classic SUBDIR += drawxtl SUBDIR += dvc SUBDIR += eccodes diff --git a/science/dlpoly-classic/Makefile b/science/dlpoly-classic/Makefile deleted file mode 100644 index 3f54352a4a84..000000000000 --- a/science/dlpoly-classic/Makefile +++ /dev/null @@ -1,77 +0,0 @@ -# $FreeBSD$ - -PORTNAME= dlpoly -PORTVERSION= 1.8 -PORTREVISION= 19 -CATEGORIES= science java -MASTER_SITES= # gone as of 20201014: http://ccpforge.cse.rl.ac.uk/gf/download/frsrelease/238/2028/ -PKGNAMESUFFIX= classic -DISTNAME= dl_class_${PORTVERSION} - -MAINTAINER= jwb@FreeBSD.org -COMMENT= Molecular dynamics simulation package - -# Later versions use 2 clause -LICENSE= BSD3CLAUSE -LICENSE_FILE= ${WRKSRC}/LICENCE.pdf - -DEPRECATED= MASTERSITE gone; possibly replaced by https://gitlab.com/DL_POLY_Classic/dl_poly? -EXPIRATION_DATE= 2021-01-14 - -LIB_DEPENDS= libmpi.so:net/openmpi3 - -USES= fortran gmake - -OPTIONS_DEFINE= GUI DOCS EXAMPLES -OPTIONS_DEFAULT= GUI -GUI_DESC= Install Java GUI - -SUB_FILES= dlpoly-gui - -BUILD_WRKSRC= ${WRKSRC}/source - -MPIF90= ${LOCALBASE}/mpi/openmpi3/bin/mpif90 - -GUI_USE= JAVA=yes -GUI_PLIST_FILES= bin/dlpoly-gui \ - ${DATADIR_REL}/GUI.jar - -.include - -.if ${GCC_DEFAULT} >= 10 -BROKEN= fails to build with GCC 10: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/REAL(4)). -.endif - -post-patch: - ${CP} ${WRKSRC}/build/MakePAR ${WRKSRC}/build/MakeSEQ ${BUILD_WRKSRC} - ${REINPLACE_CMD} 's|gfortran|${FC}|g' ${BUILD_WRKSRC}/MakeSEQ - ${REINPLACE_CMD} 's|DLPOLY\.X|dlpoly-classic|g' ${BUILD_WRKSRC}/MakeSEQ - ${REINPLACE_CMD} 's|mpif90|${MPIF90}|g' \ - ${BUILD_WRKSRC}/MakePAR - ${REINPLACE_CMD} 's|DLPOLY\.X|dlpoly-classic-mpi|g' \ - ${BUILD_WRKSRC}/MakePAR - -do-build: - (cd ${BUILD_WRKSRC} && \ - ${CP} -f MakeSEQ Makefile && \ - ${MAKE} ${FC}) - (cd ${BUILD_WRKSRC} && \ - ${MAKE} clean && \ - ${CP} -f MakePAR Makefile && \ - ${MAKE} gfortran) - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/execute/dlpoly-classic ${STAGEDIR}${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/execute/dlpoly-classic-mpi ${STAGEDIR}${PREFIX}/bin - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/manual/* ${STAGEDIR}${DOCSDIR} - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - ${CP} -R ${WRKSRC}/execute ${STAGEDIR}${EXAMPLESDIR} - ${RM} ${STAGEDIR}${EXAMPLESDIR}/execute/dlpoly* -.if ${PORT_OPTIONS:MGUI} - @${MKDIR} ${STAGEDIR}${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/java/GUI.jar ${STAGEDIR}${DATADIR} - ${INSTALL_SCRIPT} ${WRKDIR}/dlpoly-gui ${STAGEDIR}${PREFIX}/bin -.endif - -.include diff --git a/science/dlpoly-classic/distinfo b/science/dlpoly-classic/distinfo deleted file mode 100644 index b3c2627eccc3..000000000000 --- a/science/dlpoly-classic/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (dl_class_1.8.tar.gz) = 4ee7e7ded64dd659ddccca6e26326045ce8f49b59217dcbb404363e5a5daf3d5 -SIZE (dl_class_1.8.tar.gz) = 2769075 diff --git a/science/dlpoly-classic/files/dlpoly-gui.in b/science/dlpoly-classic/files/dlpoly-gui.in deleted file mode 100644 index 3abdfa7c3472..000000000000 --- a/science/dlpoly-classic/files/dlpoly-gui.in +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -if [ $# != 1 ]; then - printf "Usage: $0 file\n" - exit 1 -fi - -java -jar %%DATADIR%%/GUI.jar - diff --git a/science/dlpoly-classic/pkg-descr b/science/dlpoly-classic/pkg-descr deleted file mode 100644 index 18afcab28912..000000000000 --- a/science/dlpoly-classic/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -DL_POLY is a general purpose classical molecular dynamics (MD) simulation -software developed at Daresbury Laboratory by I.T. Todorov and W. Smith. - -WWW: http://ccpforge.cse.rl.ac.uk/gf/project/dl_poly_classic/ diff --git a/science/dlpoly-classic/pkg-message b/science/dlpoly-classic/pkg-message deleted file mode 100644 index 1ef8cfbb50f3..000000000000 --- a/science/dlpoly-classic/pkg-message +++ /dev/null @@ -1,16 +0,0 @@ -[ -{ type: install - message: <0:www/py-requests@${PY_FLAVOR} - -USES= python:3.6+ -USE_GITHUB= yes -GH_ACCOUNT= Boudewijn26 -GH_PROJECT= gTTS-token -USE_PYTHON= distutils autoplist - -NO_ARCH= yes - -do-test: - @cd ${WRKSRC} && ${PYTHON_CMD} -m unittest discover -v -s gtts_token/tests - -.include diff --git a/security/py-gtts-token/distinfo b/security/py-gtts-token/distinfo deleted file mode 100644 index 210f5443685c..000000000000 --- a/security/py-gtts-token/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1608404119 -SHA256 (Boudewijn26-gTTS-token-v1.1.4_GH0.tar.gz) = 7c89d51f50d2068e5f3d84085dd04586ab98f480f9c97ecc927285a11d2e41be -SIZE (Boudewijn26-gTTS-token-v1.1.4_GH0.tar.gz) = 5148 diff --git a/security/py-gtts-token/pkg-descr b/security/py-gtts-token/pkg-descr deleted file mode 100644 index 818c008a9c5d..000000000000 --- a/security/py-gtts-token/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -Google Translate requires a tk param when making a request to its translate -API. This project provides an implementation for that algorithm in Python. - -WWW: https://github.com/boudewijn26/gTTS-token