New package: lprng-3.8.C

This commit is contained in:
Andrew Benson 2019-08-21 18:24:47 -05:00 committed by Helmut Pozimski
parent 4c77bee357
commit 1c280b5936
2 changed files with 28 additions and 0 deletions

4
srcpkgs/lprng/files/lprng/run Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
exec 2>&1
exec chpst -u :_lprng lpd -F

24
srcpkgs/lprng/template Normal file
View file

@ -0,0 +1,24 @@
# Template file for 'lprng'
pkgname=lprng
version=3.8.C
revision=1
build_style=gnu-configure
configure_args="--with-userid=_lprng --with-groupid=_lprng"
short_desc="Enhanced Printer Spooler"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-2.0-only"
homepage="http://lprng.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/lprng/lprng/lprng-${version}.tar.gz"
checksum=694a1747a96385b89e93f43343bf35cee5c8c73353a83814106911c99f09de10
system_accounts="_lprng"
conflicts="cups>=0"
conf_files="/etc/lpd/* /etc/printcap"
export CLEAR=no
post_install() {
mv ${DESTDIR}/etc/printcap{.sample,}
mv ${DESTDIR}/etc/lpd/lpd.conf{.sample,}
mv ${DESTDIR}/etc/lpd/lpd.perms{.sample,}
vsv lprng
}