|
@ -22,18 +22,12 @@ |
|
|
|
|
|
|
|
|
cups_pm(){ |
|
|
cups_pm(){ |
|
|
install_init cups $confdir/cups.init |
|
|
install_init cups $confdir/cups.init |
|
|
|
|
|
|
|
|
# cups is too stupid to create the ../tmp dir itself - only |
|
|
|
|
|
# needed for some ipp transfers (...?) -ReneR |
|
|
|
|
|
mkdir -p $root/var/spool/cups/tmp |
|
|
|
|
|
chown daemon:daemon $root/var/spool/cups/tmp |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if [ "${ROCKCFG_X86_BITS}" = "64" ] ; then |
|
|
if [ "${ROCKCFG_X86_BITS}" = "64" ] ; then |
|
|
var_append patchfiles ' ' "$base/package/praenti/cups/hotfix.diff_x86_64" |
|
|
var_append patchfiles ' ' "$base/package/praenti/cups/hotfix.diff_x86_64" |
|
|
fi |
|
|
fi |
|
|
var_append copfopt "--with-logdir=/var/cups/log |
|
|
|
|
|
--with-cups-user=daemon --with-cups-group=daemon" |
|
|
|
|
|
|
|
|
var_append extraconfopt " " "--with-cups-user=daemon --with-cups-group=daemon" |
|
|
|
|
|
|
|
|
# Force same compiler version for C and C++ |
|
|
# Force same compiler version for C and C++ |
|
|
export CC="${CXX/[cg]++/gcc}" |
|
|
export CC="${CXX/[cg]++/gcc}" |
|
|