[arch-commits] Commit in abs/trunk (ChangeLog PKGBUILD abs.install)
Allan McRae
allan at archlinux.org
Tue Mar 31 10:56:11 UTC 2009
Date: Tuesday, March 31, 2009 @ 06:56:11
Author: allan
Revision: 32422
upgpkg: abs 2.3.2-1
do not rsync permissions, fix permissions in ABS tree
Added:
abs/trunk/abs.install
Modified:
abs/trunk/ChangeLog
abs/trunk/PKGBUILD
-------------+
ChangeLog | 5 +++++
PKGBUILD | 7 +++----
abs.install | 7 +++++++
3 files changed, 15 insertions(+), 4 deletions(-)
Modified: ChangeLog
===================================================================
--- ChangeLog 2009-03-31 10:55:16 UTC (rev 32421)
+++ ChangeLog 2009-03-31 10:56:11 UTC (rev 32422)
@@ -1,3 +1,8 @@
+2009-03-31 Allan McRae <allan at archlinux.org>
+
+ * 2.3.2-1
+ Fix potential permission issues in the ABS tree
+
2009-03-13 Allan McRae <allan at archlinux.org>
* 2.3.1-1
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-03-31 10:55:16 UTC (rev 32421)
+++ PKGBUILD 2009-03-31 10:56:11 UTC (rev 32422)
@@ -2,7 +2,7 @@
# Maintainer: Allan McRae <allan at archlinux.org>
pkgname=abs
-pkgver=2.3.1
+pkgver=2.3.2
pkgrel=1
pkgdesc="Utilities to download and work with the Arch Build System (ABS)"
arch=('i686' 'x86_64')
@@ -10,8 +10,9 @@
license=('GPL')
depends=('bash' 'rsync')
backup=(etc/abs.conf)
+install=abs.install
source=(ftp://ftp.archlinux.org/other/abs/${pkgname}-${pkgver}.tar.gz)
-md5sums=('fbf9e8d329b336cac85764d2f5096810')
+md5sums=('7adc7b2464bcb80c3162a27a2e169a4a')
build() {
cd ${srcdir}/${pkgname}
@@ -28,5 +29,3 @@
sed -i 's|"i686"|"x86_64"|g' ${pkgdir}/etc/abs.conf
fi
}
-
-# vim: set ts=2 sw=2 noet:
Added: abs.install
===================================================================
--- abs.install (rev 0)
+++ abs.install 2009-03-31 10:56:11 UTC (rev 32422)
@@ -0,0 +1,7 @@
+pre_upgrade() {
+ if [ "$(vercmp $2 2.3.2-1)" -lt 0 ]; then
+ echo "==> Fixing potential ABS tree permission issues (this may take a while...)"
+ find /var/abs/{core,extra,community,testing} -type d -exec chown root:root {} \;
+ find /var/abs/{core,extra,community,testing} -type d -exec chmod 755 {} \;
+ fi
+}
More information about the arch-commits
mailing list