git: c393e20cc6bd - main - databases/mongodb42-tools: Remove expired port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 30 Sep 2023 02:23:49 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c393e20cc6bde9be3b008c043513399f5f4ad139

commit c393e20cc6bde9be3b008c043513399f5f4ad139
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-09-29 23:33:51 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-09-30 02:22:47 +0000

    databases/mongodb42-tools: Remove expired port
    
    2023-09-30 databases/mongodb42-tools: Upstream EOL reached on 2023-04-30
---
 MOVED                                              |  1 +
 databases/Makefile                                 |  1 -
 databases/mongodb42-tools/Makefile                 | 68 ----------------------
 databases/mongodb42-tools/distinfo                 |  3 -
 .../patch-vendor_github.com_10gen_openssl_build.go |  9 ---
 ...-vendor_github.com_10gen_openssl_init__posix.go | 11 ----
 databases/mongodb42-tools/pkg-descr                | 13 -----
 databases/mongodb42-tools/pkg-plist                | 12 ----
 8 files changed, 1 insertion(+), 117 deletions(-)

diff --git a/MOVED b/MOVED
index e08a3fb612ce..6726af87cd8f 100644
--- a/MOVED
+++ b/MOVED
@@ -7870,3 +7870,4 @@ audio/ccaudio2||2023-09-30|Has expired: Abandonware, no development since 2011
 audio/libtremor||2023-09-30|Has expired: Obsolete, we only support hardware with a fpu and other decoding libraries offer better performance
 audio/rioutil||2023-09-30|Has expired: Obsolete, supported hardware ia about 20 years old
 audio/waveplay||2023-09-30|Has expired: Abandoned upstream
+databases/mongodb42-tools||2023-09-30|Has expired: Upstream EOL reached on 2023-04-30
diff --git a/databases/Makefile b/databases/Makefile
index 4876c9056662..2b10af146055 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -188,7 +188,6 @@
     SUBDIR += metabase
     SUBDIR += mongodb-tools
     SUBDIR += mongodb42
-    SUBDIR += mongodb42-tools
     SUBDIR += mongodb44
     SUBDIR += mongodb50
     SUBDIR += mongodb60
diff --git a/databases/mongodb42-tools/Makefile b/databases/mongodb42-tools/Makefile
deleted file mode 100644
index 894494e37398..000000000000
--- a/databases/mongodb42-tools/Makefile
+++ /dev/null
@@ -1,68 +0,0 @@
-PORTNAME=	mongodb42-tools
-DISTVERSIONPREFIX=	r
-DISTVERSION=	4.2.24
-PORTREVISION=	4
-CATEGORIES=	databases
-
-MAINTAINER=	ronald@FreeBSD.org
-COMMENT=	Tools for MongoDB 4.2.x
-WWW=		https://github.com/mongodb/mongo-tools
-
-LICENSE=	APACHE20
-LICENSE_FILE=	${WRKSRC}/LICENSE.md
-
-DEPRECATED=	Upstream EOL reached on 2023-04-30
-EXPIRATION_DATE=	2023-09-30
-ONLY_FOR_ARCHS=	aarch64 amd64 armv7 i386 riscv64
-ONLY_FOR_ARCHS_REASON=	not yet ported to other architectures
-
-USES=		compiler:c++14-lang go localbase
-USE_GITHUB=	yes
-GH_ACCOUNT=	mongodb
-GH_PROJECT=	mongo-tools
-
-GO_BUILDFLAGS=	-tags "${USE_MY_TAGS}"
-GO_PKGNAME=	github.com/${GH_ACCOUNT}/${GH_PROJECT}
-
-CONFLICTS_INSTALL=	mongodb[0-9][0-9]-tools mongodb-tools
-
-OPTIONS_DEFINE=		DOCS
-OPTIONS_DEFAULT=	MONGODUMP MONGOEXPORT MONGOFILES MONGOIMPORT \
-			MONGORESTORE SASL SSL
-OPTIONS_MULTI=		SECURITY TOOLS
-OPTIONS_MULTI_TOOLS=	BSONDUMP MONGODUMP MONGOEXPORT MONGOFILES MONGOIMPORT \
-			MONGOREPLAY MONGORESTORE MONGOSTAT MONGOTOP
-OPTIONS_MULTI_SECURITY=	SASL SSL
-OPTIONS_SUB=		yes
-
-BSONDUMP_DESC=		BSON files into human-readable formats
-MONGOSTAT_DESC=		Status of a running mongod or mongos instance
-MONGOFILES_DESC=	Interface to GridFS in a MongoDB instance
-MONGOEXPORT_DESC=	JSON or CSV export of MongoDB instance data
-MONGOIMPORT_DESC=	Importing JSON, CSV, or TSV into a MongoDB instance
-MONGORESTORE_DESC=	BSON data to a MongoDB instance
-MONGODUMP_DESC=		BSON data from the contents of a MongoDB instance
-MONGOTOP_DESC=		Track the amount of data I/O time
-MONGOREPLAY_DESC=	Traffic capture and replay tool
-
-BSONDUMP_VARS=		go_target+=./bsondump/main:bsondump
-MONGOSTAT_VARS=		go_target+=./mongostat/main:mongostat
-MONGOFILES_VARS=	go_target+=./mongofiles/main:mongofiles
-MONGOEXPORT_VARS=	go_target+=./mongoexport/main:mongoexport
-MONGOIMPORT_VARS=	go_target+=./mongoimport/main:mongoimport
-MONGORESTORE_VARS=	go_target+=./mongorestore/main:mongorestore
-MONGODUMP_VARS=		go_target+=./mongodump/main:mongodump
-MONGOTOP_VARS=		go_target+=./mongotop/main:mongotop
-MONGOREPLAY_VARS=	go_target+=./mongoreplay/main:mongoreplay
-SASL_LIB_DEPENDS=	libsasl2.so:security/cyrus-sasl2
-SASL_USE=		my_tags=sasl
-SSL_USES=		ssl
-SSL_USE=		my_tags=ssl
-
-post-install-DOCS-on:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for doc in README.md CONTRIBUTING.md THIRD-PARTY-NOTICES
-	${INSTALL_MAN} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
-.endfor
-
-.include <bsd.port.mk>
diff --git a/databases/mongodb42-tools/distinfo b/databases/mongodb42-tools/distinfo
deleted file mode 100644
index ee61790630e6..000000000000
--- a/databases/mongodb42-tools/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1677248254
-SHA256 (mongodb-mongo-tools-r4.2.24_GH0.tar.gz) = 7dec0d821a4da78ea02a57124415119142502c6dec9ef5d5c35192ce83c97584
-SIZE (mongodb-mongo-tools-r4.2.24_GH0.tar.gz) = 15029611
diff --git a/databases/mongodb42-tools/files/patch-vendor_github.com_10gen_openssl_build.go b/databases/mongodb42-tools/files/patch-vendor_github.com_10gen_openssl_build.go
deleted file mode 100644
index e0190c61259f..000000000000
--- a/databases/mongodb42-tools/files/patch-vendor_github.com_10gen_openssl_build.go
+++ /dev/null
@@ -1,9 +0,0 @@
---- vendor/github.com/10gen/openssl/build.go.orig	2018-11-21 19:00:22 UTC
-+++ vendor/github.com/10gen/openssl/build.go
-@@ -20,5 +20,6 @@
- // #cgo CFLAGS: -Wno-deprecated-declarations
- // #cgo windows CFLAGS: -DWIN32_LEAN_AND_MEAN -I"c:/openssl/include"
- // #cgo windows LDFLAGS: -lssleay32 -llibeay32 -lcrypt32 -L "c:/openssl/bin"
-+// #cgo freebsd LDFLAGS: -lssl -lcrypto
- // #cgo darwin LDFLAGS: -framework CoreFoundation -framework Foundation -framework Security
- import "C"
diff --git a/databases/mongodb42-tools/files/patch-vendor_github.com_10gen_openssl_init__posix.go b/databases/mongodb42-tools/files/patch-vendor_github.com_10gen_openssl_init__posix.go
deleted file mode 100644
index 07c593cf0018..000000000000
--- a/databases/mongodb42-tools/files/patch-vendor_github.com_10gen_openssl_init__posix.go
+++ /dev/null
@@ -1,11 +0,0 @@
---- vendor/github.com/10gen/openssl/init_posix.go.orig	2018-11-21 17:52:58 UTC
-+++ vendor/github.com/10gen/openssl/init_posix.go
-@@ -12,7 +12,7 @@
- // See the License for the specific language governing permissions and
- // limitations under the License.
- 
--// +build linux darwin cgo
-+// +build linux darwin freebsd cgo
- // +build !windows
- 
- package openssl
diff --git a/databases/mongodb42-tools/pkg-descr b/databases/mongodb42-tools/pkg-descr
deleted file mode 100644
index f2400809a1ab..000000000000
--- a/databases/mongodb42-tools/pkg-descr
+++ /dev/null
@@ -1,13 +0,0 @@
-Useful utilities for managing a MongoDB instance written in Go.
-
-- bsondump - display BSON files in a human-readable format
-- mongoimport - Convert data from JSON, TSV or CSV and insert them
-  into a collection
-- mongoexport - Write an existing collection to CSV or JSON format
-- mongodump/mongorestore - Dump MongoDB backups to disk in .BSON
-  format, or restore them to a live database
-- mongostat - Monitor live MongoDB servers, replica sets, or sharded
-  clusters
-- mongofiles - Read, write, delete, or update files in GridFS
-- mongotop - Monitor read/write activity on a mongo server
-- mongoreplay - Capture, observe, and replay traffic for MongoDB
diff --git a/databases/mongodb42-tools/pkg-plist b/databases/mongodb42-tools/pkg-plist
deleted file mode 100644
index 3d21f0470ad4..000000000000
--- a/databases/mongodb42-tools/pkg-plist
+++ /dev/null
@@ -1,12 +0,0 @@
-%%BSONDUMP%%bin/bsondump
-%%MONGODUMP%%bin/mongodump
-%%MONGOEXPORT%%bin/mongoexport
-%%MONGOFILES%%bin/mongofiles
-%%MONGOIMPORT%%bin/mongoimport
-%%MONGORESTORE%%bin/mongorestore
-%%MONGOREPLAY%%bin/mongoreplay
-%%MONGOSTAT%%bin/mongostat
-%%MONGOTOP%%bin/mongotop
-%%PORTDOCS%%%%DOCSDIR%%/README.md
-%%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTING.md
-%%PORTDOCS%%%%DOCSDIR%%/THIRD-PARTY-NOTICES