FreeBSD Bugzilla – Attachment 24005 Details for
Bug 41132
New port: net/mydns
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 4.13 KB, created by
simond
on 2002-07-29 21:50:01 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
simond
Created:
2002-07-29 21:50:01 UTC
Size:
4.13 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># mydns ># mydns/Makefile ># mydns/pkg-comment ># mydns/pkg-descr ># mydns/files ># mydns/files/patch-aa ># mydns/files/mydns.sh ># mydns/files/patch-ab ># mydns/distinfo ># mydns/pkg-plist ># mydns/pkg-message ># >echo c - mydns >mkdir -p mydns > /dev/null 2>&1 >echo x - mydns/Makefile >sed 's/^X//' >mydns/Makefile << 'END-of-mydns/Makefile' >X# New ports collection makefile for: mydns >X# Date created: 23 July 2002 >X# Whom: Simon Dick <simond@irrelevant.org> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= mydns >XPORTVERSION= 0.8.1 >XCATEGORIES= net databases >XMASTER_SITES= http://mydns.bboy.net/download/ >X >XMAINTAINER= simond@irrelevant.org >X >XLIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client >X >XGNU_CONFIGURE= yes >XCONFIGURE_ARGS= --with-confdir=${PREFIX}/etc >XUSE_BZIP2= yes >X >XMAN5= mydns.conf.5 >XMAN8= mydns.8 >X >Xpost-install: >X @${SED} 's|%%%PREFIX%%%|${PREFIX}|g' < ${FILESDIR}/mydns.sh > ${WRKSRC}/mydns.sh >X @${CP} ${WRKSRC}/mydns.sh ${PREFIX}/etc/rc.d/mydns.sh.sample >X @${PREFIX}/sbin/mydns --dump-config >${PREFIX}/etc/mydns.conf.sample >X @${SED} -e 's,%%%PREFIX%%%,${PREFIX},g' ${PKGMESSAGE} >X >X.include <bsd.port.mk> >END-of-mydns/Makefile >echo x - mydns/pkg-comment >sed 's/^X//' >mydns/pkg-comment << 'END-of-mydns/pkg-comment' >XDNS server designed to utilize the MySQL database >END-of-mydns/pkg-comment >echo x - mydns/pkg-descr >sed 's/^X//' >mydns/pkg-descr << 'END-of-mydns/pkg-descr' >XMyDNS is a free DNS server for UNIX implemented from scratch and >Xdesigned to utilize the MySQL database for data storage. >X >XIts primary objectives are stability, security, interoperability, >Xand speed, though not necessarily in that order. >X >XMyDNS does not include recursive name service, nor a resolver library. >XIt is primarily designed for organizations with many zones and/or >Xresource records who desire the ability to perform real-time dynamic >Xupdates on their DNS data via MySQL. >END-of-mydns/pkg-descr >echo c - mydns/files >mkdir -p mydns/files > /dev/null 2>&1 >echo x - mydns/files/patch-aa >sed 's/^X//' >mydns/files/patch-aa << 'END-of-mydns/files/patch-aa' >X--- src/mydns/main.c.orig Mon Jul 29 21:00:55 2002 >X+++ src/mydns/main.c Mon Jul 29 21:02:13 2002 >X@@ -293,7 +293,7 @@ >X >X Notice("%s", buf); >X >X-malloc_stats(); /* XXX */ >X+/*malloc_stats();*/ /* XXX */ >X } >X /*--- server_status() ---------------------------------------------------------------------------*/ >X >END-of-mydns/files/patch-aa >echo x - mydns/files/mydns.sh >sed 's/^X//' >mydns/files/mydns.sh << 'END-of-mydns/files/mydns.sh' >X#!/bin/sh >X >Xcase "$1" in >X start) >X %%%PREFIX%%%/sbin/mydns -b >X ;; >X stop) >X kill `cat /var/run/mydns.pid` >X ;; >X *) >X echo "" >X echo "Usage: `basename $0` { start | stop }" >X echo "" >X exit 64 >X ;; >Xesac >END-of-mydns/files/mydns.sh >echo x - mydns/files/patch-ab >sed 's/^X//' >mydns/files/patch-ab << 'END-of-mydns/files/patch-ab' >X--- Makefile.in.orig Mon Jul 29 21:37:45 2002 >X+++ Makefile.in Mon Jul 29 21:38:30 2002 >X@@ -440,7 +440,6 @@ >X >X install-data-am: >X @$(NORMAL_INSTALL) >X- $(MAKE) $(AM_MAKEFLAGS) install-data-hook >X >X install-exec-am: >X >END-of-mydns/files/patch-ab >echo x - mydns/distinfo >sed 's/^X//' >mydns/distinfo << 'END-of-mydns/distinfo' >XMD5 (mydns-0.8.1.tar.bz2) = ddfd7d9adb1002cc3c02156049ca600f >END-of-mydns/distinfo >echo x - mydns/pkg-plist >sed 's/^X//' >mydns/pkg-plist << 'END-of-mydns/pkg-plist' >Xetc/mydns.conf.sample >Xetc/rc.d/mydns.sh.sample >Xinclude/mydns.h >Xinfo/mydns.info >Xlib/libmydns.a >Xlib/charset.alias >Xsbin/mydns >Xshare/locale/locale.alias >END-of-mydns/pkg-plist >echo x - mydns/pkg-message >sed 's/^X//' >mydns/pkg-message << 'END-of-mydns/pkg-message' >XTo get MyDNS working you will need to do some configuration, first you >Xwill need to create %%%PREFIX%%%/etc/mydns.conf based on the >Xinstalled sample file. Following that you will need to setup your >Xdatabase tables, you can use the output of >X%%%PREFIX%%%/sbin/mydns --create-tables >Xas a template. >X >END-of-mydns/pkg-message >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 41132
: 24005 |
24006