On Wed, 24 Mar 1999 04:06:05 +0000 (GMT), "Jeremy T. Bouse" <[EMAIL PROTECTED]> 
said:
>
> I noticed on the WNPP page that someone had sent in an intent to
> package the GateD routing daemon...

There's a package of 3.5.8 at debs.fuller.edu that was made by Dermot
Bradley.  He'd said it couldn't be part of Debian itself because of
licensing problems, I presume this applied to it being part of non-free
as well but I didn't investigate.

I used his diff to make a local 3.5.9 package with little effort last
fall.  Here's a simple patch I'd applied on top of it.

Index: control
####### gated-3.5.9/debian/ => debian
--- gated-3.5.8/debian/control  Fri Nov  6 16:06:03 1998
+++ gated-3.5.9/debian/control  Fri Nov  6 16:07:31 1998
@@ -7,7 +7,7 @@
 Package: gated
 Architecture: any
 Depends: ${shlibs:Depends}
-Description: Gated with RIP and OSPF support.
+Description: routing daemon with ICMP, RIP 1/2, IGMP, OSPF support
  Gated is a software router consisting of core services, a routing database,
  and protocol modules supporting RIP version 1 and 2, and OSPF version 2.
  Gated is designed to handle dynamic routing with a routing database built
@@ -16,7 +16,7 @@
 Package: gated-doc
 Architecture: all
 Suggests: httpd
-Description: Gated HTML documentation.
+Description: HTML documentation for gated
  Gated is a software router consisting of core services, a routing database,
  and protocol modules supporting RIP version 1 and 2, and OSPF version 2.
  Gated is designed to handle dynamic routing with a routing database built
Index: cron.daily
####### gated-3.5.9/debian/ => debian
--- gated-3.5.8/debian/cron.daily       Fri Nov  6 16:06:03 1998
+++ gated-3.5.9/debian/cron.daily       Fri Nov  6 16:07:32 1998
@@ -3,6 +3,8 @@
 # gated                        Rotate the Gated logfiles daily.
 #
 
+test -f /usr/bin/gdc || exit 0
+
 # Delete any logfiles more than 7 days old.
 gdc toggletrace
 umask 022
Index: init
####### gated-3.5.9/debian/ => debian
--- gated-3.5.8/debian/init     Fri Nov  6 16:06:03 1998
+++ gated-3.5.9/debian/init     Fri Nov  6 16:07:32 1998
@@ -4,7 +4,6 @@
 # Modified for Debian GNU/Linux by Ian Murdock <[EMAIL PROTECTED]>.
 # Modified for Debian by Christoph Lameter <[EMAIL PROTECTED]>
 
-PATH=/bin:/usr/bin:/sbin:/usr/sbin
 DAEMON=/usr/sbin/gated
 
 test -f $DAEMON || exit 0
@@ -22,10 +21,16 @@
        --exec $DAEMON
     echo "."
     ;;
-  reload)
+  reload|force-reload)
     echo -n "Reloading gated configuration..."
     start-stop-daemon --stop --quiet --signal 1 --pidfile /var/run/gated.pid \
        --exec $DAEMON
+    echo "done."
+    ;;
+  restart)
+    # You can't stop/start here because gated takes too long to shut down.
+    echo -n "Restarting gated..."
+    gdc -q restart || echo "Warning: return $? from gdc" >&2
     echo "done."
     ;;
   *)
Index: rules
####### gated-3.5.9/debian/ => debian
--- gated-3.5.8/debian/rules    Fri Nov  6 16:06:03 1998
+++ gated-3.5.9/debian/rules    Fri Nov  6 16:07:31 1998
@@ -53,7 +53,6 @@
        dh_shlibdeps
        dh_gencontrol
 #      dh_makeshlibs
-       dh_du
        dh_md5sums
        dh_builddeb
 
-- 
Roderick Schertler
[EMAIL PROTECTED]

Reply via email to