summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames P. Harvey2018-10-13 14:24:20 -0400
committerJames P. Harvey2018-10-13 14:24:20 -0400
commit80b5f3ebb750d7dfa3a226b60e6a92fab4cd3d9a (patch)
tree444511cd823498f1ba6570fcc5129dbe38c35b08
parent284ff5ae9f6fcfde96a92cbbb4e0963cf6ea86ee (diff)
downloadaur-80b5f3ebb750d7dfa3a226b60e6a92fab4cd3d9a.tar.gz
Upstream moved, released 4.6.0-1.
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD27
2 files changed, 20 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5482237f5745..48a50ec366b2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,6 @@
-# Generated by mksrcinfo v8
-# Wed Feb 15 05:29:05 UTC 2017
pkgbase = mstflint
pkgdesc = OpenFabrics Alliance firmware burning application for Mellanox HCA/NIC cards
- pkgver = 4.5.0
+ pkgver = 4.6.0.1
pkgrel = 1
url = https://www.openfabrics.org/index.php/overview.html
arch = x86_64
@@ -11,9 +9,8 @@ pkgbase = mstflint
license = custom:"Open Fabrics Alliance BSD"
depends = bash
depends = zlib
- depends = libibmad
- source = https://www.openfabrics.org/downloads/mstflint/mstflint-4.5.0-1.17.g8a0c39d.tar.gz
- md5sums = adf8ca4ceab434e0fa6dc1ac3e0ff95a
+ source = https://github.com/Mellanox/mstflint/archive/v4.6.0-1.tar.gz
+ md5sums = f01626673ed65de5f0581b6d4af86b70
pkgname = mstflint
diff --git a/PKGBUILD b/PKGBUILD
index fc0cf3fefd21..bca48f605b87 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,32 +1,39 @@
# Maintainer: James Harvey <jamespharvey20@gmail.com>
-# namcap says dependency 'libibmad' is not needed, but without it, configure fails with "cannot find infiniband/mad.h", provided by libibmad, and mstflint-4.0.1/mtcr_ul/mtcr_ib_ofed.c does include "infiniband/mad.h"
pkgname=mstflint
-pkgver=4.5.0
-_pkgver_subver=1.17
-_pkgver_commit=g8a0c39d
+pkgver=4.6.0.1
+_pkgver=4.6.0-1
pkgrel=1
pkgdesc='OpenFabrics Alliance firmware burning application for Mellanox HCA/NIC cards'
arch=('x86_64' 'i686')
url='https://www.openfabrics.org/index.php/overview.html'
license=('GPL2' 'custom:"Open Fabrics Alliance BSD"')
-depends=('bash' 'zlib' 'libibmad')
-source=("https://www.openfabrics.org/downloads/${pkgname}/${pkgname}-${pkgver}-${_pkgver_subver}.${_pkgver_commit}.tar.gz")
-md5sums=('adf8ca4ceab434e0fa6dc1ac3e0ff95a')
+depends=('bash' 'zlib')
+source=("https://github.com/Mellanox/mstflint/archive/v${_pkgver}.tar.gz")
+md5sums=('f01626673ed65de5f0581b6d4af86b70')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-${_pkgver}"
+ sed -i 's/Werror/Wno-error/g' cmdif/Makefile.am
+ sed -i 's/Werror/Wno-error/g' configure.ac
+ sed -i 's/Werror/Wno-error/g' ext_libs/muparser/Makefile.am
+ sed -i 's/Werror/Wno-error/g' ext_libs/sqlite/Makefile.am
+ sed -i 's/Werror/Wno-error/g' mft_utils/Makefile.am
+ sed -i 's/Werror/Wno-error/g' reg_access/Makefile.am
+ sed -i 's/Werror/Wno-error/g' tools_res_mgmt/Makefile.am
+ ./autogen.sh
./configure --prefix=/usr \
--sbindir=/usr/bin \
--libexecdir=/usr/lib \
--sysconfdir=/etc \
--localstatedir=/var \
- --mandir=/usr/share/man
+ --mandir=/usr/share/man \
+ --disable-inband
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-${_pkgver}"
make DESTDIR="${pkgdir}" install
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}