[arch-commits] Commit in hplip/trunk (PKGBUILD)

Tom Gundersen tomegun at archlinux.org
Fri Nov 30 14:31:07 UTC 2012


    Date: Friday, November 30, 2012 @ 09:31:06
  Author: tomegun
Revision: 172168

upgpkg: hplip 3.12.11-2

remove world-writeable bit from /var/log/hp{,/tmp}

See https://bugs.launchpad.net/hplip/+bug/1016507

Modified:
  hplip/trunk/PKGBUILD

----------+
 PKGBUILD |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-11-30 14:16:54 UTC (rev 172167)
+++ PKGBUILD	2012-11-30 14:31:06 UTC (rev 172168)
@@ -5,7 +5,7 @@
 
 pkgname=hplip
 pkgver=3.12.11
-pkgrel=1
+pkgrel=2
 pkgdesc="Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and some LaserJet"
 arch=('i686' 'x86_64')
 url="http://hplipopensource.com"
@@ -86,6 +86,8 @@
  rm -rf "$pkgdir"/etc/{sane.d,xdg}
  # remove HAL .fdi file because HAL is no longer used
  rm -rf "$pkgdir"/usr/share/hal
+ # log dir should not be world writeable
+ chmod 775 "$pkgdir"/var/log/hp{,/tmp}
 }
 md5sums=('6caadc4a9e49076c284b146e2dce2937'
          '835d3b854d097f229a32291338fa2320'




More information about the arch-commits mailing list