No description
- Shell 89.4%
- Makefile 10.3%
- PHP 0.3%
| lib | ||
| ressources | ||
| .gitignore | ||
| debmaker | ||
| postrun.sh | ||
| README.MD | ||
Debmaker
Build Debian packages from source in isolated chroot environments, without installing compilation tools on the host system.
How it works
- A minimal Debian filesystem is created via debootstrap inside an ext4 image
- The source code and build recipe are injected into the chroot
- Dependencies are installed, the application is compiled, and a
.debpackage is produced - The resulting package is copied to the
dist/folder
Each application has its own build recipe in ressources/<app>/debmaker.
Prerequisites
- A Debian-based system with root access (sudo)
Usage
./debmaker list # List available applications
./debmaker run <app> # Build a package (output in dist/)
./debmaker edit <app> # Edit a build recipe
./debmaker chroot <app> # Enter the chroot for debugging
Adding a new package
Create a directory ressources/<app>/ with a debmaker script defining:
APP=myapp # Package name
VERSION=1.0.0 # Upstream version
GIT_VERSION=v$VERSION # Git tag
DEBIAN_VERSION_CODENAME=trixie # Base Debian release
IMAGE_SIZE=5 # Chroot image size in GB
DEPOT=https://... # Source repository URL
main(){
createUserDebmaker
base_package_upgrade
get_source
# ... build steps
}
See existing recipes in ressources/ for examples.
Available packages
- adguardhome
- authelia
- babybuddy
- baikal
- bitwarden-desktop
- budibase
- claper
- cloudbeaver
- clouseau
- crfpp
- element-web
- firebirdfdw
- flame
- forgejo
- glpi
- gotify
- grocy
- guacamole-server
- homeassistant
- humhub
- joplin-desktop
- joplin-server
- keycloak
- keycloak-radius-plugin
- kimai2
- libfq
- libretranslate
- linkding
- linkwarden
- mailhog
- mautrix-syncproxy
- mautrix-whatsapp
- mautrix-wsproxy
- mealie
- metabase
- minio
- moodle
- moodle-auth-oidc
- moodle-block-cohortspecifichtml
- moodle-editor-morefontcolors
- moodle-editor-tiny-c4l
- moodle-format-onetopic
- moodle-format-tiles
- moodle-mod-board
- moodle-theme-adaptable
- moodle-theme-pimenko
- moodle-tool-leo
- mysqlfdw
- paperless-ngx
- phpbb
- phpbb-language-fr
- picapport
- postfixadmin
- roundcubemail
- rss-bridge
- rustdesk-server
- smbnetfs-utils
- sqlpage
- synapse-compress-state
- tt-rss
- tt-rss-plugin-auth-oidc
- tt-rss-plugin-readability
- tt-rss-plugin-wallabag
- umap
- uptime-kuma
- vaultwarden
- vaultwarden-web
- wallabag
- zigbee2mqtt
Contact
- Matrix : @thomas:lgy.fr
- Email : thomas@lgy.fr