Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 May 1998 15:58:40 -0700
From:      Studded <Studded@dal.net>
To:        FreeBSD-ports@FreeBSD.ORG, matusita@matatabi.or.jp, jseger@FreeBSD.ORG
Subject:   New port for BIND 8
Message-ID:  <3560BD20.1E107505@dal.net>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------CCADE13C71F3E1C43F140D57
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I couldn't wait for the port of bind 8.1.2 so I decided
to do it myself. For the most part everything was pretty much the
same. I actually took a look at the diff between 8.1.1 and 8.1.2. Re the
old port, there are no more /usr ref's in the ports_after.h, so that
wasn't needed anymore. There are two more definitions in the
Makefile.set, the one that seems questionable is DESTETC since it seems
like /etc is a better location than /usr/local/etc for named.conf.
Finally, patch-ac doesn't seem necessary anymore since SETPWENT is
already #def'ed in the code, however I have no -Current system to test
it on. 

	You will want to apply this patch in the /usr/ports/net/bind8
directory, and use -E so that it deletes patch-ac. (Note to Justin,
unlike the first patch I sent you this one includes all of the new
files. :)

Hope this helps,

Doug
-- 
***         Chief Operations Officer, DALnet IRC network       ***
*** Proud designer and maintainer of the world's largest Internet
***    Relay Chat server with 5,328 simultaneous connections.
*** Try spider.dal.net on ports 6662-4    (Powered by FreeBSD)
--------------CCADE13C71F3E1C43F140D57
Content-Type: text/plain; charset=us-ascii; name="bind8.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="bind8.diff"

diff -urN ../bind8.old/Makefile ./Makefile
--- ../bind8.old/Makefile	Thu May 14 11:51:35 1998
+++ ./Makefile	Mon May 18 15:26:27 1998
@@ -1,15 +1,15 @@
 # New ports collection makefile for:	bind
-# Version required:	8.1.1
+# Version required:	8.1.2
 # Date created:		18 July 1997
 # Whom:			jseger@scds.com
 #
 # $Id: Makefile,v 1.4 1998/04/14 21:44:27 jseger Exp $
 #
 
-DISTNAME=	bind-8.1.1
+DISTNAME=	bind-8.1.2
 CATEGORIES=	net
-MASTER_SITES=	ftp://ftp.isc.org/isc/bind/src/8.1.1/
-DISTFILES=	bind-src.tar.gz bind-doc.tar.gz
+MASTER_SITES=	ftp://ftp.isc.org/isc/bind/src/8.1.2/
+DISTFILES=	bind-8.1.2-src.tar.gz bind-8.1.2-doc.tar.gz
 
 MAINTAINER=	jseger@FreeBSD.org
 
@@ -17,17 +17,11 @@
 
 MAN1=		dig.1 dnsquery.1 host.1
 MAN3=		gethostbyname.3 getnetent.3 resolver.3
-MAN5=		resolver.5
+MAN5=		irs.conf.5 resolver.5
 MAN7=		hostname.7 mailaddr.7
 MAN8=		named-xfer.8 named.8 ndc.8 nslookup.8
 
 PATCH_ARGS?=	-d ${WRKDIR} -E ${PATCH_STRIP}
-
-PA_H=	${WRKSRC}/port/freebsd/include/port_after.h
-
-post-configure:
-	${MV} ${PA_H} ${PA_H}.orig
-	sed "s,/usr,${PREFIX}," ${PA_H}.orig >${PA_H}
 
 post-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/bin/named/named-bootconf.pl ${PREFIX}/bin/
diff -urN ../bind8.old/files/md5 ./files/md5
--- ../bind8.old/files/md5	Thu May 14 11:51:34 1998
+++ ./files/md5	Mon May 18 15:13:21 1998
@@ -1,2 +1,2 @@
-MD5 (bind-src.tar.gz) = 7487b8d647edba2053edc1cda0c6afd0
-MD5 (bind-doc.tar.gz) = 2bf093631c4d855895a95507927877df
+MD5 (bind-8.1.2-src.tar.gz) = 7911bd8f0de7d1047da874d92dd608d7
+MD5 (bind-8.1.2-doc.tar.gz) = 329dfd97895d96493ff2850374b2465d
diff -urN ../bind8.old/patches/patch-aa ./patches/patch-aa
--- ../bind8.old/patches/patch-aa	Thu May 14 11:51:35 1998
+++ ./patches/patch-aa	Mon May 18 15:42:50 1998
@@ -1,13 +1,15 @@
---- src/port/freebsd/Makefile.set.orig	Mon Jun 16 23:30:35 1997
-+++ src/port/freebsd/Makefile.set	Tue Nov 25 18:51:41 1997
-@@ -1,10 +1,12 @@
+--- Makefile.set.orig	Thu Mar 19 11:50:30 1998
++++ Makefile.set	Mon May 18 15:42:02 1998
+@@ -1,12 +1,14 @@
  'CC=cc'
- 'CDEBUG=-O2 -g'
+-'CDEBUG=-O2 -g'
 -'DESTBIN=/usr/bin'
 -'DESTSBIN=/usr/sbin'
 -'DESTEXEC=/usr/libexec'
 -'DESTMAN=/usr/share/man'
 -'DESTHELP=/usr/share/misc'
+-'DESTETC=/etc'
++'CDEBUG=-O2'
 +'DESTBIN=${PREFIX}/bin'
 +'DESTSBIN=${PREFIX}/sbin'
 +'DESTEXEC=${PREFIX}/libexec'
@@ -15,10 +17,12 @@
 +'DESTHELP=${PREFIX}/share/misc'
 +'DESTINC=${PREFIX}/include/bind'
 +'DESTLIB=${PREFIX}/lib'
+ 'DESTRUN=/var/run'
++'DESTETC=/etc'
  'LEX=lex -I'
  'YACC=yacc -d'
  'SYSLIBS=-ll -lutil'
-@@ -14,3 +16,4 @@
+@@ -16,3 +18,4 @@
  'CATEXT=0'
  'PS=ps'
  'RANLIB=ranlib'
diff -urN ../bind8.old/patches/patch-ac ./patches/patch-ac
--- ../bind8.old/patches/patch-ac	Thu May 14 11:51:35 1998
+++ ./patches/patch-ac	Wed Dec 31 16:00:00 1969
@@ -1,13 +0,0 @@
---- src/port/freebsd/include/port_after.h.orig	Tue Apr 14 17:29:22 1998
-+++ src/port/freebsd/include/port_after.h	Tue Apr 14 17:29:47 1998
-@@ -7,7 +7,9 @@
- #define HAVE_FCHMOD
- #define NEED_PSELECT
- #define HAVE_SA_LEN
--
-+#if __FreeBSD__ >= 3
-+	#define SETPWENT_VOID
-+#endif
- #define _TIMEZONE timezone
- 
- #define PORT_NONBLOCK	O_NONBLOCK
diff -urN ../bind8.old/pkg/PLIST ./pkg/PLIST
--- ../bind8.old/pkg/PLIST	Thu May 14 11:51:35 1998
+++ ./pkg/PLIST	Mon May 18 15:30:17 1998
@@ -8,14 +8,19 @@
 include/bind/arpa/inet.h
 include/bind/arpa/nameser.h
 include/bind/arpa/nameser_compat.h
+include/bind/isc/assertions.h
 include/bind/isc/eventlib.h
 include/bind/isc/heap.h
+include/bind/isc/list.h
 include/bind/isc/logging.h
+include/bind/isc/memcluster.h
 include/bind/isc/misc.h
 include/bind/isc/tree.h
+include/bind/sys/bitypes.h
 include/bind/netdb.h
 include/bind/resolv.h
-include/bind/sys/bitypes.h
+include/bind/hesiod.h
+include/bind/irs.h
 lib/libbind.a
 libexec/named-xfer
 man/man1/dig.1.gz
@@ -24,6 +29,7 @@
 man/man3/gethostbyname.3.gz
 man/man3/getnetent.3.gz
 man/man3/resolver.3.gz
+man/man5/irs.conf.5.gz
 man/man5/resolver.5.gz
 man/man7/hostname.7.gz
 man/man7/mailaddr.7.gz

--------------CCADE13C71F3E1C43F140D57--


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?3560BD20.1E107505>