Files
certforge/debian/rules
T
Roman KivalinandClaude Opus 4.6 1c517ecbab Add packaging, CI, and license
- MIT license
- Arch Linux PKGBUILD
- Debian packaging (debian/)
- GitHub Actions: CI (test + clippy) and release workflow
  builds x86_64 + aarch64 binaries, Arch and Debian packages
- Default config is now no-op (certificate blocks commented out)
- Fix clippy warnings (collapsible ifs, redundant closures)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 20:47:00 +02:00

24 lines
754 B
Makefile
Executable File

#!/usr/bin/make -f
export CARGO_HOME = $(CURDIR)/debian/cargo_home
export RUSTUP_TOOLCHAIN = stable
%:
dh $@
override_dh_auto_build:
cargo build --release --frozen
override_dh_auto_test:
cargo test --release --frozen
override_dh_auto_install:
install -Dm755 target/release/certforge debian/certforge/usr/bin/certforge
install -Dm644 examples/certforge.service debian/certforge/usr/lib/systemd/system/certforge.service
install -Dm644 examples/certforge.timer debian/certforge/usr/lib/systemd/system/certforge.timer
install -Dm644 examples/config.toml debian/certforge/etc/certforge/config.toml
install -dm750 debian/certforge/etc/certforge/certs
install -dm700 debian/certforge/var/lib/certforge
override_dh_auto_clean:
cargo clean || true