Merge pull request #124 from antonfischl1980/remove-old-ebuilds

remove old ebuilds
This commit is contained in:
antonfischl1980 2023-01-28 11:23:14 +01:00 committed by GitHub
commit bbade418d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 0 additions and 154 deletions

View File

@ -1,4 +1,3 @@
DIST thruk_libs-2.48.2.tar.gz 9849094 BLAKE2B 5a15ca8691e3f77417a873f6dda40911746c54d51684e6b3c511985677ec7312a08f8bba06f66b428af618d70b54e961f29b911e90d8b1318db874361ab36a4f SHA512 4e322c5a9effaa0775cf873254a8bd5efa9e364e6f4943baeb0c1efdd0a0834707bb48da39fd385f2cf45356ad9829b1b3f21adefe016edd9a9522494cd8b3aa
DIST thruk_libs-2.48.3.tar.gz 9867202 BLAKE2B edbd6a8ed01d1c691f19cae9ec411662500434c40976ab84f0239bf53a53bd0a5986aef21710c13ff972ba3422c250243d48e802dd466171ae28cb2089ae3fd6 SHA512 1be1bccfb561fcfb681b827e1a4808a60e2cae9df88cd94a8094a05ddb62080eaad56bf2898448701203b6fe0792e3599a5a68f0f9cbc4b20572d11820506d2c
DIST thruk_libs-3.00.tar.gz 9866795 BLAKE2B ae4c85f4b706d7efd0807194f422ee616dfedf35f8549a8cf89fd645ec876031aa188046adbf679916afe5b9e414b416343af03e94a80dad5b98267712ff834f SHA512 b55a0c9b029c9aa7504cbddf886279b6097ef2a4953a098b8c64a34d5a9c2907452f103b7e1554e1e9a89cf51a4b2fb3dbdc2a8e53dd163f98a5ad6423758338
DIST thruk_libs-3.02.tar.gz 9866931 BLAKE2B 406508ec731d3da319bdab0873e8720d38d5d74675927c63a14c542946cec3004324a1c6545a5f12f9ae70d67b6296f8c0ec236934fbdc1167b8bebec82f2431 SHA512 1169dd8fbbef9203162ea2de660c7eb1ea12b891dffcf6678075a38ea6056e00e34e7d6563ab6e39b3559bf63731ae17dbd7ad21f78e02f72655f5166036a2d3

View File

@ -1,23 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="easy build thruk perl dependencies"
HOMEPAGE="https://github.com/sni/thruk_libs"
SRC_URI="https://github.com/sni/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-1"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
DEPEND="
dev-db/mysql-connector-c
media-libs/gd
"
BDEPEND="
${DEPEND}
app-admin/chrpath
"

View File

@ -1,4 +1,3 @@
DIST check_nwc_health-10.2.1.tar.gz 722409 BLAKE2B d912409b22935fbaf12d73bd8b2d1f2bfc8b2b03d7823d189d4d1558162b316dd7c6cc1c7b7bea15cb32333bcffe6d35e5b4bd741e5921f5535e8aeee32d1896 SHA512 956789728e342af191191c7fcfdc293d9000564c5aba08f79beca44aba1a5b88b3e8c84e8435271c304f8758075a3829932fc2bda3745784576cca5a40012b27
DIST check_nwc_health-10.2.tar.gz 722167 BLAKE2B ac91b8ca573c357f29b1fc2d7bf81bb5b0bcafa8dad17ef126e2d0529dcf21c6bc003fb8fb7cfb8eeda33f43ed288ec91d8d346c088db2d0731672264298d1c5 SHA512 5af083b9e5a2670df17b63f3794a23434010bc64e9f7527edaec07845fc8457bab0c6e06afc6b6c66ce96af318e3b30711c6720f4dd4838b7a72c411c1191614
DIST check_nwc_health-10.3.tar.gz 731220 BLAKE2B 5a172805b322f85399287ede91511d9bbdbb1f87d931347f3829b275c059a62397f6a4cad38262179a1024464c0660e2fdd87343c90f2a39b46cb2261a6489b5 SHA512 d63a40a95699a23187d2347c8aebc2395afef7bfe11d66aeecf8f625c0e04a364d97c75de33344bcec6546a7e93ce95743dd5d552b5c22e050be59143ed4f305
DIST check_nwc_health-10.5.1.tar.gz 772976 BLAKE2B dd4c4a5ecfc652ac04e53b1aae9aab7c4565a5a6519b08b6b84acaed2bbe2410b52108b2767d0f474464f049c30d1714c351019622e6dc429f9ae6aebd439896 SHA512 edbc23bb00586af6a62e5d02c833592ee79bcd99013c8635dac2255a09ba571ef618233ecb34606c9ec1dfca613dedc2fdcc7559ecda924cb2ca10eea727283b

View File

@ -1,36 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_PN="${PN#nagios-}"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="plugin which checks the health of network components and interfaces."
HOMEPAGE="https://labs.consol.de/nagios/check_nwc_health/"
SRC_URI="https://labs.consol.de/assets/downloads/nagios/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND=""
RDEPEND="
dev-perl/JSON
dev-perl/File-Slurp
dev-perl/GLPlugin
"
BDEPEND=""
src_configure(){
# Should match net-analyzer/{monitoring,nagios}-plugins.
econf --libexecdir="/usr/$(get_libdir)/nagios/plugins/contrib" --disable-standalone
}
src_install(){
default
insinto /usr/share/icingaweb2/modules/graphite/templates/
newins "${FILESDIR}/nwc_health.template" "nwc_health.ini"
}

View File

@ -1,93 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="multibackend monitoring webinterface for Nagios/Icinga and others"
HOMEPAGE="https://www.thruk.org"
SRC_URI="https://github.com/sni/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-1"
SLOT="0"
KEYWORDS="amd64"
PATCHES=(
"${FILESDIR}/01-threads.patch"
)
DEPEND="
dev-perl/Cpanel-JSON-XS
dev-perl/Date-Calc
dev-perl/forks
dev-perl/thruk_libs
www-apache/mod_fcgid
www-client/phantomjs-bin
www-servers/apache
"
RDEPEND="${DEPEND}"
BDEPEND="
dev-perl/Module-Install
"
src_configure() {
econf \
--sysconfdir="${EPREFIX}"/etc/"${PN}" \
--datadir="${EPREFIX}"/usr/share/"${PN}" \
--localstatedir="${EPREFIX}"/var/lib/"${PN}" \
--with-initdir="${EPREFIX}"/usr/share/"${PN}"/etc/init.d/ \
--with-tempdir="${EPREFIX}"/usr/share/"${PN}"/tmp/ \
--with-logrotatedir="${EPREFIX}"/etc/logrotate.d \
--with-logdir="${EPREFIX}"/var/log/"${PN}" \
--with-thruk-user=apache \
--with-thruk-group=apache
}
src_install() {
default
mv "${D}/etc/Thruk/thruk_local.conf" "${D}/etc/Thruk/thruk_local.conf.example"
insinto /etc/apache2/vhosts.d/
newins "${FILESDIR}/apache_thruk.conf.example" thruk.conf.example
insinto /etc/logrotate.d/
newins "${FILESDIR}/thruk-base.lograte" thruk-base
keepdir /var/log/"${PN}"
fowners apache:apache /var/log/Thruk/
keepdir /usr/share/"${PN}"/var/
exeinto /usr/share/"${PN}"/bin/
doexe script/*.pl
doexe script/*.sh
doexe script/[cdegnrt]*
keepdir /usr/share/Thruk/tmp
fowners apache:apache /usr/share/Thruk/tmp
keepdir /etc/Thruk/panorama/
fowners apache:apache /etc/Thruk/panorama/
keepdir /var/lib/Thruk/
fowners apache:apache /var/lib/Thruk/
keepdir /var/lib/Thruk/sessions/
fowners apache:apache /var/lib/Thruk/sessions/
keepdir /var/lib/Thruk/users/
fowners apache:apache /var/lib/Thruk/users/
}
pkg_preinst(){
if [ "$(grep -L '^APACHE2_OPTS=.*-DFCGID' "${EROOT}/etc/conf.d/apache2"|wc -l)" -gt 0 ]; then
# Probably the first time we are installed
# set some more sane default settings in /etc/conf.d/apache2
mkdir -p "${D}/etc/conf.d/"
sed -E '
s#^(APACHE2_OPTS\s*=\s*")([^"]+)(")#\1\2 -D FCGID\3#
' < "${EROOT}/etc/conf.d/apache2" > "${D}/etc/conf.d/apache2"
fi
if [ ! -r "${EROOT}/etc/Thruk/thruk_local.conf" ]; then
# Probably the first time we are installed
cp "${D}/etc/Thruk/thruk_local.conf.example" "${D}/etc/Thruk/thruk_local.conf"
fi
}