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 fprobe-ulog-MODULES := fprobe-ulog
126 fprobe-ulog-SPEC := fprobe-ulog.spec
132 netflow-MODULES := PlanetFlow
133 netflow-SPEC := netflow.spec
137 # PlanetLab Mom: Cleans up your mess
139 pl_mom-MODULES := Mom
140 pl_mom-SPEC := pl_mom.spec
146 iptables-MODULES := iptables
147 iptables-SPEC := iptables.spec
148 iptables-DEPENDS := $(KERNELS)
154 iproute-MODULES := iproute2
155 iproute-SPEC := iproute.spec
161 # [marc] deprecate with proper
163 util-python-MODULES := util-python
164 util-python-SPEC := util-python.spec
171 vsys-SPEC := vsys.spec
172 ifeq ($(DISTRO),"Fedora")
181 PLCAPI-MODULES := PLCAPI
182 PLCAPI-SPEC := PLCAPI.spec
188 PLCWWW-MODULES := WWW
189 PLCWWW-SPEC := PLCWWW.spec
195 bootmanager-MODULES := BootManager build
196 bootmanager-SPEC := bootmanager.spec
197 # Package must be built as root
198 bootmanager-RPMBUILD := sudo bash ./rpmbuild.sh
202 # pypcilib : used in bootcd
204 pypcilib-MODULES := pypcilib
205 pypcilib-SPEC := pypcilib.spec
208 # copy the current list, so as to keep image-building rpms out
209 ALL-REGULARS := $(ALL)
212 # vserver : reference image for slices
214 vserver-MODULES := VserverReference build
215 vserver-SPEC := vserver-reference.spec
216 # Package must be built as root
217 vserver-RPMBUILD := sudo bash ./rpmbuild.sh
218 # package requires all regular packages
219 vserver-DEPENDS := $(ALL-REGULARS)
220 vserver-DEPENDFILES := RPMS/yumgroups.xml
226 bootcd-MODULES := BootCD BootManager build
227 bootcd-SPEC := bootcd.spec
228 bootcd-RPMBUILD := sudo bash ./rpmbuild.sh
229 # package has *some* dependencies, at least these ones
230 bootcd-DEPENDS := $(ALL-REGULARS)
231 bootcd-DEPENDFILES := RPMS/yumgroups.xml
237 bootstrapfs-MODULES := BootstrapFS build
238 bootstrapfs-SPEC := bootstrapfs.spec
239 bootstrapfs-RPMBUILD := sudo bash ./rpmbuild.sh
240 # package requires all regular packages
241 bootstrapfs-DEPENDS := $(ALL-REGULARS)
242 bootstrapfs-DEPENDFILES := RPMS/yumgroups.xml
246 # myplc : initial, chroot-based packaging
248 myplc-MODULES := MyPLC build
249 myplc-SPEC := myplc.spec
250 # Package must be built as root
251 myplc-RPMBUILD := sudo bash ./rpmbuild.sh
252 # myplc may require all packages
253 myplc-DEPENDS := $(filter-out vserver,$(ALL))
254 myplc-DEPENDFILES := RPMS/yumgroups.xml
258 # MyPLC native : lightweight packaging, dependencies are yum-installed in a vserver
260 myplc-native-MODULES := MyPLC build
261 myplc-native-SPEC := myplc-native.spec
262 # Package must be built as root
263 myplc-native-RPMBUILD := sudo bash ./rpmbuild.sh
264 # Thierry : don't depend on these at build-time
265 #myplc-native-DEPENDS := $(MyPLC-DEPENDS)
266 # Thierry : dunno about this one, let's stay safe
267 myplc-native-DEPENDFILES := $(MyPLC-DEPENDFILES)
271 # MyPLC development environment : chroot-based
273 myplc-devel-MODULES := MyPLC build
274 myplc-devel-SPEC := myplc-devel.spec
275 myplc-devel-RPMBUILD := sudo bash ./rpmbuild.sh
279 # MyPLC native development environment
281 myplc-devel-native-MODULES := MyPLC
282 myplc-devel-native-SPEC := myplc-devel-native.spec
283 #ALL += myplc-devel-native