cups: change user:group from root:root to nobody:nogroup (closes: #7180), disable...
authorNicolas Thill <nico@openwrt.org>
Sun, 18 Apr 2010 12:37:48 +0000 (12:37 +0000)
committerNicolas Thill <nico@openwrt.org>
Sun, 18 Apr 2010 12:37:48 +0000 (12:37 +0000)
SVN-Revision: 20981

net/cups/Makefile
net/cups/files/etc/cups/cupsd.conf

index 1a2b969a2c8284640b6a1ab4f7d71c2fa44d33f4..f453fa32f32437958c2e2cd7ccad26923d1f0852 100644 (file)
@@ -1,5 +1,5 @@
 #
-# 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.
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=cups
 PKG_VERSION:=1.4.2
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-source.tar.bz2
 PKG_SOURCE_URL:= \
@@ -46,14 +46,17 @@ endef
 
 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 \
+               --disable-dnssd \
+               --disable-launchd \
+               --disable-ldap \
                --disable-pam \
                --disable-slp \
                --disable-gnutls \
@@ -61,7 +64,7 @@ define Build/Configure
                --disable-cdsassl \
                --disable-ssl \
                --disable-gssapi \
-               --disable-slp, \
+               --disable-tiff, \
                UNAME="Linux" \
                LIBS="$(TARGET_LDFLAGS) -lz -lpng -ljpeg" \
        )
index 0bef5d97a4bebaee16a0f9bb24313d774283ef36..79ad9449b106acf75fcdb605abc267975a87e39b 100644 (file)
@@ -23,8 +23,8 @@ MaxPrinterHistory 10
 #PrintcapFormat BSD
 RequestRoot /var/cups
 #RemoteRoot remroot
-User root
-Group root
+User nobody
+Group nogroup
 RIPCache 512k
 TempDir /var/cups
 Port 631