commit
beb70fefe5
|
@ -0,0 +1,21 @@
|
|||
[Unit]
|
||||
Description=Qingy on %I
|
||||
Documentation=info:qingy
|
||||
After=systemd-user-sessions.service plymouth-quit-wait.service
|
||||
|
||||
[Service]
|
||||
Environment=TERM=linux
|
||||
ExecStart=/usr/sbin/qingy %I -n
|
||||
Type=idle
|
||||
Restart=always
|
||||
RestartSec=0
|
||||
UtmpIdentifier=%I
|
||||
TTYPath=/dev/%I
|
||||
TTYReset=yes
|
||||
TTYVHangup=yes
|
||||
TTYVTDisallocate=yes
|
||||
KillMode=process
|
||||
IgnoreSIGPIPE=no
|
||||
|
||||
[Install]
|
||||
Alias=getty.target.wants/qingy@tty1.service
|
|
@ -0,0 +1,38 @@
|
|||
# Template file for 'qingy'
|
||||
pkgname="qingy"
|
||||
version="1.0.0"
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
makedepends="ncurses-devel openssl-devel"
|
||||
configure_args="--disable-DirectFB-support"
|
||||
short_desc="Qingy Is Not GettY"
|
||||
maintainer="Jens E. Becker <v2px@v2px.de>"
|
||||
license="GPL-2"
|
||||
homepage="http://qingy.sourceforge.net"
|
||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
|
||||
checksum=de4b4b398d5ba81ab2544729864676a04ddc6ae818b357ee09a8770293740cd3
|
||||
|
||||
build_options="pam x11"
|
||||
|
||||
desc_option_pam="turn on PAM support"
|
||||
desc_option_x11="enable support for X server"
|
||||
|
||||
build_options_default="pam x11"
|
||||
|
||||
if [ "$build_option_pam" ]; then
|
||||
configure_args+=" --enable-pam"
|
||||
makedepends+=" pam-devel"
|
||||
else
|
||||
configure_args+=" --disable-pam"
|
||||
fi
|
||||
|
||||
if [ "$build_option_x11" ]; then
|
||||
configure_args+=" --enable-x-support"
|
||||
makedepends+=" libXScrnSaver-devel libX11-devel scrnsaverproto"
|
||||
else
|
||||
configure_args+=" --disable-x-support"
|
||||
fi
|
||||
|
||||
post_install() {
|
||||
vinstall ${FILESDIR}/qingy@.service 644 usr/lib/systemd/system
|
||||
}
|
Loading…
Reference in New Issue