cliffmccarthy
3ce350de9e
feat: Check whether GCC is installed in initenv.sh
...
- Before proceeding with installation of Python dependencies, check
whether the 'gcc' command is available by running it with the
--version argument. If it is not available, print a helpful message
and exit.
- For the current set of Python dependencies, without GCC, the build
process fails when building the crypt-r package. According to the
error message, on my system the exact command it tries to run is
'x86_64-linux-gnu-gcc', but rather than depend on this variant
specifically, the script checks for the generic 'gcc' command, so as
to avoid coupling the check to an architecture or operating system.
Similar problems arise if we attempt to check for packages by name;
the compiler binary is provided by 'gcc-11', but the symlinks that
provide the unversioned commands (as used by the Python build) come
from a package named 'gcc'. Trying to be too precise in what we
check for could lead to unnecessary failures in some environments,
or become a maintenance challenge in the future. For that reason,
this change simply attempts to run 'gcc' and uses that as a
probably-sufficient proxy for having what the Python package install
will need.
2025-08-16 10:04:44 +02:00
cliffmccarthy
1e05974970
feat: Make sure build-essential is installed
...
- The Python modules installed by initenv.sh require a compiler to build.
- Revised initenv.sh to check whether build-essential is installed
before proceeding, if the system is based on Debian or Ubuntu.
2025-08-16 10:04:44 +02:00
missytake
823bc90eb1
cmdeploy: make it work without bash
...
Co-authored-by: link2xt <link2xt@testrun.org >
2025-05-16 21:27:50 +02:00
missytake
ed93678c9d
cmdeploy: on ubuntu/debian, test if python3-dev is installed
2025-05-16 21:27:50 +02:00
link2xt
635b5de304
Replace bash with /bin/sh
2024-07-01 11:47:38 +02:00
Christian Hagenest
044ebfb9a2
delete buggy dovecot submodule for dovebuild
2024-06-11 16:51:29 +02:00
Christian Hagenest
4f28476c47
add a doc about dovecot building based on internal sysadmin docs (now with squash) ( #309 )
...
* add a doc about dovecot building based on internal sysadmin docs
* track discussion from chat
* WIP build-obs.sh
* add precise links for dovecot unstable
* WIP build-obs.sh
* WIP
* WIP IT BUILDS
* WIP: Build builds, OBS pushes, OBs doesn't build :( problem with .dsc
* it works
* move obs dir into script dir
* clean curl
* hack for file length problem
* wip hack
* wip hack
* wip try dpkg-source
* wip test without curl
* wip
* clean up
* remove unnecessary dependencies
* move readme wip
* edit README
* Update scripts/dovecot/build-obs.sh
Co-authored-by: missytake <missytake@systemli.org >
* Update scripts/dovecot/README.md
Co-authored-by: missytake <missytake@systemli.org >
* move SCRIPT_DIR
* fix up readme for dovecot script
* Add OBS
* clarify backports policy
---------
Co-authored-by: holger krekel <holger@merlinux.eu >
Co-authored-by: missytake <missytake@systemli.org >
2024-05-26 19:49:06 +02:00
Christian Hagenest
b05aec72c2
Revert "add a doc about dovecot building based on internal sysadmin docs" ( #308 )
...
* Revert "clarify backports policy"
This reverts commit 610675452e .
* Revert "Add OBS"
This reverts commit 83387f5d08 .
* Revert "fix up readme for dovecot script"
This reverts commit 142206529c .
* Revert "move SCRIPT_DIR"
This reverts commit c0f200b1a9 .
* Revert "Update scripts/dovecot/README.md"
This reverts commit 6d55f75bee .
* Revert "Update scripts/dovecot/build-obs.sh"
This reverts commit c68cbf1806 .
* Revert "edit README"
This reverts commit 9677617c7f .
* Revert "move readme wip"
This reverts commit d8cf282953 .
* Revert "remove unnecessary dependencies"
This reverts commit b959f57058 .
* Revert "clean up"
This reverts commit 8768e6fd0b .
* Revert "wip"
This reverts commit acbf370383 .
* Revert "wip test without curl"
This reverts commit 80dfdaee06 .
* Revert "wip try dpkg-source"
This reverts commit 4d15ae9452 .
* Revert "wip hack"
This reverts commit 9a68d42ee8 .
* Revert "wip hack"
This reverts commit d732d099ac .
* Revert "hack for file length problem"
This reverts commit 582a2af799 .
* Revert "clean curl"
This reverts commit fba3963d47 .
* Revert "move obs dir into script dir"
This reverts commit e80d33e2e0 .
* Revert "it works"
This reverts commit 6a3001bf22 .
* Revert "WIP: Build builds, OBS pushes, OBs doesn't build :( problem with .dsc"
This reverts commit 368c41ba27 .
* Revert "WIP IT BUILDS"
This reverts commit fa0d8432bc .
* Revert "WIP"
This reverts commit 2811e08563 .
* Revert "WIP build-obs.sh"
This reverts commit 846a4066d8 .
* Revert "add precise links for dovecot unstable"
This reverts commit 6e1477666e .
* Revert "WIP build-obs.sh"
This reverts commit 013def94f9 .
* Revert "track discussion from chat"
This reverts commit 468bb04149 .
* Revert "add a doc about dovecot building based on internal sysadmin docs"
This reverts commit 30a23dad17 .
2024-05-26 19:46:43 +02:00
Christian Hagenest
610675452e
clarify backports policy
2024-05-23 14:33:45 +02:00
Christian Hagenest
83387f5d08
Add OBS
2024-05-23 14:33:45 +02:00
Christian Hagenest
142206529c
fix up readme for dovecot script
2024-05-23 14:33:45 +02:00
Christian Hagenest
c0f200b1a9
move SCRIPT_DIR
2024-05-23 14:33:45 +02:00
Christian Hagenest
6d55f75bee
Update scripts/dovecot/README.md
...
Co-authored-by: missytake <missytake@systemli.org >
2024-05-23 14:33:45 +02:00
Christian Hagenest
c68cbf1806
Update scripts/dovecot/build-obs.sh
...
Co-authored-by: missytake <missytake@systemli.org >
2024-05-23 14:33:45 +02:00
Christian Hagenest
9677617c7f
edit README
2024-05-23 14:33:45 +02:00
Christian Hagenest
d8cf282953
move readme wip
2024-05-23 14:33:45 +02:00
Christian Hagenest
b959f57058
remove unnecessary dependencies
2024-05-23 14:33:45 +02:00
Christian Hagenest
8768e6fd0b
clean up
2024-05-23 14:33:45 +02:00
Christian Hagenest
acbf370383
wip
2024-05-23 14:33:45 +02:00
Christian Hagenest
80dfdaee06
wip test without curl
2024-05-23 14:33:45 +02:00
Christian Hagenest
4d15ae9452
wip try dpkg-source
2024-05-23 14:33:45 +02:00
Christian Hagenest
9a68d42ee8
wip hack
2024-05-23 14:33:45 +02:00
Christian Hagenest
d732d099ac
wip hack
2024-05-23 14:33:45 +02:00
Christian Hagenest
582a2af799
hack for file length problem
2024-05-23 14:33:45 +02:00
Christian Hagenest
fba3963d47
clean curl
2024-05-23 14:33:45 +02:00
Christian Hagenest
e80d33e2e0
move obs dir into script dir
2024-05-23 14:33:45 +02:00
Christian Hagenest
6a3001bf22
it works
2024-05-23 14:33:45 +02:00
Christian Hagenest
368c41ba27
WIP: Build builds, OBS pushes, OBs doesn't build :( problem with .dsc
2024-05-23 14:33:45 +02:00
Christian Hagenest
fa0d8432bc
WIP IT BUILDS
2024-05-23 14:33:45 +02:00
Christian Hagenest
2811e08563
WIP
2024-05-23 14:33:45 +02:00
Christian Hagenest
846a4066d8
WIP build-obs.sh
2024-05-23 14:33:45 +02:00
holger krekel
6e1477666e
add precise links for dovecot unstable
2024-05-23 14:33:45 +02:00
Christian Hagenest
013def94f9
WIP build-obs.sh
2024-05-23 14:33:45 +02:00
Christian Hagenest
1a5fd331b6
add changelog
2024-05-18 23:06:03 +02:00
link2xt
c94ef0379a
Update pip and setuptools in scripts/initenv.sh
...
This is to support Debian 11 which ships setuptools
that do not support `-e` without setup.py
2024-01-24 01:31:48 +01:00
link2xt
dde879c7fc
Add scripts/cmdeploy
2023-12-12 23:37:16 +01:00
link2xt
a2a78c0aff
Do not attmpt to activate venv from scripts/initenv.sh
...
If you run it as scripts/initenv.sh,
activating venv is useless as bash will exit immediately afterwards.
If you `source` it as suggested by README.md,
`set -e` will set the flag for the current shell
and your shell will exit as soon as some command returns non-zero status,
e.g. cmdeploy fails or you simply do `ls /foo/bar/baz` and `ls`
complains that `/foo/bar/baz` does not exist.
2023-12-12 20:22:34 +00:00
holger krekel
d6df0f0604
rename deploy_chatmail to cmdeploy
2023-12-11 18:12:23 +01:00
holger krekel
b3fdebf8df
tweak for making CI happy
2023-12-11 15:52:12 +01:00
holger krekel
5fb7833677
add status command and delete last script
2023-12-11 15:52:12 +01:00
holger krekel
a6d24b3af7
introduce "cmdeploy bench"
2023-12-11 15:52:12 +01:00
holger krekel
d730af2e69
cleanup
2023-12-11 15:52:12 +01:00
holger krekel
99b1e18b0a
generate dns zone file via cmdeploy
2023-12-11 15:52:12 +01:00
holger krekel
f388e86287
make cmdeploy test work
2023-12-11 15:52:12 +01:00
holger krekel
d3ca037ebf
snap
2023-12-11 15:52:12 +01:00
holger krekel
b71e24d6a1
draft init flow
2023-12-11 15:52:12 +01:00
holger krekel
652b9688d3
deploy chatmaild in a virtualenv to make it easier to add dependencies
2023-12-08 21:55:18 +01:00
holger krekel
7cb8f90340
create a wwwdev.sh entry point for helping live web design/development ( #92 )
...
* create a wwwdev.sh entry point for developing the web part
* rename script
* fix README
* add a note
* don't depend on deltachat python package
* avoid bailing out on jinja2 errors, and provide file-url for instant clickability
* in webdev mode make page auto-refresh every 3 seconds
2023-12-08 14:32:40 +01:00
missytake
889e18f803
generate-dns-zone.sh doesn't need to support CHATMAIL_SERVER env var for now, let's assume A/AAAA point to the chatmail server, too
2023-11-25 00:39:27 +01:00
missytake
d29d2d147b
MTA-STS: the HTTPS route needs to be mta-sts.@ not _mta-sts
2023-11-25 00:39:27 +01:00