diff options
Diffstat (limited to 'dns/mydns-ng')
-rw-r--r-- | dns/mydns-ng/Makefile | 89 | ||||
-rw-r--r-- | dns/mydns-ng/distinfo | 3 | ||||
-rw-r--r-- | dns/mydns-ng/files/mydns.sh.in | 30 | ||||
-rw-r--r-- | dns/mydns-ng/files/patch-Makefile.in | 10 | ||||
-rw-r--r-- | dns/mydns-ng/files/patch-src_mydns_recursive.c | 12 | ||||
-rw-r--r-- | dns/mydns-ng/files/pkg-message.in | 14 | ||||
-rw-r--r-- | dns/mydns-ng/pkg-descr | 15 | ||||
-rw-r--r-- | dns/mydns-ng/pkg-plist | 25 |
8 files changed, 0 insertions, 198 deletions
diff --git a/dns/mydns-ng/Makefile b/dns/mydns-ng/Makefile deleted file mode 100644 index d4d5f7a51059..000000000000 --- a/dns/mydns-ng/Makefile +++ /dev/null @@ -1,89 +0,0 @@ -# New ports collection makefile for: mydns -# Date created: 23 July 2002 -# Whom: Simon Dick <simond@irrelevant.org> -# -# $FreeBSD$ -# - -PORTNAME= mydns -PORTVERSION= 1.1.0 -PORTREVISION= 3 -CATEGORIES= dns databases -MASTER_SITES= http://mydns.bboy.net/download/ - -MAINTAINER= ale@FreeBSD.org -COMMENT= DNS server designed to utilize the MySQL database - -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-confdir=${PREFIX}/etc -USE_ICONV= yes -USE_BZIP2= yes - -USE_RC_SUBR= mydns.sh - -SUB_FILES= pkg-message -PKGMESSAGE= ${WRKDIR}/pkg-message - -INFO= mydns -MAN5= mydns.conf.5 -MAN8= mydns.8 mydnscheck.8 mydnsexport.8 mydnsimport.8 mydnsptrconvert.8 mydns-conf.8 - -DOCS= AUTHORS COPYING ChangeLog NEWS QUICKSTART.mysql QUICKSTART.postgres README TODO - -.if defined(WITH_ALIAS) -CONFIGURE_ARGS+=--enable-alias -.endif - -.if defined(WITH_OPENSSL) -USE_OPENSSL= yes -CONFIGURE_ARGS+=--with-openssl \ - --with-openssl-include=${OPENSSLINC} \ - --with-openssl-lib=${OPENSSLLIB} -.endif - -.if defined(WITH_PGSQL) -USE_PGSQL= yes -CONFIGURE_ARGS+=--without-mysql \ - --with-pgsql-include=${LOCALBASE}/include \ - --with-pgsql-lib=${LOCALBASE}/lib -PKGNAMESUFFIX= -pg -.else -CONFIGURE_ARGS+=--without-pgsql \ - --with-mysql-include=${LOCALBASE}/include/mysql \ - --with-mysql-lib=${LOCALBASE}/lib/mysql -PKGNAMESUFFIX= -mysql -USE_MYSQL= yes -.endif - -.if !defined(WITHOUT_NLS) -USE_GETTEXT= yes -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.endif - -pre-fetch: - @${ECHO} "" - @${ECHO} "You may use the following build options:" - @${ECHO} "" - @${ECHO} " WITH_PGSQL=yes Build with PostgreSQL support" - @${ECHO} " WITH_ALIAS=yes Enable server side aliases" - @${ECHO} " WITH_OPENSSL=yes Enable OpenSSL (needed if MySQL is linked with OpenSSL)" - @${ECHO} "" - -post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR}/contrib -.for f in ${DOCS} - @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ -.endfor - @${INSTALL_DATA} ${WRKSRC}/contrib/*.php ${DOCSDIR}/contrib/ - @${INSTALL_DATA} ${WRKSRC}/contrib/*.pl ${DOCSDIR}/contrib/ - @${INSTALL_DATA} ${WRKSRC}/contrib/*.pm ${DOCSDIR}/contrib/ - @${INSTALL_DATA} ${WRKSRC}/contrib/README ${DOCSDIR}/contrib/ -.endif - @${PREFIX}/sbin/mydns --dump-config >${PREFIX}/etc/mydns.conf.sample - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.mk> diff --git a/dns/mydns-ng/distinfo b/dns/mydns-ng/distinfo deleted file mode 100644 index 77788d9f1ab2..000000000000 --- a/dns/mydns-ng/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (mydns-1.1.0.tar.bz2) = c613a14686f08486d444cee2d68f9c87 -SHA256 (mydns-1.1.0.tar.bz2) = ecfcc8bb8fd9f707d2e7af808317cdcc3a4d701375265840944c4e0ff0d66bf6 -SIZE (mydns-1.1.0.tar.bz2) = 573261 diff --git a/dns/mydns-ng/files/mydns.sh.in b/dns/mydns-ng/files/mydns.sh.in deleted file mode 100644 index c4332e643140..000000000000 --- a/dns/mydns-ng/files/mydns.sh.in +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# 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. -# - -. %%RC_SUBR%% - -name="mydns" -rcvar=`set_rcvar` - -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-ng/files/patch-Makefile.in b/dns/mydns-ng/files/patch-Makefile.in deleted file mode 100644 index 0148045df6db..000000000000 --- a/dns/mydns-ng/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-ng/files/patch-src_mydns_recursive.c b/dns/mydns-ng/files/patch-src_mydns_recursive.c deleted file mode 100644 index b86c0f2b57df..000000000000 --- a/dns/mydns-ng/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-ng/files/pkg-message.in b/dns/mydns-ng/files/pkg-message.in deleted file mode 100644 index a4840bb5b715..000000000000 --- a/dns/mydns-ng/files/pkg-message.in +++ /dev/null @@ -1,14 +0,0 @@ -********************************************************************** -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. -********************************************************************* diff --git a/dns/mydns-ng/pkg-descr b/dns/mydns-ng/pkg-descr deleted file mode 100644 index 42ed867b0baf..000000000000 --- a/dns/mydns-ng/pkg-descr +++ /dev/null @@ -1,15 +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. - -WWW: http://mydns.bboy.net/ - -- Alex Dupre -ale@FreeBSD.org diff --git a/dns/mydns-ng/pkg-plist b/dns/mydns-ng/pkg-plist deleted file mode 100644 index fb79abe9eddf..000000000000 --- a/dns/mydns-ng/pkg-plist +++ /dev/null @@ -1,25 +0,0 @@ -bin/mydns-conf -bin/mydnscheck -bin/mydnsexport -bin/mydnsimport -bin/mydnsptrconvert -etc/mydns.conf.sample -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 -%%PORTDOCS%%@dirrm %%DOCSDIR%%/contrib -%%PORTDOCS%%@dirrm %%DOCSDIR%% |