aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHung-Yi Chen <gaod@hychen.org>2022-08-18 05:39:37 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2022-08-18 17:20:48 +0000
commit1d63c5950b383287974acb98766fecbb48446c3f (patch)
tree31ded036d11f9eeaeec5a8f656af0019a9d2918d
parent48e45257a7225100a3e11f476cb0bd0911f2a096 (diff)
downloadports-1d63c5950b383287974acb98766fecbb48446c3f.tar.gz
ports-1d63c5950b383287974acb98766fecbb48446c3f.zip
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)
-rw-r--r--sysutils/apachetop/Makefile3
-rw-r--r--sysutils/apachetop/distinfo6
-rw-r--r--sysutils/apachetop/files/patch-configure.ac42
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],
+ [