mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 00:42:58 +02:00
lvm2: update to 2.02.112.
This commit is contained in:
parent
e44f2c9053
commit
04188afa26
1 changed files with 5 additions and 11 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'lvm2'
|
# Template file for 'lvm2'
|
||||||
pkgname=lvm2
|
pkgname=lvm2
|
||||||
version=2.02.110
|
version=2.02.112
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc=LVM2.${version}
|
wrksrc=LVM2.${version}
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
@ -9,7 +9,8 @@ configure_args="--disable-selinux --enable-readline --enable-pkgconfig
|
||||||
--enable-dmeventd --enable-cmdlib --enable-udev_sync --enable-udev_rules
|
--enable-dmeventd --enable-cmdlib --enable-udev_sync --enable-udev_rules
|
||||||
--with-udevdir=/usr/lib/udev/rules.d --with-default-pid-dir=/run
|
--with-udevdir=/usr/lib/udev/rules.d --with-default-pid-dir=/run
|
||||||
--with-default-dm-run-dir=/run --with-default-run-dir=/run/lvm
|
--with-default-dm-run-dir=/run --with-default-run-dir=/run/lvm
|
||||||
--with-default-locking-dir=/run/lock/lvm --enable-lvmetad"
|
--with-default-locking-dir=/run/lock/lvm --enable-lvmetad
|
||||||
|
$(vopt_if systemd --with-systemdsystemunitdir=/usr/lib/systemd/system)"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
# By using eudev we avoid a cyclic dependency:
|
# By using eudev we avoid a cyclic dependency:
|
||||||
# device-mapper -> libudev -> cryptsetup -> device-mapper
|
# device-mapper -> libudev -> cryptsetup -> device-mapper
|
||||||
|
@ -18,17 +19,13 @@ make_dirs="
|
||||||
/etc/lvm/archive 0755 root root
|
/etc/lvm/archive 0755 root root
|
||||||
/etc/lvm/backup 0755 root root"
|
/etc/lvm/backup 0755 root root"
|
||||||
conf_files="/etc/lvm/lvm.conf"
|
conf_files="/etc/lvm/lvm.conf"
|
||||||
|
build_options="systemd"
|
||||||
short_desc="Logical Volume Manager 2 utilities"
|
short_desc="Logical Volume Manager 2 utilities"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://sourceware.org/lvm2/"
|
homepage="http://sourceware.org/lvm2/"
|
||||||
license="GPL-2, LGPL-2.1"
|
license="GPL-2, LGPL-2.1"
|
||||||
distfiles="ftp://sources.redhat.com/pub/lvm2/LVM2.${version}.tgz"
|
distfiles="ftp://sources.redhat.com/pub/lvm2/LVM2.${version}.tgz"
|
||||||
checksum=3dad1aa04a71b8420b15f44c53f041001436539d3f8073490c2d0c52f6fecd11
|
checksum=495fced8ec1a8b14912359f4eb97299e0b2d2bc0dfc9a50820daf7bbb3ff67e5
|
||||||
|
|
||||||
build_options="systemd"
|
|
||||||
if [ "$build_option_systemd" ]; then
|
|
||||||
configure_args+=" --with-systemdsystemunitdir=/usr/lib/systemd/system"
|
|
||||||
fi
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
if [ "$build_option_systemd" ]; then
|
if [ "$build_option_systemd" ]; then
|
||||||
|
@ -53,7 +50,6 @@ device-mapper-devel_package() {
|
||||||
vmove "usr/lib/libdevmapper*.so"
|
vmove "usr/lib/libdevmapper*.so"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
device-mapper_package() {
|
device-mapper_package() {
|
||||||
short_desc="Device Mapper userspace library and tools"
|
short_desc="Device Mapper userspace library and tools"
|
||||||
replaces="lvm2<2.02.95_3"
|
replaces="lvm2<2.02.95_3"
|
||||||
|
@ -75,7 +71,6 @@ device-mapper_package() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
liblvm2app-devel_package() {
|
liblvm2app-devel_package() {
|
||||||
depends="device-mapper-devel>=${version}_${revision} liblvm2app>=${version}_${revision}"
|
depends="device-mapper-devel>=${version}_${revision} liblvm2app>=${version}_${revision}"
|
||||||
short_desc="LVM2 application library - development files"
|
short_desc="LVM2 application library - development files"
|
||||||
|
@ -85,7 +80,6 @@ liblvm2app-devel_package() {
|
||||||
vmove usr/lib/liblvm2app.so
|
vmove usr/lib/liblvm2app.so
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
liblvm2app_package() {
|
liblvm2app_package() {
|
||||||
short_desc="LVM2 application library"
|
short_desc="LVM2 application library"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue