Skip to content

Commit 27f6c68

Browse files
committed
New package: Alfis-0.8.8
Signed-off-by: Orlov Maxim <aztecmx@proton.me>
1 parent 8b09701 commit 27f6c68

2 files changed

Lines changed: 32 additions & 0 deletions

File tree

srcpkgs/Alfis/files/alfis/run

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
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

srcpkgs/Alfis/template

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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+
}

0 commit comments

Comments
 (0)