aboutsummaryrefslogtreecommitdiff
path: root/dns/dhid
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-01-07 08:12:37 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-01-07 08:12:37 +0000
commit79d788a0bc1c775756c89eba6e581f5e4b97fe8c (patch)
treea852d04426e500de569f2c4d10127a36111eef79 /dns/dhid
parentdde12a2e746a3e065ccd6c4fa7abd4474d84cbc2 (diff)
downloadports-79d788a0bc1c775756c89eba6e581f5e4b97fe8c.tar.gz
ports-79d788a0bc1c775756c89eba6e581f5e4b97fe8c.zip
Notes
Diffstat (limited to 'dns/dhid')
-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 38b309bab8da..0a337e6fe505 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 b404bb469185..d095fc481d97 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 58a6413fc8c0..8b67a9804971 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 5994ae7827f1..ce7c7837e224 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;