2 # PlanetLab standard components list
4 # Mark Huang <mlhuang@cs.princeton.edu>
5 # Copyright (C) 2003-2006 The Trustees of Princeton University
14 # until we are able to build the new kernel layout:
15 # use the old exploded-tree, 2.6.20-based, version on fc4, 6 & 7
16 # and the new one on f8 - that requires the build-id patch
19 kernel-$(HOSTARCH)-MODULES := linux-patches
20 kernel-$(HOSTARCH)-SPEC := kernel-2.6-planetlab.spec
22 kernel-$(HOSTARCH)-MODULES := linux-tree
23 kernel-$(HOSTARCH)-SPEC := scripts/kernel-2.6-planetlab.spec
25 ifeq ($(HOSTARCH),i386)
26 kernel-$(HOSTARCH)-RPMFLAGS:= --target i686
28 kernel-$(HOSTARCH)-RPMFLAGS:= --target $(HOSTARCH)
31 KERNELS += kernel-$(HOSTARCH)
34 kernel-clean: $(foreach package,$(KERNELS),$(package)-clean)
41 # [daniel] wait for latest Fedora release
42 # (03:29:46 PM) daniel_hozac: interfacing with the kernel directly when dealing with netlink was fugly, so... i had to find something nicer.
43 # (03:29:53 PM) daniel_hozac: the one in Fedora is lacking certain APIs i need.
45 libnl-MODULES := libnl
46 libnl-SPEC := libnl.spec
52 util-vserver-MODULES := util-vserver
53 util-vserver-SPEC := util-vserver.spec
54 util-vserver-RPMFLAGS:= --without dietlibc
55 util-vserver-DEPENDS := libnl
61 NodeUpdate-MODULES := NodeUpdate
62 NodeUpdate-SPEC := NodeUpdate.spec
68 PingOfDeath-MODULES := PingOfDeath
69 PingOfDeath-SPEC := ipod.spec
75 NodeManager-MODULES := NodeManager
76 NodeManager-SPEC := NodeManager.spec
82 pl_sshd-MODULES := pl_sshd
83 pl_sshd-SPEC := pl_sshd.spec
89 # Deprecate when vsys takes over [sapan].
90 # keep in build for proper.
92 libhttpd++-MODULES := libhttpd++
93 libhttpd++-SPEC := libhttpd++.spec
97 # proper: Privileged Operations Service
99 proper-MODULES := proper
100 proper-SPEC := proper.spec
101 proper-RPMBUILD := sudo bash ./rpmbuild.sh
102 # proper uses scripts in util-python for building
103 proper-DEPENDS := libhttpd++ util-python
107 # codemux: Port 80 demux
109 codemux-MODULES := CoDemux
110 codemux-SPEC := codemux.spec
111 codemux-RPMBUILD := sudo bash ./rpmbuild.sh
117 ulogd-MODULES := ulogd
118 ulogd-SPEC := ulogd.spec
119 ulogd-DEPENDS := $(KERNELS) proper
125 netflow-MODULES := PlanetFlow
126 netflow-SPEC := netflow.spec
130 # PlanetLab Mom: Cleans up your mess
132 pl_mom-MODULES := Mom
133 pl_mom-SPEC := pl_mom.spec
139 iptables-MODULES := iptables
140 iptables-SPEC := iptables.spec
141 iptables-DEPENDS := $(KERNELS)
147 iproute-MODULES := iproute2
148 iproute-SPEC := iproute.spec
154 # [marc] deprecate with proper
156 util-python-MODULES := util-python
157 util-python-SPEC := util-python.spec
164 vsys-SPEC := vsys.spec
165 ifeq ($(DISTRO),"Fedora")
174 PLCAPI-MODULES := PLCAPI
175 PLCAPI-SPEC := PLCAPI.spec
181 PLCWWW-MODULES := WWW
182 PLCWWW-SPEC := PLCWWW.spec
188 bootmanager-MODULES := BootManager build
189 bootmanager-SPEC := bootmanager.spec
190 # Package must be built as root
191 bootmanager-RPMBUILD := sudo bash ./rpmbuild.sh
195 # pypcilib : used in bootcd
197 pypcilib-MODULES := pypcilib
198 pypcilib-SPEC := pypcilib.spec
201 # copy the current list, so as to keep image-building rpms out
202 ALL-REGULARS := $(ALL)
205 # vserver : reference image for slices
207 vserver-MODULES := VserverReference build
208 vserver-SPEC := vserver-reference.spec
209 # Package must be built as root
210 vserver-RPMBUILD := sudo bash ./rpmbuild.sh
211 # package requires all regular packages
212 vserver-DEPENDS := $(ALL-REGULARS)
213 vserver-DEPENDFILES := RPMS/yumgroups.xml
219 bootcd-MODULES := BootCD BootManager build
220 bootcd-SPEC := bootcd.spec
221 bootcd-RPMBUILD := sudo bash ./rpmbuild.sh
222 # package has *some* dependencies, at least these ones
223 bootcd-DEPENDS := $(ALL-REGULARS)
224 bootcd-DEPENDFILES := RPMS/yumgroups.xml
230 bootstrapfs-MODULES := BootstrapFS build
231 bootstrapfs-SPEC := bootstrapfs.spec
232 bootstrapfs-RPMBUILD := sudo bash ./rpmbuild.sh
233 # package requires all regular packages
234 bootstrapfs-DEPENDS := $(ALL-REGULARS)
235 bootstrapfs-DEPENDFILES := RPMS/yumgroups.xml
239 # myplc : initial, chroot-based packaging
241 myplc-MODULES := MyPLC build
242 myplc-SPEC := myplc.spec
243 # Package must be built as root
244 myplc-RPMBUILD := sudo bash ./rpmbuild.sh
245 # myplc may require all packages
246 myplc-DEPENDS := $(filter-out vserver,$(ALL))
247 myplc-DEPENDFILES := RPMS/yumgroups.xml
251 # MyPLC native : lightweight packaging, dependencies are yum-installed in a vserver
253 myplc-native-MODULES := MyPLC build
254 myplc-native-SPEC := myplc-native.spec
255 # Package must be built as root
256 myplc-native-RPMBUILD := sudo bash ./rpmbuild.sh
257 # Thierry : don't depend on these at build-time
258 #myplc-native-DEPENDS := $(MyPLC-DEPENDS)
259 # Thierry : dunno about this one, let's stay safe
260 myplc-native-DEPENDFILES := $(MyPLC-DEPENDFILES)
264 # MyPLC development environment : chroot-based
266 myplc-devel-MODULES := MyPLC build
267 myplc-devel-SPEC := myplc-devel.spec
268 myplc-devel-RPMBUILD := sudo bash ./rpmbuild.sh
272 # MyPLC native development environment
274 myplc-devel-native-MODULES := MyPLC
275 myplc-devel-native-SPEC := myplc-devel-native.spec
276 #ALL += myplc-devel-native