git: 6a8a3448a396 - main - www/varnish-nagios: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Sat, 02 Dec 2023 12:28:14 UTC
The branch main has been updated by rene:

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

commit 6a8a3448a3961bea93be2f14f153759218b6d24d
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2023-12-02 12:28:03 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2023-12-02 12:28:03 +0000

    www/varnish-nagios: Remove expired port
    
    2023-11-30 www/varnish-nagios: Marked BROKEN for months, also depends on deprecated version of Varnish
---
 MOVED                                           |  1 +
 www/Makefile                                    |  1 -
 www/varnish-nagios/Makefile                     | 35 -------------------------
 www/varnish-nagios/distinfo                     |  2 --
 www/varnish-nagios/files/patch-check__varnish.c | 11 --------
 www/varnish-nagios/files/pkg-message.in         |  9 -------
 www/varnish-nagios/pkg-descr                    |  1 -
 7 files changed, 1 insertion(+), 59 deletions(-)

diff --git a/MOVED b/MOVED
index 52f34cfca1b8..0fc9edeb2892 100644
--- a/MOVED
+++ b/MOVED
@@ -8127,3 +8127,4 @@ net/gupnp-ui||2023-12-02|Has expired: Depends on deprecated port net/gupnp14
 graphics/R-cran-rtiff||2023-12-02|Has expired: Fails to build and abandoned upstream
 games/iagno||2023-12-02|Has expired: BROKEN for more than a year and no upstream activity for the last 2 years
 emulators/ines||2023-12-02|Has expired: Ancient NES emulator that only works on i386, consider using emulators/higan
+www/varnish-nagios||2023-12-02|Has expired: Marked BROKEN for months, also depends on deprecated version of Varnish
diff --git a/www/Makefile b/www/Makefile
index 9c768aa329ed..cb12df4a6185 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2448,7 +2448,6 @@
     SUBDIR += varnish-libvmod-querystring
     SUBDIR += varnish-libvmod-redis
     SUBDIR += varnish-modules
-    SUBDIR += varnish-nagios
     SUBDIR += varnish6
     SUBDIR += varnish7
     SUBDIR += varnish_exporter
diff --git a/www/varnish-nagios/Makefile b/www/varnish-nagios/Makefile
deleted file mode 100644
index ae67f26a7e84..000000000000
--- a/www/varnish-nagios/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-PORTNAME=	varnish-nagios
-PORTVERSION=	1.1.20151214
-PORTREVISION=	2
-CATEGORIES=	www
-
-MAINTAINER=	joneum@FreeBSD.org
-COMMENT=	Nagios plugin to check status of Varnish
-WWW=		https://www.varnish-cache.org/utility/nagios-varnish-plugin
-
-LICENSE=	BSD2CLAUSE
-
-BROKEN=		fails to build
-DEPRECATED=	Marked BROKEN for months, also depends on deprecated version of Varnish
-EXPIRATION_DATE=2023-11-30
-
-RUN_DEPENDS=	sudo:security/sudo
-
-GNU_CONFIGURE=	yes
-CFLAGS+=	-lm
-
-USES=		autoreconf libtool pkgconfig varnish
-
-USE_GITHUB=	yes
-GH_ACCOUNT=	varnish
-GH_TAGNAME=	258c486
-
-PLIST_FILES=	libexec/nagios/check_varnish
-
-SUB_FILES=	pkg-message
-
-do-install:
-	@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
-	${INSTALL_PROGRAM} ${WRKSRC}/check_varnish ${STAGEDIR}${PREFIX}/libexec/nagios
-
-.include <bsd.port.mk>
diff --git a/www/varnish-nagios/distinfo b/www/varnish-nagios/distinfo
deleted file mode 100644
index 4476aa8c5bd3..000000000000
--- a/www/varnish-nagios/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (varnish-varnish-nagios-1.1.20151214-258c486_GH0.tar.gz) = 0f54a5941c8b7fa5dc175306ddf5fe9a6a3739ebb606ff784d12aab6519080db
-SIZE (varnish-varnish-nagios-1.1.20151214-258c486_GH0.tar.gz) = 5663
diff --git a/www/varnish-nagios/files/patch-check__varnish.c b/www/varnish-nagios/files/patch-check__varnish.c
deleted file mode 100644
index b7ae8e71cd5f..000000000000
--- a/www/varnish-nagios/files/patch-check__varnish.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- check_varnish.c.orig	2016-10-26 07:20:18 UTC
-+++ check_varnish.c
-@@ -326,7 +326,7 @@ main(int argc, char **argv)
- 	VSC_Setup(vd);
- #endif
- 
--	while ((opt = getopt(argc, argv, VSC_ARGS "c:hn:p:vw:")) != -1) {
-+	while ((opt = getopt(argc, argv, "f:n:N:c:hn:p:vw:")) != -1) {
- 		switch (opt) {
- 		case 'c':
- 			if (parse_range(optarg, &critical) != 0)
diff --git a/www/varnish-nagios/files/pkg-message.in b/www/varnish-nagios/files/pkg-message.in
deleted file mode 100644
index 369ed133d532..000000000000
--- a/www/varnish-nagios/files/pkg-message.in
+++ /dev/null
@@ -1,9 +0,0 @@
-[
-{ type: install
-  message: <<EOM
- Add the following line to %%PREFIX%%/etc/sudoers:
-
-   nagios ALL=NOPASSWD: %%PREFIX%%/libexec/nagios/check_varnish
-EOM
-}
-]
diff --git a/www/varnish-nagios/pkg-descr b/www/varnish-nagios/pkg-descr
deleted file mode 100644
index c77c93b66252..000000000000
--- a/www/varnish-nagios/pkg-descr
+++ /dev/null
@@ -1 +0,0 @@
-Nagios plugin to monitor Varnish.