git: a45080cfa41f - main - databases/mongodb36-tools: Remove expired port:

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 31 Mar 2023 00:01:34 UTC
The branch main has been updated by bofh:

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

commit a45080cfa41fe51413e1704e53bfacd22cc368be
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-03-25 13:37:57 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-03-30 23:59:35 +0000

    databases/mongodb36-tools: Remove expired port:
    
    2023-03-31 databases/mongodb36-tools: Upstream EOL reached on 2021-04-30
---
 MOVED                                              |  1 +
 databases/Makefile                                 |  1 -
 databases/mongodb36-tools/Makefile                 | 79 ----------------------
 databases/mongodb36-tools/distinfo                 |  3 -
 ...r_src_github.com_spacemonkeygo_openssl_build.go | 10 ---
 ...github.com_spacemonkeygo_openssl_init__posix.go | 11 ---
 databases/mongodb36-tools/pkg-descr                |  4 --
 databases/mongodb36-tools/pkg-plist                | 11 ---
 8 files changed, 1 insertion(+), 119 deletions(-)

diff --git a/MOVED b/MOVED
index 397cc0b7d913..9f92d5e5e220 100644
--- a/MOVED
+++ b/MOVED
@@ -17844,3 +17844,4 @@ audio/splay||2023-03-31|Has expired: Abandonware, no development in 20 years and
 audio/tagtool||2023-03-31|Has expired: Abandonware and obsolete, doesn't properly support ID3v2 tagging
 audio/vo-aacenc||2023-03-31|Has expired: Obsolete AAC encoder library, consider using audio/fdk-aac or audio/exhale
 audio/wav2cdr||2023-03-31|Has expired: Obsolete utility, consider using multimedia/ffmpeg
+databases/mongodb36-tools|databases/mongodb40-tools|2023-03-31|Has expired: Upstream EOL reached on 2021-04-30
diff --git a/databases/Makefile b/databases/Makefile
index 47b2b186906f..62eb54f6be8c 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -186,7 +186,6 @@
     SUBDIR += metabase
     SUBDIR += mongodb-tools
     SUBDIR += mongodb36
-    SUBDIR += mongodb36-tools
     SUBDIR += mongodb40
     SUBDIR += mongodb40-tools
     SUBDIR += mongodb42
diff --git a/databases/mongodb36-tools/Makefile b/databases/mongodb36-tools/Makefile
deleted file mode 100644
index c5aaf560ccf2..000000000000
--- a/databases/mongodb36-tools/Makefile
+++ /dev/null
@@ -1,79 +0,0 @@
-PORTNAME=	mongodb36-tools
-PORTVERSION=	3.6.3
-DISTVERSIONPREFIX=	r
-PORTREVISION=	11
-CATEGORIES=	databases net
-
-MAINTAINER=	numisemis@yahoo.com
-COMMENT=	Tools for MongoDB
-WWW=		https://github.com/mongodb/mongo-tools
-
-LICENSE=	APACHE20
-
-DEPRECATED=	Upstream EOL reached on 2021-04-30
-EXPIRATION_DATE=	2023-03-31
-
-ONLY_FOR_ARCHS=	amd64 i386
-ONLY_FOR_ARCHS_REASON=	not yet ported to anything other than i386 and amd64
-
-BROKEN_SSL=	openssl libressl libressl-devel
-BROKEN_SSL_REASON_openssl=	variable has incomplete type 'BIO_METHOD' (aka 'struct bio_method_st')
-BROKEN_SSL_REASON_libressl=		could not determine kind of name for C.EVP_sha
-BROKEN_SSL_REASON_libressl-devel=	${BROKEN_SSL_REASON_libressl}
-
-CONFLICTS_INSTALL=	mongodb mongodb4[02] mongodb4[02]-tools
-
-USES=	go localbase
-
-USE_GITHUB=	yes
-GH_ACCOUNT=	mongodb
-GH_PROJECT=	mongo-tools
-
-OPTIONS_DEFINE=	DOCS SSL SASL
-OPTIONS_DEFAULT=	SSL SASL
-
-SASL_USE=	my_tags=sasl
-SASL_LIB_DEPENDS=	libsasl2.so:security/cyrus-sasl2
-
-SSL_USES=	ssl
-SSL_USE=	my_tags=ssl
-
-# Go is not our friend. Without below, ignores user-supplied flags.
-MAKE_CMD=	${LOCALBASE}/bin/go build
-MAKE_ENV=	GOPATH="${WRKSRC}/.gopath:${WRKSRC}/vendor" \
-		CGO_CFLAGS="${CFLAGS}" CGO_CPPFLAGS="${CPPFLAGS}" \
-		CGO_CXXFLAGS="${CXXFLAGS}" CGO_LDFLAGS="-L${LOCALBASE}/lib ${LDFLAGS}" \
-		GO111MODULE=off
-
-MY_TAGS=	-tags "${USE_MY_TAGS}"
-
-.include <bsd.port.pre.mk>
-
-.if ${SSL_DEFAULT} == base
-BROKEN_FreeBSD_12=	variable has incomplete type 'BIO_METHOD' (aka 'struct bio_method_st')
-BROKEN_FreeBSD_13=	variable has incomplete type 'BIO_METHOD' (aka 'struct bio_method_st')
-.endif
-
-post-patch:
-	@cd ${WRKSRC} ; ${MKDIR} ${WRKSRC}/.gopath/src/github.com/${GH_ACCOUNT} ; \
-		${LN} -sf ${WRKSRC} ${WRKSRC}/.gopath/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}
-
-do-build:
-.for x in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop
-	${SETENV} ${MAKE_ENV} ${MAKE_CMD} \
-		-o ${WRKSRC}/bin/${x} ${MY_TAGS}\
-		-ldflags "-X github.com/${GH_ACCOUNT}/${GH_PROJECT}/common/options.Gitspec=${GH_TAGNAME}"\
-		${WRKSRC}/${x}/main/${x}.go
-.endfor
-
-do-install:
-.for x in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop
-	${INSTALL_PROGRAM} ${WRKSRC}/bin/${x} ${STAGEDIR}${PREFIX}/bin/
-.endfor
-
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for x in LICENSE.md README.md THIRD-PARTY-NOTICES
-	${INSTALL_MAN} ${WRKSRC}/${x} ${STAGEDIR}${DOCSDIR}
-.endfor
-
-.include <bsd.port.post.mk>
diff --git a/databases/mongodb36-tools/distinfo b/databases/mongodb36-tools/distinfo
deleted file mode 100644
index d39a0ad05915..000000000000
--- a/databases/mongodb36-tools/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1522662593
-SHA256 (mongodb-mongo-tools-r3.6.3_GH0.tar.gz) = d97461a21227a3563e3e362dfda330becff48a901ecb3309241f607c7c8900af
-SIZE (mongodb-mongo-tools-r3.6.3_GH0.tar.gz) = 4693833
diff --git a/databases/mongodb36-tools/files/patch-vendor_src_github.com_spacemonkeygo_openssl_build.go b/databases/mongodb36-tools/files/patch-vendor_src_github.com_spacemonkeygo_openssl_build.go
deleted file mode 100644
index 84c06e3f3083..000000000000
--- a/databases/mongodb36-tools/files/patch-vendor_src_github.com_spacemonkeygo_openssl_build.go
+++ /dev/null
@@ -1,10 +0,0 @@
---- vendor/src/github.com/spacemonkeygo/openssl/build.go.orig	2017-07-31 19:00:22 UTC
-+++ vendor/src/github.com/spacemonkeygo/openssl/build.go
-@@ -19,6 +19,7 @@ package openssl
- // #cgo linux pkg-config: openssl
- // #cgo windows CFLAGS: -DWIN32_LEAN_AND_MEAN
- // #cgo windows LDFLAGS: -lcrypt32
-+// #cgo freebsd LDFLAGS: -lssl -lcrypto
- // #cgo darwin CFLAGS: -Wno-deprecated-declarations
- // #cgo darwin LDFLAGS: -lssl -lcrypto -framework CoreFoundation -framework Foundation -framework Security
- import "C"
diff --git a/databases/mongodb36-tools/files/patch-vendor_src_github.com_spacemonkeygo_openssl_init__posix.go b/databases/mongodb36-tools/files/patch-vendor_src_github.com_spacemonkeygo_openssl_init__posix.go
deleted file mode 100644
index 17dc773143bf..000000000000
--- a/databases/mongodb36-tools/files/patch-vendor_src_github.com_spacemonkeygo_openssl_init__posix.go
+++ /dev/null
@@ -1,11 +0,0 @@
---- vendor/src/github.com/spacemonkeygo/openssl/init_posix.go.orig	2016-01-03 17:52:58 UTC
-+++ vendor/src/github.com/spacemonkeygo/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/mongodb36-tools/pkg-descr b/databases/mongodb36-tools/pkg-descr
deleted file mode 100644
index 905c40b5dd1c..000000000000
--- a/databases/mongodb36-tools/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-Since MongoDB 3.2, the tools bsondump, mongoimport, mongoexport, mongodump,
-mongorestore, mongostat, mongofiles and mongotop have been placed
-in a separate package and rewritten in Go. These are useful utilities for
-managing a MongoDB instance.
diff --git a/databases/mongodb36-tools/pkg-plist b/databases/mongodb36-tools/pkg-plist
deleted file mode 100644
index cb8a263ca9bc..000000000000
--- a/databases/mongodb36-tools/pkg-plist
+++ /dev/null
@@ -1,11 +0,0 @@
-bin/bsondump
-bin/mongodump
-bin/mongoexport
-bin/mongofiles
-bin/mongoimport
-bin/mongorestore
-bin/mongostat
-bin/mongotop
-%%PORTDOCS%%%%DOCSDIR%%/LICENSE.md
-%%PORTDOCS%%%%DOCSDIR%%/README.md
-%%PORTDOCS%%%%DOCSDIR%%/THIRD-PARTY-NOTICES