commit: 425d72da2724736a8190e63cf161e4492cb66b98 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Sat Apr 12 19:18:04 2025 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Sat Apr 12 19:18:04 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=425d72da
net-analyzer/symon: drop 2.88, EAPI=7-- Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> net-analyzer/symon/Manifest | 1 - net-analyzer/symon/symon-2.88.ebuild | 100 ----------------------------------- 2 files changed, 101 deletions(-) diff --git a/net-analyzer/symon/Manifest b/net-analyzer/symon/Manifest index 0c893d2c605c..a1d54d83f8f7 100644 --- a/net-analyzer/symon/Manifest +++ b/net-analyzer/symon/Manifest @@ -1,3 +1,2 @@ -DIST symon-2.88.tar.gz 110149 BLAKE2B 918ecf6c87a363e85ce67f9890b2ff6d326f14f896cb85ee6e501b962cb4e476b8fab9d6a96857e63e34aa2ebd2036fbb507c52d74b66b59ff7d77c7bc571474 SHA512 d2079caefcde4cf017460560826c7bf9e97aee9dcce886cd0a85d671bdad877c513889c9b7cd67844dbb4161ce6b6e6f99709475dd2591141f1bc61ee11e8173 DIST symon-2.89.tar.gz 106210 BLAKE2B d87fececf6e1e6dc9c39c0474e2a3e5bb6bb47b9a256e377385302a011532d94b751572040594b62962d4b2c2ac2d5bbd90513a79ab82bd69aeb4f30e93609a1 SHA512 631870aafbd29610a0ddc936f86ab12c16c3b19454b6bd98b3f1a1179767be890f9ea828dddcb8d79278f2c10b67631184386d6deb8ffb5c090d7bdc558e5db7 DIST symon-2.90.tar.gz 102807 BLAKE2B 9ae6042a3376154ed3548d81ddf2bd2fda611f3009d1f12f0dfec957226951c004fc6351933aa78a021bbaa3ffdf0cf4ce0739d861d9e64bf48906c6e4df3f16 SHA512 b6d3664660f119f9f62a3e9cd7fb7d72df7356adf8544a65cb467b9d18b18a5252e3b3cc57ee21f72e45b8dd4f57063a3c876ed736413c11a57575568857aefc diff --git a/net-analyzer/symon/symon-2.88.ebuild b/net-analyzer/symon/symon-2.88.ebuild deleted file mode 100644 index db593d82b2e3..000000000000 --- a/net-analyzer/symon/symon-2.88.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit perl-module toolchain-funcs - -DESCRIPTION="Performance and information monitoring tool" -HOMEPAGE="https://wpd.home.xs4all.nl/symon/" -SRC_URI="https://wpd.home.xs4all.nl/symon/philes/${P}.tar.gz" -S="${WORKDIR}"/${PN} - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~sparc ~x86" -IUSE="perl +symon symux" -REQUIRED_USE="|| ( perl symon symux )" - -BDEPEND="dev-build/pmake" -RDEPEND=" - perl? ( dev-lang/perl ) - symux? ( net-analyzer/rrdtool ) -" -DEPEND="${RDEPEND}" - -# Deletes the directory passed as an argument from the internal pmake -# variable SUBDIR. -zap_subdir() { - sed -i "/^SUBDIR/s|$1||" Makefile || die -} - -src_prepare() { - default - - sed -i \ - -e '/^[ \t]*${CC}.*\${LIBS}/s:\${CC}:$(CC) $(LDFLAGS):' \ - sym*/Makefile || die -} - -src_configure() { - use symon && USE_SYMON=1 - # Do some sed magic in accordance with the USE flags. - use perl && [[ -z ${USE_SYMON} ]] && ! use symux && zap_subdir lib - ! use perl && zap_subdir client - ! use symux && zap_subdir symux - [[ -z ${USE_SYMON} ]] && zap_subdir symon -} - -src_compile() { - pmake CC="$(tc-getCC)" CFLAGS+="${CFLAGS}" STRIP=true || die -} - -src_install() { - if [[ -n ${USE_SYMON} ]]; then - insinto /etc - doins "${FILESDIR}"/symon.conf - - newinitd "${FILESDIR}"/symon-init.d symon - - dodoc CHANGELOG HACKERS TODO - - doman symon/symon.8 - dosbin symon/symon - fi - - if use perl; then - dobin client/getsymonitem.pl - - perl_set_version - insinto ${VENDOR_LIB} - doins client/SymuxClient.pm - fi - - if use symux; then - insinto /etc - doins "${FILESDIR}"/symux.conf - - newinitd "${FILESDIR}"/symux-init.d symux - - doman symux/symux.8 - dosbin symux/symux - - insinto /usr/share/symon - doins symux/c_smrrds.sh - fperms a+x /usr/share/symon/c_smrrds.sh - - dodir /var/lib/symon/rrds/localhost - fi -} - -pkg_postinst() { - if use symux; then - elog "The RRDs files can be obtained by running" - elog "/usr/share/symon/c_smrrds.sh all." - elog "For information about migrating RRDs from a previous" - elog "symux version read the LEGACY FORMATS section of symux(8)." - elog "To view the rrdtool pictures of the stored data, emerge" - elog "net-analyzer/syweb." - fi -}
