diff options
author | Michael Haro <mharo@FreeBSD.org> | 2001-04-02 06:20:08 +0000 |
---|---|---|
committer | Michael Haro <mharo@FreeBSD.org> | 2001-04-02 06:20:08 +0000 |
commit | cb96989f7e16e8bc9e694f51ea75548c21d2bad4 (patch) | |
tree | fc15e4e879c064349cf2cd207fec27d31d5208b8 /dns/dhisd | |
parent | update to 0.5.8 (diff) |
Port update to version 4.0.3
PR: 26257
Submitted by: <baskruit@bsltwr.dnsalias.org>
Notes
Notes:
svn path=/head/; revision=40718
Diffstat (limited to 'dns/dhisd')
-rw-r--r-- | dns/dhisd/Makefile | 3 | ||||
-rw-r--r-- | dns/dhisd/distinfo | 2 | ||||
-rw-r--r-- | dns/dhisd/files/patch-Makefile | 25 | ||||
-rw-r--r-- | dns/dhisd/files/patch-nsupdate.c | 31 |
4 files changed, 50 insertions, 11 deletions
diff --git a/dns/dhisd/Makefile b/dns/dhisd/Makefile index 197132aa29a5..694b8b4427db 100644 --- a/dns/dhisd/Makefile +++ b/dns/dhisd/Makefile @@ -6,8 +6,7 @@ # PORTNAME= dhisd -PORTVERSION= 4.0 -PORTREVISION= 1 +PORTVERSION= 4.0.3 CATEGORIES= net MASTER_SITES= http://bsltwr.dhis.org/ftp/pub/dhis/ \ ftp://ftp.dhis.org/pub/dhis/ diff --git a/dns/dhisd/distinfo b/dns/dhisd/distinfo index 1981887c4981..336a33f639b2 100644 --- a/dns/dhisd/distinfo +++ b/dns/dhisd/distinfo @@ -1 +1 @@ -MD5 (dhisd-4.0.tar.gz) = 9757deffda1b4a261f4313a4bd1b5ed1 +MD5 (dhisd-4.0.3.tar.gz) = 1882f5296856c439dd5115f1b9170bbc diff --git a/dns/dhisd/files/patch-Makefile b/dns/dhisd/files/patch-Makefile index a1c5f7ac0bd2..5c6758a9c8f5 100644 --- a/dns/dhisd/files/patch-Makefile +++ b/dns/dhisd/files/patch-Makefile @@ -1,15 +1,24 @@ ---- Makefile.orig Sat Feb 24 02:59:57 2001 -+++ Makefile Sat Feb 24 03:01:42 2001 -@@ -28,9 +28,11 @@ +--- Makefile.orig Wed Mar 7 11:53:58 2001 ++++ Makefile Mon Mar 19 17:43:57 2001 +@@ -26,16 +26,16 @@ + # DHIS(c) Dynamic Host Information System Release 4.0 + CC=gcc - CFLAGS=-I/usr/local/include - LFLAGS=-L/usr/local/lib --LIBS=-lbind -lgmp +-CFLAGS=-I/usr/local/include -I/usr/bind/include \ +- -I/usr/local/bind/include # -DBIND821 +-LFLAGS=-L/usr/local/lib -L/usr/bind/lib -L/usr/local/bind/lib +-LIBS=-lnsl -lsocket -lbind -lgmp ++CFLAGS=-I/usr/local/include -DHAVE_SYS_PARAM_H ++LFLAGS=-L/usr/local/lib +LIBS=-lgmp OBJS=log.o network.o misc.o db.o online.o nsupdate.o main.o RM=rm -f -+ -+all: dhisd ++all: dhisd ++ dhisd: $(OBJS) $(CC) $(LFLAGS) -o dhisd $(OBJS) $(LIBS) +- strip dhisd + + clean: + $(RM) *.core core dhisd *.o diff --git a/dns/dhisd/files/patch-nsupdate.c b/dns/dhisd/files/patch-nsupdate.c new file mode 100644 index 000000000000..53e73f5ca19a --- /dev/null +++ b/dns/dhisd/files/patch-nsupdate.c @@ -0,0 +1,31 @@ +--- nsupdate.c.orig Mon Mar 19 22:23:40 2001 ++++ nsupdate.c Mon Mar 19 22:55:46 2001 +@@ -28,8 +28,17 @@ + + + #include"dhisd.h" +-#ifndef BIND821 +-#include <res_update.h> ++ ++#ifdef HAVE_SYS_PARAM_H ++#include <sys/param.h> ++#endif ++ ++#if (defined(BSD) && (BSD >= 199306)) ++# include <arpa/nameser.h> ++#else ++# if !defined BIND821 ++# include <res_update.h> ++# endif + #endif + + int dns_update(unsigned char *r_dname,int r_opcode,short int r_type, +@@ -53,7 +62,7 @@ + rrecp->r_size=r_size; + if(r_size>0) strcpy(rrecp->r_data,r_data); + +-#ifndef BIND821 ++#if !defined(BIND821) && !defined(BSD) + rrecp->r_link.prev=NULL; + rrecp->r_link.next=NULL; + #else |