Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Aug 2022 17:23:59 GMT
From:      =?utf-8?Q?Fernando=20Apestegu=C3=ADa?= <fernape@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1d63c5950b38 - main - sysutils/apachetop: update to 0.19.7
Message-ID:  <202208181723.27IHNxDs020359@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1d63c5950b383287974acb98766fecbb48446c3f

commit 1d63c5950b383287974acb98766fecbb48446c3f
Author:     Hung-Yi Chen <gaod@hychen.org>
AuthorDate: 2022-08-18 05:39:37 +0000
Commit:     Fernando ApesteguĂ­a <fernape@FreeBSD.org>
CommitDate: 2022-08-18 17:20:48 +0000

    sysutils/apachetop: update to 0.19.7
    
    ChangeLog: https://github.com/tessus/apachetop/blob/master/ChangeLog
    
     * attempt to find ncurses via pkg-config first (@Polynomial-C)
     * add .editorconfig for consistent coding style
    
    PR:             265908
    Reported by:    gaod@hychen.org
    Approved by:    lukasz@wasikowski.net (maintainer)
---
 sysutils/apachetop/Makefile                 |  3 +--
 sysutils/apachetop/distinfo                 |  6 ++---
 sysutils/apachetop/files/patch-configure.ac | 42 +++++++++++++++++++++++++++++
 3 files changed, 46 insertions(+), 5 deletions(-)

diff --git a/sysutils/apachetop/Makefile b/sysutils/apachetop/Makefile
index 94ce0caaa08a..73250d2a7a48 100644
--- a/sysutils/apachetop/Makefile
+++ b/sysutils/apachetop/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	apachetop
-PORTVERSION=	0.18.4
-PORTREVISION=	1
+PORTVERSION=	0.19.7
 CATEGORIES=	sysutils
 
 MAINTAINER=	lukasz@wasikowski.net
diff --git a/sysutils/apachetop/distinfo b/sysutils/apachetop/distinfo
index f657bc613e12..2b2bdbec8fcc 100644
--- a/sysutils/apachetop/distinfo
+++ b/sysutils/apachetop/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1535255129
-SHA256 (tessus-apachetop-0.18.4_GH0.tar.gz) = 1cbbfd1bf12275fb21e0cb6068b9050b2fee8c276887054a015bf103a1ae9cc6
-SIZE (tessus-apachetop-0.18.4_GH0.tar.gz) = 43047
+TIMESTAMP = 1660754845
+SHA256 (tessus-apachetop-0.19.7_GH0.tar.gz) = 88abf58ee5d7882e4cc3fa2462865ebbf0e8f872fdcec5186abe16e7bff3d4a5
+SIZE (tessus-apachetop-0.19.7_GH0.tar.gz) = 43388
diff --git a/sysutils/apachetop/files/patch-configure.ac b/sysutils/apachetop/files/patch-configure.ac
new file mode 100644
index 000000000000..72333d188a62
--- /dev/null
+++ b/sysutils/apachetop/files/patch-configure.ac
@@ -0,0 +1,42 @@
+--- configure.ac.orig	2019-07-20 16:29:06.000000000 +0800
++++ configure.ac	2022-08-18 01:36:23.768371000 +0800
+@@ -36,8 +36,6 @@
+ AM_CONFIG_HEADER(config.h)
+ AM_INIT_AUTOMAKE
+
+-PKG_PROG_PKG_CONFIG
+-
+ # Add non-standard directories to the include path
+ AC_ARG_WITH(libraries,
+     [
+@@ -135,22 +133,14 @@
+ AC_SEARCH_LIBS([socket], [socket])
+ AC_SEARCH_LIBS([inet_addr], [nsl])
+ 
+-NCURSES_FOUND=no
+-PKG_CHECK_MODULES(NCURSES, ncurses, [
+-		  LIBS="$LIBS $NCURSES_LIBS"
+-		  NCURSES_FOUND=yes
+-		 ])
+-
+-AS_IF([test "x$NCURSES_FOUND" != "xyes"], [
+-	AC_SEARCH_LIBS([attron], [ncurses])
+-	AC_SEARCH_LIBS([tgetstr], [termcap])
+-	AC_SEARCH_LIBS([mvprintw], [curses ncurses] ,
+-	    [] ,
+-	    [
+-	        AC_MSG_ERROR([No useful curses library found!])
+-	    ]
+-	)
+-])
++AC_SEARCH_LIBS([attron], [ncurses])
++AC_SEARCH_LIBS([tgetstr], [termcap])
++AC_SEARCH_LIBS([mvprintw], [curses ncurses] ,
++               [] ,
++               [
++                AC_MSG_ERROR([No useful curses library found!])
++                ]
++               )
+
+ AC_SEARCH_LIBS([readline], [readline],
+     [



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202208181723.27IHNxDs020359>