upgrade to gated 3.5.10; Peter Galbavy <Peter.Galbavy@knowledge.com>
This commit is contained in:
parent
4c98efd5a8
commit
bdf8f88336
@ -1,3 +1,3 @@
|
||||
MD5 (gated-3-5-7.tar.gz) = cf53df3121f520671dd85d86d1c043f9
|
||||
RMD160 (gated-3-5-7.tar.gz) = 84c253fd8ca44649cfdcd83d61e563cd253c06c3
|
||||
SHA1 (gated-3-5-7.tar.gz) = ee66eebc5b63495357f7118787a4e50a7c4d7316
|
||||
MD5 (gated-3-5-10.tar.gz) = 22fe312a12725df603eaf9bc76957cfd
|
||||
RMD160 (gated-3-5-10.tar.gz) = 51cef70bc75620cb1f1ce49aa41d7e6297f9ad19
|
||||
SHA1 (gated-3-5-10.tar.gz) = aba849c1517159753dcc43428cb44cb7275ca4f8
|
||||
|
@ -1,8 +1,8 @@
|
||||
--- src/configs/freebsd.orig Fri Jul 4 05:43:48 1997
|
||||
+++ src/configs/freebsd Wed Oct 1 21:40:45 1997
|
||||
--- src/configs/freebsd.orig Thu Jul 2 14:12:48 1998
|
||||
+++ src/configs/freebsd Sun Mar 14 11:09:48 1999
|
||||
@@ -1,27 +1,29 @@
|
||||
#
|
||||
# $Id: patch-aa,v 1.1.1.1 1997/11/22 23:57:32 joey Exp $
|
||||
# $Id: patch-aa,v 1.2 1999/03/14 19:17:03 brad Exp $
|
||||
-# Configuration for freebsd-2.0 alpha (i386)
|
||||
+# Configuration for FreeBSD-3.0 (and hopefully 2.2)
|
||||
#
|
||||
@ -37,15 +37,9 @@
|
||||
options VARIABLE_MASKS SOCKET_LENGTHS SOCKADDR_DL INCLUDE_IF_DL
|
||||
options KRT_RTREAD_KINFO KRT_IFREAD_KINFO KRT_RT_SOCK USE_SYSCTL
|
||||
options KRT_LLADDR_NONE KRT_SYMBOLS_SYSCTL KVM_TYPE_BSD44 KSYM_VERSION=VRS_SYM
|
||||
@@ -34,8 +36,9 @@
|
||||
|
||||
path_dump /var/tmp/%s_dump
|
||||
path_dumpdir /var/tmp
|
||||
-path_pid /var/run/%s.pid
|
||||
+path_pid /var/db/%s.pid
|
||||
@@ -38,4 +40,4 @@
|
||||
path_version /var/run/%s.version
|
||||
+path_unix /kernel
|
||||
|
||||
#protocols bgp egp hello icmp rip ospf iso slsp isis rdsic
|
||||
-protocols hello icmp rip ospf
|
||||
+protocols bgp egp hello icmp rip ospf rdisc
|
||||
#protocols bgp egp icmp rip ospf iso slsp isis rdisc
|
||||
-protocols icmp rip ospf
|
||||
+protocols bgp icmp rip ospf rdisc
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- src/task.c.orig Fri Jul 18 06:45:02 1997
|
||||
+++ src/task.c Wed Oct 1 21:40:45 1997
|
||||
@@ -5868,12 +5868,20 @@
|
||||
--- src/task.c.orig Sun Mar 14 13:21:49 1999
|
||||
+++ src/task.c Sun Mar 14 13:24:50 1999
|
||||
@@ -5862,12 +5862,20 @@
|
||||
}
|
||||
|
||||
/* Remove our association with a controling tty */
|
||||
@ -12,31 +12,31 @@
|
||||
perror("task_daemonize: setpgrp");
|
||||
exit(1);
|
||||
}
|
||||
+#else /* USE_SETPGRP */
|
||||
+#else /* USE_SETPGRP */
|
||||
+ t = setsid();
|
||||
+ if (t < 0) {
|
||||
+ perror("task_daemonize: setsid");
|
||||
+ exit(1);
|
||||
+ }
|
||||
+#endif /* USE_SETPGRP */
|
||||
+#endif /* USE_SETPGRP */
|
||||
|
||||
task_signal_ignore(SIGHUP);
|
||||
|
||||
@@ -5892,7 +5900,7 @@
|
||||
@@ -5886,7 +5894,7 @@
|
||||
/* Parent */
|
||||
exit(0);
|
||||
}
|
||||
-#else /* USE_SETPGRP */
|
||||
+#else /* defined(USE_SETPGRP) || defined(USE_SETSID) */
|
||||
+#else /* defined(USE_SETPGRP) || defined(USE_SETSID) */
|
||||
t = setpgrp(0, getpid());
|
||||
if (t < 0) {
|
||||
perror("task_daemonize: setpgrp");
|
||||
@@ -5907,7 +5915,7 @@
|
||||
@@ -5901,7 +5909,7 @@
|
||||
}
|
||||
(void) close(t);
|
||||
}
|
||||
-#endif /* USE_SETPGRP */
|
||||
+#endif /* defined(USE_SETPGRP) || defined(USE_SETSID) */
|
||||
+#endif /* defined(USE_SETPGRP) || defined(USE_SETSID) */
|
||||
}
|
||||
|
||||
/* Close all open files */
|
||||
|
@ -1,7 +0,0 @@
|
||||
# This blunder really made me laugh.. :-) -Peter
|
||||
|
||||
--- src/VERSION.orig Wed Aug 13 01:50:44 1997
|
||||
+++ src/VERSION Wed Oct 1 21:44:04 1997
|
||||
@@ -1 +1 @@
|
||||
-3-5-6
|
||||
+3-5-7
|
@ -1,10 +0,0 @@
|
||||
--- src/sockaddr.h.orig Wed Oct 1 21:55:58 1997
|
||||
+++ src/sockaddr.h Wed Oct 1 21:55:13 1997
|
||||
@@ -126,6 +126,7 @@
|
||||
} sockaddr_un;
|
||||
|
||||
/* The maximum possible address length */
|
||||
+#undef SOCK_MAXADDRLEN /* override BSD4.4's 255 due to memory cost */
|
||||
#define SOCK_MAXADDRLEN 20
|
||||
|
||||
#define AF_LL 253 /* Link level address */
|
@ -1,4 +1,4 @@
|
||||
GateD routing protocol daemon
|
||||
|
||||
This program implements various routing protocols such as OSPF, RIP, EGP,
|
||||
HELLO, BGP, ISIS, et al.
|
||||
This program implements various routing protocols such as OSPF, RIP,
|
||||
BGP, ISIS, et al.
|
||||
|
@ -1,8 +1,8 @@
|
||||
bin/ripquery
|
||||
bin/ospf_monitor
|
||||
bin/gdc
|
||||
man/man8/gated.8
|
||||
man/man8/ripquery.8
|
||||
man/man8/ospf_monitor.8
|
||||
man/man8/gdc.8
|
||||
sbin/gated
|
||||
bin/ripquery
|
||||
bin/ospf_monitor
|
||||
bin/gdc
|
||||
|
Loading…
Reference in New Issue
Block a user