cups: enable relro/libressl; disable gnutls/gss.

This commit is contained in:
Juan RP 2014-07-15 20:09:53 +02:00
parent c90069fcfc
commit f75c0386a9
1 changed files with 8 additions and 7 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'cups'
pkgname=cups
version=1.7.3
revision=1
revision=2
patch_args="-Np1"
short_desc="Common Unix Printing System"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -11,9 +11,10 @@ distfiles="http://www.cups.org/software/${version}/cups-${version}-source.tar.gz
checksum=e8e24c45f10b0df4cc7eaa3203a2e88fb1373e5b6ce528243b0b0fd2efa45fe0
hostmakedepends="automake pkg-config poppler-utils"
makedepends="acl-devel libjpeg-turbo-devel libpng-devel>=1.5.10 tiff-devel
openssl-devel pam-devel mit-krb5-devel poppler-devel libusb-devel avahi-libs-devel
systemd-devel gnutls-devel>=3.1.5 bc"
makedepends="
acl-devel libjpeg-turbo-devel libpng-devel>=1.5.10 tiff-devel
libressl-devel pam-devel poppler-devel libusb-devel avahi-libs-devel
systemd-devel bc"
depends="libcups>=${version}_${revision} cups-filters bc"
systemd_services="cups.socket on"
conf_files="
@ -40,9 +41,9 @@ do_configure() {
./configure ${configure_args} --libdir=/usr/lib \
--enable-acl --enable-dbus --enable-raw-printing \
--enable-threads --with-logdir=/var/log/cups \
--with-docdir=/usr/share/cups/doc \
--with-cups-user=daemon --with-cups-group=lp \
--enable-avahi --enable-pam --enable-ssl=yes --enable-gnutls \
--with-docdir=/usr/share/cups/doc --disable-gssapi \
--with-cups-user=daemon --with-cups-group=lp --enable-relro \
--enable-avahi --enable-pam --enable-openssl --disable-gnutls \
--with-systemdsystemunitdir=/usr/lib/systemd/system \
--with-menudir=/usr/share/applications \
--with-optim="${CFLAGS}"