diff options
Diffstat (limited to 'app-admin/apachetop')
-rw-r--r-- | app-admin/apachetop/Manifest | 5 | ||||
-rw-r--r-- | app-admin/apachetop/apachetop-0.18.4.ebuild | 8 | ||||
-rw-r--r-- | app-admin/apachetop/apachetop-0.19.7.ebuild | 29 | ||||
-rw-r--r-- | app-admin/apachetop/files/apachetop-0.18.4-tinfo.patch | 11 |
4 files changed, 49 insertions, 4 deletions
diff --git a/app-admin/apachetop/Manifest b/app-admin/apachetop/Manifest index e3cb3b59482c..bbd02a57ba94 100644 --- a/app-admin/apachetop/Manifest +++ b/app-admin/apachetop/Manifest @@ -3,10 +3,13 @@ AUX apachetop-0.12.6-configure.patch 2884 BLAKE2B 34310a487b0dc68e184c9facce01d8 AUX apachetop-0.12.6-gcc41.patch 247 BLAKE2B f193def780fc35322d49af0e13898a5dd95ecb49f8c0f4039260eb6b2aaf6e5a45131682d68d38f474d384b9d6d35c27a5233b57949da8b6ff54d29b9634c86e SHA512 710b8e3b381dcf9aac58544f9afe0f2a3cc598b38e87145caad29404fc19983bc683b160f0f80dd003ffa57d246fbc5b0fa5754aa1012e985b4c2ffc7e01f50f AUX apachetop-0.12.6-maxpathlen.patch 1577 BLAKE2B 97c046e1bf9f7cd67aaf95f9ed755bc3f12774756da35b31cd7b38db22b2860400bcbc9626a37ea795dc454c46b90dd2a53f41c42124e9d777a7da7a75da3a4c SHA512 c0e4562b9789168acbea68b4f19eb32238244d8003bd4d0df458582b095d9680f2e20b592990f0bebe5ae17fcbcbfd2154e74169788a8d3a31498f26776f6f36 AUX apachetop-0.12.6-ncurses.patch 5392 BLAKE2B bfbe54d1a3b32157cda1a22aba83829948233df7d18d6f54c9ec6f9b4e987c9c201d1bc5af43c3ce0edd8af5d83f14b229725f68b44e8e9ab202da961d628542 SHA512 2c4759a1a8c4a54fb10d75779c23bfadfdb789be1a790add29adc2cb9ba1829f57239da568057ddbfaf0cea5468a74a3fdf20b1fd35b0bf51e8c8ab9e6027b6d +AUX apachetop-0.18.4-tinfo.patch 313 BLAKE2B 389a6d0715b00de166dff543b53abda45a52497497d66c4d0b4b2e4b0c4407a8dee90d7401088f9b99e408738d523211741f579b70ca8f64826e3dbd46619fd1 SHA512 0a9ef0782498e67cca07b642e796b1abaffad3bc3b330ca83b579d75a34fba1225453a52aadd720a830d8b51d342d34ed87c3b10cb8441bcf4c71b375ee03e66 DIST apachetop-0.12.6.tar.gz 126930 BLAKE2B 06d12cc72791920c959fa4ef8e18aa90f1f29a616389329685abf445f416cde9ce6edd2db5aaadaba51488033148e8109245200086a11422436ffe0aab1b4a40 SHA512 35081772f817c6a83a1fcf78790d2a288a9e4e48234c4b3163a09ad15f49a78d649b77f41aa002940fb9416c263cea159c5092a9b87285488eb450964c823c3a DIST apachetop-0.17.4.tar.gz 128153 BLAKE2B 7601ce98618d041f6fc67e528775ce79b63a726b765ff298d1d74a1dd22a4451be6c36669c7ab9bf82fb8c120a6930d2bbf03823de02a216c558c358c53c07be SHA512 b5115048f79c694344fd341631fe7739567ba3ce6e18514d0be250cb6f42e04c54d35cc023dea5258725fcbfbb6debdaa51b91d64ae3120e70f5b78a7989a330 DIST apachetop-0.18.4.tar.gz 128849 BLAKE2B 912f060984da326b2e005cc0e3eb99c28182bc6a0930e6781d5a0a990dbbe56b5dbfe871baea1c86a5ac2bc02faa1e583ca104d3c8bd00cc3617599601b2d8bd SHA512 e32f94ab6223578aa5b8c11083de762e8f916ba6d057d93f99208333632a8362b421c41fff76bf60a52f0b377a70d69c17ed02abfb95f86474ad3719016e59f7 +DIST apachetop-0.19.7.tar.gz 132665 BLAKE2B 248247c361d1585de68a0a9adae22f98db72991babfb4a75f01fa67ef28443a3c04cf1da9c1ea34ed923599955b58959528cc9e0a881fbb7b463b1d64c0cb7bd SHA512 40d546facee23a9914483c06323940e219602518751d80f729d835c4dbf991c7d1dd9bcebcaa4ca6a2d64799d48c8a00d421bc324afc2959691c962113386969 EBUILD apachetop-0.12.6-r2.ebuild 896 BLAKE2B d8fa75f505641c95219c94f0fb09bbb8382a4797c08be644ac17958c4c804c2594c3c5809c9b82fc413010230f5a83a70a74f4616fce507a1726bcbed204e231 SHA512 b5368a948c0b4f4e6c2d754335de9dd20cb263985192631703d437f7f1c833758b11e4a17cd18fa6f5d09a2edba8de91966d9d72c453e17c6145012686ad68ca EBUILD apachetop-0.17.4.ebuild 726 BLAKE2B 2979fc7c056474d3e6e968eb7f8a9729a9dcd83137020f50f45c14d1dae27a567dc03e189878e7a2edaa5fb9c68a4ddb4b9211c4d2f5089a98f4850bc67185da SHA512 3e7bcd2561a0dcbdf8d494e3e41c4735e1d08b6893d2c1889dc7590edb83ba729d42b73327284eb50f7c313f0c4b7d07a7c2e63cc5cc01544fa593eebdd8a072 -EBUILD apachetop-0.18.4.ebuild 726 BLAKE2B 2979fc7c056474d3e6e968eb7f8a9729a9dcd83137020f50f45c14d1dae27a567dc03e189878e7a2edaa5fb9c68a4ddb4b9211c4d2f5089a98f4850bc67185da SHA512 3e7bcd2561a0dcbdf8d494e3e41c4735e1d08b6893d2c1889dc7590edb83ba729d42b73327284eb50f7c313f0c4b7d07a7c2e63cc5cc01544fa593eebdd8a072 +EBUILD apachetop-0.18.4.ebuild 756 BLAKE2B 5dfdc856a095e583b707fbfeb2afa79f7a7f9486c8792a814bbb2823d8e92cbd3f78b1aa2fff34a2cf236923abe189e7e7ebc00cf2841cc5b100c0e43fd64391 SHA512 07fd2b11883cccc65befd13045f5d4fdf454e6dede3b2a97f46dc3487364daab176777d928aa575118c63806b1a8b7997c55961d895359504f02e97e20df5ba2 +EBUILD apachetop-0.19.7.ebuild 672 BLAKE2B cb03970143eab1da727332a1745a546cff9aef653e048c8702724852dc745b4360ac7370d7684b4d5920cb198cc37acf99610edd47705ce99cd11860d87479e5 SHA512 0336fc0789fcc78d45083ebc6ed85418174782fedcdf0884d8d857aa8bd7b172f9bbf6a43496f546ce9a34811697a9acaec12ce31d2eb7476f5cdd9d6d073bb1 MISC metadata.xml 381 BLAKE2B 0ce0f75aab60659850e7d04532911feea89a4bccf8ec7826ebfb924416af438d5a2bf7981435a22e825b39881ac20a8b2a0bd93a66b2d7b031c72123033f1d78 SHA512 9b3a37c75a62f1873288ffba45ab105225a90d72e01c7ead253b5a903ec28babe152074cc7595d6398104f8ccc50ebfc71ff72c4e620a7dad1b5e57f767cd118 diff --git a/app-admin/apachetop/apachetop-0.18.4.ebuild b/app-admin/apachetop/apachetop-0.18.4.ebuild index 2f5954eb82bf..c0a18315d1da 100644 --- a/app-admin/apachetop/apachetop-0.18.4.ebuild +++ b/app-admin/apachetop/apachetop-0.18.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -19,8 +19,10 @@ RDEPEND=" sys-libs/readline:0= fam? ( virtual/fam ) pcre? ( dev-libs/libpcre )" -DEPEND="${RDEPEND} - virtual/pkgconfig" +DEPEND="${RDEPEND}" +PATCHES=( + "${FILESDIR}"/${PN}-0.18.4-tinfo.patch +) src_prepare() { default diff --git a/app-admin/apachetop/apachetop-0.19.7.ebuild b/app-admin/apachetop/apachetop-0.19.7.ebuild new file mode 100644 index 000000000000..c55508cd46dd --- /dev/null +++ b/app-admin/apachetop/apachetop-0.19.7.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A realtime Apache log analyzer" +HOMEPAGE="https://github.com/tessus/apachetop" +SRC_URI="https://github.com/tessus/${PN}/releases/download/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~mips ~ppc ~sparc ~x86" +IUSE="fam pcre" + +RDEPEND=" + sys-libs/ncurses:0= + sys-libs/readline:0= + fam? ( virtual/fam ) + pcre? ( dev-libs/libpcre )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_configure() { + econf \ + --with-logfile="${EPREFIX}"/var/log/apache2/access_log \ + --without-adns \ + $(use_with fam) \ + $(use_with pcre) +} diff --git a/app-admin/apachetop/files/apachetop-0.18.4-tinfo.patch b/app-admin/apachetop/files/apachetop-0.18.4-tinfo.patch new file mode 100644 index 000000000000..d975a430914f --- /dev/null +++ b/app-admin/apachetop/files/apachetop-0.18.4-tinfo.patch @@ -0,0 +1,11 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -133,7 +133,7 @@ + AC_SEARCH_LIBS([socket], [socket]) + AC_SEARCH_LIBS([inet_addr], [nsl]) + AC_SEARCH_LIBS([attron], [ncurses]) +-AC_SEARCH_LIBS([tgetstr], [termcap]) ++AC_SEARCH_LIBS([tgetstr], [tinfo termcap]) + AC_SEARCH_LIBS([mvprintw], [curses ncurses] , + [] , + [ |