[arch-commits] Commit in dmraid/repos (3 files)

Tobias Powalowski tpowa at archlinux.org
Sun Oct 12 11:03:04 EDT 2008


    Date: Sunday, October 12, 2008 @ 11:03:03
  Author: tpowa
Revision: 15086

Merged revisions 15085 via svnmerge from 
svn+ssh://svn.archlinux.org/home/svn-packages/dmraid/trunk

........
  r15085 | tpowa | 2008-10-12 15:02:13 +0000 (So, 12 Okt 2008) | 1 line
  
  upgpkg: dmraid 1.0.0.rc15-4
........

Added:
  dmraid/repos/testing-x86_64/dmraid.install
    (from rev 15085, dmraid/trunk/dmraid.install)
Modified:
  dmraid/repos/testing-x86_64/	(properties)
  dmraid/repos/testing-x86_64/PKGBUILD

----------------+
 PKGBUILD       |    8 +++-----
 dmraid.install |   22 ++++++++++++++++++++++
 2 files changed, 25 insertions(+), 5 deletions(-)


Property changes on: dmraid/repos/testing-x86_64
___________________________________________________________________
Name: svnmerge-integrated
   - /dmraid/trunk:1-14314
   + /dmraid/trunk:1-15085

Modified: testing-x86_64/PKGBUILD
===================================================================
--- testing-x86_64/PKGBUILD	2008-10-12 15:02:13 UTC (rev 15085)
+++ testing-x86_64/PKGBUILD	2008-10-12 15:03:03 UTC (rev 15086)
@@ -4,7 +4,7 @@
 
 pkgname=dmraid
 pkgver=1.0.0.rc15
-pkgrel=2
+pkgrel=4
 pkgdesc="Device mapper RAID interface"
 url="http://people.redhat.com/~heinzm/sw/dmraid/"
 depends=(device-mapper)
@@ -13,9 +13,7 @@
 source=(http://people.redhat.com/~heinzm/sw/dmraid/src/$pkgname-$pkgver.tar.bz2
         dmraid_install
         dmraid_hook)
-md5sums=('2602887205a35f89b59eeba3a868150f'
-         '8f8b6fb332fce85a27d72fc63385db70'
-	 '8c944cab8c885192a90e518a8d794adf')
+install=dmraid.install
 
 build() {
   cd $srcdir/$pkgname/$pkgver
@@ -23,7 +21,7 @@
   # create static bin
   ./configure --enable-static_link --prefix=/usr
   make || return 1
-  make DESTDIR=$startdir/pkg exec_prefix=$pkgdir/usr install
+  make DESTDIR=$pkgdir exec_prefix=$pkgdir/usr install
   mv $pkgdir/usr/sbin/dmraid $pkgdir/usr/sbin/dmraid.static
 
   # create dynamic linked bin

Copied: dmraid/repos/testing-x86_64/dmraid.install (from rev 15085, dmraid/trunk/dmraid.install)
===================================================================
--- testing-x86_64/dmraid.install	                        (rev 0)
+++ testing-x86_64/dmraid.install	2008-10-12 15:03:03 UTC (rev 15086)
@@ -0,0 +1,22 @@
+# arg 1:  the new package version
+# arg 2:  the old package version
+
+post_upgrade() {
+  if [ "$(vercmp $2 1.0.0.rc15)" -lt 0 ]; then
+    # important upgrade notice
+    echo ">>>"
+    echo ">>> IMPORTANT DMRAID UPGRADE NOTICE"
+    echo ">>> -------------------------------"
+    echo ">>> Version 1.0.15rc introduce a new name scheme:"
+    echo ">>> You need to a an additional 'p' in front of your number."
+    echo ">>> e.g. <yourname><number> --> <yourname>p<number>"
+    echo ">>>      firsthd1           --> firsthdp1"
+    echo ">>> Please change your bootloader and fstab accordingly."
+    echo ">>>"
+  fi
+}
+
+op=$1
+shift
+
+$op $*




More information about the arch-commits mailing list