summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Gurr <tgurr@gentoo.org>2010-03-31 23:01:18 +0000
committerTimo Gurr <tgurr@gentoo.org>2010-03-31 23:01:18 +0000
commit91d31448af1454ffc0d4e80d2582009b52a0ba5b (patch)
treef6010ab5cd85dfa22d0fd952f1262d5f2fababdb /net-print
parentRemove old KDE versions. (diff)
downloadgentoo-2-91d31448af1454ffc0d4e80d2582009b52a0ba5b.tar.gz
gentoo-2-91d31448af1454ffc0d4e80d2582009b52a0ba5b.tar.bz2
gentoo-2-91d31448af1454ffc0d4e80d2582009b52a0ba5b.zip
Version bump, fixing bug #284771 and #295369.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'net-print')
-rw-r--r--net-print/cups/ChangeLog8
-rw-r--r--net-print/cups/cups-1.4.3.ebuild (renamed from net-print/cups/cups-1.4.2-r1.ebuild)31
2 files changed, 22 insertions, 17 deletions
diff --git a/net-print/cups/ChangeLog b/net-print/cups/ChangeLog
index deca972ad556..aa1a8e6b6494 100644
--- a/net-print/cups/ChangeLog
+++ b/net-print/cups/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-print/cups
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/cups/ChangeLog,v 1.380 2010/03/08 22:20:59 reavertm Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/cups/ChangeLog,v 1.381 2010/03/31 23:01:18 tgurr Exp $
+
+*cups-1.4.3 (31 Mar 2010)
+
+ 31 Mar 2010; Timo Gurr <tgurr@gentoo.org> -cups-1.4.2-r1.ebuild,
+ +cups-1.4.3.ebuild:
+ Version bump, fixing bug #284771 and #295369.
08 Mar 2010; Maciej Mrozowski <reavertm@gentoo.org> cups-1.3.11-r1.ebuild,
cups-1.3.11-r2.ebuild, cups-1.4.2-r1.ebuild:
diff --git a/net-print/cups/cups-1.4.2-r1.ebuild b/net-print/cups/cups-1.4.3.ebuild
index 016abcfca388..a2567ded2bdd 100644
--- a/net-print/cups/cups-1.4.2-r1.ebuild
+++ b/net-print/cups/cups-1.4.3.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/cups/cups-1.4.2-r1.ebuild,v 1.5 2010/03/08 22:20:59 reavertm Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/cups/cups-1.4.3.ebuild,v 1.1 2010/03/31 23:01:18 tgurr Exp $
EAPI="2"
-inherit eutils flag-o-matic multilib pam versionator
+inherit autotools eutils flag-o-matic multilib pam versionator
MY_P=${P/_}
@@ -15,12 +15,11 @@ SRC_URI="mirror://easysw/${PN}/${PV}/${MY_P}-source.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
-IUSE="acl dbus debug gnutls java +jpeg kerberos ldap pam perl php +png python samba slp +ssl static +tiff X xinetd"
+IUSE="acl dbus debug gnutls java +jpeg kerberos ldap pam perl php +png python samba slp +ssl static +tiff +usb X xinetd"
COMMON_DEPEND="
app-text/libpaper
dev-libs/libgcrypt
- dev-libs/libusb
acl? (
kernel_linux? (
sys-apps/acl
@@ -43,6 +42,7 @@ COMMON_DEPEND="
!gnutls? ( >=dev-libs/openssl-0.9.8g )
)
tiff? ( >=media-libs/tiff-3.5.5 )
+ usb? ( dev-libs/libusb )
xinetd? ( sys-apps/xinetd )
"
DEPEND="${COMMON_DEPEND}"
@@ -53,10 +53,7 @@ RDEPEND="${COMMON_DEPEND}
X? ( x11-misc/xdg-utils )
"
PDEPEND="
- || (
- app-text/ghostscript-gpl[cups]
- app-text/ghostscript-gnu[cups]
- )
+ app-text/ghostscript-gpl[cups]
>=app-text/poppler-0.12.3-r3[utils]
"
@@ -69,7 +66,7 @@ RESTRICT="test"
S="${WORKDIR}/${MY_P}"
-LANGS="da de es eu fi fr it ja ko nl no pl pt pt_BR ru sv zh zh_TW"
+LANGS="da de es eu fi fr id it ja ko nl no pl pt pt_BR ru sv zh zh_TW"
for X in ${LANGS} ; do
IUSE="${IUSE} linguas_${X}"
done
@@ -81,13 +78,16 @@ pkg_setup() {
}
src_prepare() {
+ # remove default optimizations and do not strip by default
+ sed -e 's:OPTIM="-Os -g":OPTIM="":' \
+ -e 's:INSTALL_STRIP="-s":INSTALL_STRIP="":' \
+ -i config-scripts/cups-compiler.m4
+
# create a missing symlink to allow https printing via IPP, bug #217293
epatch "${FILESDIR}/${PN}-1.4.0-backend-https.patch"
- # CVE-2009-3553: Use-after-free (crash) due improper reference counting
- # in abstract file descriptors handling interface
- # upstream bug STR #3200
- epatch "${FILESDIR}/${PN}-1.4.2-str3200.patch"
+ AT_M4DIR=config-scripts eaclocal
+ eautoconf
}
src_configure() {
@@ -129,15 +129,14 @@ src_configure() {
$(use_enable slp) \
$(use_enable static) \
$(use_enable tiff) \
- $(use_enable xinetd xinetd /etc/xinetd.d) \
+ $(use_enable usb libusb) \
$(use_with java) \
$(use_with perl) \
$(use_with php) \
$(use_with python) \
+ $(use_with xinetd xinetd /etc/xinetd.d) \
--enable-libpaper \
- --enable-libusb \
--enable-threads \
- --enable-pdftops \
--disable-dnssd \
${myconf}