-# Copyright (C) 2006-2009 OpenWrt.org
+# Copyright (C) 2006-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
PKG_NAME:=cups
PKG_VERSION:=1.4.2
PKG_NAME:=cups
PKG_VERSION:=1.4.2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-source.tar.bz2
PKG_SOURCE_URL:= \
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-source.tar.bz2
PKG_SOURCE_URL:= \
define Build/Configure
$(call Build/Configure/Default, \
define Build/Configure
$(call Build/Configure/Default, \
- --with-cups-user=root \
- --with-cups-group=root \
+ --with-cups-user="nobody" \
+ --with-cups-group="nogroup" \
--without-perl \
--without-python \
--without-php \
--enable-shared \
--enable-image \
--disable-dbus \
--without-perl \
--without-python \
--without-php \
--enable-shared \
--enable-image \
--disable-dbus \
+ --disable-dnssd \
+ --disable-launchd \
+ --disable-ldap \
--disable-pam \
--disable-slp \
--disable-gnutls \
--disable-pam \
--disable-slp \
--disable-gnutls \
--disable-cdsassl \
--disable-ssl \
--disable-gssapi \
--disable-cdsassl \
--disable-ssl \
--disable-gssapi \
UNAME="Linux" \
LIBS="$(TARGET_LDFLAGS) -lz -lpng -ljpeg" \
)
UNAME="Linux" \
LIBS="$(TARGET_LDFLAGS) -lz -lpng -ljpeg" \
)
#PrintcapFormat BSD
RequestRoot /var/cups
#RemoteRoot remroot
#PrintcapFormat BSD
RequestRoot /var/cups
#RemoteRoot remroot
+User nobody
+Group nogroup
RIPCache 512k
TempDir /var/cups
Port 631
RIPCache 512k
TempDir /var/cups
Port 631