Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/freeipmi/
Date: Thu, 20 Jan 2022 08:00:20
Message-Id: 1642665603.6c2559bf81fd5944373baeee5abfe26c5262d800.polynomial-c@gentoo
1 commit: 6c2559bf81fd5944373baeee5abfe26c5262d800
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 20 07:59:34 2022 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 20 08:00:03 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c2559bf
7
8 sys-libs/freeipmi: Removed old
9
10 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
11
12 sys-libs/freeipmi/Manifest | 2 -
13 sys-libs/freeipmi/freeipmi-1.5.7.ebuild | 89 -------------------------------
14 sys-libs/freeipmi/freeipmi-1.6.7.ebuild | 92 ---------------------------------
15 3 files changed, 183 deletions(-)
16
17 diff --git a/sys-libs/freeipmi/Manifest b/sys-libs/freeipmi/Manifest
18 index 1a1ba925b439..68a015e3b8ed 100644
19 --- a/sys-libs/freeipmi/Manifest
20 +++ b/sys-libs/freeipmi/Manifest
21 @@ -1,4 +1,2 @@
22 -DIST freeipmi-1.5.7.tar.gz 3321187 BLAKE2B c6f7e9c4e0a03ce1d50972fee99741ec00a8f5beb0323d61d9217b3773eed33cb04e7bb92e1f293cb39c8012872babdc4774e6d81cf808615b8b283510e1e67c SHA512 a4d39d11d4e4b9635c272ee3a197729ac61c3e1c909c202498fb480c41289116eb933cd716fe2e0b5aa6dc258751ee204892bfb009398b6d5c2c65ee1cc58544
23 -DIST freeipmi-1.6.7.tar.gz 3419196 BLAKE2B 6e07afb7e93ec41c18c82725e781177d8a5fef78054ffca784cb951e360be9132ee35805014cd1ee92e1c167b2ec7dcfd07152b43f09a53eefff3e05c6f73789 SHA512 2077dda7acb868fb551a29fc2f6bcf9172c79d69bacb6b0fbf90855c5eca9c8e5bb0bb493bee8a67dc18147ebec46699790f2cb707e17297e59604fc8edfa54a
24 DIST freeipmi-1.6.8.tar.gz 3426706 BLAKE2B afe3238955786b13aae0e0062028f5c969a8e686b46bea3850696361355b3bd82a55bd93523ea7fe2223fe5bb04922c26b46023f783bd879bbd01e34ffd6d59e SHA512 66cae2aed95ddb3fd9301146d5a1065b61267232d6ced726b106402bf3840a17364a29d7bf6bbe4db7955b77dcd23510f1258aac85ead5c295c876c6fa4333c3
25 DIST freeipmi-1.6.9.tar.gz 3429566 BLAKE2B 68ee7bd27d459a25464e17d9c98370252d33961d10e69675505f046db26a95d780c114b4f90eeab43a39d0fca3d98b1f108c6d3ca9550fd9d3c455d2e9a79c6b SHA512 536add8dc01aa4d9df45e3499f8be1318185b19beb579c8f991a11ca973626d7e0aabe1d8760a9addadc418ea5c1e2b5432053e46ba94fd9078fb6dcabf48280
26
27 diff --git a/sys-libs/freeipmi/freeipmi-1.5.7.ebuild b/sys-libs/freeipmi/freeipmi-1.5.7.ebuild
28 deleted file mode 100644
29 index c7545fd81b96..000000000000
30 --- a/sys-libs/freeipmi/freeipmi-1.5.7.ebuild
31 +++ /dev/null
32 @@ -1,89 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -AT_M4DIR="config"
39 -
40 -DESCRIPTION="Provides Remote-Console and System Management Software as per IPMI v1.5/2.0"
41 -HOMEPAGE="https://www.gnu.org/software/freeipmi/"
42 -
43 -MY_P="${P/_/.}"
44 -S="${WORKDIR}"/${MY_P}
45 -[[ ${MY_P} == *.beta* ]] && ALPHA="-alpha"
46 -SRC_URI="mirror://gnu${ALPHA}/${PN}/${MY_P}.tar.gz"
47 -
48 -LICENSE="GPL-3"
49 -SLOT="0"
50 -KEYWORDS="amd64 hppa x86"
51 -IUSE="debug nagios"
52 -
53 -RDEPEND="dev-libs/libgcrypt:0"
54 -DEPEND="${RDEPEND}
55 - virtual/os-headers"
56 -RDEPEND="${RDEPEND}
57 - nagios? (
58 - || ( net-analyzer/icinga net-analyzer/nagios )
59 - dev-lang/perl
60 - )
61 -"
62 -
63 -src_configure() {
64 - local myeconfargs=(
65 - $(use_enable debug)
66 - --disable-static
67 - --disable-init-scripts
68 - --localstatedir=/var
69 - )
70 -
71 - econf "${myeconfargs[@]}"
72 -}
73 -
74 -# There are no tests
75 -src_test() { :; }
76 -
77 -src_install() {
78 - default
79 -
80 - # freeipmi by defaults install _all_ commands to /usr/sbin, but
81 - # quite a few can be run remotely as standard user, so move them
82 - # in /usr/bin afterwards.
83 - dodir /usr/bin
84 - for file in ipmi{detect,ping,power,console}; do
85 - mv "${D}"/usr/{s,}bin/${file} || die
86 -
87 - # The default install symlinks these commands to add a dash
88 - # after the ipmi prefix; we repeat those after move for
89 - # consistency.
90 - rm "${D}"/usr/sbin/${file/ipmi/ipmi-}
91 - dosym ${file} /usr/bin/${file/ipmi/ipmi-}
92 - done
93 -
94 - # Install the nagios plugin in its proper place, if desired
95 - if use nagios; then
96 - dodir /usr/$(get_libdir)/nagios/plugins
97 - mv "${D}"/usr/share/doc/${PF}/contrib/nagios/nagios_ipmi_sensors.pl \
98 - "${D}"/usr/$(get_libdir)/nagios/plugins/ || die
99 - fperms 0755 /usr/$(get_libdir)/nagios/plugins/nagios_ipmi_sensors.pl
100 -
101 - insinto /etc/icinga/conf.d
102 - newins "${FILESDIR}"/freeipmi.icinga freeipmi-command.cfg
103 - fi
104 -
105 - dodoc AUTHORS ChangeLog* DISCLAIMER* NEWS README* TODO doc/*.txt
106 -
107 - keepdir \
108 - /var/cache/ipmimonitoringsdrcache \
109 - /var/lib/freeipmi \
110 - /var/log/ipmiconsole
111 -
112 - # starting from version 1.2.0 the two daemons are similar enough
113 - newinitd "${FILESDIR}"/bmc-watchdog.initd.4 ipmidetectd
114 - newconfd "${FILESDIR}"/ipmidetectd.confd ipmidetectd
115 -
116 - newinitd "${FILESDIR}"/bmc-watchdog.initd.4 bmc-watchdog
117 - newconfd "${FILESDIR}"/bmc-watchdog.confd bmc-watchdog
118 -
119 - newinitd "${FILESDIR}"/bmc-watchdog.initd.4 ipmiseld
120 - newconfd "${FILESDIR}"/ipmiseld.confd ipmiseld
121 -}
122
123 diff --git a/sys-libs/freeipmi/freeipmi-1.6.7.ebuild b/sys-libs/freeipmi/freeipmi-1.6.7.ebuild
124 deleted file mode 100644
125 index 903a59518440..000000000000
126 --- a/sys-libs/freeipmi/freeipmi-1.6.7.ebuild
127 +++ /dev/null
128 @@ -1,92 +0,0 @@
129 -# Copyright 1999-2021 Gentoo Authors
130 -# Distributed under the terms of the GNU General Public License v2
131 -
132 -EAPI=7
133 -
134 -AT_M4DIR="config"
135 -
136 -DESCRIPTION="Provides Remote-Console and System Management Software as per IPMI v1.5/2.0"
137 -HOMEPAGE="https://www.gnu.org/software/freeipmi/"
138 -
139 -MY_P="${P/_/.}"
140 -S="${WORKDIR}/${MY_P}"
141 -[[ ${MY_P} == *.beta* ]] && ALPHA="-alpha"
142 -SRC_URI="mirror://gnu${ALPHA}/${PN}/${MY_P}.tar.gz"
143 -
144 -LICENSE="GPL-3"
145 -SLOT="0"
146 -KEYWORDS="~amd64 ~hppa ~x86"
147 -IUSE="debug nagios"
148 -
149 -RDEPEND="dev-libs/libgcrypt:0="
150 -DEPEND="${RDEPEND}
151 - virtual/os-headers"
152 -RDEPEND="${RDEPEND}
153 - nagios? (
154 - || ( net-analyzer/icinga net-analyzer/nagios )
155 - dev-lang/perl
156 - )
157 -"
158 -
159 -src_configure() {
160 - local myeconfargs=(
161 - $(use_enable debug)
162 - --disable-static
163 - --disable-init-scripts
164 - --localstatedir="${EPREFIX}"/var
165 - )
166 -
167 - econf "${myeconfargs[@]}"
168 -}
169 -
170 -# There are no tests
171 -src_test() { :; }
172 -
173 -src_install() {
174 - default
175 -
176 - # freeipmi by defaults install _all_ commands to /usr/sbin, but
177 - # quite a few can be run remotely as standard user, so move them
178 - # in /usr/bin afterwards.
179 - dodir /usr/bin
180 - local prog
181 - for prog in ipmi{detect,ping,power,console}; do
182 - mv "${ED}"/usr/{s,}bin/${prog} || die
183 -
184 - # The default install symlinks these commands to add a dash
185 - # after the ipmi prefix; we repeat those after move for
186 - # consistency.
187 - rm "${ED}"/usr/sbin/${prog/ipmi/ipmi-}
188 - dosym ${prog} /usr/bin/${prog/ipmi/ipmi-}
189 - done
190 -
191 - # Install the nagios plugin in its proper place, if desired
192 - if use nagios; then
193 - dodir /usr/$(get_libdir)/nagios/plugins
194 - mv "${ED}"/usr/share/doc/${PF}/contrib/nagios/nagios_ipmi_sensors.pl \
195 - "${ED}"/usr/$(get_libdir)/nagios/plugins/ || die
196 - fperms 0755 /usr/$(get_libdir)/nagios/plugins/nagios_ipmi_sensors.pl
197 -
198 - insinto /etc/icinga/conf.d
199 - newins "${FILESDIR}"/freeipmi.icinga freeipmi-command.cfg
200 - fi
201 -
202 - dodoc AUTHORS ChangeLog* DISCLAIMER* NEWS README* TODO doc/*.txt
203 -
204 - keepdir \
205 - /var/cache/ipmimonitoringsdrcache \
206 - /var/lib/freeipmi \
207 - /var/log/ipmiconsole
208 -
209 - # starting from version 1.2.0 the two daemons are similar enough
210 - newinitd "${FILESDIR}"/bmc-watchdog.initd.4 ipmidetectd
211 - newconfd "${FILESDIR}"/ipmidetectd.confd ipmidetectd
212 -
213 - newinitd "${FILESDIR}"/bmc-watchdog.initd.4 bmc-watchdog
214 - newconfd "${FILESDIR}"/bmc-watchdog.confd bmc-watchdog
215 -
216 - newinitd "${FILESDIR}"/bmc-watchdog.initd.4 ipmiseld
217 - newconfd "${FILESDIR}"/ipmiseld.confd ipmiseld
218 -
219 - find "${ED}" -type f -name "*.la" -delete || die
220 -}