* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/symon/
@ 2016-05-23 4:08 Jeroen Roovers
0 siblings, 0 replies; 6+ messages in thread
From: Jeroen Roovers @ 2016-05-23 4:08 UTC (permalink / raw
To: gentoo-commits
commit: 9d381fe0e29c19566629bc27db282a192974d517
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Mon May 23 04:08:03 2016 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Mon May 23 04:08:27 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d381fe0
net-analyzer/symon: Old.
Package-Manager: portage-2.3.0_rc1
net-analyzer/symon/Manifest | 1 -
net-analyzer/symon/symon-2.86-r1.ebuild | 110 --------------------------------
2 files changed, 111 deletions(-)
diff --git a/net-analyzer/symon/Manifest b/net-analyzer/symon/Manifest
index b2d2833..77d2042 100644
--- a/net-analyzer/symon/Manifest
+++ b/net-analyzer/symon/Manifest
@@ -1,2 +1 @@
-DIST symon-2.86.tar.gz 106791 SHA256 c36457e53e91cbb478cb57d96bf40c718a8582e0b19bd4cba247002b7a6068b3 SHA512 13f96654ee4569ac0a92fd601962d2610e83d03a59b0772c385788586ee7bcc2639012388b8c123dd6f12368e21e834c5a12c32152fc73e9e87553889962ee46 WHIRLPOOL bc94567f1c7ca36d30afd74f2747cbb239e86b8b7255541ff5ca4e2adafaed794249f455339a04c8291260430279840395e02e3733619f0e3595da2fdbfd7d21
DIST symon-2.87.tar.gz 107607 SHA256 3c0fa1aa0073f66c45697ffc12bb8da669eb67aeac22041d21235bbc515a8602 SHA512 8fce5cf2312f1d7ba78f693da2df9fea3bbeacae0c1b65f79c5f2444fcf07e07b11a5a7229ba762ac47ce484429a42f37bcbcc9e001fce0e5813a0dffd57a953 WHIRLPOOL ce9277f03198fbfa197aaa3540d6f5226d3f449bf69a2ee083917f4afe2e6439cfcc3289792c1f1ecf727d004d6aec3f470a813700f033fa6d9e13390ed5ce22
diff --git a/net-analyzer/symon/symon-2.86-r1.ebuild b/net-analyzer/symon/symon-2.86-r1.ebuild
deleted file mode 100644
index 597a0ee..0000000
--- a/net-analyzer/symon/symon-2.86-r1.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils perl-module toolchain-funcs
-
-DESCRIPTION="Performance and information monitoring tool"
-HOMEPAGE="http://www.xs4all.nl/~wpd/symon/"
-SRC_URI="http://www.xs4all.nl/~wpd/symon/philes/${P}.tar.gz"
-
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~amd64 ~sparc ~x86"
-IUSE="perl +symon symux"
-
-RDEPEND="perl? ( dev-lang/perl )
- symux? ( net-analyzer/rrdtool )"
-DEPEND="${RDEPEND}
- virtual/pmake"
-
-S=${WORKDIR}/${PN}
-
-# Deletes the directory passed as an argument from the internal pmake
-# variable SUBDIR.
-zap_subdir() {
- sed -i "/^SUBDIR/s|$1||" Makefile || die
-}
-
-pkg_setup() {
- use symon && USE_SYMON=1 && return
-
- if ! use perl && ! use symon && ! use symux; then
- ewarn "You have all available USE flags disabled. Therefore, only the"
- ewarn "system monitor will be emerged. Please, enable at least one USE"
- ewarn "flag to avoid this message."
- USE_SYMON=1
- fi
-}
-
-src_prepare() {
- sed -i \
- -e '/^[ \t]*${CC}.*\${LIBS}/s:\${CC}:$(CC) $(LDFLAGS):' \
- sym*/Makefile || die
-
- epatch "${FILESDIR}"/${P}-perl-5.18.patch
-}
-
-src_configure() {
- # 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 "pmake failed"
-}
-
-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
-
- dodir /usr/share/symon
- 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
-}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/symon/
@ 2017-03-07 8:01 Jeroen Roovers
0 siblings, 0 replies; 6+ messages in thread
From: Jeroen Roovers @ 2017-03-07 8:01 UTC (permalink / raw
To: gentoo-commits
commit: da1d30da882f458ed182c7355660081b8079ea20
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 7 08:00:48 2017 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Mar 7 08:00:48 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da1d30da
net-analyzer/symon: Version bump.
Package-Manager: Portage-2.3.4, Repoman-2.3.1
net-analyzer/symon/Manifest | 1 +
net-analyzer/symon/symon-2.88.ebuild | 105 +++++++++++++++++++++++++++++++++++
2 files changed, 106 insertions(+)
diff --git a/net-analyzer/symon/Manifest b/net-analyzer/symon/Manifest
index 77d2042e7ac..aff20a692c4 100644
--- a/net-analyzer/symon/Manifest
+++ b/net-analyzer/symon/Manifest
@@ -1 +1,2 @@
DIST symon-2.87.tar.gz 107607 SHA256 3c0fa1aa0073f66c45697ffc12bb8da669eb67aeac22041d21235bbc515a8602 SHA512 8fce5cf2312f1d7ba78f693da2df9fea3bbeacae0c1b65f79c5f2444fcf07e07b11a5a7229ba762ac47ce484429a42f37bcbcc9e001fce0e5813a0dffd57a953 WHIRLPOOL ce9277f03198fbfa197aaa3540d6f5226d3f449bf69a2ee083917f4afe2e6439cfcc3289792c1f1ecf727d004d6aec3f470a813700f033fa6d9e13390ed5ce22
+DIST symon-2.88.tar.gz 110149 SHA256 02fd2641b0f671b1a623ff37099c75a3523e3ae98c7fdb1f5ebd04cb9cfa20f1 SHA512 d2079caefcde4cf017460560826c7bf9e97aee9dcce886cd0a85d671bdad877c513889c9b7cd67844dbb4161ce6b6e6f99709475dd2591141f1bc61ee11e8173 WHIRLPOOL b5724c1e787ba2932afecd0902cedea590e6a7a8de41c0b914ac53fed863b47863585fef401d8b5d69d085cd06c5b1eac436a3abb9f230b7f071a09ae2c6eacb
diff --git a/net-analyzer/symon/symon-2.88.ebuild b/net-analyzer/symon/symon-2.88.ebuild
new file mode 100644
index 00000000000..8cb63d01020
--- /dev/null
+++ b/net-analyzer/symon/symon-2.88.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils perl-module toolchain-funcs
+
+DESCRIPTION="Performance and information monitoring tool"
+HOMEPAGE="http://wpd.home.xs4all.nl/symon"
+SRC_URI="${HOMEPAGE}/philes/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE="perl +symon symux"
+REQUIRED_USE="
+ || ( perl symon symux )
+"
+
+RDEPEND="
+ perl? ( dev-lang/perl )
+ symux? ( net-analyzer/rrdtool )
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pmake
+"
+
+S=${WORKDIR}/${PN}
+
+# 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
+
+ dodir /usr/share/symon
+ 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
+}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/symon/
@ 2017-06-24 10:37 Michał Górny
0 siblings, 0 replies; 6+ messages in thread
From: Michał Górny @ 2017-06-24 10:37 UTC (permalink / raw
To: gentoo-commits
commit: 6df2c95f45de3856dea091c058412b8be9fd93d2
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 24 10:24:11 2017 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jun 24 10:36:58 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6df2c95f
net-analyzer/symon: Dep on sys-devel/pmake, #622598
net-analyzer/symon/symon-2.87.ebuild | 2 +-
net-analyzer/symon/symon-2.88.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/symon/symon-2.87.ebuild b/net-analyzer/symon/symon-2.87.ebuild
index db2f77a4729..f78f8d6d8a3 100644
--- a/net-analyzer/symon/symon-2.87.ebuild
+++ b/net-analyzer/symon/symon-2.87.ebuild
@@ -16,7 +16,7 @@ IUSE="perl +symon symux"
RDEPEND="perl? ( dev-lang/perl )
symux? ( net-analyzer/rrdtool )"
DEPEND="${RDEPEND}
- virtual/pmake"
+ sys-devel/pmake"
S=${WORKDIR}/${PN}
diff --git a/net-analyzer/symon/symon-2.88.ebuild b/net-analyzer/symon/symon-2.88.ebuild
index 8cb63d01020..2ea5066d30b 100644
--- a/net-analyzer/symon/symon-2.88.ebuild
+++ b/net-analyzer/symon/symon-2.88.ebuild
@@ -22,7 +22,7 @@ RDEPEND="
"
DEPEND="
${RDEPEND}
- virtual/pmake
+ sys-devel/pmake
"
S=${WORKDIR}/${PN}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/symon/
@ 2020-11-26 23:04 Aaron Bauman
0 siblings, 0 replies; 6+ messages in thread
From: Aaron Bauman @ 2020-11-26 23:04 UTC (permalink / raw
To: gentoo-commits
commit: 7cd2afad8f5f86a8a995fbd40bd1fd13196273de
Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 26 22:57:48 2020 +0000
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Thu Nov 26 23:04:05 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cd2afad
net-analyzer/symon: drop old EAPI
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
net-analyzer/symon/Manifest | 1 -
net-analyzer/symon/symon-2.87.ebuild | 106 -----------------------------------
2 files changed, 107 deletions(-)
diff --git a/net-analyzer/symon/Manifest b/net-analyzer/symon/Manifest
index c8e4c0f69a7..98d712d76e1 100644
--- a/net-analyzer/symon/Manifest
+++ b/net-analyzer/symon/Manifest
@@ -1,2 +1 @@
-DIST symon-2.87.tar.gz 107607 BLAKE2B 44f42ceff818c0643b02f59715ddc9b886e480233cc63c0c29f6a234b7c510d5e175a964b1cd3fadbf9b3d95642d79f947921e88b979f71650a81798acea7429 SHA512 8fce5cf2312f1d7ba78f693da2df9fea3bbeacae0c1b65f79c5f2444fcf07e07b11a5a7229ba762ac47ce484429a42f37bcbcc9e001fce0e5813a0dffd57a953
DIST symon-2.88.tar.gz 110149 BLAKE2B 918ecf6c87a363e85ce67f9890b2ff6d326f14f896cb85ee6e501b962cb4e476b8fab9d6a96857e63e34aa2ebd2036fbb507c52d74b66b59ff7d77c7bc571474 SHA512 d2079caefcde4cf017460560826c7bf9e97aee9dcce886cd0a85d671bdad877c513889c9b7cd67844dbb4161ce6b6e6f99709475dd2591141f1bc61ee11e8173
diff --git a/net-analyzer/symon/symon-2.87.ebuild b/net-analyzer/symon/symon-2.87.ebuild
deleted file mode 100644
index 45cfd03c95d..00000000000
--- a/net-analyzer/symon/symon-2.87.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils 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"
-
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~amd64 ~sparc ~x86"
-IUSE="perl +symon symux"
-
-RDEPEND="perl? ( dev-lang/perl )
- symux? ( net-analyzer/rrdtool )"
-DEPEND="${RDEPEND}
- sys-devel/pmake"
-
-S=${WORKDIR}/${PN}
-
-# Deletes the directory passed as an argument from the internal pmake
-# variable SUBDIR.
-zap_subdir() {
- sed -i "/^SUBDIR/s|$1||" Makefile || die
-}
-
-pkg_setup() {
- use symon && USE_SYMON=1 && return
-
- if ! use perl && ! use symon && ! use symux; then
- ewarn "You have all available USE flags disabled. Therefore, only the"
- ewarn "system monitor will be emerged. Please, enable at least one USE"
- ewarn "flag to avoid this message."
- USE_SYMON=1
- fi
-}
-
-src_prepare() {
- sed -i \
- -e '/^[ \t]*${CC}.*\${LIBS}/s:\${CC}:$(CC) $(LDFLAGS):' \
- sym*/Makefile || die
-}
-
-src_configure() {
- # 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 "pmake failed"
-}
-
-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
-
- dodir /usr/share/symon
- 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
-}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/symon/
@ 2021-04-03 15:57 Sam James
0 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2021-04-03 15:57 UTC (permalink / raw
To: gentoo-commits
commit: c825a52204681acacf4e66c6f91e15fb173aae67
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 2 00:57:44 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 3 15:55:16 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c825a522
net-analyzer/symon: port to EAPI 7, eutils--
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/symon/symon-2.88.ebuild | 21 ++++++++-------------
1 file changed, 8 insertions(+), 13 deletions(-)
diff --git a/net-analyzer/symon/symon-2.88.ebuild b/net-analyzer/symon/symon-2.88.ebuild
index 0250b6eec39..521fcb00eb6 100644
--- a/net-analyzer/symon/symon-2.88.ebuild
+++ b/net-analyzer/symon/symon-2.88.ebuild
@@ -1,31 +1,27 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit eutils perl-module toolchain-funcs
+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 )
-"
+REQUIRED_USE="|| ( perl symon symux )"
+BDEPEND="sys-devel/pmake"
RDEPEND="
perl? ( dev-lang/perl )
symux? ( net-analyzer/rrdtool )
"
-DEPEND="
- ${RDEPEND}
- sys-devel/pmake
-"
-
-S=${WORKDIR}/${PN}
+DEPEND="${RDEPEND}"
# Deletes the directory passed as an argument from the internal pmake
# variable SUBDIR.
@@ -84,7 +80,6 @@ src_install() {
doman symux/symux.8
dosbin symux/symux
- dodir /usr/share/symon
insinto /usr/share/symon
doins symux/c_smrrds.sh
fperms a+x /usr/share/symon/c_smrrds.sh
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/symon/
@ 2025-03-10 1:34 Sam James
0 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2025-03-10 1:34 UTC (permalink / raw
To: gentoo-commits
commit: 7a5771a071db295d0a6af284359879fb569c4f3b
Author: NHOrus <jy6x2b32pie9 <AT> yahoo <DOT> com>
AuthorDate: Sun Mar 9 13:10:17 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 10 01:34:09 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a5771a0
net-analyzer/symon: add 2.90
Upstream fix for build on musl.
Removed tcp clients for symux, now fifo only.
Connection between symux and symon is not affected.
Signed-off-by: NHOrus <jy6x2b32pie9 <AT> yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/40977
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/symon/Manifest | 1 +
net-analyzer/symon/symon-2.90.ebuild | 98 ++++++++++++++++++++++++++++++++++++
2 files changed, 99 insertions(+)
diff --git a/net-analyzer/symon/Manifest b/net-analyzer/symon/Manifest
index 3dac736337a7..0c893d2c605c 100644
--- a/net-analyzer/symon/Manifest
+++ b/net-analyzer/symon/Manifest
@@ -1,2 +1,3 @@
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.90.ebuild b/net-analyzer/symon/symon-2.90.ebuild
new file mode 100644
index 000000000000..371ba28573fb
--- /dev/null
+++ b/net-analyzer/symon/symon-2.90.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit edo 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 )"
+# there are no tests, trying to run them fails because pmakefile
+RESTRICT="test"
+
+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
+}
+
+PATCHES=(
+ "${FILESDIR}/${PN}-2.89-condition-makefiles.patch"
+)
+
+src_configure() {
+ # Do some sed magic in accordance with the USE flags.
+ use perl && ! use symon && ! use symux && zap_subdir lib
+ ! use perl && zap_subdir client
+ ! use symux && zap_subdir symux
+ ! use symon && zap_subdir symon
+}
+
+src_compile() {
+ edo pmake CC="$(tc-getCC)" CFLAGS+="${CFLAGS}" LDFLAGS+="${LDFLAGS}"
+}
+
+src_install() {
+ if 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
+ keepdir /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
+}
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-03-10 1:34 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-23 4:08 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/symon/ Jeroen Roovers
-- strict thread matches above, loose matches on Subject: below --
2017-03-07 8:01 Jeroen Roovers
2017-06-24 10:37 Michał Górny
2020-11-26 23:04 Aaron Bauman
2021-04-03 15:57 Sam James
2025-03-10 1:34 Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox