[arch-commits] Commit in parted/repos (7 files)

Giovanni Scafora giovanni at archlinux.org
Sat Mar 3 09:28:31 EST 2012


    Date: Saturday, March 3, 2012 @ 09:28:30
  Author: giovanni
Revision: 151857

db-move: moved parted from [staging] to [extra] (i686)

Added:
  parted/repos/extra-i686/PKGBUILD
    (from rev 151856, parted/repos/staging-i686/PKGBUILD)
  parted/repos/extra-i686/linux.c.patch
    (from rev 151856, parted/repos/staging-i686/linux.c.patch)
  parted/repos/extra-i686/parted.install
    (from rev 151856, parted/repos/staging-i686/parted.install)
Deleted:
  parted/repos/extra-i686/PKGBUILD
  parted/repos/extra-i686/linux.c.patch
  parted/repos/extra-i686/parted.install
  parted/repos/staging-i686/

----------------+
 PKGBUILD       |   69 +++++++++++++++++++++++++------------------------------
 linux.c.patch  |   50 +++++++++++++++++++--------------------
 parted.install |   36 ++++++++++++++--------------
 3 files changed, 75 insertions(+), 80 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2012-03-03 14:09:35 UTC (rev 151856)
+++ extra-i686/PKGBUILD	2012-03-03 14:28:30 UTC (rev 151857)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: Aaron Griffin <aaron at archlinux.org>
-
-pkgname=parted
-pkgver=3.0
-pkgrel=4
-pkgdesc="A program for creating, destroying, resizing, checking and copying partitions"
-arch=('i686' 'x86_64')
-license=('GPL3')
-url="http://www.gnu.org/software/parted/parted.html"
-depends=('device-mapper' 'e2fsprogs')
-makedepends=('pkg-config')
-options=('!libtool')
-install=parted.install
-source=("http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz"
-        'linux.c.patch')
-md5sums=('c415e5c97f86b5ff65a2d925e5a3feb7'
-         '08c942e212424e238271217f52c59706')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  # FS#25307
-  patch -Np1 -i ${srcdir}/linux.c.patch
-
-  ./configure --prefix=/usr \
-              --disable-debug \
-              --disable-rpath
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  make DESTDIR="${pkgdir}" install
-}

Copied: parted/repos/extra-i686/PKGBUILD (from rev 151856, parted/repos/staging-i686/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2012-03-03 14:28:30 UTC (rev 151857)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Aaron Griffin <aaron at archlinux.org>
+
+pkgname=parted
+pkgver=3.1
+pkgrel=1
+pkgdesc="A program for creating, destroying, resizing, checking and copying partitions"
+arch=('i686' 'x86_64')
+license=('GPL3')
+url="http://www.gnu.org/software/parted/parted.html"
+depends=('device-mapper' 'e2fsprogs')
+makedepends=('pkg-config')
+options=('!libtool')
+install=parted.install
+source=("http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz")
+md5sums=('5d89d64d94bcfefa9ce8f59f4b81bdcb')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./configure --prefix=/usr \
+              --disable-debug \
+              --disable-rpath
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make DESTDIR="${pkgdir}" install
+}

Deleted: extra-i686/linux.c.patch
===================================================================
--- extra-i686/linux.c.patch	2012-03-03 14:09:35 UTC (rev 151856)
+++ extra-i686/linux.c.patch	2012-03-03 14:28:30 UTC (rev 151857)
@@ -1,25 +0,0 @@
---- a/libparted/arch/linux.c	2011-05-27 14:52:37.000000000 +0200
-+++ b/libparted/arch/linux.c	2011-07-29 20:25:38.000000000 +0200
-@@ -601,17 +601,17 @@
-         static int kver = -1;
- 
-         struct utsname uts;
--        int major;
--        int minor;
--        int teeny;
-+        int major = 0;
-+        int minor = 0;
-+        int teeny = 0;
- 
-         if (kver != -1)
-                 return kver;
- 
-         if (uname (&uts))
-                 return kver = 0;
--        if (sscanf (uts.release, "%u.%u.%u", &major, &minor, &teeny) != 3)
--                return kver = 0;
-+        int n = sscanf (uts.release, "%u.%u.%u", &major, &minor, &teeny);
-+        assert (n == 2 || n == 3);
- 
-         return kver = KERNEL_VERSION (major, minor, teeny);
- }

Copied: parted/repos/extra-i686/linux.c.patch (from rev 151856, parted/repos/staging-i686/linux.c.patch)
===================================================================
--- extra-i686/linux.c.patch	                        (rev 0)
+++ extra-i686/linux.c.patch	2012-03-03 14:28:30 UTC (rev 151857)
@@ -0,0 +1,25 @@
+--- a/libparted/arch/linux.c	2011-05-27 14:52:37.000000000 +0200
++++ b/libparted/arch/linux.c	2011-07-29 20:25:38.000000000 +0200
+@@ -601,17 +601,17 @@
+         static int kver = -1;
+ 
+         struct utsname uts;
+-        int major;
+-        int minor;
+-        int teeny;
++        int major = 0;
++        int minor = 0;
++        int teeny = 0;
+ 
+         if (kver != -1)
+                 return kver;
+ 
+         if (uname (&uts))
+                 return kver = 0;
+-        if (sscanf (uts.release, "%u.%u.%u", &major, &minor, &teeny) != 3)
+-                return kver = 0;
++        int n = sscanf (uts.release, "%u.%u.%u", &major, &minor, &teeny);
++        assert (n == 2 || n == 3);
+ 
+         return kver = KERNEL_VERSION (major, minor, teeny);
+ }

Deleted: extra-i686/parted.install
===================================================================
--- extra-i686/parted.install	2012-03-03 14:09:35 UTC (rev 151856)
+++ extra-i686/parted.install	2012-03-03 14:28:30 UTC (rev 151857)
@@ -1,18 +0,0 @@
-info_dir=/usr/share/info
-info_files=(parted.info)
-
-post_install() {
-  for f in ${info_files[@]}; do
-    install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
-  done
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-pre_remove() {
-  for f in ${info_files[@]}; do
-    install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
-  done
-}

Copied: parted/repos/extra-i686/parted.install (from rev 151856, parted/repos/staging-i686/parted.install)
===================================================================
--- extra-i686/parted.install	                        (rev 0)
+++ extra-i686/parted.install	2012-03-03 14:28:30 UTC (rev 151857)
@@ -0,0 +1,18 @@
+info_dir=/usr/share/info
+info_files=(parted.info)
+
+post_install() {
+  for f in ${info_files[@]}; do
+    install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  for f in ${info_files[@]}; do
+    install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
+  done
+}



More information about the arch-commits mailing list