git: cefa8184e1bc - main - dns/adsuck: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Sun, 01 Sep 2024 14:30:14 UTC
The branch main has been updated by rene:

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

commit cefa8184e1bc2eb393aad7cdcd4c314253853ca1
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2024-09-01 14:30:08 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2024-09-01 14:30:08 +0000

    dns/adsuck: Remove expired port
    
    2024-05-31 dns/adsuck: Obsolete, no longer relevant
---
 MOVED                           |  1 +
 dns/Makefile                    |  1 -
 dns/adsuck/Makefile             | 40 ----------------------------------------
 dns/adsuck/distinfo             |  2 --
 dns/adsuck/files/adsuck.in      | 26 --------------------------
 dns/adsuck/files/patch-adsuck.c | 13 -------------
 dns/adsuck/files/patch-log.c    |  5 -----
 dns/adsuck/files/pkg-message.in | 23 -----------------------
 dns/adsuck/pkg-descr            |  2 --
 dns/adsuck/pkg-plist            | 11 -----------
 10 files changed, 1 insertion(+), 123 deletions(-)

diff --git a/MOVED b/MOVED
index 749379cf3916..75feea3b8f03 100644
--- a/MOVED
+++ b/MOVED
@@ -3451,3 +3451,4 @@ devel/electron28||2024-09-01|Has expired: EOLed upstream, switch to newer versio
 graphics/R-cran-rgdal||2024-09-01|Has expired: Fails to build and upstream recommends using math/R-cran-sf or math/R-cran-terra instead
 math/ploticus||2024-09-01|Has expired: Depends on expired graphics/ming
 graphics/ming||2024-09-01|Has expired: SWF format is essentially dead after Flash Player's EoL
+dns/adsuck||2024-09-01|Has expired: Obsolete, no longer relevant
diff --git a/dns/Makefile b/dns/Makefile
index f14e93f2e3f4..855a6c9df3c4 100644
--- a/dns/Makefile
+++ b/dns/Makefile
@@ -2,7 +2,6 @@
 
     SUBDIR += acme-dns
     SUBDIR += adns
-    SUBDIR += adsuck
     SUBDIR += amass
     SUBDIR += axfr2acl
     SUBDIR += bind-tools
diff --git a/dns/adsuck/Makefile b/dns/adsuck/Makefile
deleted file mode 100644
index 17c545ca11a4..000000000000
--- a/dns/adsuck/Makefile
+++ /dev/null
@@ -1,40 +0,0 @@
-PORTNAME=	adsuck
-PORTVERSION=	2.3
-PORTREVISION=	11
-CATEGORIES=	dns
-MASTER_SITES=	http://opensource.conformal.com/snapshots/adsuck/ \
-		http://philpep.org/pub/
-EXTRACT_SUFX=	.tgz
-
-MAINTAINER=	phil@philpep.org
-COMMENT=	DNS relay for ad blocking
-WWW=		http://opensource.conformal.com/wiki/Adsuck
-
-DEPRECATED=	Obsolete, no longer relevant
-EXPIRATION_DATE=2024-05-31
-
-LICENSE=	ISCL
-
-LIB_DEPENDS+=	libevent.so:devel/libevent \
-		libldns.so:dns/ldns
-
-USES=	localbase
-
-USE_RC_SUBR=	adsuck
-
-USERS=	_adsuck
-GROUPS=	_adsuck
-
-SUB_FILES+=	pkg-message
-
-OPTIONS_DEFINE=	EXAMPLES
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/adsuck ${STAGEDIR}${PREFIX}/sbin
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8.gz ${STAGEDIR}${PREFIX}/share/man/man8
-
-do-install-EXAMPLES-on:
-	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/files/* ${STAGEDIR}${EXAMPLESDIR}
-
-.include <bsd.port.mk>
diff --git a/dns/adsuck/distinfo b/dns/adsuck/distinfo
deleted file mode 100644
index e71946ade2dd..000000000000
--- a/dns/adsuck/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (adsuck-2.3.tgz) = 668367ef17eb4a5745b7af8e8ee359ced213d5dedc82c273be711440bd96a9ed
-SIZE (adsuck-2.3.tgz) = 2320307
diff --git a/dns/adsuck/files/adsuck.in b/dns/adsuck/files/adsuck.in
deleted file mode 100644
index 9917f27d755e..000000000000
--- a/dns/adsuck/files/adsuck.in
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: adsuck
-# REQUIRE: DAEMON
-# KEYWORD: shutdown
-#
-# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
-# to enable adsuck:
-#
-# adsuck_enable (bool):   Set to NO by default.
-
-. /etc/rc.subr
-
-name="adsuck"
-rcvar=adsuck_enable
-
-command=%%PREFIX%%/sbin/${name}
-extra_commands="reload"
-
-load_rc_config $name
-
-: ${adsuck_enable="NO"}
-: ${adsuck_svcj_options="net_basic"}
-: ${adsuck_flags="-c /var/adsuck -f resolv.conf -r regex Hosts.blc Hosts.pub Hosts.rsk Hosts.trc hosts.small hosts.yoyo"}
-
-run_rc_command "$1"
diff --git a/dns/adsuck/files/patch-adsuck.c b/dns/adsuck/files/patch-adsuck.c
deleted file mode 100644
index 9e0aa60666d5..000000000000
--- a/dns/adsuck/files/patch-adsuck.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- adsuck.c.orig	2011-04-14 20:36:30.000000000 +0200
-+++ adsuck.c	2011-04-22 13:54:41.350251199 +0200
-@@ -33 +33,2 @@
--#ifndef __linux__
-+#include <signal.h>
-+#include <limits.h>
-@@ -35,4 +35,0 @@
--#include <sys/queue.h>
--#else
--#include <linux/limits.h>
--#include "linux/tree.h"
-@@ -40 +36,0 @@
--#endif
diff --git a/dns/adsuck/files/patch-log.c b/dns/adsuck/files/patch-log.c
deleted file mode 100644
index d99f3608c6e6..000000000000
--- a/dns/adsuck/files/patch-log.c
+++ /dev/null
@@ -1,5 +0,0 @@
---- log.c.orig	2009-03-05 00:05:59.000000000 +0100
-+++ log.c	2011-04-22 13:41:48.193968412 +0200
-@@ -160 +160 @@
--	if (getnameinfo(sa, SA_LEN(sa), buf, sizeof(buf), NULL, 0,
-+	if (getnameinfo(sa, 0, buf, sizeof(buf), NULL, 0,
diff --git a/dns/adsuck/files/pkg-message.in b/dns/adsuck/files/pkg-message.in
deleted file mode 100644
index 608a3faed546..000000000000
--- a/dns/adsuck/files/pkg-message.in
+++ /dev/null
@@ -1,23 +0,0 @@
-[
-{ type: install
-  message: <<EOM
-Quick way to use adsuck chrooted in /var/adsuck
-
-mkdir /var/adsuck
-cp %%EXAMPLESDIR%%/* /var/adsuck
-
-# Adsuck forward to your old dns server
-cp /etc/resolv.conf /var/adsuck
-
-# Enable and start adsuck
-echo adsuck_enable=\"YES\" >> /etc/rc.conf
-/usr/local/etc/rc.d/adsuck start
-
-# Use adsuck as dns server
-echo "nameserver 127.0.0.1" > /etc/resolv.conf
-
-If you're using DHCP consider configuring your dhclient.conf(5) to prevent
-resolv.conf updates.
-EOM
-}
-]
diff --git a/dns/adsuck/pkg-descr b/dns/adsuck/pkg-descr
deleted file mode 100644
index 61c576579e98..000000000000
--- a/dns/adsuck/pkg-descr
+++ /dev/null
@@ -1,2 +0,0 @@
-adsuck is a DNS relay that returns NXdomain for hosts that match names in a
-blacklist for quick and non browser plugin based ad blocking.
diff --git a/dns/adsuck/pkg-plist b/dns/adsuck/pkg-plist
deleted file mode 100644
index 9b1e73a9e146..000000000000
--- a/dns/adsuck/pkg-plist
+++ /dev/null
@@ -1,11 +0,0 @@
-sbin/adsuck
-share/man/man8/adsuck.8.gz
-%%EXAMPLESDIR%%/Hosts.blc
-%%EXAMPLESDIR%%/Hosts.pub
-%%EXAMPLESDIR%%/Hosts.rsk
-%%EXAMPLESDIR%%/Hosts.trc
-%%EXAMPLESDIR%%/README
-%%EXAMPLESDIR%%/hosts.small
-%%EXAMPLESDIR%%/hosts.yoyo
-%%EXAMPLESDIR%%/regex
-%%EXAMPLESDIR%%/resolv.conf