mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-06 08:26:50 +01:00
system/multipath-tools: Updated for version 0.8.7.
Signed-off-by: Mario Preksavec <mario@slackware.hr> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
6a069cbf6f
commit
7b67cc3cb8
3 changed files with 12 additions and 12 deletions
|
@ -1,11 +1,11 @@
|
|||
--- multipathd/Makefile.orig 2017-11-10 17:52:36.070562376 +0200
|
||||
+++ multipathd/Makefile 2017-11-10 18:10:47.854895039 +0200
|
||||
@@ -11,7 +11,7 @@ CFLAGS += $(BIN_CFLAGS) -I$(multipathdir
|
||||
--- multipathd/Makefile.orig 2021-09-08 11:49:01.000000000 +0200
|
||||
+++ multipathd/Makefile 2021-12-05 23:47:00.654767573 +0100
|
||||
@@ -15,7 +15,7 @@
|
||||
LDFLAGS += $(BIN_LDFLAGS)
|
||||
LIBDEPS += -L$(multipathdir) -lmultipath -L$(mpathpersistdir) -lmpathpersist \
|
||||
-L$(mpathcmddir) -lmpathcmd -ludev -ldl -lurcu -lpthread \
|
||||
- -ldevmapper -lreadline
|
||||
+ -ldevmapper -lreadline -lncurses
|
||||
CFLAGS += $(shell $(PKGCONFIG) --modversion liburcu 2>/dev/null | \
|
||||
awk -F. '{ printf("-DURCU_VERSION=0x%06x", 256 * ( 256 * $$1 + $$2) + $$3); }')
|
||||
|
||||
ifdef SYSTEMD
|
||||
CFLAGS += -DUSE_SYSTEMD=$(SYSTEMD)
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#!/bin/bash
|
||||
# Copyright 2014,2018 Nikos Yotis <nikos.giotis@gmail.com>
|
||||
# Copyright 2021 Mario Preksavec, Zagreb, Croatia
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -25,8 +26,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=multipath-tools
|
||||
VERSION=${VERSION:-0.7.8}
|
||||
SRCNAM="index.html?p=multipath-tools%2F.git;a=snapshot;sf=tgz;h=refs%2Ftags%2F$VERSION"
|
||||
VERSION=${VERSION:-0.8.7}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -71,7 +71,7 @@ rm -rf $PKG
|
|||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$SRCNAM
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
|
||||
# Patch for slackware compatibility
|
||||
|
@ -110,7 +110,7 @@ chmod 644 $PKG/etc/multipath.conf.new
|
|||
# Docs
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
COPYING README README.alua $CWD/README.SLACKWARE \
|
||||
COPYING README.alua README.md $CWD/README.SLACKWARE \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="multipath-tools"
|
||||
VERSION="0.7.8"
|
||||
VERSION="0.8.7"
|
||||
HOMEPAGE="http://christophe.varoqui.free.fr/"
|
||||
DOWNLOAD="https://git.opensvc.com/?p=multipath-tools/.git;a=snapshot;sf=tgz;h=refs/tags/0.7.8"
|
||||
MD5SUM="f8d0faed2913bc725c107b4f84f22a3a"
|
||||
DOWNLOAD="https://github.com/opensvc/multipath-tools/archive/0.8.7/multipath-tools-0.8.7.tar.gz"
|
||||
MD5SUM="5374165735591fac16e9274426a3c56e"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="liburcu"
|
||||
|
|
Loading…
Reference in a new issue