From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- sys-apps/lnxhc/Manifest | 7 ++++ sys-apps/lnxhc/files/lnxhc-1.2-ifconfig-path.patch | 23 ++++++++++++ sys-apps/lnxhc/files/lnxhc-1.2-usrlocal.patch | 43 ++++++++++++++++++++++ sys-apps/lnxhc/lnxhc-1.2-r1.ebuild | 22 +++++++++++ sys-apps/lnxhc/metadata.xml | 11 ++++++ 5 files changed, 106 insertions(+) create mode 100644 sys-apps/lnxhc/Manifest create mode 100644 sys-apps/lnxhc/files/lnxhc-1.2-ifconfig-path.patch create mode 100644 sys-apps/lnxhc/files/lnxhc-1.2-usrlocal.patch create mode 100644 sys-apps/lnxhc/lnxhc-1.2-r1.ebuild create mode 100644 sys-apps/lnxhc/metadata.xml (limited to 'sys-apps/lnxhc') diff --git a/sys-apps/lnxhc/Manifest b/sys-apps/lnxhc/Manifest new file mode 100644 index 000000000000..67a0abd2f16a --- /dev/null +++ b/sys-apps/lnxhc/Manifest @@ -0,0 +1,7 @@ +AUX lnxhc-1.2-ifconfig-path.patch 654 SHA256 e9c97c791be80ca6bb3c80c0ca1c8f41e9b9c3e10b7044298f79c12363627b5e SHA512 a29bc332e918e44fe3659f520c32df34ca293edc1545534853495a41182f7e28cb049e20e746f4cbf83c30140f4ae450d034e806a4c87e4d642f4ff2cce27cc1 WHIRLPOOL 8f0a601e79ed8f06a392ff4b4ad5d417526067b89342c690cddd91c4a4ac0931078d52c369a33d41d93de9215c95abe1b55a162cbe76cce77c221bfa4c6dfd87 +AUX lnxhc-1.2-usrlocal.patch 1455 SHA256 62bc5ce12b5ef725aafbfde9e0159948b1ef9d6fe083b9bf5c9c4a665fc1f42c SHA512 43be5d638f46caee028802e8675621a7e6ec8499f4490ed1f9df167a8b9b82a3002bac5a28ab3116507eb0eccaad33d865cb64f6cbc4b134717541cd2424087f WHIRLPOOL 1fd199359cfbb1ad8c8cec266950324bd10ff3442f9fc99542fe9e9b1ecf77a53e0ac37f4236dfca62dd3bd3bef10ca09d3ff5a49df88bb8558167e13dd7c5af +DIST lnxhc-1.2.tar.gz 360869 SHA256 a94a748171b812528567a0f7a3c19f048a57463cb0fddb9e152b38e2ed8a66c0 SHA512 200ab6443c3b8f4dd99928d2f18b31e8e05c1f9c1f976052017a643430ed87fa08a399e9e8430eafb2925126bd2d90fc4f65ce1c220d6100b71c31fc0505aab0 WHIRLPOOL aa0b7f1f86bae2fce4da3db40dc97c525fb1d94b86298142675d64654676be391487c33612fb8018cae5b5bb1cedd610696092f8ef1944e4ce446f50bdcddef4 +EBUILD lnxhc-1.2-r1.ebuild 481 SHA256 fd3fc8487664e488ebe3fb983ac1339872082c43d6eebe60905c4bfdbba13a3f SHA512 e82e4ab73e589b07a471d855589ef686d29b19d5d60cfe3650cc0ac9679da204a8f8782ef3b0484ab09a6c5fea522e8944761973677b12819ce727a2e826eb5f WHIRLPOOL fa89cb86946619860965040f52b526541489147a38793d8466dabb0921d2cc9e8c747b149ed55e72ef7cd94318d6d3da133669922f57ef4fa42f9f0da6a51b50 +MISC ChangeLog 2245 SHA256 102cc7fe59a87f5de40d6b6f866e932dcbae77ed4a382961519b985630e1b0e5 SHA512 3a405f585e10e8eecf3d93756a9435d00e6a7587ea0e8b435c8ae6ac96f91fb991993c52b37fe0daf9eff9e76ab1ffb20f9dcb2e9a875c512bcf5dc762395338 WHIRLPOOL 3c95f8eb2187a9a9e85031c49025cdab9e9da0020d8da90bba8fef394d2c5de75bb1d93667f440821770a14a3d36cabbd840616c6109962e65a1c921706e4c73 +MISC ChangeLog-2015 896 SHA256 8e2dc12d2e29ba8bed3a3da10105119bd743251c0b1b3db2243fd304beec1eb4 SHA512 81d8b6802c3e6062fb73ed2a1fb8173144f7593aa46e1d6f6efe47ba45c8b04b9c08babfc3c17c0651c12af15d3da44c880ca2f5fa2322dceae7c49dccfd186d WHIRLPOOL dfe6f51a03917613a72e20dfb0ef47a079e84c8859b962f70cd73144aeccac216a459b01d3c1d1e6f0a458d5368d5402272a16171b49921edb41242feb8c7b4a +MISC metadata.xml 323 SHA256 d4fa34f745a0b6ddf13ced504e9ad1dcd23bdb5f91988686243150ec05728613 SHA512 d6afbaade4f09d103a0a40e30079e402df15cc5f1f452bd0b10b2d5ecda328ff1d057c9a931869cccc15381c1e1abfbb37cca942179e51ce6a562772c9ca6698 WHIRLPOOL b4f1c424ea48b2524099792cae5ae26ac981ab41e11b6dea35068c6027d037b0ea0594b77ef66fadf8075b0d90d6ed375809ee54d63118241149f11ba508a3e8 diff --git a/sys-apps/lnxhc/files/lnxhc-1.2-ifconfig-path.patch b/sys-apps/lnxhc/files/lnxhc-1.2-ifconfig-path.patch new file mode 100644 index 000000000000..89e184704857 --- /dev/null +++ b/sys-apps/lnxhc/files/lnxhc-1.2-ifconfig-path.patch @@ -0,0 +1,23 @@ +--- lnxhc-1.2/checks/net_hsi_outbound_errors/definitions ++++ lnxhc-1.2-patched/checks/net_hsi_outbound_errors/definitions +@@ -9,7 +9,7 @@ + default = "1" + + [sysinfo ifconfig] +-program = "/sbin/ifconfig" ++program = "/bin/ifconfig" + + [exception slow_hsi_receivers] + severity = medium + +--- lnxhc-1.2/checks/net_inbound_errors/definitions 2013-02-06 04:08:55.000000000 -0500 ++++ lnxhc-1.2-patched/checks/net_inbound_errors/definitions 2013-05-22 17:13:56.088787813 -0400 +@@ -11,7 +11,7 @@ + # The above value in percentage + + [sysinfo ifconfig] +-program = "/sbin/ifconfig" ++program = "/bin/ifconfig" + + [exception limits_exceeded] + severity = medium diff --git a/sys-apps/lnxhc/files/lnxhc-1.2-usrlocal.patch b/sys-apps/lnxhc/files/lnxhc-1.2-usrlocal.patch new file mode 100644 index 000000000000..fe237502785f --- /dev/null +++ b/sys-apps/lnxhc/files/lnxhc-1.2-usrlocal.patch @@ -0,0 +1,43 @@ +diff -ruN lnxhc-1.2/Makefile lnxhc-1.2-patched/Makefile +--- lnxhc-1.2/Makefile 2013-02-06 04:14:17.000000000 -0500 ++++ lnxhc-1.2-patched/Makefile 2013-02-09 13:39:25.096883794 -0500 +@@ -71,7 +71,6 @@ + pycheckdir := $(libdir)/python/check + exampledir := $(docdir)/examples + dbdir1 := $(libdir) +-dbdir2 := /usr/local/lib/lnxhc + + # Base files + binfiles := $(wildcard bin/*) +@@ -154,7 +153,7 @@ + $(DESTDIR)$(sysvardir) $(DESTDIR)$(pmdir) \ + $(DESTDIR)$(checkdir) $(DESTDIR)$(consdir) \ + $(DESTDIR)$(profiledir) $(DESTDIR)$(dbdir1) \ +- $(DESTDIR)$(dbdir2) $(DESTDIR)$(pmcheckdir) \ ++ $(DESTDIR)$(pmcheckdir) \ + $(DESTDIR)$(pmconsumerdir) $(DESTDIR)$(pydir) \ + $(DESTDIR)$(pycheckdir) $(DESTDIR)$(exampledir) + +@@ -164,7 +163,7 @@ + $(DESTDIR)$(checkdir) $(DESTDIR)$(consdir) \ + $(DESTDIR)$(profiledir) $(DESTDIR)$(pycheckdir) \ + $(DESTDIR)$(pydir) $(DESTDIR)$(libdir) \ +- $(DESTDIR)$(dbdir2) $(DESTDIR)$(exampledir) \ ++ $(DESTDIR)$(exampledir) \ + $(DESTDIR)$(docdir) + + installbase: installdirs +@@ -184,11 +183,11 @@ + $(CP) -rp $(examples) $(DESTDIR)$(exampledir) + for FILE in $(notdir $(binfiles)) ; do \ + $(FIXPATH) "$(DESTDIR)/$(bindir)/$${FILE}" "$(libdir)" \ +- "$(dbdir1)" "$(dbdir2)" ; \ ++ "$(dbdir1)" ; \ + done + for FILE in $(notdir $(conffiles)) ; do \ + $(FIXPATH) "$(DESTDIR)/$(confdir)/$${FILE}" "$(libdir)" \ +- "$(dbdir1)" "$(dbdir2)" ; \ ++ "$(dbdir1)" ; \ + done + + uninstallbase: diff --git a/sys-apps/lnxhc/lnxhc-1.2-r1.ebuild b/sys-apps/lnxhc/lnxhc-1.2-r1.ebuild new file mode 100644 index 000000000000..2b878ef587d8 --- /dev/null +++ b/sys-apps/lnxhc/lnxhc-1.2-r1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils +DESCRIPTION="Linux Health Checker" +HOMEPAGE="http://lnxhc.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="EPL-1.0" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=dev-lang/perl-5.8" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}/${PN}-1.2-usrlocal.patch" + epatch "${FILESDIR}/${PN}-1.2-ifconfig-path.patch" +} diff --git a/sys-apps/lnxhc/metadata.xml b/sys-apps/lnxhc/metadata.xml new file mode 100644 index 000000000000..36bfe2a121c5 --- /dev/null +++ b/sys-apps/lnxhc/metadata.xml @@ -0,0 +1,11 @@ + + + + + creffett@gentoo.org + Chris Reffett + + + lnxhc + + -- cgit v1.2.3