[packages] cups: change user:group from root:root to nobody:nogroup (closes: #7180), disable dns-sd, launchd, ldap & tiff support explicitly, bumb release number

git-svn-id: svn://svn.openwrt.org/openwrt/packages@20981 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2010-04-18 12:37:48 +00:00
parent bac4123a5f
commit 4f352f64c7
2 changed files with 10 additions and 7 deletions

View 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. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=cups PKG_NAME:=cups
PKG_VERSION:=1.4.2 PKG_VERSION:=1.4.2
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-source.tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-source.tar.bz2
PKG_SOURCE_URL:= \ PKG_SOURCE_URL:= \
@ -46,14 +46,17 @@ endef
define Build/Configure define Build/Configure
$(call Build/Configure/Default, \ $(call Build/Configure/Default, \
--with-cups-user=root \ --with-cups-user="nobody" \
--with-cups-group=root \ --with-cups-group="nogroup" \
--without-perl \ --without-perl \
--without-python \ --without-python \
--without-php \ --without-php \
--enable-shared \ --enable-shared \
--enable-image \ --enable-image \
--disable-dbus \ --disable-dbus \
--disable-dnssd \
--disable-launchd \
--disable-ldap \
--disable-pam \ --disable-pam \
--disable-slp \ --disable-slp \
--disable-gnutls \ --disable-gnutls \
@ -61,7 +64,7 @@ define Build/Configure
--disable-cdsassl \ --disable-cdsassl \
--disable-ssl \ --disable-ssl \
--disable-gssapi \ --disable-gssapi \
--disable-slp, \ --disable-tiff, \
UNAME="Linux" \ UNAME="Linux" \
LIBS="$(TARGET_LDFLAGS) -lz -lpng -ljpeg" \ LIBS="$(TARGET_LDFLAGS) -lz -lpng -ljpeg" \
) )

View File

@ -23,8 +23,8 @@ MaxPrinterHistory 10
#PrintcapFormat BSD #PrintcapFormat BSD
RequestRoot /var/cups RequestRoot /var/cups
#RemoteRoot remroot #RemoteRoot remroot
User root User nobody
Group root Group nogroup
RIPCache 512k RIPCache 512k
TempDir /var/cups TempDir /var/cups
Port 631 Port 631