summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-01-07 08:12:37 +0000
committeredwin <edwin@FreeBSD.org>2006-01-07 08:12:37 +0000
commitece1f225cd5f38158e7b38d36b71827c9c4f7630 (patch)
tree55661dcc6ea77f2ec3f95112406e9cdf9bd60c2d
parent630990776c8d7114f6801d3e71537d1b9ef21bca (diff)
downloadFreeBSD-ports-ece1f225cd5f38158e7b38d36b71827c9c4f7630.zip
FreeBSD-ports-ece1f225cd5f38158e7b38d36b71827c9c4f7630.tar.gz
Upgrade to 5.3
-rw-r--r--dns/dhid/Makefile8
-rw-r--r--dns/dhid/distinfo6
-rw-r--r--dns/dhid/files/patch-aa15
-rw-r--r--dns/dhid/files/patch-ac19
4 files changed, 14 insertions, 34 deletions
diff --git a/dns/dhid/Makefile b/dns/dhid/Makefile
index 38b309b..0a337e6 100644
--- a/dns/dhid/Makefile
+++ b/dns/dhid/Makefile
@@ -5,10 +5,10 @@
# $FreeBSD$
#
-PORTNAME= dhid
-PORTVERSION= 5.2
-CATEGORIES= dns
-MASTER_SITES= ftp://ftp.dhis.org/pub/dhis/
+PORTNAME= dhid
+PORTVERSION= 5.3
+CATEGORIES= dns
+MASTER_SITES= ftp://ftp.dhis.org/pub/dhis/
MAINTAINER= ports@FreeBSD.org
COMMENT= DHIS client for updating dynamic DNS entries in dhisd DNS tables
diff --git a/dns/dhid/distinfo b/dns/dhid/distinfo
index b404bb4..d095fc4 100644
--- a/dns/dhid/distinfo
+++ b/dns/dhid/distinfo
@@ -1,3 +1,3 @@
-MD5 (dhid-5.2.tar.gz) = 781ba0f83dc2a32202c1cb2c3235f06f
-SHA256 (dhid-5.2.tar.gz) = f769771e6558ce9821a398b5589104e8f44aeada4976101ff1b65d71ba48b682
-SIZE (dhid-5.2.tar.gz) = 16485
+MD5 (dhid-5.3.tar.gz) = 3603ee2db6d8eb7172c7c937425e1d84
+SHA256 (dhid-5.3.tar.gz) = 83dcc9b0318fab860f8110d616a17ee891fd17496538f44063db3aab013e4791
+SIZE (dhid-5.3.tar.gz) = 16165
diff --git a/dns/dhid/files/patch-aa b/dns/dhid/files/patch-aa
index 58a6413..8b67a98 100644
--- a/dns/dhid/files/patch-aa
+++ b/dns/dhid/files/patch-aa
@@ -1,20 +1,11 @@
---- dhid.h.orig Thu Nov 20 21:02:38 2003
-+++ dhid.h Sat Feb 19 21:14:47 2005
-@@ -56,7 +56,7 @@
-
- #define DHIS_VERSION 52 /* DHIS Version */
-
--#define MAX_HOSTNAME 64
-+#define MAX_HOSTNAME 256
- #define MAX_PASS 16 /* Characters in password */
-
- /* Message opcodes */
+--- dhid.h.orig Fri Oct 28 23:43:56 2005
++++ dhid.h Sat Jan 7 19:09:55 2006
@@ -72,8 +72,8 @@
#define OFFLINE_REQ 0x00000551
-#define DHID_CONF "/etc/dhid.conf"
--#define DHID_PID "/etc/dhid.pid"
+-#define DHID_PID "/var/run/dhid.pid"
+#define DHID_CONF "__PREFIX__/etc/dhid.conf"
+#define DHID_PID "/var/run/dhis/dhid.pid"
diff --git a/dns/dhid/files/patch-ac b/dns/dhid/files/patch-ac
index 5994ae7..ce7c783 100644
--- a/dns/dhid/files/patch-ac
+++ b/dns/dhid/files/patch-ac
@@ -1,5 +1,5 @@
---- main.c.orig Thu Nov 20 22:11:59 2003
-+++ main.c Sat Feb 19 21:22:50 2005
+--- main.c.orig Fri Oct 28 23:41:02 2005
++++ main.c Sat Jan 7 19:11:18 2006
@@ -74,7 +74,7 @@
unsigned char linecmd[512];
struct in_addr sa;
@@ -38,7 +38,7 @@
m.hdr.opcode=AUTH_REQ;
m.hdr.hostid=cp->id;
m.refresh=cp->refresh;
-@@ -289,25 +289,19 @@
+@@ -289,14 +289,14 @@
int c;
extern char *optarg;
@@ -57,18 +57,7 @@
case('h'): usage(argv);
default: usage(argv);
}
-
-
-- if(getuid()) {
-- syslog(LOG_ERR,"%s must be executed by root",argv[0]);
-- exit(1);
-- }
--
--
- close(0);
- close(1);
- close(2);
-@@ -376,7 +370,7 @@
+@@ -370,7 +370,7 @@
unsigned char linecmd[512];
struct in_addr sa;
sa.s_addr=cp->laddr;
OpenPOWER on IntegriCloud