cups: create a specific system account (cups) to make this work.
This commit is contained in:
parent
659ccedba1
commit
3cdb6d91c9
1 changed files with 8 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'cups'
|
||||
pkgname=cups
|
||||
version=2.0.2
|
||||
revision=2
|
||||
revision=3
|
||||
patch_args="-Np1"
|
||||
short_desc="Common Unix Printing System"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
@ -24,13 +24,16 @@ conf_files="
|
|||
/etc/dbus-1/system.d/cups.conf
|
||||
/etc/pam.d/cups"
|
||||
make_dirs="
|
||||
/var/cache/cups/rss 0750 root lp
|
||||
/var/cache/cups/rss 0750 cups lp
|
||||
/var/log/cups 0750 root root
|
||||
/var/spool/cups 0755 root lp
|
||||
/etc/cups/ssl 0700 root lp"
|
||||
/var/spool/cups 0755 cups lp
|
||||
/etc/cups/ssl 0700 cups lp"
|
||||
|
||||
# Package build options
|
||||
build_options="systemd"
|
||||
system_accounts="cups"
|
||||
cups_pgroup="lp"
|
||||
cups_homedir="/var/spool/cups"
|
||||
|
||||
pre_configure() {
|
||||
aclocal -I config-scripts
|
||||
|
@ -49,7 +52,7 @@ do_configure() {
|
|||
--enable-acl --enable-dbus --enable-raw-printing \
|
||||
--enable-threads --with-logdir=/var/log/cups \
|
||||
--with-docdir=/usr/share/cups/doc --disable-gssapi \
|
||||
--with-cups-user=daemon --with-cups-group=lp --enable-relro \
|
||||
--with-cups-user=cups --with-cups-group=lp --enable-relro \
|
||||
--enable-avahi --enable-pam --enable-ssl \
|
||||
--with-menudir=/usr/share/applications --with-xinetd=/etc/xinetd.d \
|
||||
--with-optim="${CFLAGS}" $(vopt_with systemd) \
|
||||
|
|
Loading…
Reference in a new issue