summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--solaris/ChangeLog6
-rw-r--r--solaris/Makefile.am4
-rw-r--r--solaris/depend.smf6
-rw-r--r--solaris/pkginfo.smf.tmpl.in2
-rw-r--r--solaris/prototype.daemons.in5
-rw-r--r--solaris/prototype.smf.in8
6 files changed, 24 insertions, 7 deletions
diff --git a/solaris/ChangeLog b/solaris/ChangeLog
index b7c78d17..2f413f53 100644
--- a/solaris/ChangeLog
+++ b/solaris/ChangeLog
@@ -3,6 +3,12 @@
* quagga.xml.in: Sigh, XML child elements are order-sensitive.
* prototype.doc.in: info/dir doesnt get created always.. comment
out for now, likely needs to be done with an install method.
+ * prototype.daemons.in: Move the Solaris 10 SMF specific stuff to
+ a seperate package.
+ * depend.smf: dependencies for smf package
+ * pkginfo.smf.tmpl.in: pkginfo for smf
+ * prototype.smf.in: prototype for smf
+ * Makefile.am: Add smf to pkg_names
2005-04-26 Paul Jakma <paul.jakma@sun.com>
diff --git a/solaris/Makefile.am b/solaris/Makefile.am
index 9fc63111..82da3145 100644
--- a/solaris/Makefile.am
+++ b/solaris/Makefile.am
@@ -1,11 +1,11 @@
# Solaris packages automake file
-# $Id: Makefile.am,v 1.5 2005/04/26 02:35:03 paul Exp $
+# $Id: Makefile.am,v 1.6 2005/05/13 07:26:07 paul Exp $
.PHONY: packages
# the names of the various subpackages, and some convenient
# derived variables.
-pkg_names = daemons dev doc libs
+pkg_names = daemons dev doc libs smf
pkg_quagga_daemons = zebra bgpd ospfd ospf6d ripd ripngd
pkg_name_rev = @PACKAGE_VERSION@-@CONFDATE@-@target_os@-@target_cpu@
pkg_depends := $(pkg_names:%=depend.%)
diff --git a/solaris/depend.smf b/solaris/depend.smf
new file mode 100644
index 00000000..d648708a
--- /dev/null
+++ b/solaris/depend.smf
@@ -0,0 +1,6 @@
+P QUAGGAdaemons Quagga daemons
+P SUNWcsu Core Solaris, (Usr)
+P SUNWcsr Core Solaris Libraries (Root)
+I SUNWzebrar
+I SUNWzebrau
+I CSWzebra
diff --git a/solaris/pkginfo.smf.tmpl.in b/solaris/pkginfo.smf.tmpl.in
new file mode 100644
index 00000000..4aa03936
--- /dev/null
+++ b/solaris/pkginfo.smf.tmpl.in
@@ -0,0 +1,2 @@
+PKG="QUAGGAsmf"
+NAME="@PACKAGE_NAME@ - @PACKAGE_NAME@ SMF support"
diff --git a/solaris/prototype.daemons.in b/solaris/prototype.daemons.in
index b5753bea..ce65d5e3 100644
--- a/solaris/prototype.daemons.in
+++ b/solaris/prototype.daemons.in
@@ -1,8 +1,6 @@
i pkginfo=$abs_builddir/pkginfo.daemons.full
i depend=$abs_builddir/depend.daemons
i copying=$abs_top_srcdir/COPYING
-i i.manifest
-i r.manifest
d none @sbindir@=$DESTDIR/@sbindir@ 0755 root bin
f none @sbindir@/zebra=$DESTDIR/@sbindir@/zebra 0755 root bin
f none @sbindir@/bgpd=$DESTDIR/@sbindir@/bgpd 0755 root bin
@@ -20,6 +18,3 @@ 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/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/prototype.smf.in b/solaris/prototype.smf.in
new file mode 100644
index 00000000..3c80f39b
--- /dev/null
+++ b/solaris/prototype.smf.in
@@ -0,0 +1,8 @@
+i pkginfo=$abs_builddir/pkginfo.smf.full
+i depend=$abs_builddir/depend.smf
+i copying=$abs_top_srcdir/COPYING
+i i.manifest
+i r.manifest
+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