WIP build-obs.sh

This commit is contained in:
Christian Hagenest
2024-05-06 13:54:12 +02:00
committed by missytake
parent 6e1477666e
commit 846a4066d8
2 changed files with 26 additions and 13 deletions

View File

@@ -38,13 +38,17 @@ While in theory a package can be created entirely over the web interface,
the use of the cli-tool `osc` is more convenient
and is described in the [official documentation](https://openbuildservice.org/help/manuals/obs-user-guide/art.obs.bg#sec.obsbg.obsconfig).
### How to built the dovecot debian package for all platforms
### How to build the dovecot debian package for all platforms via our script
XXX suggested: transform this paragraph by providing a script to
XXX - download precise files from https://packages.debian.org/unstable/dovecot-core
XXX - clone the chatmail/dovecot repo
XXX - running `debuild`
XXX - do `osc add PRECISE_FILE_PATTERN` or so
In scripts/dovecot/ is a shell script that prepares the required files and pushes them to build.opensuse.org.
To run it you need osc, debuild and curl installed. Per default it assumes that your local obs repository is located at ~/obs/.
Use `source build-obs.sh` to run it.
### Build the debian package in the OBS manually
Alternatively you can follow these steps to do it manually:
On a Debian machine (for exampe [distrobox](https://distrobox.it/)),
clone the [chatmail dovecot fork](https://github.com/chatmail/dovecot).