minor cleanup; f29 is out of scope
[build.git] / lxc.mk
diff --git a/lxc.mk b/lxc.mk
index 5cb8194..bc1a16d 100644 (file)
--- a/lxc.mk
+++ b/lxc.mk
@@ -8,6 +8,14 @@
 # see doc in Makefile
 #
 
+
+
+### starting with f31 : serverside-only
+ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f31 f33 f35)"
+###
+
+
+
 ### the madwifi drivers ship with fedora16's kernel rpm
 
 #
@@ -24,7 +32,7 @@ IN_NODEIMAGE += lxc-userspace
 # with 4.19, the jprobe api has gone entirely
 # https://github.com/torvalds/linux/commit/4de58696de076d9bd2745d1cbe0930635c3f5ac9
 #
-ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f29 f31 f33)"
+ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f31 f33 f35)"
 #
 transforward-MODULES := transforward
 transforward-SPEC := transforward.spec
@@ -140,8 +148,8 @@ ALL += pf2slice
 #95 |    let toread = Unix.read fd buf 0 toread in
 #                                ^^^
 #Error: This expression has type string but an expression was expected of type bytes
-# 
-ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f33)"
+#
+ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f33 f35)"
 vsys-MODULES := vsys
 vsys-SPEC := vsys.spec
 # ocaml-docs is not needed anymore but keep it on a tmp basis as some tags may still have it
@@ -180,8 +188,8 @@ IN_SLICEIMAGE += bind_public
 ALL += bind_public
 
 # in fedora 29, this triggers nasty-looking compile messages
-# not trying too hard, we're mostly after the server-side of f29 and above
-ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f29 f31 f33)"
+# not trying too hard, we're mostly after the serverside of f29 and above
+ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f31 f33 f35)"
 #
 # sliver-openvswitch
 #
@@ -191,6 +199,15 @@ IN_SLICEIMAGE += sliver-openvswitch
 ALL += sliver-openvswitch
 endif
 
+
+
+### serverside-only
+endif
+### serverside-only
+
+
+
+
 #
 # plcapi
 #
@@ -234,7 +251,7 @@ IN_MYPLC += www-register-wizard
 # stdsoap2.cpp:8259:18: error: narrowing conversion of ‘2147483708’ from ‘unsigned int’ to ‘int’ [-Wnarrowing]
 #  8259 |       case '<' | 0x80000000:
 #       |                  ^~~~~~~~~~
-ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f33)"
+ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f33 f35)"
 pcucontrol-MODULES := pcucontrol
 pcucontrol-SPEC := pcucontrol.spec
 ALL += pcucontrol
@@ -249,6 +266,12 @@ endif
 #ALL += monitor
 #IN_NODEIMAGE += monitor
 
+
+### serverside-only
+ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f31 f33 f35)"
+### serverside-only
+
+
 #
 # PLC RT
 #
@@ -370,6 +393,12 @@ slicerepo-SPECVARS = slice_rpms_plus=$(SLICEREPO_RPMS_3PLUS)
 slicerepo-RPMDATE := yes
 ALL += slicerepo
 
+
+### serverside-only
+endif
+### serverside-only
+
+
 #
 # MyPLC : lightweight packaging, dependencies are yum-installed in a vserver
 #
@@ -400,9 +429,15 @@ ALL += release
 # to the underlying myplc, we get SSL handshake issues
 # so, let's keep this out of the way for now
 # 2019 mar 27: reinstating for hopefully connecting fed4fire
-#
-#ifneq "$(DISTRONAME)" "$(filter $(DISTRONAME), f27 f29 f31)"
+# 2022 apr 28:
+# we currently run on r2labapi.inria.fr a hybrid f33/f34/f35
+# that has python2 (recipe from f33) + php-7.4 (from f34) and httpd-2.4.53 (from f35)
+# and we'll hold to that until end of june 2022
+# however the python2 ecosystem is too far-fetched now
+# so we're dropping for good support for sfa, last version is f33
+#
+ifeq "$(DISTRONAME)" "$(filter $(DISTRONAME), f33)"
 sfa-MODULES := sfa
 sfa-SPEC := sfa.spec
 ALL += sfa
-#endif
+endif