Patch for bind-8.2.1 and A/UX 3.1.1
Jim Jagielski
jim at jagubox.gsfc.nasa.gov
Wed Jul 14 13:21:32 UTC 1999
The below will bring the A/UX 3.1.1 port of bind-8.2.1 up to date. I will
also be providing a README regarding the port (basically, that one
needs 'gcc', libUTIL, etc...).
--- port/aux/include/port_before.h.orig Mon Jul 12 10:18:56 1999
+++ port/aux/include/port_before.h Sun Jul 11 21:36:44 1999
@@ -4,6 +4,9 @@
#define SIG_FN void
#define SYSV
#define _POSIX_SOURCE
+#define BIG_ENDIAN 4321
+#define BYTE_ORDER BIG_ENDIAN
+
#if defined(HAS_PTHREADS) && defined(_REENTRANT)
#define DO_PTHREADS
@@ -15,6 +18,7 @@
#include <sys/times.h>
#include <sys/time.h>
struct timespec {
- long tv_sec;
- long tv_nsec;
+ time_t tv_sec; /* seconds */
+ long tv_nsec; /* nanoseconds */
};
+
--- port/aux/include/port_after.h.orig Mon Jul 12 10:19:09 1999
+++ port/aux/include/port_after.h Sun Jul 11 21:48:33 1999
@@ -11,6 +11,8 @@
#define SETPWENT_VOID
#define HAVE_CHROOT
#define CAN_CHANGE_ID
+#define WCOREDUMP(x) (((union wait)(x)).w_coredump)
+
#define PORT_NONBLOCK O_NONBLOCK
#define PORT_WOULDBLK EWOULDBLOCK
--- /dev/null Mon Jul 12 10:20:05 1999
+++ port/aux/include/prand_conf.h Sun Jul 11 19:05:33 1999
@@ -0,0 +1,29 @@
+#ifndef _PRAND_CMD_H_
+#define _PRAND_CMD_H_
+
+const char *cmds[] = {
+ "/bin/ps -ef 2>&1",
+ "/etc/arp -n -a 2>&1",
+ "/usr/bin/netstat -an 2>&1",
+ "/bin/df 2>&1",
+ "/usr/ucb/uptime 2>&1",
+ "/usr/bin/netstat -s 2>&1",
+ NULL
+};
+
+const char *dirs[] = {
+ "/tmp",
+ "/usr/tmp",
+ ".",
+ "/",
+ "/usr/spool",
+ "/dev",
+ "/home",
+ NULL
+};
+
+const char *files[] = {
+ NULL
+};
+
+#endif /* _PRAND_CMD_H_ */
--
#include <std/disclaimer.h>
| Jim Jagielski | jim at jagubox.gsfc.nasa.gov | V: 301 286-5964 |
| NASA/GSFC, Code 734.4 | Greenbelt, MD 20771 | F: 301 286-1737 |
<< "Suspicion is the sure sign of a little mind" >>
More information about the bind-workers
mailing list