This repository provides tools to recompile cyrus-sasl
packages (currently only .deb
packages for Debian), in order to apply some specific and/or useful patches.
Identifier | Description | Related link(s) |
---|---|---|
0100-password-length.patch | Increase password length from 256 to 4096 characters, useful if you want to pass tokens or anything longer than a regular password | cyrusimap/cyrus-sasl#611 |
- Build appropriate Docker image, using the Debian version of your choice (here:
buster
)
# ----- args -----
# VERSION - Debian version targeted
#
docker build -t cyrus-sasl-compil:buster -f dockerfiles/debian/Dockerfile --build-arg VERSION=buster .
- Using the previously built image, run the package compilation, applying patches doing so
# ----- args -----
# DEB_PREFIX - Prefix that will be added to the package version name
# DEB_EMAIL - Email of the package builder/maintainer
# DEB_NAME - Full name of the package builder/maintainer
#
docker run --rm --name csc-deb-buster \
-v "$PWD"/scripts:/scripts -v "$PWD"/output/debian/buster:/compil \
--env DEB_PREFIX=ABC --env [email protected] --env DEB_NAME=YourName \
cyrus-sasl-compil:buster /scripts/compil.sh
docker build -t cyrus-sasl-compil:buster -f dockerfiles/debian/Dockerfile --build-arg VERSION=buster .
docker run --rm --name csc-deb-buster \
-v "$PWD"/scripts:/scripts -v "$PWD"/output/debian/buster:/compil \
--env DEB_PREFIX=ABC --env [email protected] --env DEB_NAME=YourName \
cyrus-sasl-compil:buster /scripts/compil.sh
docker build -t cyrus-sasl-compil:stretch -f dockerfiles/debian/Dockerfile --build-arg VERSION=stretch .
docker run --rm --name csc-deb-stretch \
-v "$PWD"/scripts:/scripts -v "$PWD"/output/debian/stretch:/compil \
--env DEB_PREFIX=ABC --env [email protected] --env DEB_NAME=YourName \
cyrus-sasl-compil:stretch /scripts/compil.sh
- Grégoire GUTTIN - Original scripts and patch
- Tom-Brian GARCIA - Reformatting (and translating) tasks for Github publication