commit
4e144a6e90
2 changed files with 29 additions and 0 deletions
6
srcpkgs/autox/files/autox/run
Executable file
6
srcpkgs/autox/files/autox/run
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec 2>&1
|
||||||
|
[ -s conf ] && . ./conf
|
||||||
|
: ${USER:=nobody}
|
||||||
|
: ${TTY:=tty7}
|
||||||
|
exec setsid -w agetty -a $USER -n -l /usr/bin/autox -o $USER $TTY 38400 linux
|
23
srcpkgs/autox/template
Normal file
23
srcpkgs/autox/template
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# Template file for 'autox'
|
||||||
|
pkgname=autox
|
||||||
|
version=0.1.1
|
||||||
|
revision=1
|
||||||
|
wrksrc=${pkgname}-${version}-${pkgname}
|
||||||
|
build_wrksrc=src
|
||||||
|
build_style=gnu-makefile
|
||||||
|
conf_files="/etc/pam.d/autox"
|
||||||
|
makedepends="pam-devel"
|
||||||
|
depends="pam"
|
||||||
|
short_desc="Automatically log in a specified user and run xinit"
|
||||||
|
maintainer="Toyam Cox <Vaelatern@gmail.com>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://github.com/jsumners/autox"
|
||||||
|
distfiles="https://github.com/jsumners/autox/archive/${version}-autox.tar.gz"
|
||||||
|
checksum=f8cdea3bd1a2ba1fdc7ad4a592c641cb478641869a5d7f7fbbaffc7e3d0bc5bd
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vlicense ../LICENSE
|
||||||
|
vbin autox
|
||||||
|
vinstall autox.pam 755 /etc/pam.d autox
|
||||||
|
vsv autox
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue