diff options
author | Timo Gurr <tgurr@gentoo.org> | 2010-09-11 12:10:19 +0000 |
---|---|---|
committer | Timo Gurr <tgurr@gentoo.org> | 2010-09-11 12:10:19 +0000 |
commit | d00d7697f59e1586c2cdb57bdcb7118a923d12ab (patch) | |
tree | 63b3e290e5713905507f686bbc0fd9b794433662 /net-print | |
parent | ppc stable #335817 (diff) | |
download | historical-d00d7697f59e1586c2cdb57bdcb7118a923d12ab.tar.gz historical-d00d7697f59e1586c2cdb57bdcb7118a923d12ab.tar.bz2 historical-d00d7697f59e1586c2cdb57bdcb7118a923d12ab.zip |
Revbump, fixing bug #296221.
Package-Manager: portage-2.2_rc78/cvs/Linux x86_64
Diffstat (limited to 'net-print')
-rw-r--r-- | net-print/cups/ChangeLog | 11 | ||||
-rw-r--r-- | net-print/cups/Manifest | 10 | ||||
-rw-r--r-- | net-print/cups/cups-1.4.4-r2.ebuild (renamed from net-print/cups/cups-1.4.4-r1.ebuild) | 50 | ||||
-rw-r--r-- | net-print/cups/cups-1.4.4.ebuild | 196 | ||||
-rw-r--r-- | net-print/cups/files/cups-1.4.4-dont-compress-manpages.patch | 20 | ||||
-rw-r--r-- | net-print/cups/files/cups-1.4.4-fix-install-perms.patch | 22 | ||||
-rw-r--r-- | net-print/cups/files/cups-1.4.4-nostrip.patch | 14 | ||||
-rw-r--r-- | net-print/cups/files/cups-1.4.4-php-destdir.patch | 21 |
8 files changed, 118 insertions, 226 deletions
diff --git a/net-print/cups/ChangeLog b/net-print/cups/ChangeLog index 53a2b1682145..25c24ce6baab 100644 --- a/net-print/cups/ChangeLog +++ b/net-print/cups/ChangeLog @@ -1,6 +1,15 @@ # 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.397 2010/09/10 23:39:15 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-print/cups/ChangeLog,v 1.398 2010/09/11 12:10:19 tgurr Exp $ + +*cups-1.4.4-r2 (11 Sep 2010) + + 11 Sep 2010; Timo Gurr <tgurr@gentoo.org> -cups-1.4.4.ebuild, + -cups-1.4.4-r1.ebuild, +cups-1.4.4-r2.ebuild, + +files/cups-1.4.4-dont-compress-manpages.patch, + +files/cups-1.4.4-fix-install-perms.patch, + +files/cups-1.4.4-nostrip.patch, +files/cups-1.4.4-php-destdir.patch: + Revbump, fixing bug #296221. 10 Sep 2010; Tomáš Chvátal <scarabeus@gentoo.org> cups-1.4.4-r1.ebuild: Revision bump again. This time with mimimalistic patches only altering diff --git a/net-print/cups/Manifest b/net-print/cups/Manifest index 57ff73e703c5..208406eabe2a 100644 --- a/net-print/cups/Manifest +++ b/net-print/cups/Manifest @@ -6,14 +6,16 @@ AUX cups-1.3.11-str3401-security-1.3v2-regression.patch 871 RMD160 bb08b55e8d613 AUX cups-1.3.7-backend-https.patch 450 RMD160 9a1ad48d2be40c89510ccc512649f0a2eb5543b0 SHA1 d3dd55fcdee47855d6b7c1443adb6c2b3d8c9cdb SHA256 060f929ae3eae5dc411ce6352a0d50c3296b013974f034fc2ad8d6bb0c81b45a AUX cups-1.4.0-backend-https.patch 483 RMD160 b338f67ebf0719b5e12eaa8490affbd7a1bb8c0e SHA1 bfeadba67792203d654a64bdec16f3d2a31aeca6 SHA256 9060a5d848d6655db4629822d01fd772a3fbe1a5107109c50cb0ecb4de7a9526 AUX cups-1.4.2-str3200.patch 1654 RMD160 cc40d26f7e9dbe5a12d9426535d09de10254da26 SHA1 b330108bcfb8ca3ab5d6dd3b48dc3d2937c7bca1 SHA256 8a64f5c72d64ecd95d330fd90630eb02a67865c07921ecb0c010e84b49b537e0 +AUX cups-1.4.4-dont-compress-manpages.patch 580 RMD160 cbc2bf11025c1f27286bd7f2ece7ba76be6aa7ee SHA1 d7b2447263724eeb092b8cfc8ce54553ad1e5e11 SHA256 cdefd273dcdc78aa5fe14bb0246e25572da7d28a91de5c7ac8be2a0bdd915860 +AUX cups-1.4.4-fix-install-perms.patch 838 RMD160 206bd49e918bab96d24ca72f85f679d3c9122975 SHA1 6e8ef0f3e5c0efa636b4d2324bab2c8edc9461db SHA256 66e68f3bebd7339434e3de99582190d0bedce4b2e5370ff65104cc863daee6c2 +AUX cups-1.4.4-nostrip.patch 487 RMD160 27fe9a5512abb3496416e492dc4ec4fcd9c733c2 SHA1 2a1b6e7b718a5feb5921f38ec02f37b9d0edd310 SHA256 b96448896f08c5f91d5afb0c093f2638a262d1c45e716c29d5164cefee18bc61 +AUX cups-1.4.4-php-destdir.patch 679 RMD160 1b15d42373a952a608a01cb8c97efbbd3c78ac77 SHA1 e312bbae57224dead45284f9c62942b1a25282fc SHA256 d5126c5e917d8c41c7a4da1477800edd4aa752aaa4c6a67a73adbe1e3b050110 AUX cupsd.init.d 293 RMD160 19fbef21cee7e472e7028f3101b680baa0089c54 SHA1 e6b27b2638fec258fe2f55c926c2530e909ca3d2 SHA256 b4268a6bae95e96b6af21c3716ecc905073736ce7dc33be1489d574a447f3c48 AUX pdftops-1.20.gentoo 10412 RMD160 16e229662c47e03af1d1f4cb5764a76d17a66642 SHA1 6afb8a655b6ff013a2c8c8cbfb615ba1e561503b SHA256 ac5fa01ca776d75bd7cef62eef9f6b0c3945ee87e8950b40ca9f9f3ff46a16c1 DIST cups-1.3.11-source.tar.bz2 3799393 RMD160 a0646f2ba29fbd39d211ea5c3fdbd24a00f66a78 SHA1 df5cfb64fb608fc128acadde670dc30af49bdb18 SHA256 5e310fd324a15fae1e1c9721879f5c948d788e04735a5263a40c6146fff607b8 -DIST cups-1.4.4-gentoopatches-001.tar.bz2 6570 RMD160 d9072fba2766d19655ea4dbb3f45fe90a6f96ab2 SHA1 4fb9c5998f2f52aef519632858f083acb9f7ee84 SHA256 081f920b9ba3d3cc6b78bc167ef22ce9641e4ef894a90758e6219e9bc3f02c8b DIST cups-1.4.4-source.tar.bz2 4472741 RMD160 1f486acda02e83b6824f8ca33b74c02ff3f01994 SHA1 3e179c007fa6cd6874b60ff18a6f48070547a00a SHA256 d25ffa35add3abeeec0eba60be2cffc89425b649c64ef3a73dfc724683a59aa3 EBUILD cups-1.3.11-r1.ebuild 8236 RMD160 3d691e0cd89724f2f167c0df9b0709ebd5d1c568 SHA1 670d92532d1b436470e851e8fa3df90d3c0575f8 SHA256 cfce6af026847d98ed64c8ceb2c4114d2df6e896c6f2b0ab3605f9c1755701b7 EBUILD cups-1.3.11-r2.ebuild 8431 RMD160 f57db7c53959e8f2e9f334019552210d662982d8 SHA1 a046c3c5255a9ac4e1c1c2b19d511e0aaac8d102 SHA256 c10dc5a854f9b859c236c29c09c87d3467c191bbad455eaa5d22d672e3166e6e -EBUILD cups-1.4.4-r1.ebuild 5832 RMD160 fb6f8b15ac2d62920c2e7c0ad864135f3b348b3c SHA1 9c6c8ff2ade4e19c4b581239eaba5a08793d1787 SHA256 d354d91393519ff238edcf2223dac337744b17b6ac0813c898a6667e1f8d5133 -EBUILD cups-1.4.4.ebuild 5397 RMD160 a9112da2f66517b0735abafcb26e621fcb4bb0d7 SHA1 178b4523d05a8e653fe1eb534cc142a14db89cff SHA256 3c4636515f29c0cea04d56f570852f1df47e2aff648ba52577dd9d835e402e3d -MISC ChangeLog 58963 RMD160 2e0b1efb6609f8a91958bf6c3e586f7b02ffdcd9 SHA1 0f9befc17799425dafb8d07a58eb17c9214e1700 SHA256 5d8aa0e94d69c6b55868e6516dbc126f4061f7deff5876cc79a94d52c5acf92a +EBUILD cups-1.4.4-r2.ebuild 6096 RMD160 01307daa69eaf17c301223a6ed8cadcaf256af5a SHA1 e50c1ea6d067dd3db5470023c5363d4d54e07c4a SHA256 2228dcc49fa38d1dd6f0e97d824069560f9956a635337186751c4a3a17c72fc0 +MISC ChangeLog 59300 RMD160 68d50a3201b59f354a13ae64422b1fd77fb4a590 SHA1 2101858e7af16596fe37536b40287fb128d7c86f SHA256 bdb4f5368665be2c7cc62093af04e3ac323396f2fd255b9c1801397864130531 MISC metadata.xml 161 RMD160 1e5b1e42553c8869b93c4a5448e9a2a2ed9fe525 SHA1 209c6a46e4cdd891980115e42ba419e3799f8088 SHA256 7c85e6739a71f5bb23e8de36c88677d772946e61f7285892f7554e37bd2bca76 diff --git a/net-print/cups/cups-1.4.4-r1.ebuild b/net-print/cups/cups-1.4.4-r2.ebuild index d12f3daabefb..d8ac38b7580a 100644 --- a/net-print/cups/cups-1.4.4-r1.ebuild +++ b/net-print/cups/cups-1.4.4-r2.ebuild @@ -1,27 +1,24 @@ # 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.4-r1.ebuild,v 1.3 2010/09/10 23:39:15 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-print/cups/cups-1.4.4-r2.ebuild,v 1.1 2010/09/11 12:10:19 tgurr Exp $ EAPI=3 PYTHON_DEPEND="python? 2:2.5" RESTRICT_PYTHON_ABIS="3.*" -MY_P=${P/_} -PATCH_VERSION=001 -SRC_PATCHES="http://gentoo.ccss.cz/${P}-gentoopatches-${PATCH_VERSION}.tar.bz2" - inherit autotools eutils flag-o-matic multilib pam perl-module python versionator java-pkg-opt-2 +MY_P=${P/_} + DESCRIPTION="The Common Unix Printing System" HOMEPAGE="http://www.cups.org/" -SRC_URI="mirror://easysw/${PN}/${PV}/${MY_P}-source.tar.bz2 - ${SRC_PATCHES}" +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="X acl dbus debug gnutls java +jpeg kerberos ldap pam perl php +png python samba slp +ssl static +threads +tiff +usb xinetd" +IUSE="acl dbus debug gnutls java +jpeg kerberos ldap pam perl php +png python samba slp +ssl static-libs +threads +tiff +usb X xinetd" 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 @@ -31,7 +28,6 @@ done RDEPEND=" app-text/libpaper dev-libs/libgcrypt - X? ( x11-misc/xdg-utils ) acl? ( kernel_linux? ( sys-apps/acl @@ -54,18 +50,22 @@ RDEPEND=" ) tiff? ( >=media-libs/tiff-3.5.5 ) usb? ( virtual/libusb:0 ) + X? ( x11-misc/xdg-utils ) xinetd? ( sys-apps/xinetd ) + !net-print/cupsddk " DEPEND="${RDEPEND} dev-util/pkgconfig - java? ( >=virtual/jdk-1.6 ) " + PDEPEND=" app-text/ghostscript-gpl[cups] >=app-text/poppler-0.12.3-r3[utils] " +PROVIDE="virtual/lpr" + # upstream includes an interactive test which is a nono for gentoo. RESTRICT="test" @@ -82,12 +82,13 @@ pkg_setup() { } src_prepare() { - if [[ -n ${SRC_PATCHES} ]]; then - EPATCH_FORCE="yes" \ - EPATCH_SOURCE="${WORKDIR}/patches" \ - EPATCH_SUFFIX="patch" \ - epatch - fi + # create a missing symlink to allow https printing via IPP, bug #217293 + epatch "${FILESDIR}/${PN}-1.4.0-backend-https.patch" + # various build time fixes + epatch "${FILESDIR}/${PN}-1.4.4-dont-compress-manpages.patch" + epatch "${FILESDIR}/${PN}-1.4.4-fix-install-perms.patch" + epatch "${FILESDIR}/${PN}-1.4.4-nostrip.patch" + epatch "${FILESDIR}/${PN}-1.4.4-php-destdir.patch" AT_M4DIR=config-scripts eaclocal eautoconf @@ -134,7 +135,7 @@ src_configure() { $(use_enable pam) \ $(use_enable png) \ $(use_enable slp) \ - $(use_enable static) \ + $(use_enable static-libs static) \ $(use_enable threads) \ $(use_enable tiff) \ $(use_enable usb libusb) \ @@ -144,6 +145,7 @@ src_configure() { $(use_with python) \ $(use_with xinetd xinetd /etc/xinetd.d) \ --enable-libpaper \ + --disable-dnssd \ ${myconf} # install in /usr/libexec always, instead of using /usr/lib/cups, as that @@ -156,15 +158,13 @@ src_configure() { src_compile() { emake || die "emake failed" - # perl - if use perl; then + if use perl ; then cd "${S}"/scripting/perl perl-module_src_prep perl-module_src_compile fi - # php - if use php; then + if use php ; then cd "${S}"/scripting/php emake || die "emake php failed" fi @@ -174,15 +174,13 @@ src_install() { emake BUILDROOT="${D}" install || die "emake install failed" dodoc {CHANGES,CREDITS,README}.txt || die "dodoc install failed" - # perl - if use perl; then + if use perl ; then cd "${S}"/scripting/perl perl-module_src_install fixlocalpod fi - # php - if use php; then + if use php ; then cd "${S}"/scripting/php emake DESTDIR="${D}" install || die "emake install for php bindings failed" fi @@ -211,6 +209,8 @@ src_install() { # it is safer to disable this by default, bug #137130 grep -w 'disable' "${D}"/etc/xinetd.d/cups-lpd || \ { sed -i -e "s:}:\tdisable = yes\n}:" "${D}"/etc/xinetd.d/cups-lpd || die ; } + # write permission for file owner (root), bug #296221 + fperms u+w /etc/xinetd.d/cups-lpd || die "fperms failed" else rm -rf "${D}"/etc/xinetd.d fi diff --git a/net-print/cups/cups-1.4.4.ebuild b/net-print/cups/cups-1.4.4.ebuild deleted file mode 100644 index 37f512eca4f5..000000000000 --- a/net-print/cups/cups-1.4.4.ebuild +++ /dev/null @@ -1,196 +0,0 @@ -# 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.4.ebuild,v 1.3 2010/07/30 22:32:11 anarchy Exp $ - -EAPI="2" - -inherit autotools eutils flag-o-matic multilib pam versionator - -MY_P=${P/_} - -DESCRIPTION="The Common Unix Printing System" -HOMEPAGE="http://www.cups.org/" -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 +threads +tiff +usb X xinetd" - -COMMON_DEPEND=" - app-text/libpaper - dev-libs/libgcrypt - acl? ( - kernel_linux? ( - sys-apps/acl - sys-apps/attr - ) - ) - dbus? ( sys-apps/dbus ) - gnutls? ( net-libs/gnutls ) - java? ( >=virtual/jre-1.4 ) - jpeg? ( >=media-libs/jpeg-6b:0 ) - kerberos? ( virtual/krb5 ) - ldap? ( net-nds/openldap ) - pam? ( virtual/pam ) - perl? ( dev-lang/perl ) - php? ( dev-lang/php ) - png? ( >=media-libs/libpng-1.2.1 ) - python? ( dev-lang/python ) - slp? ( >=net-libs/openslp-1.0.4 ) - ssl? ( - !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}" - -RDEPEND="${COMMON_DEPEND} - !net-print/cupsddk - !virtual/lpr - X? ( x11-misc/xdg-utils ) -" -PDEPEND=" - app-text/ghostscript-gpl[cups] - >=app-text/poppler-0.12.3-r3[utils] -" - -PROVIDE="virtual/lpr" - -# upstream includes an interactive test which is a nono for gentoo. -# therefore, since the printing herd has bigger fish to fry, for now, -# we just leave it out, even if FEATURES=test -RESTRICT="test" - -S="${WORKDIR}/${MY_P}" - -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 - -pkg_setup() { - enewgroup lp - enewuser lp -1 -1 -1 lp - enewgroup lpadmin 106 -} - -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" - - AT_M4DIR=config-scripts eaclocal - eautoconf -} - -src_configure() { - export DSOFLAGS="${LDFLAGS}" - - # locale support - strip-linguas ${LANGS} - if [ -z "${LINGUAS}" ] ; then - export LINGUAS=none - fi - - local myconf - if use ssl || use gnutls ; then - myconf="${myconf} \ - $(use_enable gnutls) \ - $(use_enable !gnutls openssl)" - else - myconf="${myconf} \ - --disable-gnutls \ - --disable-openssl" - fi - - econf \ - --libdir=/usr/$(get_libdir) \ - --localstatedir=/var \ - --with-cups-user=lp \ - --with-cups-group=lp \ - --with-docdir=/usr/share/cups/html \ - --with-languages="${LINGUAS}" \ - --with-pdftops=/usr/bin/pdftops \ - --with-system-groups=lpadmin \ - $(use_enable acl) \ - $(use_enable dbus) \ - $(use_enable debug) \ - $(use_enable debug debug-guards) \ - $(use_enable jpeg) \ - $(use_enable kerberos gssapi) \ - $(use_enable ldap) \ - $(use_enable pam) \ - $(use_enable png) \ - $(use_enable slp) \ - $(use_enable static) \ - $(use_enable threads) \ - $(use_enable tiff) \ - $(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 \ - --disable-dnssd \ - ${myconf} - - # install in /usr/libexec always, instead of using /usr/lib/cups, as that - # makes more sense when facing multilib support. - sed -i -e 's:SERVERBIN.*:SERVERBIN = "$(BUILDROOT)"/usr/libexec/cups:' Makedefs - sed -i -e 's:#define CUPS_SERVERBIN.*:#define CUPS_SERVERBIN "/usr/libexec/cups":' config.h - sed -i -e 's:cups_serverbin=.*:cups_serverbin=/usr/libexec/cups:' cups-config -} - -src_install() { - emake BUILDROOT="${D}" install || die "emake install failed" - dodoc {CHANGES,CREDITS,README}.txt || die "dodoc install failed" - - # clean out cups init scripts - rm -rf "${D}"/etc/{init.d/cups,rc*,pam.d/cups} - - # install our init script - local neededservices - use dbus && neededservices="$neededservices dbus" - [[ -n ${neededservices} ]] && neededservices="need${neededservices}" - sed -e "s/@neededservices@/$neededservices/" "${FILESDIR}"/cupsd.init.d > "${T}"/cupsd - doinitd "${T}"/cupsd || die "doinitd failed" - - # install our pam script - pamd_mimic_system cups auth account - - if use xinetd ; then - # correct path - sed -i -e "s:server = .*:server = /usr/libexec/cups/daemon/cups-lpd:" "${D}"/etc/xinetd.d/cups-lpd - # it is safer to disable this by default, bug #137130 - grep -w 'disable' "${D}"/etc/xinetd.d/cups-lpd || \ - sed -i -e "s:}:\tdisable = yes\n}:" "${D}"/etc/xinetd.d/cups-lpd - else - rm -rf "${D}"/etc/xinetd.d - fi - - keepdir /usr/libexec/cups/driver /usr/share/cups/{model,profiles} \ - /var/cache/cups /var/cache/cups/rss /var/log/cups /var/run/cups/certs \ - /var/spool/cups/tmp - - keepdir /etc/cups/{interfaces,ppd,ssl} - - use X || rm -r "${D}"/usr/share/applications - - # create /etc/cups/client.conf, bug #196967 and #266678 - echo "ServerName /var/run/cups/cups.sock" >> "${D}"/etc/cups/client.conf -} - -pkg_postinst() { - echo - elog "For information about installing a printer and general cups setup" - elog "take a look at: http://www.gentoo.org/doc/en/printing-howto.xml" - echo -} diff --git a/net-print/cups/files/cups-1.4.4-dont-compress-manpages.patch b/net-print/cups/files/cups-1.4.4-dont-compress-manpages.patch new file mode 100644 index 000000000000..4a639c0223b9 --- /dev/null +++ b/net-print/cups/files/cups-1.4.4-dont-compress-manpages.patch @@ -0,0 +1,20 @@ +# Source: Fedora + +diff -up cups-1.4b2-svn8404/config-scripts/cups-manpages.m4.no-gzip-man cups-1.4b2-svn8404/config-scripts/cups-manpages.m4 +--- cups-1.4b2-svn8404/config-scripts/cups-manpages.m4.no-gzip-man 2009-01-16 08:58:42.000000000 +0000 ++++ cups-1.4b2-svn8404/config-scripts/cups-manpages.m4 2009-03-05 11:11:12.000000000 +0000 +@@ -69,10 +69,10 @@ case "$uname" in + ;; + Linux* | GNU* | Darwin*) + # Linux, GNU Hurd, and Mac OS X +- MAN1EXT=1.gz +- MAN5EXT=5.gz +- MAN7EXT=7.gz +- MAN8EXT=8.gz ++ MAN1EXT=1 ++ MAN5EXT=5 ++ MAN7EXT=7 ++ MAN8EXT=8 + MAN8DIR=8 + ;; + *) diff --git a/net-print/cups/files/cups-1.4.4-fix-install-perms.patch b/net-print/cups/files/cups-1.4.4-fix-install-perms.patch new file mode 100644 index 000000000000..726f030ac35e --- /dev/null +++ b/net-print/cups/files/cups-1.4.4-fix-install-perms.patch @@ -0,0 +1,22 @@ +# Source: Fedora + +diff -up cups-1.4.2/Makedefs.in.0755 cups-1.4.2/Makedefs.in +--- cups-1.4.2/Makedefs.in.0755 2010-01-13 17:06:48.507913044 +0000 ++++ cups-1.4.2/Makedefs.in 2010-01-13 17:07:10.049912905 +0000 +@@ -41,13 +41,13 @@ SHELL = /bin/sh + # Installation programs... + # + +-INSTALL_BIN = $(LIBTOOL) $(INSTALL) -c -m 555 @INSTALL_STRIP@ ++INSTALL_BIN = $(LIBTOOL) $(INSTALL) -c -m 755 @INSTALL_STRIP@ + INSTALL_CONFIG = $(INSTALL) -c -m @CUPS_CONFIG_FILE_PERM@ + INSTALL_DATA = $(INSTALL) -c -m 444 + INSTALL_DIR = $(INSTALL) -d +-INSTALL_LIB = $(LIBTOOL) $(INSTALL) -c -m 555 @INSTALL_STRIP@ ++INSTALL_LIB = $(LIBTOOL) $(INSTALL) -c -m 755 @INSTALL_STRIP@ + INSTALL_MAN = $(INSTALL) -c -m 444 +-INSTALL_SCRIPT = $(INSTALL) -c -m 555 ++INSTALL_SCRIPT = $(INSTALL) -c -m 755 + + # + # Default user, group, and system groups for the scheduler... diff --git a/net-print/cups/files/cups-1.4.4-nostrip.patch b/net-print/cups/files/cups-1.4.4-nostrip.patch new file mode 100644 index 000000000000..cd2b07042cec --- /dev/null +++ b/net-print/cups/files/cups-1.4.4-nostrip.patch @@ -0,0 +1,14 @@ +# Source: Gentoo + +diff -urN cups-1.4.4/config-scripts/cups-compiler.m4 cups-1.4.4.new/config-scripts/cups-compiler.m4 +--- cups-1.4.4/config-scripts/cups-compiler.m4 2009-05-17 02:13:47.000000000 +0200 ++++ cups-1.4.4.new/config-scripts/cups-compiler.m4 2010-08-12 19:19:45.937020635 +0200 +@@ -30,7 +30,7 @@ + if test x$enable_debug = xyes; then + OPTIM="-g" + else +- INSTALL_STRIP="-s" ++ INSTALL_STRIP="" + fi + + dnl Debug printfs can slow things down, so provide a separate option for that diff --git a/net-print/cups/files/cups-1.4.4-php-destdir.patch b/net-print/cups/files/cups-1.4.4-php-destdir.patch new file mode 100644 index 000000000000..01a64c83f797 --- /dev/null +++ b/net-print/cups/files/cups-1.4.4-php-destdir.patch @@ -0,0 +1,21 @@ +# Source: Gentoo + +diff -urN cups-1.4.4/scripting/php/Makefile cups-1.4.4.new//scripting/php/Makefile +--- cups-1.4.4/scripting/php/Makefile 2008-08-27 23:12:43.000000000 +0200 ++++ cups-1.4.4.new//scripting/php/Makefile 2010-08-13 10:32:35.764063909 +0200 +@@ -95,11 +95,11 @@ + + install-exec: + echo Installing $(PHPCUPS) in $(PHPDIR) +- $(INSTALL_DIR) $(PHPDIR) +- $(INSTALL_LIB) $(PHPCUPS) $(PHPDIR) ++ $(INSTALL_DIR) $(DESTDIR)/$(PHPDIR) ++ $(INSTALL_LIB) $(PHPCUPS) $(DESTDIR)/$(PHPDIR) + if test "x$(SYMROOT)" != x; then \ +- $(INSTALL_DIR) $(SYMROOT); \ +- cp $(PHPCUPS) $(SYMROOT); \ ++ $(INSTALL_DIR) $(DESTDIR)/$(SYMROOT); \ ++ cp $(PHPCUPS) $(DESTDIR)/$(SYMROOT); \ + fi + + |