Date: Fri, 2 Aug 2002 12:00:16 -0700 (PDT) From: Simon Dick <simond@irrelevant.org> To: freebsd-ports@FreeBSD.org Subject: Re: ports/41132: New port: net/mydns Message-ID: <200208021900.g72J0GCW083453@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/41132; it has been noted by GNATS. From: Simon Dick <simond@irrelevant.org> To: "mailto:freebsd-gnats-submit"@FreeBSD.org Cc: Subject: Re: ports/41132: New port: net/mydns Date: Fri, 2 Aug 2002 19:58:56 +0100 --XsQoSWH+UP9D9v3l Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Updated port for MyDNS 0.8.2 enclosed -- Simon Dick simond@irrelevant.org --XsQoSWH+UP9D9v3l Content-Type: application/x-shar Content-Disposition: attachment; filename="mydns.shar" Content-Transfer-Encoding: quoted-printable # This is a shell archive. Save it in a file, remove anything before=0A# t= his line, and then unpack it by entering "sh file". Note, it may=0A# creat= e directories; files and directories will be owned by you and=0A# have defa= ult permissions.=0A#=0A# This archive contains:=0A#=0A# mydns=0A# mydns/Mak= efile=0A# mydns/pkg-comment=0A# mydns/pkg-descr=0A# mydns/files=0A# mydns/f= iles/mydns.sh=0A# mydns/files/patch-ab=0A# mydns/distinfo=0A# mydns/pkg-pli= st=0A# mydns/pkg-message=0A#=0Aecho c - mydns=0Amkdir -p mydns > /dev/null = 2>&1=0Aecho x - mydns/Makefile=0Ased 's/^X//' >mydns/Makefile << 'END-of-my= dns/Makefile'=0AX# New ports collection makefile for: mydns=0AX# Date creat= ed: 23 July 2002=0AX# Whom: Simon Dick <simond@irrelevant.org>=0AX#= =0AX# $FreeBSD$=0AX#=0AX=0AXPORTNAME=3D mydns=0AXPORTVERSION=3D 0.8.2=0AXCA= TEGORIES=3D net databases=0AXMASTER_SITES=3D http://mydns.bboy.net/download= /=0AX=0AXMAINTAINER=3D simond@irrelevant.org=0AX=0AXLIB_DEPENDS=3D mysqlcli= ent.10:${PORTSDIR}/databases/mysql323-client=0AX=0AXGNU_CONFIGURE=3D yes=0A= XCONFIGURE_ARGS=3D --with-confdir=3D${PREFIX}/etc=0AXUSE_BZIP2=3D yes=0AX= =0AXMAN5=3D mydns.conf.5=0AXMAN8=3D mydns.8=0AX=0AXpost-install:=0AX @${S= ED} 's|%%%PREFIX%%%|${PREFIX}|g' < ${FILESDIR}/mydns.sh > ${WRKSRC}/mydns.s= h=0AX @${CP} ${WRKSRC}/mydns.sh ${PREFIX}/etc/rc.d/mydns.sh.sample=0AX @${P= REFIX}/sbin/mydns --dump-config >${PREFIX}/etc/mydns.conf.sample=0AX @${SED= } -e 's,%%%PREFIX%%%,${PREFIX},g' ${PKGMESSAGE}=0AX=0AX.include <bsd.port.m= k>=0AEND-of-mydns/Makefile=0Aecho x - mydns/pkg-comment=0Ased 's/^X//' >myd= ns/pkg-comment << 'END-of-mydns/pkg-comment'=0AXDNS server designed to util= ize the MySQL database=0AEND-of-mydns/pkg-comment=0Aecho x - mydns/pkg-desc= r=0Ased 's/^X//' >mydns/pkg-descr << 'END-of-mydns/pkg-descr'=0AXMyDNS is a= free DNS server for UNIX implemented from scratch and=0AXdesigned to utili= ze the MySQL database for data storage.=0AX=0AXIts primary objectives are s= tability, security, interoperability,=0AXand speed, though not necessarily = in that order.=0AX=0AXMyDNS does not include recursive name service, nor a = resolver library.=0AXIt is primarily designed for organizations with many z= ones and/or=0AXresource records who desire the ability to perform real-time= dynamic=0AXupdates on their DNS data via MySQL.=0AEND-of-mydns/pkg-descr= =0Aecho c - mydns/files=0Amkdir -p mydns/files > /dev/null 2>&1=0Aecho x - = mydns/files/mydns.sh=0Ased 's/^X//' >mydns/files/mydns.sh << 'END-of-mydns/= files/mydns.sh'=0AX#!/bin/sh=0AX=0AXcase "$1" in=0AX start)=0AX %%%PREFIX%= %%/sbin/mydns -b=0AX ;;=0AX stop)=0AX kill `cat /var/run/mydns.pid`=0AX = ;;=0AX *)=0AX echo ""=0AX echo "Usage: `basename $0` { start | stop }"=0A= X echo ""=0AX exit 64=0AX ;;=0AXesac=0AEND-of-mydns/files/mydns.sh=0Aech= o x - mydns/files/patch-ab=0Ased 's/^X//' >mydns/files/patch-ab << 'END-of-= mydns/files/patch-ab'=0AX--- Makefile.in.orig Mon Jul 29 21:37:45 2002=0AX+= ++ Makefile.in Mon Jul 29 21:38:30 2002=0AX@@ -440,7 +440,6 @@=0AX =0AX ins= tall-data-am:=0AX @$(NORMAL_INSTALL)=0AX- $(MAKE) $(AM_MAKEFLAGS) install-= data-hook=0AX =0AX install-exec-am:=0AX =0AEND-of-mydns/files/patch-ab=0Aec= ho x - mydns/distinfo=0Ased 's/^X//' >mydns/distinfo << 'END-of-mydns/disti= nfo'=0AXMD5 (mydns-0.8.2.tar.bz2) =3D bf30c311b3adf70e7f9598819e0a49e8=0AEN= D-of-mydns/distinfo=0Aecho x - mydns/pkg-plist=0Ased 's/^X//' >mydns/pkg-pl= ist << 'END-of-mydns/pkg-plist'=0AXetc/mydns.conf.sample=0AXetc/rc.d/mydns.= sh.sample=0AXinfo/mydns.info=0AXlib/charset.alias=0AXsbin/mydns=0AXshare/lo= cale/locale.alias=0AEND-of-mydns/pkg-plist=0Aecho x - mydns/pkg-message=0As= ed 's/^X//' >mydns/pkg-message << 'END-of-mydns/pkg-message'=0AXTo get MyDN= S working you will need to do some configuration, first you=0AXwill need to= create %%%PREFIX%%%/etc/mydns.conf based on the=0AXinstalled sample file. = Following that you will need to setup your=0AXdatabase tables, you can use = the output of=0AX%%%PREFIX%%%/sbin/mydns --create-tables=0AXas a template.= =0AX=0AEND-of-mydns/pkg-message=0Aexit=0A=0A --XsQoSWH+UP9D9v3l-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208021900.g72J0GCW083453>