cleanup in distro-dependant packages, general rule is to treat the early distros as exceptions
rather than the other way around (f9 is coming)
package: rpm
package: setserial
package: setup
-package+fc4: sysklogd
-package+fc6: sysklogd
-package+f7: sysklogd
-package+f8: rsyslog
package: termcap
-package+fc4: util-linux
-package+fc6: util-linux
-package+f7: util-linux
-package+f8: util-linux-ng
package: vim-minimal
package: shadow-utils
package: anacron
package: openvpn
package: vconfig
package: PyXML
+#
+# platform-dependent
+#
+package+fc4: sysklogd
+package+fc6: sysklogd
+package+f7: sysklogd
+package+f8: rsyslog
+package+centos5: sysklogd
+
+package+fc4: util-linux
+package+fc6: util-linux
+package+f7: util-linux
+package+f8: util-linux-ng
+package+centos5: util-linux
+
# not found on other platforms
package+fc4: netdump
package+fc4: schedutils
package+fc4: SysVinit
-package+fc6: SysVinit
package+fc4: portmap
+#
+package+fc6: SysVinit
package+fc6: portmap
+#
# planetlab
+#
package: madwifi
package: wireless-tools
package: util-vserver
# for vsys
#package+f8: ocaml ocaml-docs
#package+f8: inotify-tools-devel
-package+f8: vsys
+package: vsys
+package-fc4: vsys
+package-fc6: vsys
# for pypcilib
package: pciutils-devel
# for vsys
-package: ocaml ocaml-docs
-package: inotify-tools-devel
+package: ocaml ocaml-docs inotify-tools-devel
+package-fc4: ocaml ocaml-docs inotify-tools-devel
+package-fc6: ocaml ocaml-docs inotify-tools-devel
+package-centos5: ocaml ocaml-docs inotify-tools-devel
#
# vsys
#
-vsys-MODULES := vsys
-vsys-SPEC := vsys.spec
-ifeq "$(DISTRONAME)" "f7"
-IN_BOOTSTRAPFS += vsys
-ALL += vsys
+vsys_support=yes
+ifeq "$(DISTRONAME)" "fc4"
+vsys_support=
endif
-ifeq "$(DISTRONAME)" "f8"
-IN_BOOTSTRAPFS += vsys
-ALL += vsys
+ifeq "$(DISTRONAME)" "fc6"
+vsys_support=
endif
+# cannot find the required packages (see devel.pkgs) on centos5
ifeq "$(DISTRONAME)" "centos5"
+vsys_support=
+endif
+
+ifeq "$(vsys_support)" "yes"
+vsys-MODULES := vsys
+vsys-SPEC := vsys.spec
IN_BOOTSTRAPFS += vsys
ALL += vsys
endif
#
# vsys
#
-vsys-MODULES := vsys
-vsys-SPEC := vsys.spec
-ifeq "$(DISTRONAME)" "f7"
-IN_BOOTSTRAPFS += vsys
-ALL += vsys
+vsys_support=yes
+ifeq "$(DISTRONAME)" "fc4"
+vsys_support=
endif
-ifeq "$(DISTRONAME)" "f8"
-IN_BOOTSTRAPFS += vsys
-ALL += vsys
+ifeq "$(DISTRONAME)" "fc6"
+vsys_support=
endif
+# cannot find the required packages (see devel.pkgs) on centos5
ifeq "$(DISTRONAME)" "centos5"
+vsys_support=
+endif
+
+ifeq "$(vsys_support)" "yes"
+vsys-MODULES := vsys
+vsys-SPEC := vsys.spec
IN_BOOTSTRAPFS += vsys
ALL += vsys
endif