2 # declare the packages to be built and their dependencies
3 # initial version from Mark Huang
4 # Mark Huang <mlhuang@cs.princeton.edu>
5 # Copyright (C) 2003-2006 The Trustees of Princeton University
6 # rewritten by Thierry Parmentelat - INRIA Sophia Antipolis
11 ### the madwifi drivers ship with fedora16's kernel rpm
14 # lxc-userspace: scripts for entering containers
16 lxc-userspace-MODULES := lxc-userspace
17 lxc-userspace-SPEC := lxc-userspace.spec
19 IN_NODEIMAGE += lxc-userspace
22 # transforward: root context module for transparent port forwarding
24 # with 4.19, the jprobe api has gone entirely
25 # https://github.com/torvalds/linux/commit/4de58696de076d9bd2745d1cbe0930635c3f5ac9
27 ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f29 f31 f33)"
29 transforward-MODULES := transforward
30 transforward-SPEC := transforward.spec
32 IN_NODEIMAGE += transforward
36 # procprotect: root context module for protecting against weaknesses in /proc
41 # ipfw: root context module, and slice companion
46 # comgt - a companion to umts tools
48 comgt-MODULES := comgt
49 comgt-SPEC := comgt.spec
54 # umts: root context stuff
56 umts-backend-MODULES := planetlab-umts-tools
57 umts-backend-SPEC := backend.spec
58 IN_NODEIMAGE += umts-backend
64 umts-frontend-MODULES := planetlab-umts-tools
65 umts-frontend-SPEC := frontend.spec
66 IN_SLICEIMAGE += umts-frontend
72 nodeupdate-MODULES := nodeupdate
73 nodeupdate-SPEC := NodeUpdate.spec
75 IN_NODEIMAGE += nodeupdate
80 ipod-MODULES := PingOfDeath
81 ipod-SPEC := ipod.spec
88 plnode-utils-MODULES := plnode-utils
89 plnode-utils-SPEC := plnode-utils-lxc.spec
91 IN_NODEIMAGE += plnode-utils
96 nodemanager-MODULES := nodemanager
97 nodemanager-SPEC := nodemanager.spec
99 IN_NODEIMAGE += nodemanager
104 sshd-MODULES := pl_sshd
105 sshd-SPEC := pl_sshd.spec
110 # codemux: Port 80 demux
112 codemux-MODULES := codemux
113 codemux-SPEC := codemux.spec
115 IN_NODEIMAGE += codemux
123 # our own brew of libvirt
124 # is no longer needed since f22
130 pf2slice-MODULES := pf2slice
131 pf2slice-SPEC := pf2slice.spec
138 #ocamlopt -c -o inotify.cmx inotify.ml
139 #File "inotify.ml", line 95, characters 27-30:
140 #95 | let toread = Unix.read fd buf 0 toread in
142 #Error: This expression has type string but an expression was expected of type bytes
144 ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f33)"
146 vsys-SPEC := vsys.spec
147 # ocaml-docs is not needed anymore but keep it on a tmp basis as some tags may still have it
148 vsys-STOCK-DEVEL-RPMS += ocaml-ocamldoc ocaml-docs
154 # vsyssh : installed in slivers
156 vsyssh-MODULES := vsys
157 vsyssh-SPEC := vsyssh.spec
158 IN_SLICEIMAGE += vsyssh
164 vsys-scripts-MODULES := vsys-scripts
165 vsys-scripts-SPEC := root-context/vsys-scripts.spec
166 IN_NODEIMAGE += vsys-scripts
169 vsys-wrapper-MODULES := vsys-scripts
170 vsys-wrapper-SPEC := slice-context/vsys-wrapper.spec
171 IN_SLICEIMAGE += vsys-wrapper
177 bind_public-MODULES := bind_public
178 bind_public-SPEC := bind_public.spec
179 IN_SLICEIMAGE += bind_public
182 # in fedora 29, this triggers nasty-looking compile messages
183 # not trying too hard, we're mostly after the server-side of f29 and above
184 ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f29 f31 f33)"
188 sliver-openvswitch-MODULES := sliver-openvswitch
189 sliver-openvswitch-SPEC := sliver-openvswitch.spec
190 IN_SLICEIMAGE += sliver-openvswitch
191 ALL += sliver-openvswitch
197 plcapi-MODULES := plcapi
198 plcapi-SPEC := plcapi.spec
205 drupal-MODULES := drupal
206 drupal-SPEC := drupal.spec
207 drupal-BUILD-FROM-SRPM := yes
212 # use the plewww module instead
214 plewww-MODULES := plewww
215 plewww-SPEC := plewww.spec
220 # www-register-wizard
222 www-register-wizard-MODULES := www-register-wizard
223 www-register-wizard-SPEC := www-register-wizard.spec
224 ALL += www-register-wizard
225 IN_MYPLC += www-register-wizard
230 # WARNING: as of f27 I have to remove support for SSL in pcucontrol
231 # see pcucontrol.spec for details
232 pcucontrol-MODULES := pcucontrol
233 pcucontrol-SPEC := pcucontrol.spec
239 #monitor-MODULES := monitor
240 #monitor-SPEC := Monitor.spec
241 #monitor-STOCK-DEVEL-RPMS += net-snmp net-snmp-devel
243 #IN_NODEIMAGE += monitor
248 plcrt-MODULES := PLCRT
249 plcrt-SPEC := plcrt.spec
254 nodeconfig-MODULES := nodeconfig
255 nodeconfig-SPEC := nodeconfig.spec
257 IN_MYPLC += nodeconfig
262 bootmanager-MODULES := bootmanager
263 bootmanager-SPEC := bootmanager.spec
265 IN_MYPLC += bootmanager
268 # pypcilib : used in bootcd
270 pypcilib-MODULES := pypcilib
271 pypcilib-SPEC := pypcilib.spec
273 IN_BOOTCD += pypcilib
278 pyplnet-MODULES := pyplnet
279 pyplnet-SPEC := pyplnet.spec
281 IN_NODEIMAGE += pyplnet
288 bootcd-MODULES := bootcd build
289 bootcd-SPEC := bootcd.spec
290 bootcd-DEPEND-PACKAGES := $(IN_BOOTCD)
291 bootcd-DEPEND-FILES := RPMS/yumgroups.xml
292 bootcd-RPMDATE := yes
299 sliceimage-MODULES := sliceimage build
300 sliceimage-SPEC := sliceimage.spec
301 sliceimage-DEPEND-PACKAGES := $(IN_SLICEIMAGE)
302 sliceimage-DEPEND-FILES := RPMS/yumgroups.xml
303 sliceimage-RPMDATE := yes
305 IN_NODEIMAGE += sliceimage
308 # lxc-specific sliceimage initialization
310 lxc-sliceimage-MODULES := sliceimage
311 lxc-sliceimage-SPEC := lxc-sliceimage.spec
312 lxc-sliceimage-RPMDATE := yes
313 ALL += lxc-sliceimage
314 IN_NODEIMAGE += lxc-sliceimage
319 nodeimage-MODULES := nodeimage build
320 nodeimage-SPEC := nodeimage.spec
321 nodeimage-DEPEND-PACKAGES := $(IN_NODEIMAGE)
322 nodeimage-DEPEND-FILES := RPMS/yumgroups.xml
323 nodeimage-RPMDATE := yes
325 IN_MYPLC += nodeimage
330 # all rpms resulting from packages marked as being in nodeimage and sliceimage
331 NODEREPO_RPMS = $(foreach package,$(IN_NODEIMAGE) $(IN_NODEREPO) $(IN_SLICEIMAGE),$($(package).rpms))
332 # replace space with +++ (specvars cannot deal with spaces)
334 NODEREPO_RPMS_3PLUS = $(subst $(SPACE),+++,$(NODEREPO_RPMS))
336 noderepo-MODULES := nodeimage
337 noderepo-SPEC := noderepo.spec
338 # package requires all embedded packages
339 noderepo-DEPEND-PACKAGES := $(IN_NODEIMAGE) $(IN_NODEREPO) $(IN_SLICEIMAGE)
340 noderepo-DEPEND-FILES := RPMS/yumgroups.xml
341 #export rpm list to the specfile
342 noderepo-SPECVARS = node_rpms_plus=$(NODEREPO_RPMS_3PLUS)
343 noderepo-RPMDATE := yes
350 # all rpms resulting from packages marked as being in vserver
351 SLICEREPO_RPMS = $(foreach package,$(IN_SLICEIMAGE),$($(package).rpms))
352 # replace space with +++ (specvars cannot deal with spaces)
354 SLICEREPO_RPMS_3PLUS = $(subst $(SPACE),+++,$(SLICEREPO_RPMS))
356 slicerepo-MODULES := nodeimage
357 slicerepo-SPEC := slicerepo.spec
358 # package requires all embedded packages
359 slicerepo-DEPEND-PACKAGES := $(IN_SLICEIMAGE)
360 slicerepo-DEPEND-FILES := RPMS/yumgroups.xml
361 #export rpm list to the specfile
362 slicerepo-SPECVARS = slice_rpms_plus=$(SLICEREPO_RPMS_3PLUS)
363 slicerepo-RPMDATE := yes
367 # MyPLC : lightweight packaging, dependencies are yum-installed in a vserver
369 myplc-MODULES := myplc
370 myplc-SPEC := myplc.spec
371 myplc-DEPEND-FILES := myplc-release RPMS/yumgroups.xml
374 # myplc-docs only contains docs for PLCAPI and NMAPI, but
375 # we still need to pull MyPLC, as it is where the specfile lies,
376 # together with the utility script docbook2drupal.sh
377 myplc-docs-MODULES := myplc plcapi nodemanager monitor
378 myplc-docs-SPEC := myplc-docs.spec
381 # using some other name than myplc-release, as this is a make target already
382 release-MODULES := myplc
383 release-SPEC := myplc-release.spec
384 release-RPMDATE := yes
387 ##############################
389 # sfa - Slice Facility Architecture
391 # this is python2, somehow the tests won't pass against a py3 plcapi
392 # oddly enough, when the py2 sfa code issues xmlrpc calls over ssl
393 # to the underlying myplc, we get SSL handshake issues
394 # so, let's keep this out of the way for now
395 # 2019 mar 27: reinstating for hopefully connecting fed4fire
397 #ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f27 f29 f31)"