1 |
commit: 989d26c6ff9f0298eba4b09df237862cf9509af8 |
2 |
Author: John Helmert III <jchelmert3 <AT> posteo <DOT> net> |
3 |
AuthorDate: Sun Dec 27 08:36:55 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 29 20:46:35 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=989d26c6 |
7 |
|
8 |
sys-apps/ipmitool: security cleanup (drop <1.8.18_p20201004-r1) |
9 |
|
10 |
Bug: https://bugs.gentoo.org/708436 |
11 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
12 |
Signed-off-by: John Helmert III <jchelmert3 <AT> posteo.net> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/18827 |
14 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 |
|
16 |
sys-apps/ipmitool/Manifest | 3 - |
17 |
sys-apps/ipmitool/ipmitool-1.8.18-r1.ebuild | 89 -------------------------- |
18 |
sys-apps/ipmitool/ipmitool-1.8.18-r2.ebuild | 96 ----------------------------- |
19 |
3 files changed, 188 deletions(-) |
20 |
|
21 |
diff --git a/sys-apps/ipmitool/Manifest b/sys-apps/ipmitool/Manifest |
22 |
index dac59e8952b..5c974ac3707 100644 |
23 |
--- a/sys-apps/ipmitool/Manifest |
24 |
+++ b/sys-apps/ipmitool/Manifest |
25 |
@@ -1,6 +1,3 @@ |
26 |
DIST enterprise-numbers.2020-10-21.xz 1426932 BLAKE2B bfe39ceea321ba47cd40eafa67862eb4dfd6dc29b192afb20ad0c908cd93a16b4103c5de64d042df012417c8cadc03000f2b2a00779bcc582a430603cad5f3cf SHA512 4a854a56e8ed51997c320cbfba041d43cb98b14743ef80b67e701942068d3729604abaedb617655a83ca21a7e20ea5a622ede4de317ca492cefd46da784d28f3 |
27 |
-DIST ipmitool-1.8.18.tar.gz 995313 BLAKE2B 4aee2b1488a8a97348954dd1555baf3d576d70f22fd17f11ba6147595b07ef52059ac8ab6775afa0ad956355eefbf3e2b0300cf87bb373d2f82b585de807412d SHA512 274d424fff079f7628c0f9fe06580937cb9717c809a71b2f5ef97266c6b6c89983b662fbb1f090e2f94861f1799677c8fc6536013828a8a5e6cb239af53e45ab |
28 |
DIST ipmitool-1.8.18_p20201004.tar.gz 638493 BLAKE2B 52f4ec8c82336b88640d1b91fc17af8f2fe0948a5c48c16067867dcad0852168d48bb21fdd99bde7ed957b66df888fd369c909079d1f81c861acd8c7f8dfa6f2 SHA512 8d72eef3584f4d2c86bfe43f70b5d687f3b7bbdf75b8979f7132c5c98b01baae22c336e540c197652187749fc9bb221a92e546b56e5cf2eb5650fad5094e9433 |
29 |
-DIST ipmitool_1.8.18-1.debian.tar.xz 19140 BLAKE2B 255c4da005946f3b118a127f96fc5daad02a170ea079d7a765a0c7650e1eb7e50ad49b31fca95312b49e5a524e04a8a21215cafb1a8451e5b2af2aaec22cda75 SHA512 8aede337d07987decfd032898f194d32730eced443630ac3956676533d693fb2d17a175ef14218cbcd55da44f6b17714f676a912a1d5124a15a995e01d2828ef |
30 |
DIST ipmitool_1.8.18-9.debian-ported-gentoo.tar.xz 3208 BLAKE2B b37a127eff361039b3b810e19dd97f0c395462b658803f56f10f2dd1abbbe92743dc409ce6b83560db15621b7fa7a3c0f989100077893993df18108a082e49d2 SHA512 0f7646a2307ac98425e99dece9d3e3b23026136a97524151efdecc910fb537af41a91702782989046e44163da98610fa05792878473e228b45c16351f6015a45 |
31 |
-DIST ipmitool_1.8.18-9.debian.tar.xz 18508 BLAKE2B 09e37fd2f6fad8f847bae87aa51f44293e5640b4c8ebc05e52ebd751542d7865024835fe728c14e3a44f48d54fedff9e7693653bd2288db27d21a5bae16268b6 SHA512 af2b4aa855125e1beb62ffd2931b5d4c0aa8cc4edbde27ea1b4be172e6a4351f574c32b2437b354d11b7f1c739161d850c47839d7a7d9f522b52e24f47a9ea8d |
32 |
|
33 |
diff --git a/sys-apps/ipmitool/ipmitool-1.8.18-r1.ebuild b/sys-apps/ipmitool/ipmitool-1.8.18-r1.ebuild |
34 |
deleted file mode 100644 |
35 |
index 314005e456a..00000000000 |
36 |
--- a/sys-apps/ipmitool/ipmitool-1.8.18-r1.ebuild |
37 |
+++ /dev/null |
38 |
@@ -1,89 +0,0 @@ |
39 |
-# Copyright 1999-2020 Gentoo Authors |
40 |
-# Distributed under the terms of the GNU General Public License v2 |
41 |
- |
42 |
-EAPI=6 |
43 |
-inherit autotools eutils |
44 |
- |
45 |
-DESCRIPTION="Utility for controlling IPMI enabled devices." |
46 |
-HOMEPAGE="http://ipmitool.sf.net/" |
47 |
-DEBIAN_PR="1.debian" |
48 |
-DEBIAN_P="${P/-/_}" |
49 |
-DEBIAN_PF="${DEBIAN_P}-${DEBIAN_PR}" |
50 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz |
51 |
- http://http.debian.net/debian/pool/main/i/${PN}/${DEBIAN_PF}.tar.xz" |
52 |
- # https://launchpad.net/ubuntu/+archive/primary/+files/${DEBIAN_PF}.tar.xz |
53 |
-#IUSE="freeipmi openipmi status" |
54 |
-IUSE="libressl openipmi static" |
55 |
-SLOT="0" |
56 |
-KEYWORDS="amd64 ~arm64 hppa ~ia64 ppc ~ppc64 x86" |
57 |
-LICENSE="BSD" |
58 |
- |
59 |
-RDEPEND=" |
60 |
- !libressl? ( dev-libs/openssl:0= ) |
61 |
- libressl? ( dev-libs/libressl:0= ) |
62 |
- sys-libs/readline:0=" |
63 |
-DEPEND="${RDEPEND} |
64 |
- openipmi? ( sys-libs/openipmi ) |
65 |
- virtual/os-headers" |
66 |
- #freeipmi? ( sys-libs/freeipmi ) |
67 |
-# ipmitool CAN build against || ( sys-libs/openipmi sys-libs/freeipmi ) |
68 |
-# but it doesn't actually need either. |
69 |
- |
70 |
-PATCHES=( |
71 |
- "${FILESDIR}"/${P}-openssl-1.1.patch |
72 |
- "${FILESDIR}/ipmitool-1.8.18-fno-common.patch" |
73 |
-) |
74 |
- |
75 |
-src_prepare() { |
76 |
- default |
77 |
- [ -d "${S}"/debian ] && mv "${S}"/debian{,.package} |
78 |
- ln -s "${WORKDIR}"/debian "${S}" |
79 |
- for p in $(grep -v "^#" debian/patches/series) ; do |
80 |
- eapply debian/patches/$p |
81 |
- done |
82 |
- |
83 |
- eautoreconf |
84 |
-} |
85 |
- |
86 |
-src_configure() { |
87 |
- # - LIPMI and BMC are the Solaris libs |
88 |
- # - OpenIPMI is unconditionally enabled in the configure as there is compat |
89 |
- # code that is used if the library itself is not available |
90 |
- # FreeIPMI does build now, but is disabled until the other arches keyword it |
91 |
- # `use_enable freeipmi intf-free` \ |
92 |
- # --enable-ipmievd is now unconditional |
93 |
- econf \ |
94 |
- $(use_enable static) \ |
95 |
- --enable-ipmishell \ |
96 |
- --enable-intf-lan \ |
97 |
- --enable-intf-lanplus \ |
98 |
- --enable-intf-open \ |
99 |
- --enable-intf-serial \ |
100 |
- --disable-intf-bmc \ |
101 |
- --disable-intf-dummy \ |
102 |
- --disable-intf-free \ |
103 |
- --disable-intf-imb \ |
104 |
- --disable-intf-lipmi \ |
105 |
- --disable-internal-md5 \ |
106 |
- --with-kerneldir=/usr --bindir=/usr/sbin |
107 |
- |
108 |
- # Fix linux/ipmi.h to compile properly. This is a hack since it doesn't |
109 |
- # include the below file to define some things. |
110 |
- echo "#include <asm/byteorder.h>" >>config.h |
111 |
-} |
112 |
- |
113 |
-src_install() { |
114 |
- emake DESTDIR="${D}" PACKAGE="${PF}" install |
115 |
- |
116 |
- into /usr |
117 |
- dosbin contrib/bmclanconf |
118 |
- rm -f "${D}"/usr/share/doc/${PF}/COPYING |
119 |
- docinto contrib |
120 |
- cd "${S}"/contrib |
121 |
- dodoc collect_data.sh create_rrds.sh create_webpage_compact.sh create_webpage.sh README |
122 |
- |
123 |
- newinitd "${FILESDIR}"/${PN}-1.8.9-ipmievd.initd ipmievd |
124 |
- newconfd "${FILESDIR}"/${PN}-1.8.9-ipmievd.confd ipmievd |
125 |
- # TODO: init script for contrib/bmc-snmp-proxy |
126 |
- # TODO: contrib/exchange-bmc-os-info |
127 |
-} |
128 |
|
129 |
diff --git a/sys-apps/ipmitool/ipmitool-1.8.18-r2.ebuild b/sys-apps/ipmitool/ipmitool-1.8.18-r2.ebuild |
130 |
deleted file mode 100644 |
131 |
index eb3cdab7d44..00000000000 |
132 |
--- a/sys-apps/ipmitool/ipmitool-1.8.18-r2.ebuild |
133 |
+++ /dev/null |
134 |
@@ -1,96 +0,0 @@ |
135 |
-# Copyright 1999-2020 Gentoo Authors |
136 |
-# Distributed under the terms of the GNU General Public License v2 |
137 |
- |
138 |
-EAPI=6 |
139 |
-inherit autotools eutils |
140 |
- |
141 |
-DESCRIPTION="Utility for controlling IPMI enabled devices." |
142 |
-HOMEPAGE="http://ipmitool.sf.net/" |
143 |
-DEBIAN_PR="9.debian" |
144 |
-DEBIAN_PV="${PV/_p*}" |
145 |
-DEBIAN_P="${PN}_${DEBIAN_PV}" |
146 |
-DEBIAN_PF="${DEBIAN_P}-${DEBIAN_PR}" |
147 |
-COMMIT_ID= |
148 |
-if [[ -n "${COMMIT_ID}" ]]; then |
149 |
- S="${WORKDIR}/${PN}-${COMMIT_ID}" |
150 |
- SRC_URI="https://github.com/ipmitool/ipmitool/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" |
151 |
-else |
152 |
- SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
153 |
-fi |
154 |
-SRC_URI+=" |
155 |
- http://http.debian.net/debian/pool/main/i/${PN}/${DEBIAN_PF}.tar.xz" |
156 |
- # https://launchpad.net/ubuntu/+archive/primary/+files/${DEBIAN_PF}.tar.xz |
157 |
-#IUSE="freeipmi openipmi status" |
158 |
-IUSE="libressl openipmi static" |
159 |
-SLOT="0" |
160 |
-KEYWORDS="~amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86" |
161 |
-LICENSE="BSD" |
162 |
- |
163 |
-RDEPEND=" |
164 |
- !libressl? ( dev-libs/openssl:0= ) |
165 |
- libressl? ( dev-libs/libressl:0= ) |
166 |
- sys-libs/readline:0=" |
167 |
-DEPEND="${RDEPEND} |
168 |
- openipmi? ( sys-libs/openipmi ) |
169 |
- virtual/os-headers" |
170 |
- #freeipmi? ( sys-libs/freeipmi ) |
171 |
-# ipmitool CAN build against || ( sys-libs/openipmi sys-libs/freeipmi ) |
172 |
-# but it doesn't actually need either. |
173 |
- |
174 |
-PATCHES=( |
175 |
- #"${FILESDIR}"/${P}-openssl-1.1.patch |
176 |
-) |
177 |
- |
178 |
-src_prepare() { |
179 |
- default |
180 |
- [ -d "${S}"/debian ] && mv "${S}"/debian{,.package} |
181 |
- ln -s "${WORKDIR}"/debian "${S}" |
182 |
- for p in $(grep -v "^#" debian/patches/series) ; do |
183 |
- eapply debian/patches/$p |
184 |
- done |
185 |
- |
186 |
- eautoreconf |
187 |
-} |
188 |
- |
189 |
-src_configure() { |
190 |
- # - LIPMI and BMC are the Solaris libs |
191 |
- # - OpenIPMI is unconditionally enabled in the configure as there is compat |
192 |
- # code that is used if the library itself is not available |
193 |
- # FreeIPMI does build now, but is disabled until the other arches keyword it |
194 |
- # `use_enable freeipmi intf-free` \ |
195 |
- # --enable-ipmievd is now unconditional |
196 |
- econf \ |
197 |
- $(use_enable static) \ |
198 |
- --enable-ipmishell \ |
199 |
- --enable-intf-lan \ |
200 |
- --enable-intf-lanplus \ |
201 |
- --enable-intf-open \ |
202 |
- --enable-intf-serial \ |
203 |
- --disable-intf-bmc \ |
204 |
- --disable-intf-dummy \ |
205 |
- --disable-intf-free \ |
206 |
- --disable-intf-imb \ |
207 |
- --disable-intf-lipmi \ |
208 |
- --disable-internal-md5 \ |
209 |
- --with-kerneldir=/usr --bindir=/usr/sbin |
210 |
- |
211 |
- # Fix linux/ipmi.h to compile properly. This is a hack since it doesn't |
212 |
- # include the below file to define some things. |
213 |
- echo "#include <asm/byteorder.h>" >>config.h |
214 |
-} |
215 |
- |
216 |
-src_install() { |
217 |
- emake DESTDIR="${D}" PACKAGE="${PF}" install |
218 |
- |
219 |
- into /usr |
220 |
- dosbin contrib/bmclanconf |
221 |
- rm -f "${D}"/usr/share/doc/${PF}/COPYING |
222 |
- docinto contrib |
223 |
- cd "${S}"/contrib |
224 |
- dodoc collect_data.sh create_rrds.sh create_webpage_compact.sh create_webpage.sh README |
225 |
- |
226 |
- newinitd "${FILESDIR}"/${PN}-1.8.9-ipmievd.initd ipmievd |
227 |
- newconfd "${FILESDIR}"/${PN}-1.8.9-ipmievd.confd ipmievd |
228 |
- # TODO: init script for contrib/bmc-snmp-proxy |
229 |
- # TODO: contrib/exchange-bmc-os-info |
230 |
-} |