[arch-commits] Commit in dmapi/repos/extra-x86_64 (4 files)

Jelle van der Waa jelle at archlinux.org
Fri May 15 18:26:05 UTC 2020


    Date: Friday, May 15, 2020 @ 18:26:04
  Author: jelle
Revision: 383711

archrelease: copy trunk to extra-x86_64

Added:
  dmapi/repos/extra-x86_64/PKGBUILD
    (from rev 383710, dmapi/trunk/PKGBUILD)
  dmapi/repos/extra-x86_64/dmapi-headers.patch
    (from rev 383710, dmapi/trunk/dmapi-headers.patch)
Deleted:
  dmapi/repos/extra-x86_64/PKGBUILD
  dmapi/repos/extra-x86_64/dmapi-headers.patch

---------------------+
 PKGBUILD            |   90 +++++++++++++++++++++++++-------------------------
 dmapi-headers.patch |   32 ++++++++---------
 2 files changed, 61 insertions(+), 61 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-15 18:25:41 UTC (rev 383710)
+++ PKGBUILD	2020-05-15 18:26:04 UTC (rev 383711)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
-
-pkgname=dmapi
-pkgver=2.2.12
-pkgrel=3
-pkgdesc="Data migration API"
-arch=('x86_64')
-url="http://oss.sgi.com/projects/xfs/"
-license=('GPL')
-depends=('glibc')
-makedepends=('xfsprogs')
-provides=('xfsdmapi')
-conflicts=('xfsdmapi')
-replaces=('xfsdmapi')
-source=("ftp://oss.sgi.com/projects/xfs/cmd_tars/$pkgname-$pkgver.tar.gz" dmapi-headers.patch)
-
-prepare() {
-  cd $pkgname-$pkgver
-  patch -p1 -i ../dmapi-headers.patch # Fix build (Gentoo)
-}
-
-build() {
-  cd $srcdir/dmapi-$pkgver
-  [ "$CARCH" = "x86_64" ] && export CFLAGS="$CLFAGS -fPIC"
-  export INSTALL_USER=root
-  export INSTALL_GROUP=root
-  export DEBUG=-DNDEBUG
-  autoconf
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd $srcdir/dmapi-$pkgver
-  make DIST_ROOT=$pkgdir install install-dev
-  # the static lib
-  install -D -m644 libdm/.libs/libdm.a $pkgdir/usr/lib/libdm.a
-  # and the header file, please
-  install -D -m644 include/dmapi.h $pkgdir/usr/include/xfs/dmapi.h
-  # kill libexec dir
-  rm -rf $pkgdir/usr/libexec
-}
-md5sums=('cd825d4e141c16011367e0a0dd98c9c5'
-         '6360c428bb89a1585669c3cf7a632208')

Copied: dmapi/repos/extra-x86_64/PKGBUILD (from rev 383710, dmapi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-15 18:26:04 UTC (rev 383711)
@@ -0,0 +1,45 @@
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=dmapi
+pkgver=2.2.12
+pkgrel=4
+pkgdesc="Data migration API"
+arch=('x86_64')
+url="http://oss.sgi.com/projects/xfs/"
+license=('GPL')
+depends=('glibc')
+makedepends=('xfsprogs')
+provides=('xfsdmapi')
+conflicts=('xfsdmapi')
+replaces=('xfsdmapi')
+#source=("ftp://oss.sgi.com/projects/xfs/previous/cmd_tars/$pkgname-$pkgver.tar.gz" dmapi-headers.patch)
+source=(https://sources.archlinux.org/other/packages/dmapi/dmapi-$pkgver.tar.gz dmapi-headers.patch)
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -p1 -i ../dmapi-headers.patch # Fix build (Gentoo)
+}
+
+build() {
+  cd dmapi-$pkgver
+  [ "$CARCH" = "x86_64" ] && export CFLAGS="$CLFAGS -fPIC"
+  export INSTALL_USER=root
+  export INSTALL_GROUP=root
+  export DEBUG=-DNDEBUG
+  autoconf
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd dmapi-$pkgver
+  make DIST_ROOT="$pkgdir" install install-dev
+  # the static lib
+  install -D -m644 libdm/.libs/libdm.a "$pkgdir"/usr/lib/libdm.a
+  # and the header file, please
+  install -D -m644 include/dmapi.h "$pkgdir"/usr/include/xfs/dmapi.h
+  # kill libexec dir
+  rm -rf "$pkgdir"/usr/libexec
+}
+md5sums=('cd825d4e141c16011367e0a0dd98c9c5'
+         '6360c428bb89a1585669c3cf7a632208')

Deleted: dmapi-headers.patch
===================================================================
--- dmapi-headers.patch	2020-05-15 18:25:41 UTC (rev 383710)
+++ dmapi-headers.patch	2020-05-15 18:26:04 UTC (rev 383711)
@@ -1,16 +0,0 @@
-https://bugs.gentoo.org/560212
-
-pull in headers for funcs that are used
-
---- a/libdm/dm_handle2path.c
-+++ b/libdm/dm_handle2path.c
-@@ -20,6 +20,9 @@
- #include <dmapi_kern.h>
- #include "dmapi_lib.h"
- 
-+#include <fcntl.h> /* open */
-+#include <unistd.h> /* close */
-+#include <string.h> /* strlen */
- #include <mntent.h>
- #include <dirent.h>
- #ifdef linux

Copied: dmapi/repos/extra-x86_64/dmapi-headers.patch (from rev 383710, dmapi/trunk/dmapi-headers.patch)
===================================================================
--- dmapi-headers.patch	                        (rev 0)
+++ dmapi-headers.patch	2020-05-15 18:26:04 UTC (rev 383711)
@@ -0,0 +1,16 @@
+https://bugs.gentoo.org/560212
+
+pull in headers for funcs that are used
+
+--- a/libdm/dm_handle2path.c
++++ b/libdm/dm_handle2path.c
+@@ -20,6 +20,9 @@
+ #include <dmapi_kern.h>
+ #include "dmapi_lib.h"
+ 
++#include <fcntl.h> /* open */
++#include <unistd.h> /* close */
++#include <string.h> /* strlen */
+ #include <mntent.h>
+ #include <dirent.h>
+ #ifdef linux



More information about the arch-commits mailing list