1 |
commit: bab7638d056c90cd7e4dfd9ea1e8ef5b3382661f |
2 |
Author: Rick Farina <zerochaos <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 20 16:32:58 2022 +0000 |
4 |
Commit: Rick Farina <zerochaos <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 20 17:04:43 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bab7638d |
7 |
|
8 |
net-wireless/kismet: drop 2021.05.1, 2021.06.1 |
9 |
|
10 |
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org> |
11 |
|
12 |
net-wireless/kismet/Manifest | 2 - |
13 |
net-wireless/kismet/kismet-2021.05.1.ebuild | 203 ---------------------------- |
14 |
net-wireless/kismet/kismet-2021.06.1.ebuild | 203 ---------------------------- |
15 |
3 files changed, 408 deletions(-) |
16 |
|
17 |
diff --git a/net-wireless/kismet/Manifest b/net-wireless/kismet/Manifest |
18 |
index 5f77c23f1ae7..c0618cb9dccb 100644 |
19 |
--- a/net-wireless/kismet/Manifest |
20 |
+++ b/net-wireless/kismet/Manifest |
21 |
@@ -1,3 +1 @@ |
22 |
-DIST kismet-2021-05-R1.tar.xz 10611692 BLAKE2B fc0a145005440c8af5320488e1a4bfe808ad8aeba614c9294b511a8da70ec2d51dbfd2ecc840c9af84e0222967200bb82856b2e008e39f015b455be131f89484 SHA512 edca956c9c04f99e06a09dc23216a908fbac68637246d73430b2d9d3a3ba1c2e8099d263819073d24494dce17bd36c83a2f51c648430a6eea3db7332b07e2fba |
23 |
-DIST kismet-2021-06-R1.tar.xz 10616368 BLAKE2B 22c216355b31224f41991f6caa6ad86cd2549982196cf0dd6f89ef88f92d85f57bd12100a74ebbe3e0cee0140da4bd545b548382d55a4c3ac1403504680c9ca3 SHA512 88d92e2ef3f0513a3a00b573012edbd115f92e5f28f884aead5ab049fad97b328222c2f3cbb49d80c5fcfdab2212934532cf41c100c4d0a5e94c932e1c5e8352 |
24 |
DIST kismet-2021-08-R1.tar.xz 10621004 BLAKE2B 236a43d2073e380c60dadfc4f611465ffa5c7de2a282fa3f45252368cbc65aaa21ad6d33c504685e39ec7913a36364283f6706d6ad8fcecf2f7922c23a4aa792 SHA512 91e86dc1d3b69aa8cb6dff4c4b8bb959dca128f06d1298effe1b23ed24158ce4285abdf2af838f48588b9e71c69f82538d1a002838c4bc1d053868118e394b7a |
25 |
|
26 |
diff --git a/net-wireless/kismet/kismet-2021.05.1.ebuild b/net-wireless/kismet/kismet-2021.05.1.ebuild |
27 |
deleted file mode 100644 |
28 |
index 4d086c30ee7b..000000000000 |
29 |
--- a/net-wireless/kismet/kismet-2021.05.1.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,203 +0,0 @@ |
32 |
-# Copyright 1999-2021 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
- |
37 |
-PYTHON_COMPAT=( python3_{8,9} ) |
38 |
- |
39 |
-inherit autotools multilib python-single-r1 udev systemd |
40 |
- |
41 |
-if [[ ${PV} == "9999" ]] ; then |
42 |
- EGIT_REPO_URI="https://www.kismetwireless.net/git/${PN}.git" |
43 |
- inherit git-r3 |
44 |
- RESTRICT="strip" |
45 |
-else |
46 |
- MY_P=${P/\./-} |
47 |
- MY_P=${MY_P/_beta/-BETA} |
48 |
- MY_P=${MY_P/./-R} |
49 |
- S=${WORKDIR}/${MY_P/BETA/beta} |
50 |
- |
51 |
- #normally we want an official release |
52 |
- SRC_URI="https://www.kismetwireless.net/code/${MY_P}.tar.xz" |
53 |
- |
54 |
- #but sometimes we want a git commit |
55 |
- #COMMIT="9ca7e469cf115469f392db7436816151867e1654" |
56 |
- #SRC_URI="https://github.com/kismetwireless/kismet/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
57 |
- #S="${WORKDIR}/${PN}-${COMMIT}" |
58 |
- |
59 |
- KEYWORDS="amd64 arm ~arm64 ~ppc x86" |
60 |
-fi |
61 |
- |
62 |
-DESCRIPTION="IEEE 802.11 wireless LAN sniffer" |
63 |
-HOMEPAGE="https://www.kismetwireless.net" |
64 |
- |
65 |
-LICENSE="GPL-2" |
66 |
-SLOT="0/${PV}" |
67 |
-IUSE="libusb lm-sensors networkmanager +pcre rtlsdr selinux +suid ubertooth udev" |
68 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
69 |
- |
70 |
-CDEPEND=" |
71 |
- ${PYTHON_DEPS} |
72 |
- acct-user/kismet |
73 |
- acct-group/kismet |
74 |
- networkmanager? ( net-misc/networkmanager:= ) |
75 |
- dev-libs/glib:= |
76 |
- dev-libs/elfutils:= |
77 |
- sys-libs/zlib:= |
78 |
- dev-db/sqlite:= |
79 |
- net-libs/libmicrohttpd:= |
80 |
- net-libs/libwebsockets:=[client] |
81 |
- kernel_linux? ( sys-libs/libcap |
82 |
- dev-libs/libnl:3 |
83 |
- net-libs/libpcap |
84 |
- ) |
85 |
- libusb? ( virtual/libusb:1 ) |
86 |
- dev-libs/protobuf-c:= |
87 |
- dev-libs/protobuf:= |
88 |
- $(python_gen_cond_dep ' |
89 |
- dev-python/protobuf-python[${PYTHON_USEDEP}] |
90 |
- dev-python/websockets[${PYTHON_USEDEP}] |
91 |
- ') |
92 |
- sys-libs/ncurses:= |
93 |
- lm-sensors? ( sys-apps/lm-sensors ) |
94 |
- pcre? ( dev-libs/libpcre ) |
95 |
- suid? ( sys-libs/libcap ) |
96 |
- ubertooth? ( net-wireless/ubertooth:= ) |
97 |
- " |
98 |
- |
99 |
-DEPEND="${CDEPEND} |
100 |
- dev-libs/boost |
101 |
- dev-libs/libfmt |
102 |
- virtual/pkgconfig |
103 |
-" |
104 |
- |
105 |
-RDEPEND="${CDEPEND} |
106 |
- $(python_gen_cond_dep ' |
107 |
- dev-python/pyserial[${PYTHON_USEDEP}] |
108 |
- ') |
109 |
- selinux? ( sec-policy/selinux-kismet ) |
110 |
-" |
111 |
-PDEPEND=" |
112 |
- rtlsdr? ( |
113 |
- $(python_gen_cond_dep ' |
114 |
- dev-python/numpy[${PYTHON_USEDEP}] |
115 |
- ') |
116 |
- net-wireless/rtl-sdr |
117 |
- )" |
118 |
- |
119 |
-src_prepare() { |
120 |
- sed -i -e "s:^\(logtemplate\)=\(.*\):\1=/tmp/\2:" \ |
121 |
- conf/kismet_logging.conf || die |
122 |
- |
123 |
- #this was added to quiet macosx builds but it makes gcc builds noisier |
124 |
- sed -i -e 's#-Wno-unknown-warning-option ##g' Makefile.inc.in || die |
125 |
- |
126 |
- #sed -i -e 's#root#kismet#g' packaging/systemd/kismet.service.in |
127 |
- |
128 |
- rm -r boost || die |
129 |
- rm -r fmt || die |
130 |
- |
131 |
- #dev-libs/jsoncpp |
132 |
- #rm -r json || die |
133 |
- #sed -i 's#"json/json.h"#<json/json.h>#' jsoncpp.cc kis_net_beast_httpd.h \ |
134 |
- # log_tools/kismetdb_clean.cc log_tools/kismetdb_dump_devices.cc \ |
135 |
- # log_tools/kismetdb_statistics.cc log_tools/kismetdb_to_gpx.cc \ |
136 |
- # log_tools/kismetdb_to_kml.cc log_tools/kismetdb_to_pcap.cc \ |
137 |
- # log_tools/kismetdb_to_wiglecsv.cc trackedcomponent.h \ |
138 |
- # trackedelement.h trackedelement_workers.h |
139 |
- |
140 |
- # Don't strip and set correct mangrp |
141 |
- sed -i -e 's| -s||g' \ |
142 |
- -e 's|@mangrp@|root|g' Makefile.in || die |
143 |
- |
144 |
- eapply_user |
145 |
- |
146 |
- #just use set to fix setup.py |
147 |
- find . -name "Makefile.in" -exec sed -i 's#setup.py install#setup.py install --root=$(DESTDIR)#' {} + || die |
148 |
- find . -name "Makefile" -exec sed -i 's#setup.py install#setup.py install --root=$(DESTDIR)#' {} + || die |
149 |
- |
150 |
- if [ "${PV}" = "9999" ]; then |
151 |
- eautoreconf |
152 |
- fi |
153 |
-} |
154 |
- |
155 |
-src_configure() { |
156 |
- econf \ |
157 |
- $(use_enable libusb libusb) \ |
158 |
- $(use_enable pcre) \ |
159 |
- $(use_enable lm-sensors lmsensors) \ |
160 |
- $(use_enable networkmanager libnm) \ |
161 |
- $(use_enable ubertooth) \ |
162 |
- --sysconfdir=/etc/kismet \ |
163 |
- --disable-optimization |
164 |
-} |
165 |
- |
166 |
-src_install() { |
167 |
- emake DESTDIR="${D}" commoninstall |
168 |
- python_optimize |
169 |
- emake DESTDIR="${D}" forceconfigs |
170 |
- use udev && udev_dorules packaging/udev/*.rules |
171 |
- |
172 |
- insinto /usr/share/${PN} |
173 |
- doins Makefile.inc |
174 |
- if [ "${PV}" = "9999" ];then |
175 |
- doins "${FILESDIR}"/gdb |
176 |
- dobin "${FILESDIR}"/kismet-gdb |
177 |
- fi |
178 |
- |
179 |
- dodoc CHANGELOG README* |
180 |
- newinitd "${FILESDIR}"/${PN}.initd-r3 kismet |
181 |
- newconfd "${FILESDIR}"/${PN}.confd-r2 kismet |
182 |
- systemd_dounit packaging/systemd/kismet.service |
183 |
-} |
184 |
- |
185 |
-pkg_preinst() { |
186 |
- if use suid; then |
187 |
- fowners root:kismet /usr/bin/kismet_cap_linux_bluetooth |
188 |
- fowners root:kismet /usr/bin/kismet_cap_linux_wifi |
189 |
- fowners root:kismet /usr/bin/kismet_cap_pcapfile |
190 |
- # Need to set the permissions after chowning. |
191 |
- # See chown(2) |
192 |
- fperms 4550 /usr/bin/kismet_cap_linux_bluetooth |
193 |
- fperms 4550 /usr/bin/kismet_cap_linux_wifi |
194 |
- fperms 4550 /usr/bin/kismet_cap_pcapfile |
195 |
- elog "Kismet has been installed with a setuid-root helper binary" |
196 |
- elog "to enable minimal-root operation. Users need to be part of" |
197 |
- elog "the 'kismet' group to perform captures from physical devices." |
198 |
- fi |
199 |
- if ! use suid; then |
200 |
- ewarn "It is highly discouraged to run a sniffer as root," |
201 |
- ewarn "Please consider enabling the suid use flag and adding" |
202 |
- ewarn "your user to the kismet group." |
203 |
- fi |
204 |
-} |
205 |
- |
206 |
-migrate_config() { |
207 |
- einfo "Kismet Configuration files are now read from /etc/kismet/" |
208 |
- ewarn "Please keep user specific settings in /etc/kismet/kismet_site.conf" |
209 |
- if [ -n "$(ls ${EROOT}/etc/kismet_*.conf 2> /dev/null)" ]; then |
210 |
- ewarn "Files at /etc/kismet_*.conf will not be read and should be removed" |
211 |
- fi |
212 |
- if [ -f "${EROOT}/etc/kismet_site.conf" ] && [ ! -f "${EROOT}/etc/kismet/kismet_site.conf" ]; then |
213 |
- mv /etc/kismet_site.conf /etc/kismet/kismet_site.conf || die "Failed to migrate kismet_site.conf to new location" |
214 |
- ewarn "Your /etc/kismet_site.conf file has been automatically moved to /etc/kismet/kismet_site.conf" |
215 |
- elif [ -f "${EROOT}/etc/kismet_site.conf" ] && [ -f "${EROOT}/etc/kismet/kismet_site.conf" ]; then |
216 |
- ewarn "Both /etc/kismet_site.conf and /etc/kismet/kismet_site.conf exist, please migrate needed bits" |
217 |
- ewarn "into /etc/kismet/kismet_site.conf and remove /etc/kismet_site.conf" |
218 |
- fi |
219 |
-} |
220 |
- |
221 |
-pkg_postinst() { |
222 |
- if [ -n "${REPLACING_VERSIONS}" ]; then |
223 |
- for v in ${REPLACING_VERSIONS}; do |
224 |
- if ver_test ${v} -lt 2019.07.2 ; then |
225 |
- migrate_config |
226 |
- break |
227 |
- fi |
228 |
- if ver_test ${v} -eq 9999 ; then |
229 |
- migrate_config |
230 |
- break |
231 |
- fi |
232 |
- done |
233 |
- fi |
234 |
-} |
235 |
|
236 |
diff --git a/net-wireless/kismet/kismet-2021.06.1.ebuild b/net-wireless/kismet/kismet-2021.06.1.ebuild |
237 |
deleted file mode 100644 |
238 |
index 4d086c30ee7b..000000000000 |
239 |
--- a/net-wireless/kismet/kismet-2021.06.1.ebuild |
240 |
+++ /dev/null |
241 |
@@ -1,203 +0,0 @@ |
242 |
-# Copyright 1999-2021 Gentoo Authors |
243 |
-# Distributed under the terms of the GNU General Public License v2 |
244 |
- |
245 |
-EAPI=7 |
246 |
- |
247 |
-PYTHON_COMPAT=( python3_{8,9} ) |
248 |
- |
249 |
-inherit autotools multilib python-single-r1 udev systemd |
250 |
- |
251 |
-if [[ ${PV} == "9999" ]] ; then |
252 |
- EGIT_REPO_URI="https://www.kismetwireless.net/git/${PN}.git" |
253 |
- inherit git-r3 |
254 |
- RESTRICT="strip" |
255 |
-else |
256 |
- MY_P=${P/\./-} |
257 |
- MY_P=${MY_P/_beta/-BETA} |
258 |
- MY_P=${MY_P/./-R} |
259 |
- S=${WORKDIR}/${MY_P/BETA/beta} |
260 |
- |
261 |
- #normally we want an official release |
262 |
- SRC_URI="https://www.kismetwireless.net/code/${MY_P}.tar.xz" |
263 |
- |
264 |
- #but sometimes we want a git commit |
265 |
- #COMMIT="9ca7e469cf115469f392db7436816151867e1654" |
266 |
- #SRC_URI="https://github.com/kismetwireless/kismet/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
267 |
- #S="${WORKDIR}/${PN}-${COMMIT}" |
268 |
- |
269 |
- KEYWORDS="amd64 arm ~arm64 ~ppc x86" |
270 |
-fi |
271 |
- |
272 |
-DESCRIPTION="IEEE 802.11 wireless LAN sniffer" |
273 |
-HOMEPAGE="https://www.kismetwireless.net" |
274 |
- |
275 |
-LICENSE="GPL-2" |
276 |
-SLOT="0/${PV}" |
277 |
-IUSE="libusb lm-sensors networkmanager +pcre rtlsdr selinux +suid ubertooth udev" |
278 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
279 |
- |
280 |
-CDEPEND=" |
281 |
- ${PYTHON_DEPS} |
282 |
- acct-user/kismet |
283 |
- acct-group/kismet |
284 |
- networkmanager? ( net-misc/networkmanager:= ) |
285 |
- dev-libs/glib:= |
286 |
- dev-libs/elfutils:= |
287 |
- sys-libs/zlib:= |
288 |
- dev-db/sqlite:= |
289 |
- net-libs/libmicrohttpd:= |
290 |
- net-libs/libwebsockets:=[client] |
291 |
- kernel_linux? ( sys-libs/libcap |
292 |
- dev-libs/libnl:3 |
293 |
- net-libs/libpcap |
294 |
- ) |
295 |
- libusb? ( virtual/libusb:1 ) |
296 |
- dev-libs/protobuf-c:= |
297 |
- dev-libs/protobuf:= |
298 |
- $(python_gen_cond_dep ' |
299 |
- dev-python/protobuf-python[${PYTHON_USEDEP}] |
300 |
- dev-python/websockets[${PYTHON_USEDEP}] |
301 |
- ') |
302 |
- sys-libs/ncurses:= |
303 |
- lm-sensors? ( sys-apps/lm-sensors ) |
304 |
- pcre? ( dev-libs/libpcre ) |
305 |
- suid? ( sys-libs/libcap ) |
306 |
- ubertooth? ( net-wireless/ubertooth:= ) |
307 |
- " |
308 |
- |
309 |
-DEPEND="${CDEPEND} |
310 |
- dev-libs/boost |
311 |
- dev-libs/libfmt |
312 |
- virtual/pkgconfig |
313 |
-" |
314 |
- |
315 |
-RDEPEND="${CDEPEND} |
316 |
- $(python_gen_cond_dep ' |
317 |
- dev-python/pyserial[${PYTHON_USEDEP}] |
318 |
- ') |
319 |
- selinux? ( sec-policy/selinux-kismet ) |
320 |
-" |
321 |
-PDEPEND=" |
322 |
- rtlsdr? ( |
323 |
- $(python_gen_cond_dep ' |
324 |
- dev-python/numpy[${PYTHON_USEDEP}] |
325 |
- ') |
326 |
- net-wireless/rtl-sdr |
327 |
- )" |
328 |
- |
329 |
-src_prepare() { |
330 |
- sed -i -e "s:^\(logtemplate\)=\(.*\):\1=/tmp/\2:" \ |
331 |
- conf/kismet_logging.conf || die |
332 |
- |
333 |
- #this was added to quiet macosx builds but it makes gcc builds noisier |
334 |
- sed -i -e 's#-Wno-unknown-warning-option ##g' Makefile.inc.in || die |
335 |
- |
336 |
- #sed -i -e 's#root#kismet#g' packaging/systemd/kismet.service.in |
337 |
- |
338 |
- rm -r boost || die |
339 |
- rm -r fmt || die |
340 |
- |
341 |
- #dev-libs/jsoncpp |
342 |
- #rm -r json || die |
343 |
- #sed -i 's#"json/json.h"#<json/json.h>#' jsoncpp.cc kis_net_beast_httpd.h \ |
344 |
- # log_tools/kismetdb_clean.cc log_tools/kismetdb_dump_devices.cc \ |
345 |
- # log_tools/kismetdb_statistics.cc log_tools/kismetdb_to_gpx.cc \ |
346 |
- # log_tools/kismetdb_to_kml.cc log_tools/kismetdb_to_pcap.cc \ |
347 |
- # log_tools/kismetdb_to_wiglecsv.cc trackedcomponent.h \ |
348 |
- # trackedelement.h trackedelement_workers.h |
349 |
- |
350 |
- # Don't strip and set correct mangrp |
351 |
- sed -i -e 's| -s||g' \ |
352 |
- -e 's|@mangrp@|root|g' Makefile.in || die |
353 |
- |
354 |
- eapply_user |
355 |
- |
356 |
- #just use set to fix setup.py |
357 |
- find . -name "Makefile.in" -exec sed -i 's#setup.py install#setup.py install --root=$(DESTDIR)#' {} + || die |
358 |
- find . -name "Makefile" -exec sed -i 's#setup.py install#setup.py install --root=$(DESTDIR)#' {} + || die |
359 |
- |
360 |
- if [ "${PV}" = "9999" ]; then |
361 |
- eautoreconf |
362 |
- fi |
363 |
-} |
364 |
- |
365 |
-src_configure() { |
366 |
- econf \ |
367 |
- $(use_enable libusb libusb) \ |
368 |
- $(use_enable pcre) \ |
369 |
- $(use_enable lm-sensors lmsensors) \ |
370 |
- $(use_enable networkmanager libnm) \ |
371 |
- $(use_enable ubertooth) \ |
372 |
- --sysconfdir=/etc/kismet \ |
373 |
- --disable-optimization |
374 |
-} |
375 |
- |
376 |
-src_install() { |
377 |
- emake DESTDIR="${D}" commoninstall |
378 |
- python_optimize |
379 |
- emake DESTDIR="${D}" forceconfigs |
380 |
- use udev && udev_dorules packaging/udev/*.rules |
381 |
- |
382 |
- insinto /usr/share/${PN} |
383 |
- doins Makefile.inc |
384 |
- if [ "${PV}" = "9999" ];then |
385 |
- doins "${FILESDIR}"/gdb |
386 |
- dobin "${FILESDIR}"/kismet-gdb |
387 |
- fi |
388 |
- |
389 |
- dodoc CHANGELOG README* |
390 |
- newinitd "${FILESDIR}"/${PN}.initd-r3 kismet |
391 |
- newconfd "${FILESDIR}"/${PN}.confd-r2 kismet |
392 |
- systemd_dounit packaging/systemd/kismet.service |
393 |
-} |
394 |
- |
395 |
-pkg_preinst() { |
396 |
- if use suid; then |
397 |
- fowners root:kismet /usr/bin/kismet_cap_linux_bluetooth |
398 |
- fowners root:kismet /usr/bin/kismet_cap_linux_wifi |
399 |
- fowners root:kismet /usr/bin/kismet_cap_pcapfile |
400 |
- # Need to set the permissions after chowning. |
401 |
- # See chown(2) |
402 |
- fperms 4550 /usr/bin/kismet_cap_linux_bluetooth |
403 |
- fperms 4550 /usr/bin/kismet_cap_linux_wifi |
404 |
- fperms 4550 /usr/bin/kismet_cap_pcapfile |
405 |
- elog "Kismet has been installed with a setuid-root helper binary" |
406 |
- elog "to enable minimal-root operation. Users need to be part of" |
407 |
- elog "the 'kismet' group to perform captures from physical devices." |
408 |
- fi |
409 |
- if ! use suid; then |
410 |
- ewarn "It is highly discouraged to run a sniffer as root," |
411 |
- ewarn "Please consider enabling the suid use flag and adding" |
412 |
- ewarn "your user to the kismet group." |
413 |
- fi |
414 |
-} |
415 |
- |
416 |
-migrate_config() { |
417 |
- einfo "Kismet Configuration files are now read from /etc/kismet/" |
418 |
- ewarn "Please keep user specific settings in /etc/kismet/kismet_site.conf" |
419 |
- if [ -n "$(ls ${EROOT}/etc/kismet_*.conf 2> /dev/null)" ]; then |
420 |
- ewarn "Files at /etc/kismet_*.conf will not be read and should be removed" |
421 |
- fi |
422 |
- if [ -f "${EROOT}/etc/kismet_site.conf" ] && [ ! -f "${EROOT}/etc/kismet/kismet_site.conf" ]; then |
423 |
- mv /etc/kismet_site.conf /etc/kismet/kismet_site.conf || die "Failed to migrate kismet_site.conf to new location" |
424 |
- ewarn "Your /etc/kismet_site.conf file has been automatically moved to /etc/kismet/kismet_site.conf" |
425 |
- elif [ -f "${EROOT}/etc/kismet_site.conf" ] && [ -f "${EROOT}/etc/kismet/kismet_site.conf" ]; then |
426 |
- ewarn "Both /etc/kismet_site.conf and /etc/kismet/kismet_site.conf exist, please migrate needed bits" |
427 |
- ewarn "into /etc/kismet/kismet_site.conf and remove /etc/kismet_site.conf" |
428 |
- fi |
429 |
-} |
430 |
- |
431 |
-pkg_postinst() { |
432 |
- if [ -n "${REPLACING_VERSIONS}" ]; then |
433 |
- for v in ${REPLACING_VERSIONS}; do |
434 |
- if ver_test ${v} -lt 2019.07.2 ; then |
435 |
- migrate_config |
436 |
- break |
437 |
- fi |
438 |
- if ver_test ${v} -eq 9999 ; then |
439 |
- migrate_config |
440 |
- break |
441 |
- fi |
442 |
- done |
443 |
- fi |
444 |
-} |