app-admin/fetchlog: drop 1.4-r2

Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
This commit is contained in:
Petr Vaněk 2025-06-30 14:49:26 +02:00
parent 23c158bf69
commit 6683eb0a0d
No known key found for this signature in database
GPG Key ID: 351D91B6D7DF9E50
3 changed files with 0 additions and 75 deletions

View File

@ -1,2 +1 @@
DIST fetchlog-1.4.tar.gz 32393 BLAKE2B 2741c536dfb17414ffaf90cebd9f8c7c1a1c80edb30bc726f15aa6acd610a07afb926c2566d27b30125e7f4733c1abde8eb81c68d81f609bc05328cf90755d44 SHA512 51590c0cdfa8f4a15fcb4a436375d960c25f35d84558ab46def58f83c97da30caee449eea7c62c539da786a613c2b1e51dbc223d70d56c21daad6e9faf8a51ad
DIST fetchlog-1.6.tar.gz 34174 BLAKE2B 42e4bed8d8a506b5f135f9e78a78f557ce9ece805f24bea5c95910a6d01b2e1780c58c1bf91df4c911b9afe8bd573b5745ef0f8fe0bbd651dd1a7af423307e49 SHA512 334d1dfba148faf56805838c8101625460e02ffe98e4dc07676cfff9b2d65914f6148a066c539847eb106dcb2e74f511e15fb4537560e8eb601309cfdd22776d DIST fetchlog-1.6.tar.gz 34174 BLAKE2B 42e4bed8d8a506b5f135f9e78a78f557ce9ece805f24bea5c95910a6d01b2e1780c58c1bf91df4c911b9afe8bd573b5745ef0f8fe0bbd651dd1a7af423307e49 SHA512 334d1dfba148faf56805838c8101625460e02ffe98e4dc07676cfff9b2d65914f6148a066c539847eb106dcb2e74f511e15fb4537560e8eb601309cfdd22776d

View File

@ -1,44 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="Displays the last new messages of a logfile"
HOMEPAGE="https://fetchlog.sourceforge.net/"
SRC_URI="https://downloads.sourceforge.net/fetchlog/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 ppc ~ppc64 x86"
IUSE="snmp"
RDEPEND="
snmp? (
>=dev-perl/Net-SNMP-4.0.1-r2
>=net-analyzer/net-snmp-5.0.6
)"
PATCHES=( "${FILESDIR}"/${PN}-1.4-fix-build-system.patch )
src_configure() {
tc-export CC
}
src_install() {
dobin fetchlog
einstalldocs
dodoc *cfg*
doman fetchlog.1
}
pkg_preinst() {
elog
elog "This utility can be used together with Nagios"
elog "To make use of these features you need to"
elog "install net-analyzer/nagios."
elog "This feature depends on SNMP, so make sure you"
elog "have 'snmp' in your USE flags"
elog
}

View File

@ -1,30 +0,0 @@
--- a/Makefile
+++ b/Makefile
@@ -23,8 +23,8 @@
### compiler
### gcc
-CC=gcc
-CFLAGS= -O -Werror -Wall -Wcast-qual -Wstrict-prototypes \
+CC ?= gcc
+CFLAGS += -Wall -Wcast-qual -Wstrict-prototypes \
-Wmissing-prototypes -Wmissing-declarations -Winline -Wcast-align
### cc
#CC=cc
@@ -72,7 +72,7 @@
# compiler stuff
# --------------
-CC_OPT= $(CFLAGS) -DFETCHLOG_VERSION_NO=\"$(FETCHLOG_VERSION)\" \
+CPPFLAGS += -DFETCHLOG_VERSION_NO=\"$(FETCHLOG_VERSION)\" \
$(HAS_MADVISE) $(HAS_REGEX)
# all
@@ -82,7 +82,6 @@
# fetchlog
# -------
fetchlog: fetchlog.c
- $(CC) $(CC_OPT) fetchlog.c -o fetchlog
# install