# HG changeset patch # User Hans-G?nter Theisgen # Date 1584722415 -3600 # Node ID 4b36ab6df5c7879734a56655677c8e11f5301cb9 # Parent 3d8aaa351317b04f84521fb4ed084379b64557e1 updated multitail (5.2.9 -> 6.5.0) diff -r 3d8aaa351317 -r 4b36ab6df5c7 multitail/receipt --- a/multitail/receipt Fri Mar 20 17:12:18 2020 +0100 +++ b/multitail/receipt Fri Mar 20 17:40:15 2020 +0100 @@ -1,19 +1,21 @@ # SliTaz package receipt. PACKAGE="multitail" -VERSION="5.2.9" +VERSION="6.5.0" CATEGORY="system-tools" SHORT_DESC="Monitor multiple log files." MAINTAINER="erjo@slitaz.org" LICENSE="GPL2" +WEB_SITE="https://www.vanheusden.com/multitail/" + TARBALL="$PACKAGE-$VERSION.tgz" -WEB_SITE="http://www.vanheusden.com/multitail/" -WGET_URL="http://www.vanheusden.com/multitail/$TARBALL" +WGET_URL="${WEB_SITE}$TARBALL" + +DEPENDS="ncursesw" +BUILD_DEPENDS="ncursesw-dev" + CONFIG_FILES="/etc/multitail.conf" -DEPENDS="ncurses" -BUILD_DEPENDS="ncurses-dev" - # Rules to configure and make the package. compile_rules() { @@ -22,16 +24,19 @@ patch -p1 -i $stuff/tail_busybox.patch && \ touch done.tail_busybox.patch fi + patch --strip=0 --input=$stuff/patches/mt.h-6.5.0 make } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/bin $fs/etc - cp -a $src/$PACKAGE $fs/usr/bin - cp -a $src/$PACKAGE.conf $fs/etc + mkdir -p $fs/usr/bin + mkdir -p $fs/etc + cp -a $src/$PACKAGE $fs/usr/bin + cp -a $src/$PACKAGE.conf $fs/etc - # Set minimum config. - sed -i 's/check_mail:5/check_mail:0/' $fs/etc/multitail.conf + # Set minimum configuration. + sed -i 's/check_mail:5/check_mail:0/' \ + $fs/etc/multitail.conf } diff -r 3d8aaa351317 -r 4b36ab6df5c7 multitail/stuff/patches/mt.h-6.5.0 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/multitail/stuff/patches/mt.h-6.5.0 Fri Mar 20 17:40:15 2020 +0100 @@ -0,0 +1,13 @@ +--- mt.h.orig ++++ mt.h +@@ -60,8 +60,8 @@ + #endif + + #if defined(UTF8_SUPPORT) && !defined(__APPLE__) +- #include +- #include ++ #include ++ #include + #else + #if defined(__APPLE__) + #include