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
186 # copy the current list, so as to keep image-building rpms out
187 ALL-REGULARS := $(ALL)
190 # vserver : reference image for slices
192 vserver-MODULES := VserverReference build
193 vserver-SPEC := vserver-reference.spec
194 # Package must be built as root
195 vserver-RPMBUILD := sudo bash ./rpmbuild.sh
196 # package requires all regular packages
197 vserver-DEPENDS := $(ALL-REGULARS)
198 vserver-DEPENDFILES := RPMS/yumgroups.xml
204 bootcd-MODULES := BootCD BootManager build
205 bootcd-SPEC := bootcd.spec
206 bootcd-RPMBUILD := sudo bash ./rpmbuild.sh
207 # package has *some* dependencies, at least these ones
208 bootcd-DEPENDS := $(ALL-REGULARS)
209 bootcd-DEPENDFILES := RPMS/yumgroups.xml
215 bootstrapfs-MODULES := BootstrapFS build
216 bootstrapfs-SPEC := bootstrapfs.spec
217 bootstrapfs-RPMBUILD := sudo bash ./rpmbuild.sh
218 # package requires all regular packages
219 bootstrapfs-DEPENDS := $(ALL-REGULARS)
220 bootstrapfs-DEPENDFILES := RPMS/yumgroups.xml
224 # myplc : initial, chroot-based packaging
226 myplc-MODULES := MyPLC build
227 myplc-SPEC := myplc.spec
228 # Package must be built as root
229 myplc-RPMBUILD := sudo bash ./rpmbuild.sh
230 # myplc may require all packages
231 myplc-DEPENDS := $(filter-out vserver,$(ALL))
232 myplc-DEPENDFILES := RPMS/yumgroups.xml
236 # MyPLC native : lightweight packaging, dependencies are yum-installed in a vserver
238 myplc-native-MODULES := MyPLC build
239 myplc-native-SPEC := myplc-native.spec
240 # Package must be built as root
241 myplc-native-RPMBUILD := sudo bash ./rpmbuild.sh
242 # Thierry : don't depend on these at build-time
243 #myplc-native-DEPENDS := $(MyPLC-DEPENDS)
244 # Thierry : dunno about this one, let's stay safe
245 myplc-native-DEPENDFILES := $(MyPLC-DEPENDFILES)
249 # MyPLC development environment : chroot-based
251 myplc-devel-MODULES := MyPLC build
252 myplc-devel-SPEC := myplc-devel.spec
253 myplc-devel-RPMBUILD := sudo bash ./rpmbuild.sh
257 # MyPLC native development environment
259 myplc-devel-native-MODULES := MyPLC
260 myplc-devel-native-SPEC := myplc-devel-native.spec
261 myplc-devel-native-SPECVARS = distroname=$(DISTRO) distrorelease=$(RELEASE)
262 #ALL += myplc-devel-native