mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
Upgrade to 5.3
This commit is contained in:
parent
dde12a2e74
commit
79d788a0bc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=152976
@ -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
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user