Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jun 2023 05:48:35 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9248664eef42 - main - dns/mydns: Remove expired port
Message-ID:  <202306300548.35U5mZi3012462@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

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

commit 9248664eef42d837e70f5c8d85830d17633f3477
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-30 05:40:23 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-30 05:48:20 +0000

    dns/mydns: Remove expired port
    
    2023-06-30 dns/mydns: Abandonware, last release in 2006. Consider migrating to dns/powerdns
    
    Approved by:    portmgr (blanket)
---
 MOVED                                       |  1 +
 dns/Makefile                                |  1 -
 dns/mydns/Makefile                          | 78 -----------------------------
 dns/mydns/distinfo                          |  2 -
 dns/mydns/files/mydns.in                    | 27 ----------
 dns/mydns/files/patch-Makefile.in           | 10 ----
 dns/mydns/files/patch-src_mydns_listen.c    | 20 --------
 dns/mydns/files/patch-src_mydns_recursive.c | 12 -----
 dns/mydns/files/pkg-message.in              | 18 -------
 dns/mydns/pkg-descr                         | 10 ----
 dns/mydns/pkg-plist                         | 30 -----------
 11 files changed, 1 insertion(+), 208 deletions(-)

diff --git a/MOVED b/MOVED
index 213556cc46bc..f3290863539e 100644
--- a/MOVED
+++ b/MOVED
@@ -7701,3 +7701,4 @@ sysutils/mcollective||2023-06-30|Has expired: Broken with all supported Ruby ver
 databases/mariadb104-server||2023-06-30|Has expired: Use databases/mariadb106-server
 databases/mariadb104-client||2023-06-30|Has expired: Use databases/mariadb106-client
 dns/mydns-ng||2023-06-30|Has expired: Abandonware, last release in 2010. Consider migrating to dns/powerdns
+dns/mydns||2023-06-30|Has expired: Abandonware, last release in 2006. Consider migrating to dns/powerdns
diff --git a/dns/Makefile b/dns/Makefile
index fb58dc0f3404..af6a4cb23b2a 100644
--- a/dns/Makefile
+++ b/dns/Makefile
@@ -107,7 +107,6 @@
     SUBDIR += mDNSResponder_nss
     SUBDIR += maradns
     SUBDIR += mdnsd
-    SUBDIR += mydns
     SUBDIR += namesilo_ddns
     SUBDIR += nextdns
     SUBDIR += noip
diff --git a/dns/mydns/Makefile b/dns/mydns/Makefile
deleted file mode 100644
index 00b75414b096..000000000000
--- a/dns/mydns/Makefile
+++ /dev/null
@@ -1,78 +0,0 @@
-PORTNAME=	mydns
-PORTVERSION=	1.1.0
-PORTREVISION=	8
-CATEGORIES=	dns databases
-MASTER_SITES=	http://mydns.bboy.net/download/
-
-MAINTAINER=	ale@FreeBSD.org
-COMMENT=	DNS server designed to utilize the MySQL database
-WWW=		http://mydns.bboy.net/
-
-LICENSE=	GPLv2
-
-DEPRECATED=	Abandonware, last release in 2006. Consider migrating to dns/powerdns
-EXPIRATION_DATE=2023-06-30
-
-OPTIONS_DEFINE=	ALIAS OPENSSL PGSQL NLS DOCS NLS
-
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-confdir=${PREFIX}/etc
-USES=		tar:bzip2 iconv
-
-USE_RC_SUBR=	mydns
-
-SUB_FILES=	pkg-message
-
-INFO=		mydns
-
-DOCS=		AUTHORS COPYING ChangeLog NEWS QUICKSTART.mysql QUICKSTART.postgres README TODO
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MALIAS}
-CONFIGURE_ARGS+=--enable-alias
-.endif
-
-.if ${PORT_OPTIONS:MOPENSSL}
-USES+=		ssl
-CONFIGURE_ARGS+=--with-openssl \
-		--with-openssl-include=${OPENSSLINC} \
-		--with-openssl-lib=${OPENSSLLIB}
-.endif
-
-.if ${PORT_OPTIONS:MPGSQL}
-USES+=		pgsql
-CONFIGURE_ARGS+=--without-mysql \
-		--with-pgsql-include=${LOCALBASE}/include \
-		--with-pgsql-lib=${LOCALBASE}/lib
-PKGNAMESUFFIX=	-pg
-.else
-USES+=		mysql
-CONFIGURE_ARGS+=--without-pgsql \
-		--with-mysql-include=${LOCALBASE}/include/mysql \
-		--with-mysql-lib=${LOCALBASE}/lib/mysql
-PKGNAMESUFFIX=	-mysql
-.endif
-
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-PLIST_SUB+=	NLS=""
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+=	NLS="@comment "
-.endif
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}/contrib
-.for f in ${DOCS}
-	@${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
-.endfor
-	@${INSTALL_DATA} ${WRKSRC}/contrib/*.php ${STAGEDIR}${DOCSDIR}/contrib/
-	@${INSTALL_DATA} ${WRKSRC}/contrib/*.pl ${STAGEDIR}${DOCSDIR}/contrib/
-	@${INSTALL_DATA} ${WRKSRC}/contrib/*.pm ${STAGEDIR}${DOCSDIR}/contrib/
-	@${INSTALL_DATA} ${WRKSRC}/contrib/README ${STAGEDIR}${DOCSDIR}/contrib/
-.endif
-	@${STAGEDIR}${PREFIX}/sbin/mydns --dump-config > ${STAGEDIR}${PREFIX}/etc/mydns.conf.sample
-
-.include <bsd.port.mk>
diff --git a/dns/mydns/distinfo b/dns/mydns/distinfo
deleted file mode 100644
index b771f5e69b64..000000000000
--- a/dns/mydns/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (mydns-1.1.0.tar.bz2) = ecfcc8bb8fd9f707d2e7af808317cdcc3a4d701375265840944c4e0ff0d66bf6
-SIZE (mydns-1.1.0.tar.bz2) = 573261
diff --git a/dns/mydns/files/mydns.in b/dns/mydns/files/mydns.in
deleted file mode 100644
index d1142defded2..000000000000
--- a/dns/mydns/files/mydns.in
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: mydns
-# REQUIRE: DAEMON mysql postgresql
-# KEYWORD: shutdown
-
-#
-# Add the following line to /etc/rc.conf to enable mydns:
-# mydns_enable (bool):	Set to "NO" by default.
-#			Set it to "YES" to enable MyDNS.
-#
-
-. /etc/rc.subr
-
-name="mydns"
-rcvar=mydns_enable
-
-load_rc_config $name
-
-: ${mydns_enable="NO"}
-
-command="%%PREFIX%%/sbin/mydns"
-command_args="-b"
-pidfile="/var/run/mydns.pid"
-required_files="%%PREFIX%%/etc/mydns.conf"
-
-run_rc_command "$1"
diff --git a/dns/mydns/files/patch-Makefile.in b/dns/mydns/files/patch-Makefile.in
deleted file mode 100644
index 0148045df6db..000000000000
--- a/dns/mydns/files/patch-Makefile.in
+++ /dev/null
@@ -1,10 +0,0 @@
---- Makefile.in.orig	Wed Dec 18 15:16:33 2002
-+++ Makefile.in	Wed Dec 18 15:16:43 2002
-@@ -529,7 +529,6 @@
- 
- install-data-am:
- 	@$(NORMAL_INSTALL)
--	$(MAKE) $(AM_MAKEFLAGS) install-data-hook
- 
- install-exec-am:
- 
diff --git a/dns/mydns/files/patch-src_mydns_listen.c b/dns/mydns/files/patch-src_mydns_listen.c
deleted file mode 100644
index 247bc04c7fd0..000000000000
--- a/dns/mydns/files/patch-src_mydns_listen.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/mydns/listen.c.orig	2011-09-05 14:11:54.000000000 +0200
-+++ src/mydns/listen.c	2011-09-05 14:13:17.000000000 +0200
-@@ -310,7 +310,7 @@
- #if HAVE_IPV6
- 			case AF_INET6:
- 				memcpy(&addr6, &((struct sockaddr_in6 *)&ifr->ifr_addr)->sin6_addr, sizeof(struct in6_addr));
--				addrlist_add(AF_INET, &addr4, port);
-+				addrlist_add(AF_INET, &addr6, port);
- 				break;
- #endif
- 			default:
-@@ -454,7 +454,7 @@
- 			if (inet_pton(AF_INET6, addr, &addr6) <= 0)
- 				Warnx("%s: `%s' %s: %s", addr, desc, _("address"), _("invalid IPv6 address format"));
- 			else
--				addrlist_add(AF_INET6, &addr4, port);
-+				addrlist_add(AF_INET6, &addr6, port);
- 		}
- #endif
- 	}
diff --git a/dns/mydns/files/patch-src_mydns_recursive.c b/dns/mydns/files/patch-src_mydns_recursive.c
deleted file mode 100644
index b86c0f2b57df..000000000000
--- a/dns/mydns/files/patch-src_mydns_recursive.c
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/mydns/recursive.c.orig	Mon Apr 30 08:17:52 2007
-+++ src/mydns/recursive.c	Mon Apr 30 08:22:13 2007
-@@ -109,8 +109,7 @@
- #endif
- 
- 	/* Send to remote server */
--	if ((rv = sendto(t->recursive_fd, query, querylen, 0,
--						  (struct sockaddr *)&recursive_sa, sizeof(struct sockaddr_in))) != querylen)
-+	if ((rv = send(t->recursive_fd, query, querylen, 0)) != querylen)
- 	{
- 		if (errno == EAGAIN)
- 		{
diff --git a/dns/mydns/files/pkg-message.in b/dns/mydns/files/pkg-message.in
deleted file mode 100644
index 9b2c8280f262..000000000000
--- a/dns/mydns/files/pkg-message.in
+++ /dev/null
@@ -1,18 +0,0 @@
-[
-{ type: install
-  message: <<EOM
-To get MyDNS working you will need to do some configuration, first you
-will need to create %%PREFIX%%/etc/mydns.conf based on the
-installed sample file. Following that you will need to setup your
-database tables, you can use the output of
-
- %%PREFIX%%/sbin/mydns --create-tables
-
-as a template. Finally enable MyDNS by adding
-
- mydns_enable="YES"
-
-into your rc.conf.
-EOM
-}
-]
diff --git a/dns/mydns/pkg-descr b/dns/mydns/pkg-descr
deleted file mode 100644
index 7f796dd2c625..000000000000
--- a/dns/mydns/pkg-descr
+++ /dev/null
@@ -1,10 +0,0 @@
-MyDNS is a free DNS server for UNIX implemented from scratch and
-designed to utilize the MySQL database for data storage.
-
-Its primary objectives are stability, security, interoperability,
-and speed, though not necessarily in that order.
-
-MyDNS does not include recursive name service, nor a resolver library.
-It is primarily designed for organizations with many zones and/or
-resource records who desire the ability to perform real-time dynamic
-updates on their DNS data via MySQL.
diff --git a/dns/mydns/pkg-plist b/dns/mydns/pkg-plist
deleted file mode 100644
index 0c58187f313e..000000000000
--- a/dns/mydns/pkg-plist
+++ /dev/null
@@ -1,30 +0,0 @@
-bin/mydns-conf
-bin/mydnscheck
-bin/mydnsexport
-bin/mydnsimport
-bin/mydnsptrconvert
-etc/mydns.conf.sample
-man/man5/mydns.conf.5.gz
-man/man8/mydns.8.gz
-man/man8/mydnscheck.8.gz
-man/man8/mydnsexport.8.gz
-man/man8/mydnsimport.8.gz
-man/man8/mydnsptrconvert.8.gz
-man/man8/mydns-conf.8.gz
-sbin/mydns
-%%NLS%%share/locale/es/LC_MESSAGES/mydns.mo
-%%NLS%%share/locale/fr/LC_MESSAGES/mydns.mo
-%%NLS%%share/locale/pt_BR/LC_MESSAGES/mydns.mo
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/QUICKSTART.mysql
-%%PORTDOCS%%%%DOCSDIR%%/QUICKSTART.postgres
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/TODO
-%%PORTDOCS%%%%DOCSDIR%%/contrib/MyDNS.pm
-%%PORTDOCS%%%%DOCSDIR%%/contrib/README
-%%PORTDOCS%%%%DOCSDIR%%/contrib/admin.php
-%%PORTDOCS%%%%DOCSDIR%%/contrib/create_domain.pl
-%%PORTDOCS%%%%DOCSDIR%%/contrib/stats.php



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306300548.35U5mZi3012462>