[arch-commits] CVS update of extra/modules/fglrx-utils (PKGBUILD)
Travis Willard
travis at archlinux.org
Fri Aug 3 03:33:01 UTC 2007
Date: Thursday, August 2, 2007 @ 23:33:00
Author: travis
Path: /home/cvs-extra/extra/modules/fglrx-utils
Modified: PKGBUILD (1.7 -> 1.8)
upgpkg: fglrx-utils 8.39.4-4
Fixing a bunch of borked permissions. Thanks ATI.
----------+
PKGBUILD | 25 +++++++++++++++++++------
1 file changed, 19 insertions(+), 6 deletions(-)
Index: extra/modules/fglrx-utils/PKGBUILD
diff -u extra/modules/fglrx-utils/PKGBUILD:1.7 extra/modules/fglrx-utils/PKGBUILD:1.8
--- extra/modules/fglrx-utils/PKGBUILD:1.7 Tue Jul 31 00:28:53 2007
+++ extra/modules/fglrx-utils/PKGBUILD Thu Aug 2 23:33:00 2007
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD,v 1.7 2007/07/31 04:28:53 travis Exp $
+# $Id: PKGBUILD,v 1.8 2007/08/03 03:33:00 travis Exp $
# Maintainer: Travis Willard <travisw at wmpub.ca>
# Thanks to dibblethewrecker for the original work and packages.
@@ -6,7 +6,7 @@
pkgname=fglrx-utils
pkgver=8.39.4
-pkgrel=3
+pkgrel=4
pkgdesc="Proprietary userspace tools and libraries for the AMD/ATI RADEON (9500 and later), \
MOBILITY RADEON (M10 and later), RADEON XPRESS IGP and FireGL (Z1 and later) video cards."
arch=('i686' 'x86_64')
@@ -104,17 +104,30 @@
# correct dir permissions
find $startdir/pkg/usr -type d -exec chmod 755 {} \;
+ # correct FILE permissions - 8.39.4 has nearly every file marked 0744. This
+ # is dumb, and previous versions of the drivers had no files marked this
+ # way. Fixing permissions of files to what they were in 8.38.6
+ find $startdir/pkg/etc -not -type d -exec chmod 0444 {} \;
+ find $startdir/pkg/etc -name '*.sh' -not -type d -exec chmod a+x {} \;
+ chmod u+w $startdir/pkg/etc/{ati/control,acpi/ati-powermode.sh}
+ find $startdir/pkg/usr/{bin,lib,sbin} -not -type d -exec chmod 0755 {} \;
+ chmod 0555 $startdir/pkg/usr/sbin/atigetsysteminfo.sh
+ find $startdir/pkg/usr/lib -name '*.a' -not -type d -exec chmod 0644 {} \;
+ find $startdir/pkg/usr/{share,include} -not -type d -exec chmod 0444 {} \;
+ find $startdir/pkg/usr/share/ati/amdcccle/ -name '*.qm' -not -type d -exec chmod 0644 {} \;
+ find $startdir/pkg/usr/share/man -not -type d -exec chmod 0644 {} \;
+
# install licenses
- install -m644 -D $startdir/src/archive_files/ATI_LICENSE.TXT \
+ install -m 0644 -D $startdir/src/archive_files/ATI_LICENSE.TXT \
$startdir/pkg/usr/share/licenses/fglrx/AMD_ATI_LICENSE.TXT
# create DE file
- install -m 755 -D $startdir/src/amdcccle.desktop \
+ install -m 0755 -D $startdir/src/amdcccle.desktop \
$startdir/pkg/usr/share/applications/amdcccle.desktop
# thanks to cerebral, we dont need that damned symlink
- install -m 755 -D $startdir/src/fglrx.sh \
+ install -m 0755 -D $startdir/src/fglrx.sh \
$startdir/pkg/etc/profile.d/fglrx.sh
# Add ATI Events Daemon launcher
- install -m 755 -D $startdir/src/atieventsd.sh \
+ install -m 0755 -D $startdir/src/atieventsd.sh \
$startdir/pkg/etc/rc.d/atieventsd
}
More information about the arch-commits
mailing list