util-linux-common: update to 2.37.2.
This commit is contained in:
parent
e8cfd80c00
commit
dc95c4836b
1 changed files with 18 additions and 11 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'util-linux-common'
|
||||
# Keep this package sync with util-linux
|
||||
pkgname=util-linux-common
|
||||
version=2.37.1
|
||||
version=2.37.2
|
||||
revision=1
|
||||
wrksrc="util-linux-$version"
|
||||
build_style=gnu-configure
|
||||
|
@ -14,10 +14,10 @@ makedepends="libcap-ng-devel pam-devel readline-devel zlib-devel"
|
|||
checkdepends="xz tar iproute2 socat procps-ng bc"
|
||||
short_desc="Miscellaneous linux utilities - common files"
|
||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||
license="GPL-2.0-or-later"
|
||||
license="LGPL-2.1-or-later"
|
||||
homepage="https://www.kernel.org/pub/linux/utils/util-linux/"
|
||||
distfiles="${KERNEL_SITE}/utils/util-linux/v${version%.${version#*.*.}}/util-linux-${version}.tar.xz"
|
||||
checksum=8e4bd42053b726cf86eb4d13a73bc1d9225a2c2e1a2e0d2a891f1020f83e6b76
|
||||
checksum=6a0764c1aae7fb607ef8a6dd2c0f6c47d5e5fd27aa08820abaad9ec14e28e9d9
|
||||
|
||||
post_extract() {
|
||||
# hung inside xbps-src
|
||||
|
@ -44,14 +44,14 @@ do_install() {
|
|||
util-linux-libs_package() {
|
||||
short_desc+=" - meta libraries"
|
||||
build_style=meta
|
||||
depends="libfdisk-${version}_${revision} libblkid-${version}_${revision}
|
||||
libmount-${version}_${revision} libsmartcols-${version}_${revision}
|
||||
libuuid-${version}_${revision}"
|
||||
depends="libfdisk>=${version}_${revision} libblkid>=${version}_${revision}
|
||||
libmount>=${version}_${revision} libsmartcols>=${version}_${revision}
|
||||
libuuid>=${version}_${revision}"
|
||||
}
|
||||
|
||||
libfdisk_package() {
|
||||
short_desc="Library for fdisk(8)"
|
||||
depends="${sourcepkg}>=${version}_1<=${version}_9999"
|
||||
depends="${sourcepkg}>=${version}_1"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/libfdisk.so.*"
|
||||
}
|
||||
|
@ -70,7 +70,7 @@ libfdisk-devel_package() {
|
|||
}
|
||||
libmount_package() {
|
||||
short_desc="Library for mount(8)"
|
||||
depends="${sourcepkg}>=${version}_1<=${version}_9999"
|
||||
depends="${sourcepkg}>=${version}_1"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/libmount.so.*"
|
||||
}
|
||||
|
@ -88,7 +88,7 @@ libmount-devel_package() {
|
|||
}
|
||||
libblkid_package() {
|
||||
short_desc="Library to handle device identification"
|
||||
depends="${sourcepkg}>=${version}_1<=${version}_9999"
|
||||
depends="${sourcepkg}>=${version}_1"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/libblkid.so.*"
|
||||
}
|
||||
|
@ -107,14 +107,21 @@ libblkid-devel_package() {
|
|||
}
|
||||
libuuid_package() {
|
||||
short_desc="UUID library"
|
||||
depends="${sourcepkg}>=${version}_1<=${version}_9999"
|
||||
depends="${sourcepkg}>=${version}_1"
|
||||
license="BSD-3-Clause"
|
||||
pkg_install() {
|
||||
{
|
||||
grep Copyright libuuid/src/*.c
|
||||
cat Documentation/licenses/COPYING.BSD-3-Clause
|
||||
} >uuid.license
|
||||
vlicense uuid.license
|
||||
vmove "usr/lib/libuuid.so.*"
|
||||
}
|
||||
}
|
||||
libuuid-devel_package() {
|
||||
depends="libuuid>=${version}_${revision}<=${version}_9999"
|
||||
short_desc="UUID library development files"
|
||||
license="BSD-3-Clause"
|
||||
pkg_install() {
|
||||
vmove usr/lib/libuuid.a
|
||||
vmove usr/lib/libuuid.so
|
||||
|
@ -135,7 +142,7 @@ libsmartcols-devel_package() {
|
|||
}
|
||||
libsmartcols_package() {
|
||||
short_desc="Table or Tree library from util-linux"
|
||||
depends="${sourcepkg}>=${version}_1<=${version}_9999"
|
||||
depends="${sourcepkg}>=${version}_1"
|
||||
pkg_install() {
|
||||
vmove usr/lib/libsmartcols.so.*
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue