lvm2
This commit is contained in:
1 parent
0ed3a3f194
commit
08f05d0b93
8 files changed
+259
-13
No files matched your search
@@ -0,0 +1,32 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='swig'
|
||||||
|
release='1'
|
||||||
|
version='4.1.1'
|
||||||
|
url='http://www.swig.org/'
|
||||||
|
description='Simplified Wrapper and Interface Generator'
|
||||||
|
email='bayramk@gmail.com'
|
||||||
|
maintainer='bk'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://github.com/swig/swig/archive/refs/tags/v$version.tar.gz")
|
||||||
|
depends=()
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('b7e21f668003d986630a2649537c3e3f')
|
||||||
|
group=(dev.lang)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
setup(){
|
||||||
|
./autogen.sh
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install $jobs
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='libaio'
|
||||||
|
release='1'
|
||||||
|
version='0.3.113'
|
||||||
|
url='https://pagure.io/libaio'
|
||||||
|
description='Asynchronous input/output library that uses the kernels native interface'
|
||||||
|
email='bayramk@gmail.com'
|
||||||
|
maintainer='bk'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://pagure.io/libaio/archive/libaio-$version/libaio-libaio-$version.tar.gz")
|
||||||
|
depends=()
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('4422d9f1655f358d74ff48af2a3b9f49')
|
||||||
|
group=(dev.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$name-$version
|
||||||
|
setup(){
|
||||||
|
#./autogen.sh
|
||||||
|
#./configure --prefix=/usr \
|
||||||
|
#--libdir=/usr/lib64/ \
|
||||||
|
#--enable-compat-symlinks
|
||||||
|
echo ""
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install $jobs
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='volume_key'
|
||||||
|
release='1'
|
||||||
|
version='0.3.12'
|
||||||
|
url='https://pagure.io/volume_key'
|
||||||
|
description='A library for manipulating storage volume encryption keys and storing them separately from volumes to handleforgotten passphrases, and the associated command-line tool '
|
||||||
|
email='bayramk@gmail.com'
|
||||||
|
maintainer='bk'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://pagure.io/volume_key/archive/volume_key-$version/volume_key-volume_key-$version.tar.gz")
|
||||||
|
depends=(cryptsetup nss nspr swig)
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('75b5455eafee891c3f2ed544530b3eb9')
|
||||||
|
group=(dev.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$name-$version
|
||||||
|
setup(){
|
||||||
|
export CFLAGS+=" $(python3-config --includes)"
|
||||||
|
autoreconf -fvi
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install $jobs
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='cryptsetup'
|
||||||
|
release='1'
|
||||||
|
version='2.6.1'
|
||||||
|
url='https://gitlab.com/cryptsetup/'
|
||||||
|
description='Tool to setup encrypted devices with dm-crypt'
|
||||||
|
email='bayramk@gmail.com'
|
||||||
|
maintainer='bk'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://gitlab.com/cryptsetup/cryptsetup/-/archive/v$version/cryptsetup-v$version.tar.gz")
|
||||||
|
depends=(lvm2)
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('62dca8beccc359ada07cd932d5556eb6')
|
||||||
|
group=(sys.fs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-v$version
|
||||||
|
setup(){
|
||||||
|
autoreconf -fvi
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/ \
|
||||||
|
--disable-asciidoc
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install $jobs
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
diff --git a/lib/events/libdmraid-events-isw.c b/lib/events/libdmraid-events-isw.c
|
||||||
|
index c092762..d5efe22 100644
|
||||||
|
--- a/lib/events/libdmraid-events-isw.c
|
||||||
|
+++ b/lib/events/libdmraid-events-isw.c
|
||||||
|
@@ -824,13 +824,13 @@ static void _log_either(enum log_type log_type,
|
||||||
|
|
||||||
|
sz = _log_all_devs(log_type, rs, NULL, 0);
|
||||||
|
if (!sz) {
|
||||||
|
- syslog(LOG_ERR, msg[0]);
|
||||||
|
+ syslog(LOG_ERR, "%s", msg[0]);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
str = dm_malloc(++sz);
|
||||||
|
if (!str) {
|
||||||
|
- syslog(LOG_ERR, msg[1]);
|
||||||
|
+ syslog(LOG_ERR, "%s", msg[1]);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='dmraid'
|
||||||
|
release='1'
|
||||||
|
version='1.0.0'
|
||||||
|
url='https://people.redhat.com/~heinzm/sw/dmraid/'
|
||||||
|
description='Device-mapper RAID tool and library'
|
||||||
|
email='bayramk@gmail.com'
|
||||||
|
maintainer='bk'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://people.redhat.com/~heinzm/sw/dmraid/src/dmraid-$version.rc16-3.tar.bz2"
|
||||||
|
"dmraid-format-security.patch")
|
||||||
|
depends=()
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('819338fcef98e8e25819f0516722beeb'
|
||||||
|
'SKIP')
|
||||||
|
group=(sys.fs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
patch -Np1 -i ${DESTDIR}/dmraid-format-security.patch
|
||||||
|
cd $name/$version.rc16-3/$name
|
||||||
|
setup(){
|
||||||
|
|
||||||
|
autoreconf -fvi
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/ --enable-led --enable-intel_led
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make -j1 $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install $jobs
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,56 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='lvm2'
|
||||||
|
release='1'
|
||||||
|
version='2_03_21'
|
||||||
|
url='https://sourceware.org/lvm2/'
|
||||||
|
description='User-land utilities for LVM2 (device-mapper) software'
|
||||||
|
email='bayramk@gmail.com'
|
||||||
|
maintainer='bk'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://github.com/lvmteam/lvm2/archive/refs/tags/v$version.tar.gz")
|
||||||
|
depends=(libaio)
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('d12c26fc68561a6e1d06dff7f1c605b9')
|
||||||
|
group=(sys.fs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/ \
|
||||||
|
CONFIG_SHELL=/bin/bash \
|
||||||
|
--sbindir=/usr/bin \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--enable-cmdlib \
|
||||||
|
--enable-dmeventd \
|
||||||
|
--enable-lvmpolld \
|
||||||
|
--enable-pkgconfig \
|
||||||
|
--enable-readline \
|
||||||
|
--enable-udev_rules \
|
||||||
|
--enable-udev_sync \
|
||||||
|
--enable-write_install \
|
||||||
|
--disable-systemd \
|
||||||
|
--with-cache=internal \
|
||||||
|
--with-default-dm-run-dir=/run \
|
||||||
|
--with-default-locking-dir=/run/lock/lvm \
|
||||||
|
--with-default-pid-dir=/run \
|
||||||
|
--with-default-run-dir=/run/lvm \
|
||||||
|
--with-thin=internal \
|
||||||
|
--with-udev-prefix=/usr
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make install $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -1,27 +1,30 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
name='libblockdev'
|
name='libblockdev'
|
||||||
release='1'
|
release='1'
|
||||||
version='2.28'
|
version='2.28-1'
|
||||||
url='https://github.com/storaged-project/libblockdev'
|
url='https://github.com/storaged-project/libblockdev'
|
||||||
description='A library for manipulating block devices.'
|
description='A library for manipulating block devices'
|
||||||
email='aliriza.keskin@pardus.org.tr'
|
email='bayramk@gmail.com'
|
||||||
maintainer='aliriza'
|
maintainer='bk'
|
||||||
license=('GPLv3')
|
license=('GPLv3')
|
||||||
source=("https://github.com/storaged-project/libblockdev/releases/download/$version-1/libblockdev-$version.tar.gz")
|
source=("https://github.com/storaged-project/libblockdev/archive/refs/tags/2.28-1.tar.gz")
|
||||||
depends=(nss parted libbytesize)
|
depends=(gawk parted kmod libyaml btrfs-progs dosfstools gptfdisk libbytesize ndctl xfsprogs lvm2 volume_key)
|
||||||
|
#depends=(dmraid mdadm )
|
||||||
|
|
||||||
makedepends=()
|
makedepends=()
|
||||||
md5sums=('6476e5967753ee03d8e65f4d7837a4b6')
|
md5sums=('7f7fe3135505b6917e8ad9281084dd6c')
|
||||||
group=()
|
group=(sys.libs)
|
||||||
uses=()
|
uses=()
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
||||||
setup(){
|
setup(){
|
||||||
# ./autogen.sh
|
autoreconf -fvi
|
||||||
./configure --prefix=/usr \
|
#./configure
|
||||||
--libdir=/usr/lib64/ \
|
./configure --prefix=/usr --sysconfdir=/etc --without-lvm_dbus \
|
||||||
--without-lvm_dbus
|
--disable-dmraid
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
build(){
|
build(){
|
||||||
|
|||||||
Reference in new issue
Block a user