File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ exec 2>&1
3+ if [ -f /etc/alfis.toml ]; then
4+ exec chpst -u alfis alfis -c /etc/alfis.toml -n -w /var/lib/alfis 2>&1
5+ else
6+ alfis -g > /etc/alfis.toml
7+ chmod 644 /etc/alfis.toml
8+ fi
Original file line number Diff line number Diff line change 1+ # Template file for 'Alfis'
2+ pkgname=Alfis
3+ version=0.8.8
4+ revision=1
5+ build_style=cargo
6+ configure_args="--no-default-features --features=doh"
7+ make_dirs="/var/lib/alfis 0755 alfis alfis"
8+ system_accounts="alfis"
9+ conf_files="/etc/alfis.toml"
10+ hostmakedepends=""
11+ makedepends=""
12+ depends=""
13+ short_desc="Alternative Free Identity System"
14+ maintainer="Orlov Maxim <aztecmx@proton.me>"
15+ license="AGPL-3.0-or-later"
16+ homepage="https://alfis.name/"
17+ distfiles="https://github.com/Revertron/Alfis/archive/refs/tags/v${version}.tar.gz"
18+ checksum=32f8567a9a47b67a792bdddad01d8253b42fe496d12992ce323438c525938341
19+
20+ post_install() {
21+ vinstall alfis.toml 644 etc/
22+ vsv alfis
23+ vlicense LICENSE
24+ }
You can’t perform that action at this time.
0 commit comments