X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=planetlab.mk;h=3708096c3a9fa07a22a986c81d3354b9a1cb16b0;hb=3d85f456a525331119c29a6c1947da6df9a960be;hp=8fb6fb5f837098be6545c5049a79e45197978e9e;hpb=9a39938e0e96d96a6c91e5ce30c8fbe8feb607e3;p=build.git diff --git a/planetlab.mk b/planetlab.mk index 8fb6fb5f..3708096c 100644 --- a/planetlab.mk +++ b/planetlab.mk @@ -1,5 +1,3 @@ -# $Id$ -# $URL$ # # declare the packages to be built and their dependencies # initial version from Mark Huang @@ -17,6 +15,8 @@ ifeq "$(DISTRONAME)" "centos5" mkinitrd-MODULES := mkinitrd mkinitrd-SPEC := mkinitrd.spec mkinitrd-BUILD-FROM-SRPM := yes +mkinitrd-DEVEL-RPMS += parted-devel glib2-devel libdhcp4client-devel libdhcp6client-devel libdhcp-devel +mkinitrd-DEVEL-RPMS += device-mapper libselinux-devel libsepol-devel libnl-devel ALL += mkinitrd IN_BOOTCD += mkinitrd IN_VSERVER += mkinitrd @@ -55,22 +55,28 @@ IN_MYPLC += $(KERNELS) # # madwifi # + +ifeq "$(PLDISTROTAGS)" "planetlab-k32-tags.mk" +ifneq "$(DISTRONAME)" "f8" madwifi-MODULES := madwifi madwifi-SPEC := madwifi.spec madwifi-BUILD-FROM-SRPM := yes -madwifi-DEPEND-DEVEL-RPMS := kernel-devel +madwifi-DEPEND-DEVEL-RPMS += kernel-devel madwifi-SPECVARS = kernel_version=$(kernel.rpm-version) \ kernel_release=$(kernel.rpm-release) \ kernel_arch=$(kernel.rpm-arch) ALL += madwifi IN_BOOTSTRAPFS += madwifi +endif +endif # # util-vserver # util-vserver-MODULES := util-vserver util-vserver-SPEC := util-vserver.spec -util-vserver-RPMFLAGS:= --without dietlibc +util-vserver-BUILD-FROM-SRPM := yes +util-vserver-RPMFLAGS:= --without dietlibc --without doc ALL += util-vserver IN_BOOTSTRAPFS += util-vserver @@ -89,7 +95,7 @@ libnl-MODULES := libnl libnl-SPEC := libnl.spec libnl-BUILD-FROM-SRPM := yes # this sounds like the thing to do, but in fact linux/if_vlan.h comes with kernel-headers -libnl-DEPEND-DEVEL-RPMS := kernel-devel kernel-headers +libnl-DEPEND-DEVEL-RPMS += kernel-devel kernel-headers ALL += libnl IN_BOOTSTRAPFS += libnl endif @@ -99,7 +105,7 @@ endif # util-vserver-pl-MODULES := util-vserver-pl util-vserver-pl-SPEC := util-vserver-pl.spec -util-vserver-pl-DEPEND-DEVEL-RPMS := util-vserver-lib util-vserver-devel util-vserver-core +util-vserver-pl-DEPEND-DEVEL-RPMS += util-vserver-lib util-vserver-devel util-vserver-core ifeq "$(local_libnl)" "true" util-vserver-pl-DEPEND-DEVEL-RPMS += libnl libnl-devel endif @@ -143,7 +149,6 @@ IN_BOOTSTRAPFS += sshd # codemux-MODULES := codemux codemux-SPEC := codemux.spec -codemux-RPMBUILD := sudo bash ./rpmbuild.sh ALL += codemux IN_BOOTSTRAPFS += codemux @@ -183,7 +188,8 @@ IN_BOOTSTRAPFS += mom # iptables-MODULES := iptables iptables-SPEC := iptables.spec -iptables-DEPEND-DEVEL-RPMS := kernel-devel kernel-headers +iptables-BUILD-FROM-SRPM := yes +iptables-DEPEND-DEVEL-RPMS += kernel-devel kernel-headers ALL += iptables IN_BOOTSTRAPFS += iptables @@ -192,6 +198,7 @@ IN_BOOTSTRAPFS += iptables # iproute-MODULES := iproute2 iproute-SPEC := iproute.spec +iproute-BUILD-FROM-SRPM := yes ALL += iproute IN_BOOTSTRAPFS += iproute IN_VSERVER += iproute @@ -206,6 +213,10 @@ ifeq "$(DISTRONAME)" "centos5" local_inotify_tools=true endif +ifeq "$(DISTRONAME)" "sl6" +local_inotify_tools=true +endif + ifeq "$(local_inotify_tools)" "true" inotify-tools-MODULES := inotify-tools inotify-tools-SPEC := inotify-tools.spec @@ -219,6 +230,7 @@ endif # openvswitch-MODULES := openvswitch openvswitch-SPEC := openvswitch.spec +openvswitch-DEPEND-DEVEL-RPMS += kernel-devel IN_BOOTSTRAPFS += openvswitch ALL += openvswitch @@ -227,8 +239,10 @@ ALL += openvswitch # vsys-MODULES := vsys vsys-SPEC := vsys.spec +# ocaml-docs is not needed anymore but keep it on a tmp basis as some tags may still have it +vsys-DEVEL-RPMS += ocaml-ocamldoc ocaml-docs ifeq "$(local_inotify_tools)" "true" -vsys-DEPEND-DEVEL-RPMS := inotify-tools inotify-tools-devel +vsys-DEPEND-DEVEL-RPMS += inotify-tools inotify-tools-devel endif IN_BOOTSTRAPFS += vsys ALL += vsys @@ -284,8 +298,9 @@ ALL += pcucontrol # # monitor # -monitor-MODULES := Monitor +monitor-MODULES := monitor monitor-SPEC := Monitor.spec +monitor-DEVEL-RPMS += net-snmp net-snmp-devel ALL += monitor IN_BOOTSTRAPFS += monitor @@ -296,14 +311,6 @@ plcrt-MODULES := PLCRT plcrt-SPEC := plcrt.spec ALL += plcrt -# -# zabbix -# -zabbix-MODULES := Monitor -zabbix-SPEC := zabbix.spec -zabbix-BUILD-FROM-SRPM := yes -ALL += zabbix - # # pyopenssl # @@ -327,6 +334,7 @@ ALL += pyaspects ejabberd-MODULES := ejabberd ejabberd-SPEC := ejabberd.spec ejabberd-BUILD-FROM-SRPM := yes +ejabberd-DEVEL-RPMS += erlang pam-devel hevea # not needed anymore on f12 and above, that come with 2.1.5, and we had 2.1.3 # so, this is relevant on f8 and centos5 only ifeq "$(DISTRONAME)" "$(filter $(DISTRONAME),f8 centos5)" @@ -348,6 +356,10 @@ sfa-SPEC := sfa.spec ALL += sfa endif +sface-MODULES := sface +sface-SPEC := sface.spec +ALL += sface + # # nodeconfig # @@ -406,7 +418,6 @@ ALL += omf-expctl # bootcd-MODULES := bootcd build bootcd-SPEC := bootcd.spec -bootcd-RPMBUILD := sudo bash ./rpmbuild.sh bootcd-DEPEND-PACKAGES := $(IN_BOOTCD) bootcd-DEPEND-FILES := RPMS/yumgroups.xml bootcd-RPMDATE := yes @@ -429,7 +440,6 @@ IN_BOOTSTRAPFS += vserver # bootstrapfs-MODULES := bootstrapfs build bootstrapfs-SPEC := bootstrapfs.spec -bootstrapfs-RPMBUILD := sudo bash ./rpmbuild.sh bootstrapfs-DEPEND-PACKAGES := $(IN_BOOTSTRAPFS) bootstrapfs-DEPEND-FILES := RPMS/yumgroups.xml bootstrapfs-RPMDATE := yes @@ -447,7 +457,6 @@ NODEREPO_RPMS_3PLUS = $(subst $(SPACE),+++,$(NODEREPO_RPMS)) noderepo-MODULES := bootstrapfs noderepo-SPEC := noderepo.spec -noderepo-RPMBUILD := sudo bash ./rpmbuild.sh # package requires all regular packages noderepo-DEPEND-PACKAGES := $(IN_BOOTSTRAPFS) $(IN_NODEREPO) $(IN_VSERVER) noderepo-DEPEND-FILES := RPMS/yumgroups.xml @@ -468,7 +477,7 @@ ALL += myplc # myplc-docs only contains docs for PLCAPI and NMAPI, but # we still need to pull MyPLC, as it is where the specfile lies, # together with the utility script docbook2drupal.sh -myplc-docs-MODULES := myplc plcapi nodemanager Monitor +myplc-docs-MODULES := myplc plcapi nodemanager monitor myplc-docs-SPEC := myplc-docs.spec ALL += myplc-docs