2 # PlanetLab standard components list
4 # Mark Huang <mlhuang@cs.princeton.edu>
5 # Copyright (C) 2003-2006 The Trustees of Princeton University
14 kernel-$(HOSTARCH)-MODULES := Linux-2.6
15 kernel-$(HOSTARCH)-SPEC := scripts/kernel-2.6-planetlab.spec
16 ifeq ($(HOSTARCH),i386)
17 kernel-$(HOSTARCH)-RPMFLAGS:= --target i686
19 kernel-$(HOSTARCH)-RPMFLAGS:= --target $(HOSTARCH)
22 KERNELS += kernel-$(HOSTARCH)
25 kernel-clean: $(foreach package,$(KERNELS),$(package)-clean)
32 # [daniel] wait for latest Fedora release
33 # (03:29:46 PM) daniel_hozac: interfacing with the kernel directly when dealing with netlink was fugly, so... i had to find something nicer.
34 # (03:29:53 PM) daniel_hozac: the one in Fedora is lacking certain APIs i need.
36 libnl-MODULES := libnl
37 libnl-SPEC := libnl.spec
43 util-vserver-MODULES := util-vserver
44 util-vserver-SPEC := util-vserver.spec
45 util-vserver-RPMFLAGS:= --without dietlibc
46 util-vserver-DEPENDS := libnl
52 NodeUpdate-MODULES := NodeUpdate
53 NodeUpdate-SPEC := NodeUpdate.spec
59 PingOfDeath-MODULES := PingOfDeath
60 PingOfDeath-SPEC := ipod.spec
66 NodeManager-MODULES := NodeManager
67 NodeManager-SPEC := NodeManager.spec
73 pl_sshd-MODULES := pl_sshd
74 pl_sshd-SPEC := pl_sshd.spec
80 # Deprecate when vsys takes over [sapan].
81 # keep in build for proper.
83 libhttpd++-MODULES := libhttpd++
84 libhttpd++-SPEC := libhttpd++.spec
88 # proper: Privileged Operations Service
90 proper-MODULES := proper
91 proper-SPEC := proper.spec
92 proper-RPMBUILD := sudo bash ./rpmbuild.sh
93 # proper uses scripts in util-python for building
94 proper-DEPENDS := libhttpd++ util-python
98 # codemux: Port 80 demux
100 codemux-MODULES := CoDemux
101 codemux-SPEC := codemux.spec
102 codemux-RPMBUILD := sudo bash ./rpmbuild.sh
108 ulogd-MODULES := ulogd
109 ulogd-SPEC := ulogd.spec
110 ulogd-DEPENDS := $(KERNELS) proper
116 netflow-MODULES := PlanetFlow
117 netflow-SPEC := netflow.spec
118 netflow-SPECVARS = distroname=$(DISTRO) distrorelease=$(RELEASE)
122 # PlanetLab Mom: Cleans up your mess
124 pl_mom-MODULES := Mom
125 pl_mom-SPEC := pl_mom.spec
131 iptables-MODULES := iptables
132 iptables-SPEC := iptables.spec
133 iptables-DEPENDS := $(KERNELS)
139 iproute-MODULES := iproute2
140 iproute-SPEC := iproute.spec
146 # [marc] deprecate with proper
148 util-python-MODULES := util-python
149 util-python-SPEC := util-python.spec
156 vsys-SPEC := vsys.spec
157 ifeq ($(DISTRO),"Fedora")
166 PLCAPI-MODULES := PLCAPI
167 PLCAPI-SPEC := PLCAPI.spec
173 PLCWWW-MODULES := WWW
174 PLCWWW-SPEC := PLCWWW.spec
180 bootmanager-MODULES := BootManager build
181 bootmanager-SPEC := bootmanager.spec
182 # Package must be built as root
183 bootmanager-RPMBUILD := sudo bash ./rpmbuild.sh
187 # pypcilib : used in bootcd
189 pypcilib-MODULES := pypcilib
190 pypcilib-SPEC := pypcilib.spec
193 # copy the current list, so as to keep image-building rpms out
194 ALL-REGULARS := $(ALL)
197 # vserver : reference image for slices
199 vserver-MODULES := VserverReference build
200 vserver-SPEC := vserver-reference.spec
201 # Package must be built as root
202 vserver-RPMBUILD := sudo bash ./rpmbuild.sh
203 # package requires all regular packages
204 vserver-DEPENDS := $(ALL-REGULARS)
205 vserver-DEPENDFILES := RPMS/yumgroups.xml
211 bootcd-MODULES := BootCD BootManager build
212 bootcd-SPEC := bootcd.spec
213 bootcd-RPMBUILD := sudo bash ./rpmbuild.sh
214 # package has *some* dependencies, at least these ones
215 bootcd-DEPENDS := $(ALL-REGULARS)
216 bootcd-DEPENDFILES := RPMS/yumgroups.xml
222 bootstrapfs-MODULES := BootstrapFS build
223 bootstrapfs-SPEC := bootstrapfs.spec
224 bootstrapfs-RPMBUILD := sudo bash ./rpmbuild.sh
225 # package requires all regular packages
226 bootstrapfs-DEPENDS := $(ALL-REGULARS)
227 bootstrapfs-DEPENDFILES := RPMS/yumgroups.xml
231 # myplc : initial, chroot-based packaging
233 myplc-MODULES := MyPLC build
234 myplc-SPEC := myplc.spec
235 # Package must be built as root
236 myplc-RPMBUILD := sudo bash ./rpmbuild.sh
237 # myplc may require all packages
238 myplc-DEPENDS := $(filter-out vserver,$(ALL))
239 myplc-DEPENDFILES := RPMS/yumgroups.xml
243 # MyPLC native : lightweight packaging, dependencies are yum-installed in a vserver
245 myplc-native-MODULES := MyPLC build
246 myplc-native-SPEC := myplc-native.spec
247 # Package must be built as root
248 myplc-native-RPMBUILD := sudo bash ./rpmbuild.sh
249 # Thierry : don't depend on these at build-time
250 #myplc-native-DEPENDS := $(MyPLC-DEPENDS)
251 # Thierry : dunno about this one, let's stay safe
252 myplc-native-DEPENDFILES := $(MyPLC-DEPENDFILES)
256 # MyPLC development environment : chroot-based
258 myplc-devel-MODULES := MyPLC build
259 myplc-devel-SPEC := myplc-devel.spec
260 myplc-devel-RPMBUILD := sudo bash ./rpmbuild.sh
264 # MyPLC native development environment
266 myplc-devel-native-MODULES := MyPLC
267 myplc-devel-native-SPEC := myplc-devel-native.spec
268 myplc-devel-native-SPECVARS = distroname=$(DISTRO) distrorelease=$(RELEASE)
269 #ALL += myplc-devel-native