Browse Source

Sebastian Jaenicke:


			
			
				rocklinux
			
			
		
Sebastian Jaenicke 20 years ago
parent
commit
a2addecff3
10 changed files with 361 additions and 0 deletions
  1. +3
    -0
      Documentation/Developers/REGISTER
  2. +44
    -0
      package/tsa/quagga/bgpd.init
  3. +43
    -0
      package/tsa/quagga/ospf6d.init
  4. +44
    -0
      package/tsa/quagga/ospfd.init
  5. +4
    -0
      package/tsa/quagga/postsysfiles.in
  6. +45
    -0
      package/tsa/quagga/quagga.conf
  7. +46
    -0
      package/tsa/quagga/quagga.desc
  8. +44
    -0
      package/tsa/quagga/ripd.init
  9. +44
    -0
      package/tsa/quagga/ripngd.init
  10. +44
    -0
      package/tsa/quagga/zebra.init

+ 3
- 0
Documentation/Developers/REGISTER

@ -39,6 +39,9 @@ Reserved User and Group IDs:
qmailr 25
qmails 26
- quagga users: - quagga groups:
quagga 27 quagga 27
- exim users: - exim groups:
exim 30 exim 30

+ 44
- 0
package/tsa/quagga/bgpd.init

@ -0,0 +1,44 @@
#!/bin/sh
#
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/tsa/quagga/bgpd.init
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
#
# Desc: BGP daemon
#
# Runlevel: 25 rcX
#
main_begin
block_begin(start, `Starting bgpd.')
check(`D_prefix/sbin/bgpd -d')
block_end
block_begin(stop, `Stopping bgpd.')
check(`pkill -15 -x -u quagga bgpd')
block_end
block_begin(restart, `Restarting bgpd.')
check(`pkill -1 -x -u quagga bgpd')
block_end
main_end

+ 43
- 0
package/tsa/quagga/ospf6d.init

@ -0,0 +1,43 @@
#!/bin/sh
#
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/tsa/quagga/ospf6d.init
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
# Desc: OSPF daemon for IPv6
#
# Runlevel: 25 rcX
#
main_begin
block_begin(start, `Starting ospf6d.')
check(`D_prefix/sbin/ospf6d -d')
block_end
block_begin(stop, `Stopping ospf6d.')
check(`pkill -15 -x -u quagga ospf6d')
block_end
block_begin(restart, `Restarting ospf6d.')
check(`pkill -1 -x -u quagga ospf6d')
block_end
main_end

+ 44
- 0
package/tsa/quagga/ospfd.init

@ -0,0 +1,44 @@
#!/bin/sh
#
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/tsa/quagga/ospfd.init
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
#
# Desc: OSPF daemon
#
# Runlevel: 25 rcX
#
main_begin
block_begin(start, `Starting ospfd.')
check(`D_prefix/sbin/ospfd -d')
block_end
block_begin(stop, `Stopping ospfd.')
check(`pkill -15 -x -u quagga ospfd')
block_end
block_begin(restart, `Restarting ospfd.')
check(`pkill -1 -x -u quagga ospfd')
block_end
main_end

+ 4
- 0
package/tsa/quagga/postsysfiles.in

@ -0,0 +1,4 @@
safe_groupadd quagga 27
safe_useradd quagga 27 27 "Quagga" / /bin/false "*"

+ 45
- 0
package/tsa/quagga/quagga.conf

@ -0,0 +1,45 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/tsa/quagga/quagga.conf
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
var_append confopt ' ' '--enable-netlink'
var_append confopt ' ' '--enable-vtysh'
var_append confopt ' ' '--enable-nssa'
var_append confopt ' ' '--enable-opaque-lsa'
var_append confopt ' ' '--enable-ospf-te'
var_append confopt ' ' '--sysconfdir=/etc/zebra'
var_append confopt ' ' '--localstatedir=/var/run/zebra'
init_and_ownerships() {
install_init zebra $confdir/zebra.init
install_init ospfd $confdir/ospfd.init
install_init ospf6d $confdir/ospf6d.init
install_init bgpd $confdir/bgpd.init
install_init ripd $confdir/ripd.init
install_init ripngd $confdir/ripngd.init
chown quagga:quagga $root/etc/zebra
mkdir -p $root/var/run/zebra && chown quagga:quagga $root/var/run/zebra
}
postmake=init_and_ownerships

+ 46
- 0
package/tsa/quagga/quagga.desc

@ -0,0 +1,46 @@
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
[COPY]
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] Please add additional copyright information _after_ the line containing
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
[COPY]
[COPY] ROCK Linux: rock-src/package/tsa/quagga/quagga.desc
[COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; either version 2 of the License, or
[COPY] (at your option) any later version. A copy of the GNU General Public
[COPY] License can be found at Documentation/COPYING.
[COPY]
[COPY] Many people helped and are helping developing ROCK Linux. Please
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
[COPY] file for details.
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
[I] Quagga Routing Software Suite, GPL licensed IPv4/IPv6 routing software
[T] Quagga is a routing software suite, providing implementations of OSPFv2,
[T] OSPFv3, RIP v1 and v2, RIPv3 and BGPv4 for Unix platforms, particularly
[T] FreeBSD and Linux and also NetBSD, to mention a few. Quagga is a fork of
[T] GNU Zebra which was developed by Kunihiro Ishiguro. The Quagga tree aims
[T] to build a more involved community around Quagga than the current
[T] centralised model of GNU Zebra.
[U] http://www.quagga.net/
[A] Kunihiro Ishiguro <kunihiro@zebra.org> et al.
[M] Sebastian Jaenicke <tsa@rocklinux.org>
[C] extra/network
[L] GPL
[S] Stable
[V] 0.97.2
[P] X -?-3-5---9 116.200
[D] 378754711 quagga-0.97.2.tar.gz http://www.quagga.net/download/

+ 44
- 0
package/tsa/quagga/ripd.init

@ -0,0 +1,44 @@
#!/bin/sh
#
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/tsa/quagga/ripd.init
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
#
# Desc: RIP daemon
#
# Runlevel: 25 rcX
#
main_begin
block_begin(start, `Starting ripd.')
check(`D_prefix/sbin/ripd -d')
block_end
block_begin(stop, `Stopping ripd.')
check(`pkill -15 -x -u quagga ripd')
block_end
block_begin(restart, `Restarting ripd.')
check(`pkill -1 -x -u quagga ripd')
block_end
main_end

+ 44
- 0
package/tsa/quagga/ripngd.init

@ -0,0 +1,44 @@
#!/bin/sh
#
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/tsa/quagga/ripngd.init
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
#
# Desc: RIP "next generation" daemon
#
# Runlevel: 25 rcX
#
main_begin
block_begin(start, `Starting ripngd.')
check(`D_prefix/sbin/ripngd -d')
block_end
block_begin(stop, `Stopping ripngd.')
check(`pkill -15 -x -u quagga ripngd')
block_end
block_begin(restart, `Restarting ripngd.')
check(`pkill -1 -x -u quagga ripngd')
block_end
main_end

+ 44
- 0
package/tsa/quagga/zebra.init

@ -0,0 +1,44 @@
#!/bin/sh
#
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/tsa/quagga/zebra.init
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
#
# Desc: zebra routing daemon
#
# Runlevel: 25 rcX
#
main_begin
block_begin(start, `Starting zebra.')
check(`D_prefix/sbin/zebra -d')
block_end
block_begin(stop, `Stopping zebra.')
check(`pkill -15 -x -u quagga zebra')
block_end
block_begin(restart, `Restarting zebra.')
check(`pkill -1 -x -u quagga zebra')
block_end
main_end

Loading…
Cancel
Save