2 # PlanetLab standard components list
4 # Mark Huang <mlhuang@cs.princeton.edu>
5 # Copyright (C) 2003-2006 The Trustees of Princeton University
15 kernel-$(HOSTARCH)-MODULES := linux-2.6
16 kernel-$(HOSTARCH)-SPEC := kernel-2.6-planetlab.spec
18 kernel-$(HOSTARCH)-MODULES := Linux-2.6
19 kernel-$(HOSTARCH)-SPEC := scripts/kernel-2.6-planetlab.spec
21 ifeq ($(HOSTARCH),i386)
22 kernel-$(HOSTARCH)-RPMFLAGS:= --target i686
24 kernel-$(HOSTARCH)-RPMFLAGS:= --target $(HOSTARCH)
27 KERNELS += kernel-$(HOSTARCH)
30 kernel-clean: $(foreach package,$(KERNELS),$(package)-clean)
37 # [daniel] wait for latest Fedora release
38 # (03:29:46 PM) daniel_hozac: interfacing with the kernel directly when dealing with netlink was fugly, so... i had to find something nicer.
39 # (03:29:53 PM) daniel_hozac: the one in Fedora is lacking certain APIs i need.
41 libnl-MODULES := libnl
42 libnl-SPEC := libnl.spec
48 util-vserver-MODULES := util-vserver
49 util-vserver-SPEC := util-vserver.spec
50 util-vserver-RPMFLAGS:= --without dietlibc
51 util-vserver-DEPENDS := libnl
57 NodeUpdate-MODULES := NodeUpdate
58 NodeUpdate-SPEC := NodeUpdate.spec
64 PingOfDeath-MODULES := PingOfDeath
65 PingOfDeath-SPEC := ipod.spec
71 NodeManager-MODULES := NodeManager
72 NodeManager-SPEC := NodeManager.spec
78 pl_sshd-MODULES := pl_sshd
79 pl_sshd-SPEC := pl_sshd.spec
85 # Deprecate when vsys takes over [sapan].
86 # keep in build for proper.
88 libhttpd++-MODULES := libhttpd++
89 libhttpd++-SPEC := libhttpd++.spec
93 # proper: Privileged Operations Service
95 proper-MODULES := proper
96 proper-SPEC := proper.spec
97 proper-RPMBUILD := sudo bash ./rpmbuild.sh
98 # proper uses scripts in util-python for building
99 proper-DEPENDS := libhttpd++ util-python
103 # codemux: Port 80 demux
105 codemux-MODULES := CoDemux
106 codemux-SPEC := codemux.spec
107 codemux-RPMBUILD := sudo bash ./rpmbuild.sh
113 ulogd-MODULES := ulogd
114 ulogd-SPEC := ulogd.spec
115 ulogd-DEPENDS := $(KERNELS) proper
121 netflow-MODULES := PlanetFlow
122 netflow-SPEC := netflow.spec
126 # PlanetLab Mom: Cleans up your mess
128 pl_mom-MODULES := Mom
129 pl_mom-SPEC := pl_mom.spec
135 iptables-MODULES := iptables
136 iptables-SPEC := iptables.spec
137 iptables-DEPENDS := $(KERNELS)
143 iproute-MODULES := iproute2
144 iproute-SPEC := iproute.spec
150 # [marc] deprecate with proper
152 util-python-MODULES := util-python
153 util-python-SPEC := util-python.spec
160 vsys-SPEC := vsys.spec
161 ifeq ($(DISTRO),"Fedora")
170 PLCAPI-MODULES := PLCAPI
171 PLCAPI-SPEC := PLCAPI.spec
177 PLCWWW-MODULES := WWW
178 PLCWWW-SPEC := PLCWWW.spec
184 bootmanager-MODULES := BootManager build
185 bootmanager-SPEC := bootmanager.spec
186 # Package must be built as root
187 bootmanager-RPMBUILD := sudo bash ./rpmbuild.sh
191 # pypcilib : used in bootcd
193 pypcilib-MODULES := pypcilib
194 pypcilib-SPEC := pypcilib.spec
197 # copy the current list, so as to keep image-building rpms out
198 ALL-REGULARS := $(ALL)
201 # vserver : reference image for slices
203 vserver-MODULES := VserverReference build
204 vserver-SPEC := vserver-reference.spec
205 # Package must be built as root
206 vserver-RPMBUILD := sudo bash ./rpmbuild.sh
207 # package requires all regular packages
208 vserver-DEPENDS := $(ALL-REGULARS)
209 vserver-DEPENDFILES := RPMS/yumgroups.xml
215 bootcd-MODULES := BootCD BootManager build
216 bootcd-SPEC := bootcd.spec
217 bootcd-RPMBUILD := sudo bash ./rpmbuild.sh
218 # package has *some* dependencies, at least these ones
219 bootcd-DEPENDS := $(ALL-REGULARS)
220 bootcd-DEPENDFILES := RPMS/yumgroups.xml
226 bootstrapfs-MODULES := BootstrapFS build
227 bootstrapfs-SPEC := bootstrapfs.spec
228 bootstrapfs-RPMBUILD := sudo bash ./rpmbuild.sh
229 # package requires all regular packages
230 bootstrapfs-DEPENDS := $(ALL-REGULARS)
231 bootstrapfs-DEPENDFILES := RPMS/yumgroups.xml
235 # myplc : initial, chroot-based packaging
237 myplc-MODULES := MyPLC build
238 myplc-SPEC := myplc.spec
239 # Package must be built as root
240 myplc-RPMBUILD := sudo bash ./rpmbuild.sh
241 # myplc may require all packages
242 myplc-DEPENDS := $(filter-out vserver,$(ALL))
243 myplc-DEPENDFILES := RPMS/yumgroups.xml
247 # MyPLC native : lightweight packaging, dependencies are yum-installed in a vserver
249 myplc-native-MODULES := MyPLC build
250 myplc-native-SPEC := myplc-native.spec
251 # Package must be built as root
252 myplc-native-RPMBUILD := sudo bash ./rpmbuild.sh
253 # Thierry : don't depend on these at build-time
254 #myplc-native-DEPENDS := $(MyPLC-DEPENDS)
255 # Thierry : dunno about this one, let's stay safe
256 myplc-native-DEPENDFILES := $(MyPLC-DEPENDFILES)
260 # MyPLC development environment : chroot-based
262 myplc-devel-MODULES := MyPLC build
263 myplc-devel-SPEC := myplc-devel.spec
264 myplc-devel-RPMBUILD := sudo bash ./rpmbuild.sh
268 # MyPLC native development environment
270 myplc-devel-native-MODULES := MyPLC
271 myplc-devel-native-SPEC := myplc-devel-native.spec
272 #ALL += myplc-devel-native