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

Tobias Powalowski tpowa at archlinux.org
Sun Oct 12 15:07:46 UTC 2008


    Date: Sunday, October 12, 2008 @ 11:07:46
  Author: tpowa
Revision: 15089

Merged revisions 15085,15087 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
........
  r15087 | tpowa | 2008-10-12 15:04:10 +0000 (So, 12 Okt 2008) | 1 line
  
  upgpkg: dmraid 1.0.0.rc15-4
........

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

----------------+
 PKGBUILD       |    7 ++++---
 dmraid.install |   22 ++++++++++++++++++++++
 2 files changed, 26 insertions(+), 3 deletions(-)


Property changes on: dmraid/repos/testing-i686
___________________________________________________________________
Name: svnmerge-integrated
   - /dmraid/trunk:1-14315
   + /dmraid/trunk:1-15088

Modified: testing-i686/PKGBUILD
===================================================================
--- testing-i686/PKGBUILD	2008-10-12 15:04:58 UTC (rev 15088)
+++ testing-i686/PKGBUILD	2008-10-12 15:07:46 UTC (rev 15089)
@@ -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,10 @@
 source=(http://people.redhat.com/~heinzm/sw/dmraid/src/$pkgname-$pkgver.tar.bz2
         dmraid_install
         dmraid_hook)
+install=dmraid.install
 md5sums=('2602887205a35f89b59eeba3a868150f'
          '8f8b6fb332fce85a27d72fc63385db70'
-	 '8c944cab8c885192a90e518a8d794adf')
+         '8c944cab8c885192a90e518a8d794adf')
 
 build() {
   cd $srcdir/$pkgname/$pkgver
@@ -23,7 +24,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-i686/dmraid.install (from rev 15087, dmraid/trunk/dmraid.install)
===================================================================
--- testing-i686/dmraid.install	                        (rev 0)
+++ testing-i686/dmraid.install	2008-10-12 15:07:46 UTC (rev 15089)
@@ -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