Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
105
Merge Requests
105
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
2e8c5db3
Commit
2e8c5db3
authored
Sep 03, 2022
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/master' into zope4py2
parents
5ab7652e
64701828
Pipeline
#23269
failed with stage
in 0 seconds
Changes
13
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
134 additions
and
98 deletions
+134
-98
component/groonga/buildout.cfg
component/groonga/buildout.cfg
+2
-2
component/gtk-2/buildout.cfg
component/gtk-2/buildout.cfg
+2
-1
component/mariadb/buildout.cfg
component/mariadb/buildout.cfg
+3
-4
component/postfix/buildout.cfg
component/postfix/buildout.cfg
+2
-2
component/slapos/obs.cfg
component/slapos/obs.cfg
+3
-2
software/caddy-frontend/test/test.py
software/caddy-frontend/test/test.py
+84
-73
software/slapos-sr-testing/software.cfg
software/slapos-sr-testing/software.cfg
+1
-1
stack/erp5/buildout.hash.cfg
stack/erp5/buildout.hash.cfg
+4
-4
stack/erp5/instance-postfix.cfg.in
stack/erp5/instance-postfix.cfg.in
+16
-0
stack/erp5/instance.cfg.in
stack/erp5/instance.cfg.in
+1
-0
stack/erp5/postfix_main.cf.in
stack/erp5/postfix_main.cf.in
+13
-7
stack/erp5/postfix_master.cf.in
stack/erp5/postfix_master.cf.in
+1
-0
stack/slapos.cfg
stack/slapos.cfg
+2
-2
No files found.
component/groonga/buildout.cfg
View file @
2e8c5db3
...
...
@@ -15,8 +15,8 @@ extends =
[groonga]
recipe = slapos.recipe.cmmi
shared = true
url = https://packages.groonga.org/source/groonga/groonga-12.0.
4
.tar.gz
md5sum =
a7c6416301e5b5899ef517193c510bd0
url = https://packages.groonga.org/source/groonga/groonga-12.0.
7
.tar.gz
md5sum =
5ef412a6941994e623cb50d76a8be261
groonga-plugin-dir = @@LOCATION@@/lib/groonga/plugins/
# temporary patch to respect more tokens in natural language mode.
patches =
...
...
component/gtk-2/buildout.cfg
View file @
2e8c5db3
...
...
@@ -14,6 +14,7 @@ extends =
../libtool/buildout.cfg
../m4/buildout.cfg
../perl/buildout.cfg
../python-2.7/buildout.cfg
../pkgconfig/buildout.cfg
../xorg/buildout.cfg
../icu/buildout.cfg
...
...
@@ -81,7 +82,7 @@ configure-options =
--disable-static
--disable-gtk-doc-html
environment =
PATH=${glib:location}/bin:${freetype:location}/bin:${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s
PATH=${
python2.7:location}/bin:${
glib:location}/bin:${freetype:location}/bin:${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${:pkg_config_depends}
CPPFLAGS=-I${bzip2:location}/include -I${zlib:location}/include
LDFLAGS=-L${bzip2:location}/lib -Wl,-rpath=${bzip2:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -L${harfbuzz:location}/lib -Wl,-rpath=${harfbuzz:location}/lib
...
...
component/mariadb/buildout.cfg
View file @
2e8c5db3
...
...
@@ -99,8 +99,8 @@ post-install =
# as plugin-dir ( https://mariadb.com/kb/en/server-system-variables/#plugin_dir )
recipe = slapos.recipe.cmmi
shared = true
url = https://packages.groonga.org/source/mroonga/mroonga-12.0
4
.tar.gz
md5sum =
1d154e6cb4540f7be5791b5fb376a5d
e
url = https://packages.groonga.org/source/mroonga/mroonga-12.0
7
.tar.gz
md5sum =
bee7506e08deda9a607d85ed03b8b62
e
pre-configure =
rm -rf fake_mariadb_source
mkdir -p fake_mariadb_source
...
...
@@ -117,9 +117,8 @@ configure-options =
--disable-document
post-install =
cp -rs ${mariadb:location}/lib/plugin/* ${:plugin-dir}
cat @@LOCATION@@/share/mroonga/install.sql @@LOCATION@@/share/mroonga/update.sql > ${:install-sql}
plugin-dir = @@LOCATION@@/lib/plugin
install-sql = @@LOCATION@@/share/mroonga/install
-and-update
.sql
install-sql = @@LOCATION@@/share/mroonga/install.sql
make-targets = plugindir=${:plugin-dir} install
patch-options = -p1
patches =
...
...
component/postfix/buildout.cfg
View file @
2e8c5db3
...
...
@@ -14,8 +14,8 @@ extends =
[postfix]
recipe = slapos.recipe.cmmi
shared = true
url =
ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-3.5.8
.tar.gz
md5sum =
c7c55ccc1db2a30d35c3867c21fe7109
url =
http://cdn.postfix.johnriley.me/mirrors/postfix-release/official/postfix-3.7.2
.tar.gz
md5sum =
92ff3863194004f7d8a0893421ba4248
location = @@LOCATION@@
patch-options = -p1
patches =
...
...
component/slapos/obs.cfg
View file @
2e8c5db3
...
...
@@ -31,6 +31,7 @@ init +=
assert buildout['directory'] == buildout['destdir'] + buildout['rootdir'], (
"Buildout MUST BE launched in destdir/rootdir (currently launched in %s but should be launched in %s)" %
(buildout['directory'], buildout['destdir'] + buildout['rootdir']))
part = python3.7
[python3-common]
configure-options +=
...
...
@@ -85,8 +86,8 @@ pre-configure =
sed -i 's#/opt/slapos/parts/dbus/lib/libdbus-1.la#${dbus:location}/lib/libdbus-1.la#' ${dbus-glib:location}/lib/libdbus-glib-1.la
environment +=
LD_LIBRARY_PATH=${dbus:location}/lib
PYTHON_INCLUDES=-I${python:location}/include/python${python:version}
PYTHON_LIBS=-L${python:location}/lib -lpython${python:version} -lpthread -ldl -lutil -lm
PYTHON_INCLUDES=-I${python:location}/include/python${python:version}
m
PYTHON_LIBS=-L${python:location}/lib -lpython${python:version}
m
-lpthread -ldl -lutil -lm
post-install =
sed -i 's#${dbus:location}/lib/libdbus-1.la#/opt/slapos/parts/dbus/lib/libdbus-1.la#' ${dbus-glib:location}/lib/libdbus-glib-1.la
...
...
software/caddy-frontend/test/test.py
View file @
2e8c5db3
This diff is collapsed.
Click to expand it.
software/slapos-sr-testing/software.cfg
View file @
2e8c5db3
...
...
@@ -401,7 +401,7 @@ PyPDF2 = 1.26.0+SlapOSPatched001
Django = 1.11
mock = 2.0.0:whl
testfixtures = 6.11
testfixtures = 6.11
.0
funcsigs = 1.0.2
mysqlclient = 1.3.12
pexpect = 4.8.0
...
...
stack/erp5/buildout.hash.cfg
View file @
2e8c5db3
...
...
@@ -50,15 +50,15 @@ md5sum = f928b9dc99f7f970caadfe7dd6f95d34
[template-postfix]
filename = instance-postfix.cfg.in
md5sum =
0b7db23344b4795c8786d5e655810b38
md5sum =
8f7bfca893a01c390df7a3dc9c2410e1
[template-postfix-master-cf]
filename = postfix_master.cf.in
md5sum =
9ac81647368068a1a98a785d08074b43
md5sum =
ef164517e3f7170d03499967d625c3bb
[template-postfix-main-cf]
filename = postfix_main.cf.in
md5sum =
886d1b004049c8dc1f89cbbfe4f95371
md5sum =
e9f03c66627beb4054d45123450162d2
[template-postfix-aliases]
filename = postfix_aliases.in
...
...
@@ -70,7 +70,7 @@ md5sum = b95084ae9eed95a68eada45e28ef0c04
[template]
filename = instance.cfg.in
md5sum =
5747c487edd721d8a53061392307b55f
md5sum =
2cf8721b82767c2461b5c847d281ae7b
[template-erp5]
filename = instance-erp5.cfg.in
...
...
stack/erp5/instance-postfix.cfg.in
View file @
2e8c5db3
...
...
@@ -36,6 +36,7 @@ bin = ${buildout:directory}/bin
usr = ${buildout:directory}/usr
srv = ${buildout:directory}/srv
var = ${buildout:directory}/var
var-log = ${:var}/log
var-lib = ${:var}/lib
var-lib-postfix = ${:var-lib}/postfix
var-spool = ${:var}/spool
...
...
@@ -92,6 +93,7 @@ relayhost = {{ dumps(relay.get('host')) }}
relay-sasl-credential = {{ dumps(relay.get('sasl-credential')) }}
cyrus-sasldb = ${directory:etc-cyrus}/postfix.gdbm
milter-list = {{ dumps(milter_list) }}
xz-utils-location = {{ dumps(parameter_dict['xz-utils-location']) }}
[userinfo]
recipe = slapos.cookbook:userinfo
...
...
@@ -141,6 +143,16 @@ command =
update =
${:openssl} req -newkey rsa -batch -new -x509 -days 3650 -nodes -keyout '${:key}' -out '${:cert}'
[{{ section('postfix-logrotate') }}]
recipe = slapos.cookbook:cron.d
cron-entries = ${cron:cron-entries}
name = postfix-logrotate
frequency = 0 0 * * *
command = ${directory:bin}/postfix logrotate
[postfix-main-cf-parameter]
postfix-location = {{ parameter_dict['postfix-location'] }}
[{{ section('postfix-main-cf') }}]
< = jinja2-template-base
output = ${directory:etc-postfix}/main.cf
...
...
@@ -163,6 +175,10 @@ context =
key key smtpd-ssl:key
key dh_512 smtpd-ssl:dh-512
key dh_2048 smtpd-ssl:dh-2048
key log_directory directory:var-log
key xz_utils_location configuration:xz-utils-location
key postfix_location postfix-main-cf-parameter:postfix-location
key etc_postfix directory:etc-postfix
[{{ section('postfix-master-cf') }}]
< = jinja2-template-base
...
...
stack/erp5/instance.cfg.in
View file @
2e8c5db3
...
...
@@ -15,6 +15,7 @@ postfix-location = {{ postfix_location }}
template-postfix-aliases = {{ template_postfix_aliases }}
template-postfix-main-cf = {{ template_postfix_main_cf }}
template-postfix-master-cf = {{ template_postfix_master_cf }}
xz-utils-location = {{ xz_utils_location }}
[dynamic-template-postfix]
< = jinja2-template-base
...
...
stack/erp5/postfix_main.cf.in
View file @
2e8c5db3
...
...
@@ -8,17 +8,19 @@ mail_owner = {{ mail_owner }}
alias_maps = {{ aliases }}
alias_database = {{ aliases }}
mail_spool_directory = {{ spool_directory }}
sendmail_path =
newaliases_path =
mailq_path =
sendmail_path =
{{ bin_directory }}/sendmail
newaliases_path =
{{ bin_directory }}/newaliases
mailq_path =
{{ bin_directory }}/mailq
setgid_group = {{ setgid_group }}
html_directory =
manpage_directory =
sample_directory =
readme_directory =
html_directory =
no
manpage_directory =
{{ postfix_location }}/usr/local/man
sample_directory =
{{ postfix_location }}/etc/postfix
readme_directory =
no
inet_interfaces = {{ inet_interfaces }}
smtp_bind_address = 0.0.0.0
smtp_bind_address6 = ::
compatibility_level = 3.6
smtputf8_enable = no
# Compared to default:
# - remove X-related variables, irrelevant for slapos, to be concise
...
...
@@ -69,3 +71,7 @@ smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = {{ sasl_passwd }}
smtp_sasl_tls_security_options = noanonymous
{%- endif %}
maillog_file = {{ log_directory }}/postfix.log
maillog_file_compressor = {{ xz_utils_location }}/bin/xz
maillog_file_prefixes = {{ log_directory }}
stack/erp5/postfix_master.cf.in
View file @
2e8c5db3
...
...
@@ -27,3 +27,4 @@ virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
scache unix - - n - 1 scache
postlog unix-dgram n - n - 1 postlogd
stack/slapos.cfg
View file @
2e8c5db3
...
...
@@ -194,7 +194,7 @@ setuptools-dso = 1.7
rubygemsrecipe = 0.4.3
six = 1.16.0
slapos.cookbook = 1.0.253
slapos.core = 1.
7.13
slapos.core = 1.
8.0
slapos.extension.shared = 1.0
slapos.libnetworkcache = 0.25
slapos.rebootstrap = 4.5
...
...
@@ -263,7 +263,7 @@ Werkzeug = 1.0.1
requests = 2.27.1
charset-normalizer = 2.0.12
pyparsing = 2.2.0
certifi = 2020.
04.0
5.1
certifi = 2020.
4.
5.1
[versions:sys.version_info < (3,8)]
MarkupSafe = 1.0
...
...
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