From 2e7d9ebac1a2698d548fab85bf717b427378c3c1 Mon Sep 17 00:00:00 2001 From: paul Date: Tue, 26 Apr 2005 02:35:03 +0000 Subject: 2005-04-26 Paul Jakma * quagga.xml.in: New, better, single integrated manifest for all the services, courtesy of alan.maguire@sun.com. * {{ospf,ospf6,rip,ripng,bgp}d,zebra}.xml.in: removed due to previous * quagga.init.in: Use the package tarname for properties, use the correct daemon name variable. * Makefile.am: Updated to match single manifest * prototype.daemons.in: ditto --- solaris/ChangeLog | 11 ++ solaris/Makefile.am | 4 +- solaris/bgpd.xml.in | 115 --------------- solaris/ospf6d.xml.in | 108 --------------- solaris/ospfd.xml.in | 114 --------------- solaris/prototype.daemons.in | 7 +- solaris/quagga.init.in | 18 +-- solaris/quagga.xml.in | 323 +++++++++++++++++++++++++++++++++++++++++++ solaris/ripd.xml.in | 114 --------------- solaris/ripngd.xml.in | 115 --------------- solaris/zebra.xml.in | 111 --------------- 11 files changed, 346 insertions(+), 694 deletions(-) delete mode 100644 solaris/bgpd.xml.in delete mode 100644 solaris/ospf6d.xml.in delete mode 100644 solaris/ospfd.xml.in create mode 100644 solaris/quagga.xml.in delete mode 100644 solaris/ripd.xml.in delete mode 100644 solaris/ripngd.xml.in delete mode 100644 solaris/zebra.xml.in (limited to 'solaris') diff --git a/solaris/ChangeLog b/solaris/ChangeLog index d815c5d0..18ad637b 100644 --- a/solaris/ChangeLog +++ b/solaris/ChangeLog @@ -1,3 +1,14 @@ +2005-04-26 Paul Jakma + + * quagga.xml.in: New, better, single integrated manifest for all + the services, courtesy of alan.maguire@sun.com. + * {{ospf,ospf6,rip,ripng,bgp}d,zebra}.xml.in: removed due to + previous + * quagga.init.in: Use the package tarname for properties, use + the correct daemon name variable. + * Makefile.am: Updated to match single manifest + * prototype.daemons.in: ditto + 2005-04-21 Paul Jakma * Makefile.am: pkginfo.%.tmpl is a generated file, srcdir prefix diff --git a/solaris/Makefile.am b/solaris/Makefile.am index e7fdf6ba..9fc63111 100644 --- a/solaris/Makefile.am +++ b/solaris/Makefile.am @@ -1,5 +1,5 @@ # Solaris packages automake file -# $Id: Makefile.am,v 1.4 2005/04/21 10:24:43 paul Exp $ +# $Id: Makefile.am,v 1.5 2005/04/26 02:35:03 paul Exp $ .PHONY: packages @@ -12,7 +12,7 @@ pkg_depends := $(pkg_names:%=depend.%) pkg_packages := $(pkg_names:%=@PACKAGE_TARNAME@-%-$(pkg_name_rev).pkg) pkg_pkginfos := $(pkg_names:%=pkginfo.%.full) pkg_prototypes := $(pkg_names:%=prototype.%) -pkg_manifests := $(pkg_quagga_daemons:%=%.xml) +pkg_manifests := quagga.xml # pkgmk variable substitutions wont grok ${variable} in prototype # file, so we cant let autoconf generate the file sadly diff --git a/solaris/bgpd.xml.in b/solaris/bgpd.xml.in deleted file mode 100644 index 668e6330..00000000 --- a/solaris/bgpd.xml.in +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/solaris/ospf6d.xml.in b/solaris/ospf6d.xml.in deleted file mode 100644 index d09c6d20..00000000 --- a/solaris/ospf6d.xml.in +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/solaris/ospfd.xml.in b/solaris/ospfd.xml.in deleted file mode 100644 index d4dfd7f6..00000000 --- a/solaris/ospfd.xml.in +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/solaris/prototype.daemons.in b/solaris/prototype.daemons.in index bf87992f..b5753bea 100644 --- a/solaris/prototype.daemons.in +++ b/solaris/prototype.daemons.in @@ -20,11 +20,6 @@ f none @sysconfdir@/ripngd.conf.sample=$DESTDIR/@sysconfdir@/ripngd.conf.sample f none @sysconfdir@/ospfd.conf.sample=$DESTDIR/@sysconfdir@/ospfd.conf.sample 0644 root bin f none @sysconfdir@/ospf6d.conf.sample=$DESTDIR/@sysconfdir@/ospf6d.conf.sample 0644 root bin d none @quagga_statedir@=$DESTDIR/@quagga_statedir@ 0711 @enable_user@ @enable_group@ -f manifest var/svc/manifest/network/zebra.xml 0444 root bin -f manifest var/svc/manifest/network/bgpd.xml 0444 root bin -f manifest var/svc/manifest/network/ospfd.xml 0444 root bin -f manifest var/svc/manifest/network/ospf6d.xml 0444 root bin -f manifest var/svc/manifest/network/ripd.xml 0444 root bin -f manifest var/svc/manifest/network/ripngd.xml 0444 root bin +f manifest var/svc/manifest/network/quagga.xml 0444 root bin #f none var/svc/profile/@PACKAGE_TARNAME@_options.xml=$abs_builddir/options.xml 0755 root sys f none lib/svc/method/quagga=$abs_builddir/quagga.init 0755 root bin diff --git a/solaris/quagga.init.in b/solaris/quagga.init.in index 02fdc60d..808fcbe8 100755 --- a/solaris/quagga.init.in +++ b/solaris/quagga.init.in @@ -3,7 +3,7 @@ # Copyright 2001,2003 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# $Id: quagga.init.in,v 1.1 2005/04/11 07:05:21 paul Exp $ +# $Id: quagga.init.in,v 1.2 2005/04/26 02:35:03 paul Exp $ # # Starts/stops the appropriate daemon @@ -45,12 +45,12 @@ case ${DAEMON} in ;; esac -CONFFILE=`svcprop -p @PACKAGE_NAME@/config_file ${FMRI}` -PIDFILE=`svcprop -p @PACKAGE_NAME@/pid_file ${FMRI}` -USER=`svcprop -p @PACKAGE_NAME@/user ${FMRI}` -GROUP=`svcprop -p @PACKAGE_NAME@/group ${FMRI}` -VTYADDR=`svcprop -p @PACKAGE_NAME@/vty_addr ${FMRI}` -VTYPORT=`svcprop -p @PACKAGE_NAME@/vty_port ${FMRI}` +CONFFILE=`svcprop -p @PACKAGE_TARNAME@/config_file ${FMRI}` +PIDFILE=`svcprop -p @PACKAGE_TARNAME@/pid_file ${FMRI}` +USER=`svcprop -p @PACKAGE_TARNAME@/user ${FMRI}` +GROUP=`svcprop -p @PACKAGE_TARNAME@/group ${FMRI}` +VTYADDR=`svcprop -p @PACKAGE_TARNAME@/vty_addr ${FMRI}` +VTYPORT=`svcprop -p @PACKAGE_TARNAME@/vty_port ${FMRI}` [ -n "${CONFFILE}" ] && ARGS=" -f ${CONFFILE}" [ -n "${PIDFILE}" ] && ARGS="${ARGS} --pid_file ${PIDFILE}" @@ -76,9 +76,9 @@ stop () { } restart() { - stop ${daemon} + stop ${DAEMON} sleep 1 - start ${daemon} + start ${DAEMON} } case $1 in diff --git a/solaris/quagga.xml.in b/solaris/quagga.xml.in new file mode 100644 index 00000000..95aa009b --- /dev/null +++ b/solaris/quagga.xml.in @@ -0,0 +1,323 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/solaris/ripd.xml.in b/solaris/ripd.xml.in deleted file mode 100644 index e6598365..00000000 --- a/solaris/ripd.xml.in +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/solaris/ripngd.xml.in b/solaris/ripngd.xml.in deleted file mode 100644 index 879b02de..00000000 --- a/solaris/ripngd.xml.in +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/solaris/zebra.xml.in b/solaris/zebra.xml.in deleted file mode 100644 index fefc5e17..00000000 --- a/solaris/zebra.xml.in +++ /dev/null @@ -1,111 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- cgit v1.2.1