Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos
Commits
b13d20e9
Commit
b13d20e9
authored
May 04, 2024
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/master' into zope4py3
parents
840f6226
b5c45134
Changes
19
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
783 additions
and
46 deletions
+783
-46
component/kerberos/buildout.cfg
component/kerberos/buildout.cfg
+2
-3
component/mariadb/buildout.cfg
component/mariadb/buildout.cfg
+4
-0
component/mariadb/mariadb-10.4.32-openssl-3.0.patch
component/mariadb/mariadb-10.4.32-openssl-3.0.patch
+369
-0
component/nodejs/buildout.cfg
component/nodejs/buildout.cfg
+2
-0
component/open62541/buildout.cfg
component/open62541/buildout.cfg
+3
-2
component/openssl/buildout.cfg
component/openssl/buildout.cfg
+20
-8
component/openvpn/buildout.cfg
component/openvpn/buildout.cfg
+7
-3
component/proxysql/buildout.cfg
component/proxysql/buildout.cfg
+6
-10
component/python-cryptography/buildout.cfg
component/python-cryptography/buildout.cfg
+2
-0
component/python-cryptography/cryptography-3.3.2-openssl-3.0.patch
.../python-cryptography/cryptography-3.3.2-openssl-3.0.patch
+336
-0
component/qjs-wrapper/buildout.cfg
component/qjs-wrapper/buildout.cfg
+1
-1
software/fluentd/buildout.hash.cfg
software/fluentd/buildout.hash.cfg
+1
-1
software/fluentd/instance-input-schema.json
software/fluentd/instance-input-schema.json
+5
-4
software/fluentd/instance.cfg
software/fluentd/instance.cfg
+1
-1
software/fluentd/software.cfg.json
software/fluentd/software.cfg.json
+13
-0
software/fluentd/test/test.py
software/fluentd/test/test.py
+1
-1
software/js-drone/software-c-astral.cfg
software/js-drone/software-c-astral.cfg
+1
-1
software/osie-coupler/software.cfg
software/osie-coupler/software.cfg
+8
-10
stack/slapos.cfg
stack/slapos.cfg
+1
-1
No files found.
component/kerberos/buildout.cfg
View file @
b13d20e9
...
@@ -10,14 +10,13 @@ parts =
...
@@ -10,14 +10,13 @@ parts =
[kerberos]
[kerberos]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
shared = true
shared = true
url = http
://web.mit.edu/kerberos/dist/krb5/1.19/krb5-1.19
.2.tar.gz
url = http
s://web.mit.edu/kerberos/dist/krb5/1.20/krb5-1.20
.2.tar.gz
md5sum =
eb51b7724111e1a458a8c9a261d45a31
md5sum =
7ac456e97c4959ebe5c836dc2f5aab2c
configure-command = src/configure
configure-command = src/configure
configure-options =
configure-options =
--prefix=@@LOCATION@@
--prefix=@@LOCATION@@
--with-ldap=no
--with-ldap=no
--without-readline
--without-readline
--without-tcl
--without-keyutils
--without-keyutils
environment =
environment =
PATH=${m4:location}/bin:${bison:location}/bin:%(PATH)s
PATH=${m4:location}/bin:${bison:location}/bin:%(PATH)s
...
...
component/mariadb/buildout.cfg
View file @
b13d20e9
...
@@ -103,6 +103,10 @@ patch-options = -p1
...
@@ -103,6 +103,10 @@ patch-options = -p1
patches =
patches =
https://sources.debian.org/data/main/m/mariadb-10.3/1:10.3.34-0+deb10u1/debian/patches/0024-Revert-to-using-system-pcre-library.patch#1c6a0f2634f5a56122299674b77b1131
https://sources.debian.org/data/main/m/mariadb-10.3/1:10.3.34-0+deb10u1/debian/patches/0024-Revert-to-using-system-pcre-library.patch#1c6a0f2634f5a56122299674b77b1131
[mariadb-10.4:python3]
patches +=
${:_profile_base_location_}/mariadb-10.4.32-openssl-3.0.patch#ec3e2b57eae5421e052ab89224b29b7e
[mariadb-10.5]
[mariadb-10.5]
<= mariadb-common
<= mariadb-common
version = 10.5.23
version = 10.5.23
...
...
component/mariadb/mariadb-10.4.32-openssl-3.0.patch
0 → 100644
View file @
b13d20e9
This diff is collapsed.
Click to expand it.
component/nodejs/buildout.cfg
View file @
b13d20e9
...
@@ -64,11 +64,13 @@ md5sum = c5ab3e98977dfd639d830625d79eff52
...
@@ -64,11 +64,13 @@ md5sum = c5ab3e98977dfd639d830625d79eff52
<= nodejs-base
<= nodejs-base
version = v14.16.0
version = v14.16.0
md5sum = 7dc3666f407bf4e12a01ce1be2883d31
md5sum = 7dc3666f407bf4e12a01ce1be2883d31
openssl-location = ${openssl-1.1:location}
[nodejs-12.18.3]
[nodejs-12.18.3]
<= nodejs-base
<= nodejs-base
version = v12.18.3
version = v12.18.3
md5sum = 28bf6a4d98b238403fa58a0805f4a979
md5sum = 28bf6a4d98b238403fa58a0805f4a979
openssl-location = ${openssl-1.1:location}
PATH = ${pkgconfig:location}/bin:${python2.7:location}/bin:%(PATH)s
PATH = ${pkgconfig:location}/bin:${python2.7:location}/bin:%(PATH)s
configure-command = ./configure
configure-command = ./configure
...
...
component/open62541/buildout.cfg
View file @
b13d20e9
...
@@ -17,8 +17,9 @@ max_version = 11
...
@@ -17,8 +17,9 @@ max_version = 11
[open62541]
[open62541]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
shared = true
shared = true
url = https://github.com/open62541/open62541/archive/refs/heads/pack/v1.3.zip
tag = v1.3.4
md5sum = c2e9938f082b027110fba538de76684c
url = https://github.com/open62541/open62541/archive/refs/heads/pack/${:tag}.zip
md5sum = b9c1d3ae9d7593941108f46036f29ccc
patch-options = -p1
patch-options = -p1
patches =
patches =
${:_profile_base_location_}/ipv6_bugfix.patch#355bec02adee4ea73ff5a56ba6971ad2
${:_profile_base_location_}/ipv6_bugfix.patch#355bec02adee4ea73ff5a56ba6971ad2
...
...
component/openssl/buildout.cfg
View file @
b13d20e9
...
@@ -14,11 +14,9 @@ extends =
...
@@ -14,11 +14,9 @@ extends =
parts =
parts =
openssl-output
openssl-output
[openssl]
[openssl
-common
]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
shared = true
shared = true
url = https://www.openssl.org/source/openssl-1.1.1w.tar.gz
md5sum = 3f76825f195e52d4b10c70040681a275
location = @@LOCATION@@
location = @@LOCATION@@
# 'prefix' option to override --openssldir/--prefix (which is useful
# 'prefix' option to override --openssldir/--prefix (which is useful
# when combined with DESTDIR). Used by slapos.package.git/obs
# when combined with DESTDIR). Used by slapos.package.git/obs
...
@@ -46,12 +44,26 @@ make-targets =
...
@@ -46,12 +44,26 @@ make-targets =
environment =
environment =
PERL=${perl:location}/bin/perl
PERL=${perl:location}/bin/perl
[openssl-3.0]
<= openssl-common
url = https://www.openssl.org/source/openssl-3.0.13.tar.gz
md5sum = c15e53a62711002901d3515ac8b30b86
[openssl-quictls]
[openssl-quictls]
<= openssl
<= openssl-3.0
# XXX tag missing for 1.1.1w
url = https://github.com/quictls/openssl/archive/refs/tags/openssl-3.0.13-quic1.tar.gz
# url = https://github.com/quictls/openssl/archive/refs/tags/OpenSSL_1_1_1w-quic1.tar.gz
md5sum = ff6a1f5fc5e7ea03aba9c97e7f26d97d
url = https://github.com/quictls/openssl/archive/612d8e44d687e4b71c4724319d7aa27a733bcbca.tar.gz
md5sum =4a06f8b195e817c8a0d94ebdbc7c7bb7
[openssl-1.1]
<= openssl-common
url = https://www.openssl.org/source/openssl-1.1.1w.tar.gz
md5sum = 3f76825f195e52d4b10c70040681a275
[openssl]
<= openssl-3.0
[openssl:python2]
<= openssl-1.1
[openssl-output]
[openssl-output]
# Shared binary location to ease migration
# Shared binary location to ease migration
...
...
component/openvpn/buildout.cfg
View file @
b13d20e9
[buildout]
[buildout]
extends =
extends =
../libcap-ng/buildout.cfg
../lzo/buildout.cfg
../lzo/buildout.cfg
../openssl/buildout.cfg
../openssl/buildout.cfg
../flex/buildout.cfg
../flex/buildout.cfg
...
@@ -10,10 +11,11 @@ parts =
...
@@ -10,10 +11,11 @@ parts =
[openvpn]
[openvpn]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
url = https://
swupdate.openvpn.org/community/releases/openvpn-${:version}.tar.x
z
url = https://
build.openvpn.net/downloads/releases/openvpn-${:version}.tar.g
z
version = 2.
4.7
version = 2.
6.8
md5sum = 4
ad8a008e1e7f261b3aa0024e79e7fb7
md5sum = 4
27fe070a4ab9fd78dc64195458dc361
configure-options =
configure-options =
--disable-lz4
--disable-dependency-tracking
--disable-dependency-tracking
--disable-plugin-auth-pam
--disable-plugin-auth-pam
--enable-iproute2
--enable-iproute2
...
@@ -21,6 +23,8 @@ environment =
...
@@ -21,6 +23,8 @@ environment =
PATH=${xz-utils:location}/bin:%(PATH)s
PATH=${xz-utils:location}/bin:%(PATH)s
LZO_LIBS=-L${lzo:location}/lib -llzo2
LZO_LIBS=-L${lzo:location}/lib -llzo2
LZO_CFLAGS=-I${lzo:location}/include
LZO_CFLAGS=-I${lzo:location}/include
LIBCAPNG_LIBS=-L${libcap-ng:location}/lib -lcap-ng
LIBCAPNG_CFLAGS=-I${libcap-ng:location}/include
OPENSSL_LIBS=-L${openssl:location}/lib -lcrypto -lssl
OPENSSL_LIBS=-L${openssl:location}/lib -lcrypto -lssl
OPENSSL_CFLAGS=-I${openssl:location}/include
OPENSSL_CFLAGS=-I${openssl:location}/include
LDFLAGS =-Wl,-rpath=${lzo:location}/lib -Wl,-rpath=${flex:location}/lib -Wl,-rpath=${openssl:location}/lib
LDFLAGS =-Wl,-rpath=${lzo:location}/lib -Wl,-rpath=${flex:location}/lib -Wl,-rpath=${openssl:location}/lib
...
...
component/proxysql/buildout.cfg
View file @
b13d20e9
...
@@ -12,11 +12,11 @@ extends =
...
@@ -12,11 +12,11 @@ extends =
../libtool/buildout.cfg
../libtool/buildout.cfg
../m4/buildout.cfg
../m4/buildout.cfg
../openssl/buildout.cfg
../openssl/buildout.cfg
../patch/buildout.cfg
../pcre/buildout.cfg
../pcre/buildout.cfg
../perl/buildout.cfg
../perl/buildout.cfg
# https://github.com/libinjection/libinjection/issues/4
# https://github.com/libinjection/libinjection/issues/4
../python-2.7/buildout.cfg
../python-2.7/buildout.cfg
../util-linux/buildout.cfg
../defaults.cfg
../defaults.cfg
parts =
parts =
...
@@ -28,9 +28,9 @@ max_version = 11
...
@@ -28,9 +28,9 @@ max_version = 11
[proxysql]
[proxysql]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
shared = true
shared = true
version = v2.
3.2
version = v2.
4.8
url = https://github.com/sysown/proxysql/archive/refs/tags/${:version}.tar.gz
url = https://github.com/sysown/proxysql/archive/refs/tags/${:version}.tar.gz
md5sum =
969129ac43c9f64641509891a116e0e1
md5sum =
17f31d5764b0e529a3b94f7db82794e4
configure-command = true
configure-command = true
make-options = GIT_VERSION=${:version}
make-options = GIT_VERSION=${:version}
# The install target does not honor DESTDIR:
# The install target does not honor DESTDIR:
...
@@ -40,15 +40,11 @@ post-install =
...
@@ -40,15 +40,11 @@ post-install =
install -Dt %(location)s/bin %(make-targets)s
install -Dt %(location)s/bin %(make-targets)s
environment =
environment =
PKG_CONFIG_PATH=${openssl:location}/lib/pkgconfig:${gnutls:location}/lib/pkgconfig:${libgcrypt:location}/lib/pkgconfig:${zlib:location}/lib/pkgconfig:${pcre:location}/lib/pkgconfig
PKG_CONFIG_PATH=${openssl:location}/lib/pkgconfig:${gnutls:location}/lib/pkgconfig:${libgcrypt:location}/lib/pkgconfig:${zlib:location}/lib/pkgconfig:${pcre:location}/lib/pkgconfig
PATH=${m4:location}/bin:${libtool:location}/bin:${libgcrypt:location}/bin:${curl:location}/bin:${perl:location}/bin:${pkgconfig:location}/bin:${bzip2:location}/bin:${autoconf:location}/bin:${git:location}/bin:${automake:location}/bin:${
patch:location}/bin:${
cmake:location}/bin:${python2.7:location}/bin:%(PATH)s
PATH=${m4:location}/bin:${libtool:location}/bin:${libgcrypt:location}/bin:${curl:location}/bin:${perl:location}/bin:${pkgconfig:location}/bin:${bzip2:location}/bin:${autoconf:location}/bin:${git:location}/bin:${automake:location}/bin:${cmake:location}/bin:${python2.7:location}/bin:%(PATH)s
CXXFLAGS=-I${openssl:location}/include -I${gnutls:location}/include -I${zlib:location}/include
CXXFLAGS=-I${openssl:location}/include -I${gnutls:location}/include -I${
libuuid:location}/include -I${
zlib:location}/include
CFLAGS=-I${gnutls:location}/include
CFLAGS=-I${gnutls:location}/include
LDFLAGS=-L${openssl:location}/lib -Wl,-rpath -Wl,${gnutls:location}/lib -L${gnutls:location}/lib -Wl,-rpath=${curl:location}/lib -L${libtool:location}/lib -L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib -L${curl:location}/lib -L${pcre:location}/lib -L${jemalloc:location}/lib -L${libmicrohttpd:location}/lib
LDFLAGS=-L${openssl:location}/lib -Wl,-rpath -Wl,${gnutls:location}/lib -L${gnutls:location}/lib -Wl,-rpath=${curl:location}/lib -L${libtool:location}/lib -
Wl,-rpath -Wl,${libuuid:location}/lib -L${libuuid:location}/lib -
L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib -L${curl:location}/lib -L${pcre:location}/lib -L${jemalloc:location}/lib -L${libmicrohttpd:location}/lib
CMAKE_INCLUDE_PATH=${openssl:location}/include:${gnutls:location}/include:${curl:location}/include:${pcre:location}/include:${jemalloc:location}/include:${libmicrohttpd:location}/include:${zlib:location}/include
CMAKE_INCLUDE_PATH=${openssl:location}/include:${gnutls:location}/include:${curl:location}/include:${pcre:location}/include:${jemalloc:location}/include:${libmicrohttpd:location}/include:${zlib:location}/include
CMAKE_LIBRARY_PATH=${openssl:location}/lib:${gnutls:location}/lib:${curl:location}/lib:${pcre:location}/lib:${jemalloc:location}/lib:${libmicrohttpd:location}/lib:${zlib:location}/lib
CMAKE_LIBRARY_PATH=${openssl:location}/lib:${gnutls:location}/lib:${curl:location}/lib:${pcre:location}/lib:${jemalloc:location}/lib:${libmicrohttpd:location}/lib:${zlib:location}/lib
LIBTOOL=libtool
LIBTOOL=libtool
ACLOCAL_PATH=${pkgconfig:location}/share/aclocal:${libtool:location}/share/aclocal
ACLOCAL_PATH=${pkgconfig:location}/share/aclocal:${libtool:location}/share/aclocal
patch-options = -p1
patches =
# PR #3402 (mariadb_client: backport patch to fix syntax error in cmake 3.20)
https://github.com/sysown/proxysql/commit/a3cfa56d257219f7610cd5711045bb5d84485a91.patch#34fd6366d4a75fde821cee93d25eee10
component/python-cryptography/buildout.cfg
View file @
b13d20e9
...
@@ -12,6 +12,8 @@ recipe = zc.recipe.egg:custom
...
@@ -12,6 +12,8 @@ recipe = zc.recipe.egg:custom
egg = cryptography
egg = cryptography
environment = python-cryptography-env
environment = python-cryptography-env
setup-eggs = ${python-cffi:egg}
setup-eggs = ${python-cffi:egg}
cryptography-patches = ${:_profile_base_location_}/cryptography-3.3.2-openssl-3.0.patch#aa055c3cfab6110fd616f2de049e1388
cryptography-patch-options = -p0
library-dirs =
library-dirs =
${openssl:location}/lib/
${openssl:location}/lib/
rpath =
rpath =
...
...
component/python-cryptography/cryptography-3.3.2-openssl-3.0.patch
0 → 100644
View file @
b13d20e9
This diff is collapsed.
Click to expand it.
component/qjs-wrapper/buildout.cfg
View file @
b13d20e9
...
@@ -19,4 +19,4 @@ path = ${qjs-wrapper-source:location}
...
@@ -19,4 +19,4 @@ path = ${qjs-wrapper-source:location}
autopilot-wrapper =
autopilot-wrapper =
environment =
environment =
C_INCLUDE_PATH=include:${open62541:location}/include:${open62541:location}/deps:${open62541:location}/src/pubsub:${quickjs:location}/include
C_INCLUDE_PATH=include:${open62541:location}/include:${open62541:location}/deps:${open62541:location}/src/pubsub:${quickjs:location}/include
LDFLAGS=-L${open62541:location}/lib -Wl,-rpath=${open62541:location}/lib -L${:autopilot-wrapper}/lib -Wl,-rpath=${:autopilot-wrapper}/lib
LDFLAGS=-L${open62541:location}/lib -Wl,-rpath=${open62541:location}/lib -L${:autopilot-wrapper}/lib -Wl,-rpath=${:autopilot-wrapper}/lib
-fPIC
software/fluentd/buildout.hash.cfg
View file @
b13d20e9
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
# not need these here).
# not need these here).
[instance-profile]
[instance-profile]
filename = instance.cfg
filename = instance.cfg
md5sum =
82c476f22e6b55b674640abef959c3c2
md5sum =
1fe38a024766347454ad7a3d9fb52d01
[template-fluentd]
[template-fluentd]
filename = instance-fluentd.cfg
filename = instance-fluentd.cfg
...
...
software/fluentd/instance-input-schema.json
View file @
b13d20e9
...
@@ -4,10 +4,11 @@
...
@@ -4,10 +4,11 @@
"description"
:
"Parameters to instantiate Fluentd"
,
"description"
:
"Parameters to instantiate Fluentd"
,
"additionalProperties"
:
false
,
"additionalProperties"
:
false
,
"properties"
:
{
"properties"
:
{
"conf_text"
:
{
"conf-text"
:
{
"description"
:
"Fluentd configuration. You can write it entirely by yourself. See fluentd-agent.conf.jinja2.in"
,
"title"
:
"Configuration"
,
"default"
:
""
,
"description"
:
"Fluentd configuration. See: https://docs.fluentd.org/configuration"
,
"type"
:
"string"
"type"
:
"string"
,
"textarea"
:
true
}
}
}
}
}
}
software/fluentd/instance.cfg
View file @
b13d20e9
...
@@ -42,7 +42,7 @@ recipe = slapos.recipe.build
...
@@ -42,7 +42,7 @@ recipe = slapos.recipe.build
slapparameter-dict = $${slap-configuration:configuration}
slapparameter-dict = $${slap-configuration:configuration}
init =
init =
import re
import re
options['text'] = options['slapparameter-dict'].get('conf
_
text') or ' '
options['text'] = options['slapparameter-dict'].get('conf
-
text') or ' '
options['port-list'] = re.findall(r'<source>.*port (\d+).*<\/source>', options['text'], re.DOTALL)
options['port-list'] = re.findall(r'<source>.*port (\d+).*<\/source>', options['text'], re.DOTALL)
[fluentd-agent-conf]
[fluentd-agent-conf]
...
...
software/fluentd/software.cfg.json
0 → 100644
View file @
b13d20e9
{
"name"
:
"Fluentd"
,
"description"
:
"Fluentd"
,
"serialisation"
:
"xml"
,
"software-type"
:
{
"default"
:
{
"title"
:
"Default"
,
"description"
:
"Fluentd"
,
"request"
:
"instance-input-schema.json"
,
"index"
:
0
}
}
}
software/fluentd/test/test.py
View file @
b13d20e9
...
@@ -88,7 +88,7 @@ class WendelinTutorialTestCase(FluentdTestCase):
...
@@ -88,7 +88,7 @@ class WendelinTutorialTestCase(FluentdTestCase):
@
classmethod
@
classmethod
def
getInstanceParameterDict
(
cls
):
def
getInstanceParameterDict
(
cls
):
return
{
'conf
_
text'
:
cls
.
_conf
,}
return
{
'conf
-
text'
:
cls
.
_conf
,}
@
classmethod
@
classmethod
def
measureDict
(
cls
):
def
measureDict
(
cls
):
...
...
software/js-drone/software-c-astral.cfg
View file @
b13d20e9
...
@@ -21,7 +21,7 @@ url = https://lab.nexedi.com/nexedi/c-astral-wrapper/-/archive/v2.1/c-astral-wra
...
@@ -21,7 +21,7 @@ url = https://lab.nexedi.com/nexedi/c-astral-wrapper/-/archive/v2.1/c-astral-wra
md5sum = cca66724e1b7a61c1b9559fde95c420b
md5sum = cca66724e1b7a61c1b9559fde95c420b
environment =
environment =
CPLUS_INCLUDE_PATH=${qjs-wrapper-source:location}/include:${mavsdk:location}/include:${mavsdk:location}/include/mavsdk
CPLUS_INCLUDE_PATH=${qjs-wrapper-source:location}/include:${mavsdk:location}/include:${mavsdk:location}/include/mavsdk
LDFLAGS=-L${mavsdk:location}/lib -Wl,-rpath=${mavsdk:location}/lib
LDFLAGS=-L${mavsdk:location}/lib -Wl,-rpath=${mavsdk:location}/lib
-fPIC
[qjs-wrapper]
[qjs-wrapper]
autopilot-wrapper = ${c-astral-wrapper:location}
autopilot-wrapper = ${c-astral-wrapper:location}
...
...
software/osie-coupler/software.cfg
View file @
b13d20e9
...
@@ -17,15 +17,9 @@ extends =
...
@@ -17,15 +17,9 @@ extends =
# we want this SR to use a fixed gcc (so that we have the same gcc as open62541 component)
# we want this SR to use a fixed gcc (so that we have the same gcc as open62541 component)
max_version = 0
max_version = 0
# we need open62541's sources even after compiling and linking in [open62541]
# section. Reasons is that coupler's C application depends on it.
[open62541-source]
recipe = slapos.recipe.build:download-unpacked
shared = true
url = ${open62541:url}
md5sum = ${open62541:md5sum}
[open62541]
[open62541]
pre-configure +=
${git:location}/bin/git clone -b v1.1.6 https://github.com/LiamBindle/MQTT-C.git deps/mqtt-c
configure-options =
configure-options =
-DBUILD_SHARED_LIBS=ON
-DBUILD_SHARED_LIBS=ON
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_BUILD_TYPE=Release
...
@@ -44,6 +38,10 @@ configure-options =
...
@@ -44,6 +38,10 @@ configure-options =
-DUA_ENABLE_PUBSUB_MQTT=ON
-DUA_ENABLE_PUBSUB_MQTT=ON
environment +=
environment +=
LDFLAGS=-L${mbedtls:location}/lib -Wl,-rpath=${mbedtls:location}/lib
LDFLAGS=-L${mbedtls:location}/lib -Wl,-rpath=${mbedtls:location}/lib
# we need open62541's sources even after compiling and linking in [open62541]
# section. Reasons is that coupler's C application depends on it.
keep-compile-dir = true
source-location = @@LOCATION@@/.build/open62541-pack-${open62541:tag}
[osie-repository]
[osie-repository]
recipe = slapos.recipe.build:gitclone
recipe = slapos.recipe.build:gitclone
...
@@ -58,8 +56,8 @@ bin_dir = ${:path}/bin/
...
@@ -58,8 +56,8 @@ bin_dir = ${:path}/bin/
environment =
environment =
PATH=${gcc:prefix}/bin:/usr/bin
PATH=${gcc:prefix}/bin:/usr/bin
OPEN62541_HOME = ${open62541:location}
OPEN62541_HOME = ${open62541:location}
OPEN62541_SOURCE_HOME = ${open62541
-source:
location}
OPEN62541_SOURCE_HOME = ${open62541
:source-
location}
C_COMPILER_EXTRA_FLAGS = -L ${mbedtls:location}/lib -Wl,-rpath=${mbedtls:location}/lib -l:libopen62541.so -L${open62541:location}/lib -Wl,-rpath=${open62541:location}/lib -I${open62541:location}/include -I${open62541
-source:location}/src/pubsub/ -I${open62541-source:
location}/deps
C_COMPILER_EXTRA_FLAGS = -L ${mbedtls:location}/lib -Wl,-rpath=${mbedtls:location}/lib -l:libopen62541.so -L${open62541:location}/lib -Wl,-rpath=${open62541:location}/lib -I${open62541:location}/include -I${open62541
:source-location}/src/pubsub/ -I${open62541:source-
location}/deps
configure-command = true
configure-command = true
[instance-profile]
[instance-profile]
...
...
stack/slapos.cfg
View file @
b13d20e9
...
@@ -182,7 +182,7 @@ comm = 0.2.1:whl
...
@@ -182,7 +182,7 @@ comm = 0.2.1:whl
configparser = 4.0.2:whl
configparser = 4.0.2:whl
contextlib2 = 0.6.0.post1
contextlib2 = 0.6.0.post1
croniter = 0.3.25
croniter = 0.3.25
cryptography = 3.3.2
cryptography = 3.3.2
+SlapOSPatched001
dataclasses = 0.8
dataclasses = 0.8
dateparser = 0.7.6
dateparser = 0.7.6
debugpy = 1.8.1
debugpy = 1.8.1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment