wok-6.x rev 23203

updated multitail (5.2.9 -> 6.5.0)
author Hans-G?nter Theisgen
date Fri Mar 20 17:40:15 2020 +0100 (2020-03-20)
parents 3d8aaa351317
children 6563992d0700
files multitail/receipt multitail/stuff/patches/mt.h-6.5.0
line diff
     1.1 --- a/multitail/receipt	Fri Mar 20 17:12:18 2020 +0100
     1.2 +++ b/multitail/receipt	Fri Mar 20 17:40:15 2020 +0100
     1.3 @@ -1,19 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="multitail"
     1.7 -VERSION="5.2.9"
     1.8 +VERSION="6.5.0"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Monitor multiple log files."
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="https://www.vanheusden.com/multitail/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tgz"
    1.16 -WEB_SITE="http://www.vanheusden.com/multitail/"
    1.17 -WGET_URL="http://www.vanheusden.com/multitail/$TARBALL"
    1.18 +WGET_URL="${WEB_SITE}$TARBALL"
    1.19 +
    1.20 +DEPENDS="ncursesw"
    1.21 +BUILD_DEPENDS="ncursesw-dev"
    1.22 +
    1.23  CONFIG_FILES="/etc/multitail.conf"
    1.24  
    1.25 -DEPENDS="ncurses"
    1.26 -BUILD_DEPENDS="ncurses-dev"
    1.27 -
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 @@ -22,16 +24,19 @@
    1.32  		patch -p1 -i $stuff/tail_busybox.patch &&  \
    1.33  			touch done.tail_busybox.patch
    1.34  	fi
    1.35 +	patch --strip=0 --input=$stuff/patches/mt.h-6.5.0
    1.36  	make
    1.37  }
    1.38  
    1.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.40  genpkg_rules()
    1.41  {
    1.42 -	mkdir -p $fs/usr/bin $fs/etc
    1.43 -	cp -a $src/$PACKAGE  $fs/usr/bin
    1.44 -	cp -a $src/$PACKAGE.conf $fs/etc
    1.45 +	mkdir -p $fs/usr/bin
    1.46 +	mkdir -p $fs/etc
    1.47 +	cp -a $src/$PACKAGE		$fs/usr/bin
    1.48 +	cp -a $src/$PACKAGE.conf	$fs/etc
    1.49  	
    1.50 -	# Set minimum config.
    1.51 -	sed -i 's/check_mail:5/check_mail:0/' $fs/etc/multitail.conf
    1.52 +	# Set minimum configuration.
    1.53 +	sed -i 's/check_mail:5/check_mail:0/' \
    1.54 +					$fs/etc/multitail.conf
    1.55  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/multitail/stuff/patches/mt.h-6.5.0	Fri Mar 20 17:40:15 2020 +0100
     2.3 @@ -0,0 +1,13 @@
     2.4 +--- mt.h.orig
     2.5 ++++ mt.h
     2.6 +@@ -60,8 +60,8 @@
     2.7 + #endif
     2.8 + 
     2.9 + #if defined(UTF8_SUPPORT) && !defined(__APPLE__)
    2.10 +-	#include <ncursesw/panel.h>
    2.11 +-	#include <ncursesw/ncurses.h>
    2.12 ++	#include <panel.h>
    2.13 ++	#include <ncurses.h>
    2.14 + #else
    2.15 + 	#if defined(__APPLE__)
    2.16 +         #include <ncurses.h>