New package: greetd-0.8.0
This commit is contained in:
parent
98704b0fba
commit
e509bd9a8a
|
@ -0,0 +1,2 @@
|
|||
In order for agreety to work correctly, disable the agetty service for the tty
|
||||
set in /etc/greetd/config.toml.
|
|
@ -0,0 +1,7 @@
|
|||
#%PAM-1.0
|
||||
|
||||
auth required pam_securetty.so
|
||||
auth requisite pam_nologin.so
|
||||
auth include system-local-login
|
||||
account include system-local-login
|
||||
session include system-local-login
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
exec 2>&1
|
||||
exec greetd
|
|
@ -0,0 +1,8 @@
|
|||
--- a/config.toml 2020-12-22 06:29:48.000000000 -0500
|
||||
+++ b/config.toml 2021-06-07 23:51:31.868809783 -0400
|
||||
@@ -13,4 +13,4 @@
|
||||
# The user to run the command as. The privileges this user must have depends
|
||||
# on the greeter. A graphical greeter may for example require the user to be
|
||||
# in the `video` group.
|
||||
-user = "greeter"
|
||||
+user = "_greeter"
|
|
@ -0,0 +1,38 @@
|
|||
# Template file for 'greetd'
|
||||
pkgname=greetd
|
||||
version=0.8.0
|
||||
revision=1
|
||||
build_style=cargo
|
||||
conf_files="/etc/greetd/config.toml"
|
||||
hostmakedepends="pkg-config scdoc"
|
||||
makedepends="pam-devel"
|
||||
short_desc="Minimal and flexible login manager daemon"
|
||||
maintainer="cinerea0 <cinerea0@protonmail.com>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://git.sr.ht/~kennylevinsen/greetd"
|
||||
distfiles="https://git.sr.ht/~kennylevinsen/greetd/archive/${version}.tar.gz"
|
||||
checksum=47a73709df60f04b63fc50cfc409e47a451a9620777638f527b9d9333256035f
|
||||
|
||||
system_accounts="_greeter"
|
||||
_greeter_groups="video"
|
||||
_greeter_homedir="/var/lib/_greeter"
|
||||
make_dirs="/var/lib/_greeter 0755 _greeter _greeter"
|
||||
|
||||
pre_build() {
|
||||
cd man
|
||||
make all
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vbin "target/${RUST_TARGET}/release/agreety"
|
||||
vbin "target/${RUST_TARGET}/release/fakegreet"
|
||||
vbin "target/${RUST_TARGET}/release/greetd"
|
||||
vinstall config.toml 644 etc/greetd/
|
||||
|
||||
cd man
|
||||
make install
|
||||
|
||||
vinstall ${FILESDIR}/greetd.pam 644 etc/pam.d/ greetd
|
||||
vsv greetd
|
||||
vdoc "${FILESDIR}/README.voidlinux"
|
||||
}
|
Loading…
Reference in New Issue