aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2026-10-22 14:26:42 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2026-10-22 14:30:49 +0000
commit7a2400ecd1e6269843c6b9607378104047866488 (patch)
tree683b5dea22a0a1cc0d2d47edbcbae9ffc811d32f
parent014c6e99f7f90853269139ff854f857191795c2c (diff)
net-im/tde2e: no longer necessary; migrate to net-im/tdlib
After 31d254a30597b9fad0cbda06a90661b27e3d3294, it's no longer necessary to have a separate port with static libraries for just one consumer, so let's retire it. Sponsored by: tipi.work
-rw-r--r--MOVED1
-rw-r--r--net-im/Makefile1
-rw-r--r--net-im/tde2e/Makefile30
-rw-r--r--net-im/tde2e/distinfo3
-rw-r--r--net-im/tde2e/files/patch-CMakeLists.txt11
-rw-r--r--net-im/tde2e/pkg-descr2
-rw-r--r--net-im/tde2e/pkg-plist10
7 files changed, 1 insertions, 57 deletions
diff --git a/MOVED b/MOVED
index 5cf62ef36317..64fa3de20c76 100644
--- a/MOVED
+++ b/MOVED
@@ -5752,3 +5752,4 @@ multimedia/wl-screenrec||2026-10-19|Broken for more than 5 months
net-im/debugtox||2026-10-19|Broken for almost a year in tree
textproc/regex2dfa||2026-10-19|Broken for 6+ months in tree
databases/pecl-redis|databases/php-redis|2026-10-21|PECL is deprecated. Migrated to databases/php-redis
+net-im/tde2e|net-im/tdlib|2026-10-22|No longer necessary; migrate to net-im/tdlib
diff --git a/net-im/Makefile b/net-im/Makefile
index f9f64eb6b6ec..e94accecf6e5 100644
--- a/net-im/Makefile
+++ b/net-im/Makefile
@@ -144,7 +144,6 @@
SUBDIR += spectral
SUBDIR += ssh-chat
SUBDIR += sshout
- SUBDIR += tde2e
SUBDIR += tdlib
SUBDIR += teams
SUBDIR += telegram-cli
diff --git a/net-im/tde2e/Makefile b/net-im/tde2e/Makefile
deleted file mode 100644
index 08165457136a..000000000000
--- a/net-im/tde2e/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-PORTNAME= tde2e
-DISTVERSIONPREFIX= v
-DISTVERSION= 1.8.68
-CATEGORIES= net-im devel
-
-MAINTAINER= osa@FreeBSD.org
-COMMENT= Library for building Telegram clients
-WWW= https://github.com/tdlib/td
-
-LICENSE= BSL
-
-USES= cmake:testing compiler:c++14-lang gperf readline ssl
-
-CONFLICTS_INSTALL= tdlib
-
-USE_GITHUB= yes
-GH_ACCOUNT= tdlib
-GH_PROJECT= td
-GH_TAGNAME= c15d3f5 # 1.8.68
-
-CMAKE_ON= TD_INSTALL_STATIC_LIBRARIES TD_E2E_ONLY
-CMAKE_OFF= BUILD_TESTING FREEBSD_BUILD_BENCHMARKS
-
-PLIST_SUB+= LIBVERSION=${PORTVERSION}
-
-post-patch:
- @${REINPLACE_CMD} -e '/hashvar/ s|GITDIR-NOTFOUND|${GH_TAGNAME}|g' \
- ${WRKSRC}/CMake/GetGitRevisionDescription.cmake
-
-.include <bsd.port.mk>
diff --git a/net-im/tde2e/distinfo b/net-im/tde2e/distinfo
deleted file mode 100644
index 7aca183c91dd..000000000000
--- a/net-im/tde2e/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1791540617
-SHA256 (tdlib-td-v1.8.68-c15d3f5_GH0.tar.gz) = e43ebda21da0264c5764edd5ddb849846eea6bb34c4abdaff33d7729ec3f023f
-SIZE (tdlib-td-v1.8.68-c15d3f5_GH0.tar.gz) = 5859626
diff --git a/net-im/tde2e/files/patch-CMakeLists.txt b/net-im/tde2e/files/patch-CMakeLists.txt
deleted file mode 100644
index 94e2d3bae1b3..000000000000
--- a/net-im/tde2e/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,11 +0,0 @@
---- CMakeLists.txt.orig 2026-02-07 08:38:50 UTC
-+++ CMakeLists.txt
-@@ -230,7 +230,7 @@ endif()
- add_subdirectory(test)
- endif()
-
--if (NOT CMAKE_CROSSCOMPILING)
-+if (FREEBSD_BUILD_BENCHMARKS AND NOT CMAKE_CROSSCOMPILING)
- add_subdirectory(benchmark)
- endif()
-
diff --git a/net-im/tde2e/pkg-descr b/net-im/tde2e/pkg-descr
deleted file mode 100644
index 82b536fa768d..000000000000
--- a/net-im/tde2e/pkg-descr
+++ /dev/null
@@ -1,2 +0,0 @@
-TDLib (Telegram Database library) is a cross-platform library for building
-Telegram clients. It can be easily used from almost any programming language.
diff --git a/net-im/tde2e/pkg-plist b/net-im/tde2e/pkg-plist
deleted file mode 100644
index f6bc08e5e120..000000000000
--- a/net-im/tde2e/pkg-plist
+++ /dev/null
@@ -1,10 +0,0 @@
-include/td/e2e/e2e_api.h
-include/td/e2e/e2e_errors.h
-lib/cmake/tde2e/tde2eConfig.cmake
-lib/cmake/tde2e/tde2eConfigVersion.cmake
-lib/cmake/tde2e/tde2eStaticTargets-%%CMAKE_BUILD_TYPE%%.cmake
-lib/cmake/tde2e/tde2eStaticTargets.cmake
-lib/libtde2e.a
-lib/libtdutils.a
-libdata/pkgconfig/tde2e.pc
-libdata/pkgconfig/tdutils.pc