From nobody Thu Feb 29 12:08:26 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TlqkM1nzHz5C3R2; Thu, 29 Feb 2024 12:08:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TlqkM0X9Bz4FYl; Thu, 29 Feb 2024 12:08:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709208507; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6C9sKVV3G0FPrkATg/DxH2cy4Gdnnl1u2uvohYfpVKk=; b=BM7qZiT3YL+w+oU8sO8D8qv0BVuUcUmU6vh2MpSRdImjgfTxTy0f6Vvpz2VPHUbmIq9ZJ0 nx1K3fUMkrQXJaGpfu6vHIZOtQgYFyc4CpvAsAzslUAoTq/zuzGID7i+nM3SGfEffp08jN ONH8MaSqmoxXeWriHWHyEELuKMIbm/6+77vbjN0x6MvIoMgQbyOTJBj0rgipR8URjB5F45 9Y7lsh8ZZMgT8emerSCddfIZ/0IyKqnvZiMlA6LN3AdM9JhxBvc5k2ykQO92/evLPK1ztK eEli1WToPGsbLhmcaQTWtxkpgz2jv5tt7gdWtYYrZ8uz0SdxHuOGw1bFUIYhSA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709208507; a=rsa-sha256; cv=none; b=jDdVtAS4wChQVUo2DsDK4gflRKi8iiIq8nraeiLfPoFNotj1TppHV2WlKEKM3diqrhnVPn XeXg3BqX037DcRyFsDgNbmghMsX3uhPP0ZwxNe3sLXUeU4ERIlDFpxtuQnA0tDU07/HcgB DFreAiu+xQrhazhMWZHPYhkA+wyJbCQ15AWbUlRaMvov7kViq/BwMavjOIaHbXnnhbp/Tj pL1jZcTzchINtFETzadwZJDc4lBHW0SnqsTPxsup/YmKGyNY2akEY5MZLhfVn8bvcNqp2D 22EeopKJQWqmZwda7u9VxHVYxxbJ9+kprx/Rwm+8Ew9KyULuC6GmxnYXhUny+g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709208507; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6C9sKVV3G0FPrkATg/DxH2cy4Gdnnl1u2uvohYfpVKk=; b=GyCsMYcogA1poLHut6vanV+dXsPvvgR0MZOPDn6dit4v2KvcqrCHVACh+li+dSLvHS7Hx4 KR3PEjMByMQxgST/HO5gOKwYhY4vX8vorHjMXBIAA4M7B+GazVBmEdaHOH2UJNj5cRjhFv qepHRUwvzJIYUz2OnaIDSLiuVOkhGS82kCm+/OxYUVAXe0plq47T/ur+txesEWMhtKfJdp YQgn5JXg9zf+gScGs9w3lEPQImNqkloRzzWdtOIwwR19zy4JID+Ok0VJNWfputpRv1tbQG M5bqtYpqIAhT242TmbOkGNDxBYYbyyIqQsQaAnTu+svcYfz9SjAqI48rvao/qg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TlqkM08czzh0V; Thu, 29 Feb 2024 12:08:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41TC8Qsq084585; Thu, 29 Feb 2024 12:08:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41TC8Q0q084582; Thu, 29 Feb 2024 12:08:26 GMT (envelope-from git) Date: Thu, 29 Feb 2024 12:08:26 GMT Message-Id: <202402291208.41TC8Q0q084582@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 8bb1f203a6bb - main - dns/dns_balance: Remove expired port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8bb1f203a6bb54cd6bf893a615bf1d16927ca4eb Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=8bb1f203a6bb54cd6bf893a615bf1d16927ca4eb commit 8bb1f203a6bb54cd6bf893a615bf1d16927ca4eb Author: Muhammad Moinur Rahman AuthorDate: 2024-02-29 11:49:05 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2024-02-29 11:49:05 +0000 dns/dns_balance: Remove expired port dns/dns_balance --- MOVED | 1 + dns/Makefile | 1 - dns/dns_balance/Makefile | 58 ------------------ dns/dns_balance/distinfo | 3 - dns/dns_balance/files/dns_balance.in | 25 -------- dns/dns_balance/files/patch-dns_balance.rb | 97 ------------------------------ dns/dns_balance/pkg-descr | 12 ---- dns/dns_balance/pkg-plist | 24 -------- 8 files changed, 1 insertion(+), 220 deletions(-) diff --git a/MOVED b/MOVED index a06a4f3a0613..a494580e1b85 100644 --- a/MOVED +++ b/MOVED @@ -3004,3 +3004,4 @@ benchmarks/ramspeed||2024-02-29|Has expired: Upstream is dead and port is unfetc comms/comserv||2024-02-29|Has expired: Abandonware, last release in 2002. Consider using comms/remserial 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 diff --git a/dns/Makefile b/dns/Makefile index 230a79d9ef62..251cf944634a 100644 --- a/dns/Makefile +++ b/dns/Makefile @@ -25,7 +25,6 @@ SUBDIR += dns-ui SUBDIR += dns2blackhole SUBDIR += dns2tcp - SUBDIR += dns_balance SUBDIR += dnsblast SUBDIR += dnscap SUBDIR += dnscheckengine diff --git a/dns/dns_balance/Makefile b/dns/dns_balance/Makefile deleted file mode 100644 index 53a6a9413fc1..000000000000 --- a/dns/dns_balance/Makefile +++ /dev/null @@ -1,58 +0,0 @@ -PORTNAME= dns_balance -PORTVERSION= 2.1 -CATEGORIES= dns -MASTER_SITES= https://BSDforge.com/projects/source/dns/dns_balance/ - -MAINTAINER= portmaster@BSDforge.com -COMMENT= Dynamic load-balancing DNS server -WWW= https://www.netlab.cs.tsukuba.ac.jp/~yokota/izumi/dns_balance/ - -LICENSE= BSD2CLAUSE - -DEPRECATED= Abandonware, last release in 2005. Consider using dns/dnsdist -EXPIRATION_DATE=2024-02-29 - -USES= ruby shebangfix tar:xz -USE_RC_SUBR= dns_balance - -NO_BUILD= yes - -SHEBANG_FILES= ${WRKSRC}/dns_balance.rb \ - ${WRKSRC}/sample/makedb.rb \ - ${WRKSRC}/sample/make_namespace.rb - -ETCS= addrdb.rb \ - namespace.rb -LIBS= as_search.rb \ - cache.rb \ - datatype.rb \ - log_writer.rb \ - multilog.rb \ - util.rb - -PLIST_SUB+= ETCDIR=${ETCDIR} -SUB_LIST+= RUBY=${RUBY} - -OPTIONS_DEFINE= DOCS EXAMPLES - -post-patch: - ${SED} -E -e "s,%%PREFIX%%,${PREFIX},g" \ - -e "s,%%PORTNAME%%,${PORTNAME},g" \ - -e "s,%%ETCDIR%%,${ETCDIR},g" \ - ${WRKSRC}/dns_balance.rb > ${WRKSRC}/dns_balance - -do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/dns_balance ${STAGEDIR}${PREFIX}/sbin - @${MKDIR} ${STAGEDIR}${ETCDIR} -.for FILE in ${ETCS} - ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${ETCDIR}/${FILE}.dist -.endfor - @${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME} - (cd ${WRKSRC} && ${INSTALL_DATA} ${LIBS} \ - ${STAGEDIR}${PREFIX}/lib/${PORTNAME}) - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/sample/* ${STAGEDIR}${EXAMPLESDIR} - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README* ${WRKSRC}/Q_and_A* ${STAGEDIR}${DOCSDIR} - -.include diff --git a/dns/dns_balance/distinfo b/dns/dns_balance/distinfo deleted file mode 100644 index 218ab3e1f93c..000000000000 --- a/dns/dns_balance/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1486748693 -SHA256 (dns_balance-2.1.tar.xz) = 6a0c366173d7865c51b322400954a004012f7858be95a23d61884b67ebe0a8f9 -SIZE (dns_balance-2.1.tar.xz) = 15796 diff --git a/dns/dns_balance/files/dns_balance.in b/dns/dns_balance/files/dns_balance.in deleted file mode 100644 index c6598a8dcbdb..000000000000 --- a/dns/dns_balance/files/dns_balance.in +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -# PROVIDE: dns_balance -# REQUIRE: DAEMON - -# Add the following line to /etc/rc.conf to enable dns_balance -# dns_balance_enable="YES" -# dns_balance_flags="" - -. /etc/rc.subr - -name=dns_balance -rcvar=dns_balance_enable - -load_rc_config ${name} -: ${dns_balance_enable="NO"} -: ${dns_balance_logfile="/var/log/${name}.log"} -: ${dns_balance_pidfile="/var/log/${name}.pid"} - -command="%%PREFIX%%/sbin/${name}" -command_args="-l ${dns_balance_logfile} -p ${dns_balance_pidfile}" -command_interpreter=%%RUBY%% -pidfile=${dns_balance_pidfile} - -run_rc_command "$1" diff --git a/dns/dns_balance/files/patch-dns_balance.rb b/dns/dns_balance/files/patch-dns_balance.rb deleted file mode 100644 index 8b51822704d8..000000000000 --- a/dns/dns_balance/files/patch-dns_balance.rb +++ /dev/null @@ -1,97 +0,0 @@ ---- dns_balance.rb.orig 2017-02-09 19:28:01.643383000 -0800 -+++ dns_balance.rb 2017-02-09 19:26:31.609711000 -0800 -@@ -8,14 +8,7 @@ - # $Id: dns_balance.rb,v 1.26 2017-02-09 17:18:59 chrish Exp $ - - # DNS Balance --if ENV["ROOT"] == nil -- warn("\"ROOT\" environment is recommended. Use current directory in this time.") -- PREFIX = "." --# exit(111) --else -- PREFIX = ENV["ROOT"] -- $LOAD_PATH.unshift(PREFIX) --end -+$LOAD_PATH.unshift("%%PREFIX%%/etc/%%PORTNAME%%", "%%PREFIX%%/lib/%%PORTNAME%%") - $LOAD_PATH.freeze - - require 'socket' -@@ -204,6 +197,14 @@ - opt.on("--as", "Enable AS namespace") { - OPT["as"] = true - } -+ opt.on("-l LOGFILE", String, "Print log to LOGFILE") { -+ |o| -+ OPT["l"] = o; -+ } -+ opt.on("-p PIDFILE", String, "Record PID to PIDFILE") { -+ |o| -+ OPT["p"] = o; -+ } - opt.on_tail("-h", "--help", "Show this help message and exit") { - STDERR.printf("%s", opt.to_s) - exit(111) -@@ -212,10 +213,42 @@ - } - OPT.freeze - --ML = MultiLog::new --ML.open -+exit! if fork -+Process::setsid -+exit! if fork -+STDIN.close -+STDOUT.close -+STDERR.close -+ -+$pidfile = nil -+if OPT["p"] -+ $pidfile = OPT["p"] -+ File::open($pidfile, 'w') { |f| f.puts $$ } -+end -+ -+$logout = nil -+if OPT["l"] -+ $logout = File::open(OPT["l"], 'a+') -+ $logout.sync = true -+end -+ -+[0, 2, 3, 5, 10, 13, 15].each do |sig| -+ trap(sig) { -+ File::unlink($pidfile) if $pidfile -+ $logout.close if $logout -+ exit -+ } -+end -+ -+ ML = MultiLog.new -+if OPT["l"] -+ $logout = File::open(OPT["l"], 'a+') -+ $logout.sync = true -+ ML.open($logout) -+else -+ ML.open -+end - --ML.log("dir: " + PREFIX) - ML.log("start") - - -@@ -224,7 +257,7 @@ - # - Thread::start { - loop { -- if test(?r, PREFIX + "/addr") || test(?r, "./addr") -+ if test(?r, "%%ETCDIR%%" + "/addr") - begin - load("addr") - -@@ -234,7 +267,7 @@ - end - end - -- #if test(?r, PREFIX + "/addr-once") || test(?r, "./addr-once") -+ #if test(?r, "%%ETCDIR%%" + "/addr-once") - # Thread.exit - #end - diff --git a/dns/dns_balance/pkg-descr b/dns/dns_balance/pkg-descr deleted file mode 100644 index db346adb0e19..000000000000 --- a/dns/dns_balance/pkg-descr +++ /dev/null @@ -1,12 +0,0 @@ -DNS Balance is a load-balancing DNS server which: - -o Does dynamic load balancing. -o Can answer the most proper resolution based on the client's IP - address. -o Implements "A" record lookups only. This would be good for - security. - -This (FreeBSD) version differs from original in the following: -- It works as a daemon -- Has ability to write messages to logfile -- Can save it's PID diff --git a/dns/dns_balance/pkg-plist b/dns/dns_balance/pkg-plist deleted file mode 100644 index d00f5c1286b2..000000000000 --- a/dns/dns_balance/pkg-plist +++ /dev/null @@ -1,24 +0,0 @@ -sbin/dns_balance -@sample etc/dns_balance/addrdb.rb.dist etc/dns_balance/addrdb.rb -@sample etc/dns_balance/namespace.rb.dist etc/dns_balance/namespace.rb -lib/dns_balance/as_search.rb -lib/dns_balance/cache.rb -lib/dns_balance/datatype.rb -lib/dns_balance/log_writer.rb -lib/dns_balance/multilog.rb -lib/dns_balance/util.rb -%%PORTDOCS%%%%DOCSDIR%%/Q_and_A.dns_balance -%%PORTDOCS%%%%DOCSDIR%%/Q_and_A.dns_balance.eng -%%PORTDOCS%%%%DOCSDIR%%/README.dns_balance -%%PORTDOCS%%%%DOCSDIR%%/README.dns_balance.eng -%%PORTDOCS%%%%DOCSDIR%%/README.dnsbalance+daemontools -%%PORTDOCS%%%%DOCSDIR%%/README.dnsbalance+daemontools.eng -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/addr -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/addr.ring -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/addr.ring.txt -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/make_namespace.rb -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/makedb.rb -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/makeringdb.rb -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/namespace.rb -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/namespace.txt -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ringupdate.sh