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 # use a package name with srpm in it:
20 # in this case the srpm is created by running make srpm in the codebase
24 srpm-kernel-$(HOSTARCH)-MODULES := linux-patches
25 srpm-kernel-$(HOSTARCH)-SPEC := kernel-2.6-planetlab.spec
26 ifeq ($(HOSTARCH),i386)
27 srpm-kernel-$(HOSTARCH)-RPMFLAGS:= --target i686
29 srpm-kernel-$(HOSTARCH)-RPMFLAGS:= --target $(HOSTARCH)
31 KERNELS += srpm-kernel-$(HOSTARCH)
34 kernel-$(HOSTARCH)-MODULES := linux-tree
35 kernel-$(HOSTARCH)-SPEC := scripts/kernel-2.6-planetlab.spec
36 ifeq ($(HOSTARCH),i386)
37 kernel-$(HOSTARCH)-RPMFLAGS:= --target i686
39 kernel-$(HOSTARCH)-RPMFLAGS:= --target $(HOSTARCH)
41 KERNELS += kernel-$(HOSTARCH)
45 kernel-clean: $(foreach package,$(KERNELS),$(package)-clean)
52 # [daniel] wait for latest Fedora release
53 # (03:29:46 PM) daniel_hozac: interfacing with the kernel directly when dealing with netlink was fugly, so... i had to find something nicer.
54 # (03:29:53 PM) daniel_hozac: the one in Fedora is lacking certain APIs i need.
56 libnl-MODULES := libnl
57 libnl-SPEC := libnl.spec
63 util-vserver-MODULES := util-vserver
64 util-vserver-SPEC := util-vserver.spec
65 util-vserver-RPMFLAGS:= --without dietlibc
66 util-vserver-DEPENDS := libnl
72 NodeUpdate-MODULES := NodeUpdate
73 NodeUpdate-SPEC := NodeUpdate.spec
79 PingOfDeath-MODULES := PingOfDeath
80 PingOfDeath-SPEC := ipod.spec
86 NodeManager-MODULES := NodeManager
87 NodeManager-SPEC := NodeManager.spec
93 pl_sshd-MODULES := pl_sshd
94 pl_sshd-SPEC := pl_sshd.spec
100 # Deprecate when vsys takes over [sapan].
101 # keep in build for proper.
103 libhttpd++-MODULES := libhttpd++
104 libhttpd++-SPEC := libhttpd++.spec
108 # proper: Privileged Operations Service
110 proper-MODULES := proper
111 proper-SPEC := proper.spec
112 proper-RPMBUILD := sudo bash ./rpmbuild.sh
113 # proper uses scripts in util-python for building
114 proper-DEPENDS := libhttpd++ util-python
118 # codemux: Port 80 demux
120 codemux-MODULES := CoDemux
121 codemux-SPEC := codemux.spec
122 codemux-RPMBUILD := sudo bash ./rpmbuild.sh
128 ulogd-MODULES := ulogd
129 ulogd-SPEC := ulogd.spec
130 ulogd-DEPENDS := $(KERNELS) proper
136 fprobe-ulog-MODULES := fprobe-ulog
137 fprobe-ulog-SPEC := fprobe-ulog.spec
143 netflow-MODULES := PlanetFlow
144 netflow-SPEC := netflow.spec
148 # PlanetLab Mom: Cleans up your mess
150 pl_mom-MODULES := Mom
151 pl_mom-SPEC := pl_mom.spec
157 iptables-MODULES := iptables
158 iptables-SPEC := iptables.spec
159 iptables-DEPENDS := $(KERNELS)
165 iproute-MODULES := iproute2
166 iproute-SPEC := iproute.spec
172 # [marc] deprecate with proper
174 util-python-MODULES := util-python
175 util-python-SPEC := util-python.spec
182 vsys-SPEC := vsys.spec
183 ifeq ($(DISTRO),"Fedora")
192 PLCAPI-MODULES := PLCAPI
193 PLCAPI-SPEC := PLCAPI.spec
199 PLCWWW-MODULES := WWW
200 PLCWWW-SPEC := PLCWWW.spec
206 bootmanager-MODULES := BootManager build
207 bootmanager-SPEC := bootmanager.spec
208 # Package must be built as root
209 bootmanager-RPMBUILD := sudo bash ./rpmbuild.sh
213 # pypcilib : used in bootcd
215 pypcilib-MODULES := pypcilib
216 pypcilib-SPEC := pypcilib.spec
219 # copy the current list, so as to keep image-building rpms out
220 ALL-REGULARS := $(ALL)
223 # vserver : reference image for slices
225 vserver-MODULES := VserverReference build
226 vserver-SPEC := vserver-reference.spec
227 # Package must be built as root
228 vserver-RPMBUILD := sudo bash ./rpmbuild.sh
229 # package requires all regular packages
230 vserver-DEPENDS := $(ALL-REGULARS)
231 vserver-DEPENDFILES := RPMS/yumgroups.xml
237 bootcd-MODULES := BootCD BootManager build
238 bootcd-SPEC := bootcd.spec
239 bootcd-RPMBUILD := sudo bash ./rpmbuild.sh
240 # package has *some* dependencies, at least these ones
241 bootcd-DEPENDS := $(ALL-REGULARS)
242 bootcd-DEPENDFILES := RPMS/yumgroups.xml
248 bootstrapfs-MODULES := BootstrapFS build
249 bootstrapfs-SPEC := bootstrapfs.spec
250 bootstrapfs-RPMBUILD := sudo bash ./rpmbuild.sh
251 # package requires all regular packages
252 bootstrapfs-DEPENDS := $(ALL-REGULARS)
253 bootstrapfs-DEPENDFILES := RPMS/yumgroups.xml
257 # myplc : initial, chroot-based packaging
259 myplc-MODULES := MyPLC build
260 myplc-SPEC := myplc.spec
261 # Package must be built as root
262 myplc-RPMBUILD := sudo bash ./rpmbuild.sh
263 # myplc may require all packages
264 myplc-DEPENDS := $(filter-out vserver,$(ALL))
265 myplc-DEPENDFILES := RPMS/yumgroups.xml
269 # MyPLC native : lightweight packaging, dependencies are yum-installed in a vserver
271 myplc-native-MODULES := MyPLC build
272 myplc-native-SPEC := myplc-native.spec
273 # Package must be built as root
274 myplc-native-RPMBUILD := sudo bash ./rpmbuild.sh
275 # Thierry : don't depend on these at build-time
276 #myplc-native-DEPENDS := $(MyPLC-DEPENDS)
277 # Thierry : dunno about this one, let's stay safe
278 myplc-native-DEPENDFILES := $(MyPLC-DEPENDFILES)
282 # MyPLC development environment : chroot-based
284 myplc-devel-MODULES := MyPLC build
285 myplc-devel-SPEC := myplc-devel.spec
286 myplc-devel-RPMBUILD := sudo bash ./rpmbuild.sh
290 # MyPLC native development environment
292 myplc-devel-native-MODULES := MyPLC
293 myplc-devel-native-SPEC := myplc-devel-native.spec
294 #ALL += myplc-devel-native