distroname=$1; shift
case $distroname in
f8|f9)
- echo 'kernel* util-vserver* iptables iproute inotify-tools*'
+ echo 'kernel* util-vserver* iptables iproute'
;;
centos5)
echo 'kernel* util-vserver* iptables iproute inotify-tools* libnl*'
##########
# for vsys
package: ocaml ocaml-docs
-## will be loaded from our build as needed
-#package:inotify-tools-devel
+# use local inotify-tools on centos
+package:inotify-tools-devel
+package-centos5: inotify-tools-devel
##########
## for util-vserver-pl
-# we can use the stock version with f9;
-# centos5 comes with something too old
-# use our version as well on f8 as it comes with some 1.0 - which would do however
-package: libnl libnl-devel
-package-centos5: libnl libnl-devel
+# use local libnl on centos
+package: libnl-devel
+package-centos5: libnl-devel
#
# libnl - local import
# we need either 1.1 or at least 1.0.pre6
-# rebuild this on f8 and centos5 - see kexcludes in build.common
+# rebuild this on centos5 - see kexcludes in build.common
#
local_libnl=false
ifeq "$(DISTRONAME)" "centos5"
#
# inotify-tools - local import
-# could not find this in cen
+# rebuild this on centos5 (not found) - see kexcludes in build.common
#
+local_inotify_tools=false
+ifeq "$(DISTRONAME)" "centos5"
+local_inotify_tools=true
+endif
+
+ifeq "$(local_inotify_tools)" "true"
inotify-tools-MODULES := inotify-tools
inotify-tools-SPEC := inotify-tools.spec
inotify-tools-BUILD-FROM-SRPM := yes
IN_BOOTSTRAPFS += inotify-tools
ALL += inotify-tools
+ifeq "$(local_inotify_tools)" "true"
#
# vsys
#
vsys-MODULES := vsys
vsys-SPEC := vsys.spec
+ifeq "$(local_inotify_tools)" "true"
vsys-DEPEND-DEVEL-RPMS := inotify-tools inotify-tools-devel
+endif
IN_BOOTSTRAPFS += vsys
ALL += vsys
#
# libnl - local import
# we need either 1.1 or at least 1.0.pre6
-# rebuild this on f8 and centos5 - see kexcludes in build.common
+# rebuild this on centos5 - see kexcludes in build.common
#
local_libnl=false
ifeq "$(DISTRONAME)" "centos5"
#
# inotify-tools - local import
-# could not find this in cen
+# rebuild this on centos5 (not found) - see kexcludes in build.common
#
+local_inotify_tools=false
+ifeq "$(DISTRONAME)" "centos5"
+local_inotify_tools=true
+endif
+
+ifeq "$(local_inotify_tools)" "true"
inotify-tools-MODULES := inotify-tools
inotify-tools-SPEC := inotify-tools.spec
inotify-tools-BUILD-FROM-SRPM := yes
IN_BOOTSTRAPFS += inotify-tools
ALL += inotify-tools
+ifeq "$(local_inotify_tools)" "true"
#
# vsys
#
vsys-MODULES := vsys
vsys-SPEC := vsys.spec
+ifeq "$(local_inotify_tools)" "true"
vsys-DEPEND-DEVEL-RPMS := inotify-tools inotify-tools-devel
+endif
IN_BOOTSTRAPFS += vsys
ALL += vsys