# HG changeset patch # User Hans-G?nter Theisgen # Date 1649491569 -3600 # Node ID a1ea9b7ae2222ea1130f07a02ed61d894d51708e # Parent 84c5b3483e46fb26831e3de600bebc830049c91e updated mdadm (4.1 -> 4.2) diff -r 84c5b3483e46 -r a1ea9b7ae222 mdadm/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mdadm/description.txt Sat Apr 09 09:06:09 2022 +0100 @@ -0,0 +1,4 @@ +Mdadm has replaced all the previous tools for managing raid arrays. +It manages nearly all the user space side of raid. +There are a few things that need to be done by writing to the /proc +filesystem, but not much. diff -r 84c5b3483e46 -r a1ea9b7ae222 mdadm/receipt --- a/mdadm/receipt Fri Apr 08 16:49:55 2022 +0000 +++ b/mdadm/receipt Sat Apr 09 09:06:09 2022 +0100 @@ -1,9 +1,9 @@ # SliTaz package receipt. PACKAGE="mdadm" -VERSION="4.1" +VERSION="4.2" CATEGORY="system-tools" -SHORT_DESC="Software RAID tools" +SHORT_DESC="Software RAID tools." MAINTAINER="b1+slitaz@nagel.org" LICENSE="GPL2" WEB_SITE="https://www.kernel.org/pub/linux/utils/raid/mdadm/ANNOUNCE" @@ -11,7 +11,7 @@ TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="https://www.kernel.org/pub/linux/utils/raid/mdadm/$TARBALL" -BUILD_DEPENDS="" +BUILD_DEPENDS="udev-dev" current_version() { @@ -22,12 +22,14 @@ # Rules to configure and make the package. compile_rules() { - make mdadm + export CXFLAGS="-Wno-error=missing-field-initializers" + + make && + make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/bin - cp -a $src/mdadm $fs/usr/bin + cook_copy_folders sbin }