git: a7a56556a5fc - main - dns/dnscheckengine: Remove expired port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 29 Feb 2024 12:08:28 UTC
The branch main has been updated by bofh:

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

commit a7a56556a5fc38fa5fdcdaa4e09e8e5ada03cc9d
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-29 11:49:45 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-29 11:49:45 +0000

    dns/dnscheckengine: Remove expired port
    
    dns/dnscheckengine
---
 MOVED                                              |  1 +
 dns/Makefile                                       |  1 -
 dns/dnscheckengine/Makefile                        | 71 --------------------
 dns/dnscheckengine/distinfo                        |  3 -
 .../files/patch-apps-dnscheck-dispatcher.pl        | 78 ----------------------
 .../files/patch-contrib_dnscheck-dispatcher.sh     | 55 ---------------
 dns/dnscheckengine/files/pkg-message.in            | 36 ----------
 dns/dnscheckengine/pkg-descr                       |  5 --
 dns/dnscheckengine/pkg-plist                       | 58 ----------------
 9 files changed, 1 insertion(+), 307 deletions(-)

diff --git a/MOVED b/MOVED
index a494580e1b85..9a98faba48c2 100644
--- a/MOVED
+++ b/MOVED
@@ -3005,3 +3005,4 @@ comms/comserv||2024-02-29|Has expired: Abandonware, last release in 2002. Consid
 comms/sms_client||2024-02-29|Has expired: Abandonware, dead upstream and relies on legacy hardware and or networks that are obsolete
 devel/codeville||2024-02-29|Has expired: Abandonware, dead upstream for at least 10 years. Consider using devel/git or devel/mercurial
 dns/dns_balance||2024-02-29|Has expired: Abandonware, last release in 2005. Consider using dns/dnsdist
+dns/dnscheckengine||2024-02-29|Has expired: Deprecated upstream in favour of Zonemaster Project
diff --git a/dns/Makefile b/dns/Makefile
index 251cf944634a..6bcae3f85a07 100644
--- a/dns/Makefile
+++ b/dns/Makefile
@@ -27,7 +27,6 @@
     SUBDIR += dns2tcp
     SUBDIR += dnsblast
     SUBDIR += dnscap
-    SUBDIR += dnscheckengine
     SUBDIR += dnscontrol
     SUBDIR += dnscrypt-proxy2
     SUBDIR += dnscrypt-wrapper
diff --git a/dns/dnscheckengine/Makefile b/dns/dnscheckengine/Makefile
deleted file mode 100644
index 1bc8c6f5fc7b..000000000000
--- a/dns/dnscheckengine/Makefile
+++ /dev/null
@@ -1,71 +0,0 @@
-PORTNAME=	dnscheckengine
-PORTVERSION=	1.1
-PORTREVISION=	4
-CATEGORIES=	dns perl5
-MASTER_SITES=	https://BSDforge.com/projects/source/dns/dnscheckengine/
-DISTNAME=	DNSCheck-1.1
-
-MAINTAINER=	portmaster@BSDforge.com
-COMMENT=	DNS checker from the folks that run the .SE top level domain
-WWW=		https://dnscheck.iis.se/
-
-LICENSE=	BSD2CLAUSE
-LICENSE_FILE=	${WRKSRC}/LICENSE
-
-DEPRECATED=	Deprecated upstream in favour of Zonemaster Project
-EXPIRATION_DATE=2024-02-29
-
-BUILD_DEPENDS=	p5-Crypt-OpenSSL-Random>=0:security/p5-Crypt-OpenSSL-Random \
-		p5-Digest-BubbleBabble>=0:security/p5-Digest-BubbleBabble \
-		p5-Digest-SHA1>=0:security/p5-Digest-SHA1 \
-		p5-IO-Socket-INET6>=2.51:net/p5-IO-Socket-INET6 \
-		p5-Net-DNS>=0.65:dns/p5-Net-DNS \
-		p5-Net-DNS-SEC>=0.15:dns/p5-Net-DNS-SEC \
-		p5-Socket6>=0.19:net/p5-Socket6 \
-		p5-YAML>=0:textproc/p5-YAML \
-		p5-Text-Template>=0:textproc/p5-Text-Template \
-		p5-Mail-RFC822-Address>=0:mail/p5-Mail-RFC822-Address \
-		p5-MIME-Lite>=0:mail/p5-MIME-Lite \
-		p5-Net-IP>=0:net-mgmt/p5-Net-IP \
-		p5-DBI>=0:databases/p5-DBI \
-		p5-DBD-mysql>=0:databases/p5-DBD-mysql
-RUN_DEPENDS=	p5-DBD-mysql>=0:databases/p5-DBD-mysql
-
-NO_ARCH=	yes
-USES=		mysql perl5
-USE_PERL5=	configure
-CONFIGURE_SCRIPT+=	Makefile.PL INSTALLSITESCRIPT=${PREFIX}/libexec/dnscheck
-
-WRKSRC=		${WRKDIR}/engine
-
-DOCSDIR=	${PREFIX}/share/doc/DNSCheck
-DOCS=		data-flow-batch.png DNSCheck.graffle data-flow-web.png \
-		call-flow.png database-schema.pdf
-DOCSDB=		indexes.sql schema.sql drop.sql
-PORTDOCS=	*
-SUB_FILES=	pkg-message
-
-OPTIONS_DEFINE=	DOCS
-
-post-patch:
-	@${FIND} ${WRKSRC} -name \*.orig -delete
-	@${GREP} -Rl '%%[[:alpha:]]\+%%' ${WRKSRC} | \
-		${XARGS} ${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g'
-	@${REINPLACE_CMD} -e "s#%%PREFIX%%#${PREFIX}#" \
-		${WRKSRC}/contrib/dnscheck-dispatcher.sh
-
-post-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/contrib/dnscheck-dispatcher.sh \
-		${STAGEDIR}${PREFIX}/etc/rc.d/dnscheck-dispatcher
-	(cd ${STAGEDIR}${PREFIX}/bin && \
-		${LN} -s ../libexec/dnscheck/dnscheck-dispatcher . && \
-		${LN} -s ../libexec/dnscheck/dnscheck dnscheckengine)
-
-post-install-DOCS-on:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${DOCSDIR}/db
-	${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} '${WRKSRC}/doc/DNSCheck Lib Descriptions.pdf' \
-		${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${DOCSDB:S|^|${WRKSRC}/db/|} ${STAGEDIR}${DOCSDIR}/db
-
-.include <bsd.port.mk>
diff --git a/dns/dnscheckengine/distinfo b/dns/dnscheckengine/distinfo
deleted file mode 100644
index cdf657a8f7df..000000000000
--- a/dns/dnscheckengine/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1587815526
-SHA256 (DNSCheck-1.1.tar.gz) = 456fcb885ca7fd2de7219295988975cd0d311622d73cd112505fba132fe6194e
-SIZE (DNSCheck-1.1.tar.gz) = 427599
diff --git a/dns/dnscheckengine/files/patch-apps-dnscheck-dispatcher.pl b/dns/dnscheckengine/files/patch-apps-dnscheck-dispatcher.pl
deleted file mode 100644
index 2af75b6c9d77..000000000000
--- a/dns/dnscheckengine/files/patch-apps-dnscheck-dispatcher.pl
+++ /dev/null
@@ -1,78 +0,0 @@
-*** apps/dnscheck-dispatcher.pl	Tue Jun 29 04:15:59 2010
---- apps/dnscheck-dispatcher.pl	Sun Jul  4 19:22:42 2010
-***************
-*** 43,49 ****
-    %running
-    %reaped
-    %problem
-!   $debug
-    $verbose
-    $check
-    $limit
---- 43,49 ----
-    %running
-    %reaped
-    %problem
-!   $user
-    $verbose
-    $check
-    $limit
-***************
-*** 54,59 ****
---- 54,60 ----
-    $exit_timeout
-    $savelevel
-    %levels
-+   $debug
-  ];
-  
-  %running   = ();
-***************
-*** 75,81 ****
-      ERROR    => 4,
-      CRITICAL => 5,
-  );
-! 
-  # Kick everything off
-  main();
-  
---- 76,83 ----
-      ERROR    => 4,
-      CRITICAL => 5,
-  );
-! # user to run as
-! $user = 'nobody';
-  # Kick everything off
-  main();
-  
-***************
-*** 124,130 ****
-  sub setup {
-      my $errfile = $check->config->get("daemon")->{errorlog};
-      my $pidfile = $check->config->get("daemon")->{pidfile};
-! 
-      @saved_argv = @ARGV;    # We'll use this if we're asked to restart ourselves
-      GetOptions('debug' => \$debug, 'verbose' => \$verbose);
-      openlog($check->config->get("syslog")->{ident},
---- 126,135 ----
-  sub setup {
-      my $errfile = $check->config->get("daemon")->{errorlog};
-      my $pidfile = $check->config->get("daemon")->{pidfile};
-!     my $uid;
-!     unless ($uid = (getpwnam($user))[2]) {
-! 	die "Attempt to run dispatcher as non-existent user or as root\n";
-!     }
-      @saved_argv = @ARGV;    # We'll use this if we're asked to restart ourselves
-      GetOptions('debug' => \$debug, 'verbose' => \$verbose);
-      openlog($check->config->get("syslog")->{ident},
-***************
-*** 149,154 ****
---- 154,161 ----
-      open PIDFILE, '>', $pidfile or die "Failed to open PID file: $!";
-      print PIDFILE $$;
-      close PIDFILE;
-+ # become non-root
-+     $>= $uid;
-      $SIG{CHLD} = \&REAPER;
-      $SIG{TERM} = sub { $running = 0 };
-      $SIG{HUP}  = sub {
diff --git a/dns/dnscheckengine/files/patch-contrib_dnscheck-dispatcher.sh b/dns/dnscheckengine/files/patch-contrib_dnscheck-dispatcher.sh
deleted file mode 100644
index 001a190dc25f..000000000000
--- a/dns/dnscheckengine/files/patch-contrib_dnscheck-dispatcher.sh
+++ /dev/null
@@ -1,55 +0,0 @@
---- contrib/dnscheck-dispatcher.sh.orig	2010-06-29 02:15:59.000000000 -0700
-+++ contrib/dnscheck-dispatcher.sh	2012-01-15 15:32:16.000000000 -0800
-@@ -6,45 +6,18 @@
- 
- # Add the following lines to /etc/rc.conf to enable the dnscheck-dispatcher daemon:
- #
--#dnscheck_dispatcher_enable="YES"
--
--#
--# DO NOT CHANGE THESE DEFAULT VALUES HERE
--# SET THEM IN THE /etc/rc.conf FILE
--#
--utility_enable=${dnscheck_dispatcher_enable-"NO"}
--utility_flags=${dnscheck_dispatcher_flags-""}
--utility_pidfile=${dnscheck_dispatcher_pidfile-"/var/run/dnscheck_dispatcher.pid"}
-+# dnscheck_dispatcher_enable="YES"
- 
- . /etc/rc.subr
- 
- name="dnscheck_dispatcher"
--rcvar=`set_rcvar`
--command="/usr/local/bin/dnscheck-dispatcher"
-+rcvar=dnscheck_dispatcher_enable
- 
--pidfile="${utility_pidfile}"
-+load_rc_config $name
- 
--start_cmd=dnscheck_dispatcher_start
--stop_cmd=dnscheck_dispatcher_stop
--status_cmd=dnscheck_dispatcher_status
--
--dnscheck_dispatcher_start() {
--   /bin/echo "Starting ${name}." && \
--   /usr/bin/nice -5 ${command} ${utility_flags} ${command_args}
--}
--
--
--dnscheck_dispatcher_stop() {
--   /bin/echo "Stopping ${name}." && \
--   /bin/kill -9 `cat ${utility_pidfile}` && /bin/rm ${utility_pidfile}
--}
--
--dnscheck_dispatcher_status() {
--   if [ -e $utility_pidfile ]
--       then echo "dnscheck_dispatcher is running as pid `cat ${utility_pidfile}`."
--       else echo "dnscheck_dispatcher is not running."
--   fi
--}
-+dnscheck_dispatcher_enable=${dnscheck_dispatcher_enable-"NO"}
-+pidfile=${dnscheck_dispatcher_pidfile-"/var/run/dnscheck_dispatcher.pid"}
-+
-+command="%%PREFIX%%/bin/dnscheck-dispatcher"
- 
--load_rc_config $name
- run_rc_command "$1"
diff --git a/dns/dnscheckengine/files/pkg-message.in b/dns/dnscheckengine/files/pkg-message.in
deleted file mode 100644
index c7953d00e17f..000000000000
--- a/dns/dnscheckengine/files/pkg-message.in
+++ /dev/null
@@ -1,36 +0,0 @@
-[
-{ type: install
-  message: <<EOM
-	   / \|_   _|_   _| ____| \ | |_   _|_ _/ _ \| \ | |
-	  / _ \ | |   | | |  _| |  \| | | |  | | | | |  \| |
-	 / ___ \| |   | | | |___| |\  | | |  | | |_| | |\  |
-	/_/   \_\_|   |_| |_____|_| \_| |_| |___\___/|_| \_|
-
-The DNSCheck software included in the port is the PERL-based engine and
-includes a command line utility that uses that engine in %%PREFIX%%/bin
-called dnscheckengine. There is some other software that is included
-that the developers at the .SE registry use to manage the process by
-which they do domain delegation. These generally require MYSQL support
-to work and are disabled by default. If you want to learn more about them,
-they are all PERL-based and have integrated perldoc information. However,
-I have not tested them extensively and can't advise on their suitability as of
-this writing. All the scripts install into %%PREFIX%%/libexec/dnscheck.
-
-This port also installs some documentation in %%DOCSDIR%%
-that may prove useful.
-
-There is also a webui that is available as an alternative frontend. I hope
-to include it in a future port.
-
-If you have questions about the basic software, please see the developer's
-web site at http://opensource.iis.se/dnscheck. If there is a problem with
-the port, please let me know at dnscheckengine-port@academ.com.
-
-Stan Barber
-Academ Consulting Services
-http://www.stanbarber.com
-http://www.academ.com
-
-EOM
-}
-]
diff --git a/dns/dnscheckengine/pkg-descr b/dns/dnscheckengine/pkg-descr
deleted file mode 100644
index 680e39507dc3..000000000000
--- a/dns/dnscheckengine/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-DNSCheck is a program that is designed to help people check, measure and
-hopefully also understand the workings of the Domain Name System. When
-used to check an domain (aka zone) is submitted to DNSCheck, it will
-investigate the general health by performing various tests and sanity
-checks.
diff --git a/dns/dnscheckengine/pkg-plist b/dns/dnscheckengine/pkg-plist
deleted file mode 100644
index 708c18535ddf..000000000000
--- a/dns/dnscheckengine/pkg-plist
+++ /dev/null
@@ -1,58 +0,0 @@
-bin/dnscheck-dispatcher
-bin/dnscheckengine
-etc/rc.d/dnscheck-dispatcher
-libexec/dnscheck/dnscheck
-libexec/dnscheck/dnscheck-12hourmailer
-libexec/dnscheck/dnscheck-dispatcher
-libexec/dnscheck/dnscheck-hostsyntax
-libexec/dnscheck/dnscheck-preflight
-libexec/dnscheck/dnscheck-zonediff
-%%PERL5_MAN1%%/dnscheck-zonediff.1.gz
-%%PERL5_MAN1%%/dnscheck-dispatcher.1.gz
-%%PERL5_MAN1%%/dnscheck-preflight.1.gz
-%%PERL5_MAN1%%/dnscheck-hostsyntax.1.gz
-%%PERL5_MAN1%%/dnscheck.1.gz
-%%PERL5_MAN1%%/dnscheck-12hourmailer.1.gz
-%%PERL5_MAN3%%/DNSCheck::Test::Nameserver.3.gz
-%%PERL5_MAN3%%/DNSCheck::Config.3.gz
-%%PERL5_MAN3%%/DNSCheck.3.gz
-%%PERL5_MAN3%%/DNSCheck::Lookup::DNS.3.gz
-%%PERL5_MAN3%%/DNSCheck::Test::Consistency.3.gz
-%%PERL5_MAN3%%/DNSCheck::Test::Host.3.gz
-%%PERL5_MAN3%%/DNSCheck::Test::Connectivity.3.gz
-%%PERL5_MAN3%%/DNSCheck::Overview.3.gz
-%%PERL5_MAN3%%/DNSCheck::Test::Address.3.gz
-%%PERL5_MAN3%%/DNSCheck::Test::DNSSEC.3.gz
-%%PERL5_MAN3%%/DNSCheck::Test::SMTP.3.gz
-%%PERL5_MAN3%%/DNSCheck::Lookup::ASN.3.gz
-%%PERL5_MAN3%%/DNSCheck::Test::Zone.3.gz
-%%PERL5_MAN3%%/DNSCheck::Logger.3.gz
-%%PERL5_MAN3%%/DNSCheck::Test::Common.3.gz
-%%PERL5_MAN3%%/DNSCheck::Test::Delegation.3.gz
-%%PERL5_MAN3%%/DNSCheck::Test::SOA.3.gz
-%%PERL5_MAN3%%/DNSCheck::Lookup::Resolver.3.gz
-%%PERL5_MAN3%%/DNSCheck::Test::Mail.3.gz
-%%SITE_PERL%%/DNSCheck.pm
-%%SITE_PERL%%/DNSCheck/Test/Address.pm
-%%SITE_PERL%%/DNSCheck/Test/Consistency.pm
-%%SITE_PERL%%/DNSCheck/Test/Host.pm
-%%SITE_PERL%%/DNSCheck/Test/SMTP.pm
-%%SITE_PERL%%/DNSCheck/Test/Common.pm
-%%SITE_PERL%%/DNSCheck/Test/DNSSEC.pm
-%%SITE_PERL%%/DNSCheck/Test/Mail.pm
-%%SITE_PERL%%/DNSCheck/Test/SOA.pm
-%%SITE_PERL%%/DNSCheck/Test/Connectivity.pm
-%%SITE_PERL%%/DNSCheck/Test/Delegation.pm
-%%SITE_PERL%%/DNSCheck/Test/Nameserver.pm
-%%SITE_PERL%%/DNSCheck/Test/Zone.pm
-%%SITE_PERL%%/DNSCheck/Config.pm
-%%SITE_PERL%%/DNSCheck/Logger.pm
-%%SITE_PERL%%/DNSCheck/Locale.pm
-%%SITE_PERL%%/DNSCheck/Overview.pod
-%%SITE_PERL%%/DNSCheck/Lookup/ASN.pm
-%%SITE_PERL%%/DNSCheck/Lookup/DNS.pm
-%%SITE_PERL%%/DNSCheck/Lookup/Resolver.pm
-share/dnscheck/locale/en.yaml
-share/dnscheck/locale/sv.yaml
-share/dnscheck/config.yaml
-share/dnscheck/policy.yaml