From 1aefcb97e19d890ac201e30c6e9fa372260fa5ef Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Thu, 21 Nov 2019 00:09:00 +0100 Subject: [PATCH] multitail: Update from 6.4.2 to 6.5.0 --- packages/multitail/Makefile.patch | 34 ++++++++++++++++--------------- packages/multitail/build.sh | 5 ++--- 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/packages/multitail/Makefile.patch b/packages/multitail/Makefile.patch index b409ed4a3..1b8837563 100644 --- a/packages/multitail/Makefile.patch +++ b/packages/multitail/Makefile.patch @@ -1,30 +1,32 @@ -diff -u -r ../multitail-6.4.1/Makefile ./Makefile ---- ../multitail-6.4.1/Makefile 2015-02-12 03:32:35.000000000 -0500 -+++ ./Makefile 2015-05-18 13:02:14.796497473 -0400 -@@ -1,14 +1,14 @@ - include version +diff -u -r ../multitail-6.5.0/Makefile ./Makefile +--- ../multitail-6.5.0/Makefile 2019-11-07 12:56:23.000000000 +0000 ++++ ./Makefile 2019-11-20 23:07:26.648217975 +0000 +@@ -8,8 +8,8 @@ + # -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -lncurses -ltinfo - UTF8_SUPPORT=yes + UTF8_SUPPORT:=yes -DESTDIR= --PREFIX=/usr +-PREFIX=/usr/local +DESTDIR=@TERMUX_PREFIX@ +PREFIX= - CONFIG_FILE=$(DESTDIR)/etc/multitail.conf + CONFIG_FILE=$(DESTDIR)$(PREFIX)/etc/multitail.conf CC?=gcc - DEBUG+=-g -Wall # -D_DEBUG # -pg # -D_DEBUG #-pg -W -pedantic # -pg #-fprofile-arcs +@@ -24,7 +24,7 @@ + LDFLAGS+=-lpanel $(NCURSES_LIB) -lutil -lm + else ifeq ($(UTF8_SUPPORT),yes) --LDFLAGS+=-lpanelw -lncursesw -lutil -lm -+LDFLAGS+=-lpanelw -lncursesw -lm - CFLAGS+=-funsigned-char -D`uname` -DVERSION=\"$(VERSION)\" -DCONFIG_FILE=\"$(CONFIG_FILE)\" -DUTF8_SUPPORT -D_FORTIFY_SOURCE=2 -O3 +- LDFLAGS+=-lpanelw -lncursesw -lutil -lm ++ LDFLAGS+=-lpanelw -lncursesw -lm + CPPFLAGS+=-DUTF8_SUPPORT else - LDFLAGS+=-lpanel -lncurses -lutil -lm -@@ -37,7 +37,7 @@ + LDFLAGS+=-lpanel -lncurses -lutil -lm +@@ -57,7 +57,7 @@ ### YOURSELF WITH THE NEW FILE # - mkdir -p $(DESTDIR)/etc/multitail/ + mkdir -p $(DESTDIR)$(PREFIX)/etc/multitail/ - cp multitail.conf $(CONFIG_FILE).new + cp multitail.conf $(CONFIG_FILE) - cp conversion-scripts/* $(DESTDIR)/etc/multitail/ + cp conversion-scripts/* $(DESTDIR)$(PREFIX)/etc/multitail/ #rm -f $(DESTDIR)$(PREFIX)/share/man/man1/multitail.1.gz #gzip -9 $(DESTDIR)$(PREFIX)/share/man/man1/multitail.1 diff --git a/packages/multitail/build.sh b/packages/multitail/build.sh index 37b92b8f5..027c739b6 100644 --- a/packages/multitail/build.sh +++ b/packages/multitail/build.sh @@ -1,10 +1,9 @@ TERMUX_PKG_HOMEPAGE=http://www.vanheusden.com/multitail/ TERMUX_PKG_DESCRIPTION="Tool to monitor logfiles and command output in multiple windows in a terminal, colorize, filter and merge" TERMUX_PKG_LICENSE="GPL-2.0" -TERMUX_PKG_VERSION=6.4.2 -TERMUX_PKG_REVISION=1 +TERMUX_PKG_VERSION=6.5.0 TERMUX_PKG_SRCURL=https://fossies.org/linux/privat/multitail-${TERMUX_PKG_VERSION}.tgz -TERMUX_PKG_SHA256=af1d5458a78ad3b747c5eeb135b19bdca281ce414cefdc6ea0cff6d913caa1fd +TERMUX_PKG_SHA256=b29d5e77dfc663c7500f78da67de5d82d35d9417a4741a89a18ce9ee7bdba9ed TERMUX_PKG_DEPENDS="ncurses, ncurses-ui-libs, libandroid-glob" TERMUX_PKG_BUILD_IN_SRC=true