Community maintained packages for ImmortalWrt.
Révision | 433161d00ad2fcd878a01be104380e8843343b33 (tree) |
---|---|
l'heure | 2023-01-25 20:36:20 |
Auteur | Tianling Shen <cnsztl@immo...> |
Commiter | Tianling Shen |
Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
@@ -1,12 +1,12 @@ | ||
1 | 1 | include $(TOPDIR)/rules.mk |
2 | 2 | |
3 | 3 | PKG_NAME:=delve |
4 | -PKG_VERSION:=1.8.2 | |
4 | +PKG_VERSION:=1.20.1 | |
5 | 5 | PKG_RELEASE:=1 |
6 | 6 | |
7 | 7 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
8 | 8 | PKG_SOURCE_URL:=https://codeload.github.com/go-delve/delve/tar.gz/v$(PKG_VERSION)? |
9 | -PKG_HASH:=fbf6ea7e1ed0c92e543c7f5f2343928e185e11e4cba1c7c9d3bfc28d1c323900 | |
9 | +PKG_HASH:=a10aa97d3f6b6219877a73dd305d511442ad0caab740de76fc005796a480de93 | |
10 | 10 | |
11 | 11 | PKG_LICENSE:=MIT |
12 | 12 | PKG_LICENSE_FILES:=LICENSE |
@@ -0,0 +1,41 @@ | ||
1 | +include $(TOPDIR)/rules.mk | |
2 | + | |
3 | +PKG_NAME:=nasm | |
4 | +PKG_VERSION:=2.16.01 | |
5 | +PKG_RELEASE:=1 | |
6 | + | |
7 | +PKG_SOURCE_URL:=https://www.nasm.us/pub/nasm/releasebuilds/$(PKG_VERSION)/ | |
8 | +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz | |
9 | +PKG_HASH:=c77745f4802375efeee2ec5c0ad6b7f037ea9c87c92b149a9637ff099f162558 | |
10 | + | |
11 | +PKG_MAINTAINER:=Oskari Rauta <oskari.rauta@gmail.com> | |
12 | +PKG_LICENSE:=BSD-2-Clause | |
13 | +PKG_LICENSE_FILES:=LICENSE | |
14 | + | |
15 | +PKG_BUILD_PARALLEL:=1 | |
16 | +PKG_INSTALL:=1 | |
17 | +PKG_FIXUP:=autoreconf | |
18 | + | |
19 | +include $(INCLUDE_DIR)/package.mk | |
20 | + | |
21 | +define Package/nasm | |
22 | + SECTION:=devel | |
23 | + CATEGORY:=Development | |
24 | + TITLE:=nasm assembler | |
25 | + DEPENDS:=@TARGET_x86 | |
26 | +endef | |
27 | + | |
28 | +define Package/nasm/description | |
29 | + NASM, the Netwide Assembler: an assembler targetting the | |
30 | + Intel x86 series of processors, with portable source. | |
31 | +endef | |
32 | + | |
33 | +CONFIGURE_ARGS += --disable-lto --disable-werror --disable-gdb | |
34 | + | |
35 | +define Package/nasm/install | |
36 | + $(INSTALL_DIR) $(1)/usr/bin | |
37 | + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ndisasm $(1)/usr/bin/ | |
38 | + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/nasm $(1)/usr/bin/ | |
39 | +endef | |
40 | + | |
41 | +$(eval $(call BuildPackage,nasm)) |
@@ -7,11 +7,11 @@ | ||
7 | 7 | include $(TOPDIR)/rules.mk |
8 | 8 | |
9 | 9 | PKG_NAME:=pillow |
10 | -PKG_VERSION:=9.3.0 | |
11 | -PKG_RELEASE:=$(AUTORELEASE) | |
10 | +PKG_VERSION:=9.4.0 | |
11 | +PKG_RELEASE:=1 | |
12 | 12 | |
13 | 13 | PYPI_NAME:=Pillow |
14 | -PKG_HASH:=c935a22a557a560108d780f9a0fc426dd7459940dc54faa49d83249c8d3e760f | |
14 | +PKG_HASH:=a1c2d7780448eb93fbcc3789bf3916aa5720d942e37945f4056680317f1cd23e | |
15 | 15 | |
16 | 16 | PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com> |
17 | 17 | PKG_LICENSE:=HPND |
@@ -8,11 +8,11 @@ | ||
8 | 8 | include $(TOPDIR)/rules.mk |
9 | 9 | |
10 | 10 | PKG_NAME:=python-pytz |
11 | -PKG_VERSION:=2022.7 | |
11 | +PKG_VERSION:=2022.7.1 | |
12 | 12 | PKG_RELEASE:=1 |
13 | 13 | |
14 | 14 | PYPI_NAME:=pytz |
15 | -PKG_HASH:=7ccfae7b4b2c067464a6733c6261673fdb8fd1be905460396b97a073e9fa683a | |
15 | +PKG_HASH:=01a0681c4b9684a28304615eba55d1ab31ae00bf68ec157ec3708a8182dbbcd0 | |
16 | 16 | |
17 | 17 | PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com> |
18 | 18 | PKG_LICENSE:=MIT |
@@ -8,8 +8,8 @@ | ||
8 | 8 | include $(TOPDIR)/rules.mk |
9 | 9 | |
10 | 10 | PKG_NAME:=python-requests |
11 | -PKG_VERSION:=2.28.1 | |
12 | -PKG_RELEASE:=$(AUTORELEASE) | |
11 | +PKG_VERSION:=2.28.2 | |
12 | +PKG_RELEASE:=1 | |
13 | 13 | |
14 | 14 | PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>, Alexandru Ardelean <ardeleanalex@gmail.com> |
15 | 15 | PKG_LICENSE:=Apache-2.0 |
@@ -17,7 +17,7 @@ PKG_LICENSE_FILES:=LICENSE | ||
17 | 17 | PKG_CPE_ID:=cpe:/a:python-requests:requests |
18 | 18 | |
19 | 19 | PYPI_NAME:=requests |
20 | -PKG_HASH:=7c5599b102feddaa661c826c56ab4fee28bfd17f5abca1ebbe3e7f19d7c97983 | |
20 | +PKG_HASH:=98b1b2782e3c6c4904938b84c0eb932721069dfdb9134313beff7c83c2df24bf | |
21 | 21 | |
22 | 22 | include ../pypi.mk |
23 | 23 | include $(INCLUDE_DIR)/package.mk |
@@ -1,12 +1,12 @@ | ||
1 | 1 | include $(TOPDIR)/rules.mk |
2 | 2 | |
3 | 3 | PKG_NAME:=libwebp |
4 | -PKG_VERSION:=1.2.4 | |
5 | -PKG_RELEASE:=$(AUTORELEASE) | |
4 | +PKG_VERSION:=1.3.0 | |
5 | +PKG_RELEASE:=1 | |
6 | 6 | |
7 | 7 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
8 | 8 | PKG_SOURCE_URL:=https://storage.googleapis.com/downloads.webmproject.org/releases/webp |
9 | -PKG_HASH:=7bf5a8a28cc69bcfa8cb214f2c3095703c6b73ac5fba4d5480c205331d9494df | |
9 | +PKG_HASH:=64ac4614db292ae8c5aa26de0295bf1623dbb3985054cb656c55e67431def17c | |
10 | 10 | |
11 | 11 | PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com> |
12 | 12 | PKG_LICENSE:=BSD-3-Clause |
@@ -50,7 +50,7 @@ TARGET_CFLAGS += -flto | ||
50 | 50 | |
51 | 51 | define Package/libwebp/install |
52 | 52 | $(INSTALL_DIR) $(1)/usr/lib |
53 | - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libwebp*.s* $(1)/usr/lib/ | |
53 | + $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*.s* $(1)/usr/lib/ | |
54 | 54 | endef |
55 | 55 | |
56 | 56 | $(eval $(call BuildPackage,libwebp)) |
@@ -1,6 +1,6 @@ | ||
1 | 1 | --- a/src/dsp/cpu.h |
2 | 2 | +++ b/src/dsp/cpu.h |
3 | -@@ -106,7 +106,7 @@ | |
3 | +@@ -108,7 +108,7 @@ | |
4 | 4 | #define WEBP_HAVE_NEON |
5 | 5 | #endif |
6 | 6 |
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk | ||
6 | 6 | |
7 | 7 | PKG_NAME:=dawn |
8 | 8 | PKG_SOURCE_DATE:=2022-07-24 |
9 | -PKG_RELEASE:=$(AUTORELEASE) | |
9 | +PKG_RELEASE:=3 | |
10 | 10 | |
11 | 11 | PKG_SOURCE_PROTO:=git |
12 | 12 | PKG_SOURCE_URL:=https://github.com/berlin-open-wireless-lab/DAWN.git |
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk | ||
5 | 5 | |
6 | 6 | PKG_NAME:=pbr |
7 | 7 | PKG_VERSION:=1.0.1 |
8 | -PKG_RELEASE:=14 | |
8 | +PKG_RELEASE:=16 | |
9 | 9 | PKG_LICENSE:=GPL-3.0-or-later |
10 | 10 | PKG_MAINTAINER:=Stan Grishin <stangri@melmac.ca> |
11 | 11 |
@@ -35,11 +35,3 @@ config policy | ||
35 | 35 | option interface 'wan' |
36 | 36 | option dest_addr 'plex.tv my.plexapp.com emby.media app.emby.media tv.emby.media' |
37 | 37 | option enabled '0' |
38 | - | |
39 | -config policy | |
40 | - option name 'WireGuard Server' | |
41 | - option interface 'wan' | |
42 | - option src_port '51820' | |
43 | - option chain 'OUTPUT' | |
44 | - option proto 'udp' | |
45 | - option enabled '0' |
@@ -254,7 +254,7 @@ is_ipv6_global() { [ "${1:0:4}" = "2001" ]; } | ||
254 | 254 | # is_ipv6_global() { is_ipv6 "$1" && ! is_ipv6_link_local "$1" && ! is_ipv6_link_local "$1"; } |
255 | 255 | is_list() { str_contains "$1" "," || str_contains "$1" " "; } |
256 | 256 | is_netmask() { local ip="${1%/*}"; [ "$ip" != "$1" ] && is_ipv4 "$ip"; } |
257 | -is_domain() { str_contains "$1" '[a-zA-Z]'; } | |
257 | +is_domain() { ! is_ipv6 "$1" && str_contains "$1" '[a-zA-Z]'; } | |
258 | 258 | is_phys_dev() { [ "${1:0:1}" = "@" ] && ip l show | grep -E -q "^\\d+\\W+${1:1}"; } |
259 | 259 | dnsmasq_kill() { killall -q -s HUP dnsmasq; } |
260 | 260 | dnsmasq_restart() { output 3 'Restarting dnsmasq '; if /etc/init.d/dnsmasq restart >/dev/null 2>&1; then output_okn; else output_failn; fi; } |
@@ -579,7 +579,7 @@ nftset() { | ||
579 | 579 | fi |
580 | 580 | [ -z "$param4" ] && param4="$(resolveip_to_nftset4 "$param")" |
581 | 581 | [ -z "$param6" ] && param6="$(resolveip_to_nftset6 "$param")" |
582 | - if [ -z "$param4" ] && [ -z "$param6" ]; then | |
582 | + if [ -z "$param4" ] && [ -z "$param6" ]; then | |
583 | 583 | state add 'errorSummary' 'errorFailedToResolve' "$param" |
584 | 584 | else |
585 | 585 | nft4 add element inet "$nftTable" "$nftset4" "{ $param4 }" && ipv4_error=0 |
@@ -1,12 +1,12 @@ | ||
1 | 1 | include $(TOPDIR)/rules.mk |
2 | 2 | |
3 | 3 | PKG_NAME:=pdns-recursor |
4 | -PKG_VERSION:=4.8.0 | |
4 | +PKG_VERSION:=4.8.1 | |
5 | 5 | PKG_RELEASE:=1 |
6 | 6 | |
7 | 7 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 |
8 | 8 | PKG_SOURCE_URL:=https://downloads.powerdns.com/releases/ |
9 | -PKG_HASH:=ccb9017a1a788e95e948e7b240ef8db53ae8a507b915f260188ef343f7f68bdc | |
9 | +PKG_HASH:=d7b03447009257e512f01fcc46cbdb9c859b672a1c9b23faf382e870765b0f0d | |
10 | 10 | |
11 | 11 | PKG_MAINTAINER:=Peter van Dijk <peter.van.dijk@powerdns.com> |
12 | 12 | PKG_LICENCE:=GPL-2.0-only |
@@ -1,13 +1,13 @@ | ||
1 | 1 | include $(TOPDIR)/rules.mk |
2 | 2 | |
3 | 3 | PKG_NAME:=snowflake |
4 | -PKG_VERSION:=2.4.2 | |
4 | +PKG_VERSION:=2.5.1 | |
5 | 5 | PKG_RELEASE:=1 |
6 | 6 | |
7 | 7 | PKG_SOURCE_PROTO:=git |
8 | 8 | PKG_SOURCE_URL=https://git.torproject.org/pluggable-transports/snowflake.git |
9 | 9 | PKG_SOURCE_VERSION:=v$(PKG_VERSION) |
10 | -PKG_MIRROR_HASH:=b6e47a50558ed4f5a4b5f9bc25d6aaf7da168b305dd9b52b3a92ecb028d883fc | |
10 | +PKG_MIRROR_HASH:=7f36f48ab07ac9a3944202613b024072f3ad0ad55b495fde611ee30223410fdf | |
11 | 11 | |
12 | 12 | PKG_LICENSE:=BSD-3-Clause |
13 | 13 | PKG_LICENSE_FILES:=LICENSE |
@@ -8,12 +8,12 @@ | ||
8 | 8 | include $(TOPDIR)/rules.mk |
9 | 9 | |
10 | 10 | PKG_NAME:=tcpreplay |
11 | -PKG_VERSION:=4.4.1 | |
12 | -PKG_RELEASE:=$(AUTORELEASE) | |
11 | +PKG_VERSION:=4.4.3 | |
12 | +PKG_RELEASE:=1 | |
13 | 13 | |
14 | 14 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz |
15 | 15 | PKG_SOURCE_URL:=https://github.com/appneta/tcpreplay/releases/download/v$(PKG_VERSION) |
16 | -PKG_HASH:=51f70ed14be5913f19c25cdfa530e98c14cedab1c76fbdd26eca7b61b57344f2 | |
16 | +PKG_HASH:=352fcd073c61140e5008ffe4e37d4744c31037e73854a921cd8b6b5d9f29cd54 | |
17 | 17 | |
18 | 18 | PKG_LICENSE:=GPL-3.0 |
19 | 19 | PKG_LICENSE_FILES:=docs/LICENSE |
@@ -8,13 +8,13 @@ | ||
8 | 8 | include $(TOPDIR)/rules.mk |
9 | 9 | |
10 | 10 | PKG_NAME:=xfrpc |
11 | -PKG_VERSION:=1.11.587 | |
11 | +PKG_VERSION:=2.1.606 | |
12 | 12 | PKG_RELEASE:=1 |
13 | 13 | |
14 | 14 | PKG_SOURCE_PROTO:=git |
15 | 15 | PKG_SOURCE_URL:=https://github.com/liudf0716/xfrpc.git |
16 | 16 | PKG_SOURCE_VERSION:=$(PKG_VERSION) |
17 | -PKG_MIRROR_HASH:=da58e702d3b451e1b5a3d59ac3842cc424f636ca879c19ebb94cce8aa8dde3bb | |
17 | +PKG_MIRROR_HASH:=2f9f98fde54f66a6c562356f66d0abd3ec41fcd6833915831378a37398ff2cc5 | |
18 | 18 | |
19 | 19 | PKG_MAINTAINER:=Dengfeng Liu <liudf0716@gmail.com> |
20 | 20 | PKG_LICENSE:=GPL-3.0-or-later |
@@ -8,12 +8,12 @@ | ||
8 | 8 | include $(TOPDIR)/rules.mk |
9 | 9 | |
10 | 10 | PKG_NAME:=bash |
11 | -PKG_VERSION:=5.1.16 | |
11 | +PKG_VERSION:=5.2.15 | |
12 | 12 | PKG_RELEASE:=$(AUTORELEASE) |
13 | 13 | |
14 | 14 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
15 | 15 | PKG_SOURCE_URL:=@GNU/bash |
16 | -PKG_HASH:=5bac17218d3911834520dad13cd1f85ab944e1c09ae1aba55906be1f8192f558 | |
16 | +PKG_HASH:=13720965b5f4fc3a0d4b61dd37e7565c741da9a5be24edc2ae00182fc1b3588c | |
17 | 17 | |
18 | 18 | PKG_MAINTAINER:=Marcel Denia <naoir@gmx.net> |
19 | 19 | PKG_LICENSE:=GPL-3.0-or-later |
@@ -1,6 +1,6 @@ | ||
1 | 1 | --- a/Makefile.in |
2 | 2 | +++ b/Makefile.in |
3 | -@@ -798,10 +798,8 @@ loadables: | |
3 | +@@ -813,10 +813,8 @@ loadables: | |
4 | 4 | # $(MAKE) -f $(srcdir)/Makefile $(MFLAGS) srcdir=$(srcdir) |
5 | 5 | |
6 | 6 | doc documentation: force |
@@ -1,6 +1,6 @@ | ||
1 | 1 | --- a/config-top.h |
2 | 2 | +++ b/config-top.h |
3 | -@@ -91,20 +91,20 @@ | |
3 | +@@ -97,20 +97,20 @@ | |
4 | 4 | #define DEFAULT_BASHRC "~/.bashrc" |
5 | 5 | |
6 | 6 | /* System-wide .bashrc file for interactive shells. */ |
@@ -8,13 +8,13 @@ | ||
8 | 8 | include $(TOPDIR)/rules.mk |
9 | 9 | |
10 | 10 | PKG_NAME:=clocate |
11 | -PKG_SOURCE_DATE:=2021-11-09 | |
12 | -PKG_RELEASE:=$(AUTORELEASE) | |
11 | +PKG_SOURCE_DATE:=2023-01-20 | |
12 | +PKG_RELEASE:=1 | |
13 | 13 | |
14 | 14 | PKG_SOURCE_PROTO:=git |
15 | 15 | PKG_SOURCE_URL:=https://github.com/blocktrron/clocate.git |
16 | -PKG_SOURCE_VERSION:=4a4c0c0cb53fc3df2891d649eb457efdee843572 | |
17 | -PKG_MIRROR_HASH:=8eef756ea5e951097eea53feb243a317612f88c2628c9417f4b28a28a3b4686c | |
16 | +PKG_SOURCE_VERSION:=510cc944e4d4c28b5cc30d9808ab14e80486b437 | |
17 | +PKG_MIRROR_HASH:=f4bcb77df4fc163a0d9b3350088ba6692f718ba0a1d48fa968685e2fded79ab8 | |
18 | 18 | |
19 | 19 | PKG_MAINTAINER:=David Bauer <mail@david-bauer.net> |
20 | 20 | PKG_LICENSE:=GPL-2.0-only |
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk | ||
9 | 9 | |
10 | 10 | PKG_NAME:=collectd |
11 | 11 | PKG_VERSION:=5.12.0 |
12 | -PKG_RELEASE:=$(AUTORELEASE) | |
12 | +PKG_RELEASE:=42 | |
13 | 13 | |
14 | 14 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 |
15 | 15 | PKG_SOURCE_URL:=https://collectd.org/files/ \ |
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk | ||
2 | 2 | |
3 | 3 | PKG_NAME:=crun |
4 | 4 | PKG_VERSION:=1.7.2 |
5 | -PKG_RELEASE:=1 | |
5 | +PKG_RELEASE:=2 | |
6 | 6 | |
7 | 7 | PKG_SOURCE_PROTO:=git |
8 | 8 | PKG_SOURCE_URL:=https://github.com/containers/crun.git |
@@ -26,7 +26,7 @@ define Package/crun | ||
26 | 26 | CATEGORY:=Utilities |
27 | 27 | TITLE:=crun |
28 | 28 | URL:=https://github.com/containers/crun |
29 | - DEPENDS:=@!arc +libseccomp +libcap | |
29 | + DEPENDS:=@!arc +libseccomp +libcap +libgcrypt | |
30 | 30 | endef |
31 | 31 | |
32 | 32 | define Package/crun/description |
@@ -8,12 +8,12 @@ | ||
8 | 8 | include $(TOPDIR)/rules.mk |
9 | 9 | |
10 | 10 | PKG_NAME:=ncdu |
11 | -PKG_VERSION:=1.17 | |
12 | -PKG_RELEASE:=$(AUTORELEASE) | |
11 | +PKG_VERSION:=1.18 | |
12 | +PKG_RELEASE:=1 | |
13 | 13 | |
14 | 14 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
15 | 15 | PKG_SOURCE_URL:=https://dev.yorhel.nl/download |
16 | -PKG_HASH:=810745a8ed1ab3788c87d3aea4cc1a14edf6ee226f764bcc383e024ba56adbf1 | |
16 | +PKG_HASH:=3c37a1a96580c9c5d2cc352dc3c5eef0d909158c05f1cc29db4712544c8b9f95 | |
17 | 17 | |
18 | 18 | PKG_MAINTAINER:=Charles E. Lehner <cel@celehner.com> |
19 | 19 | PKG_LICENSE:=MIT |
@@ -1,6 +1,6 @@ | ||
1 | 1 | --- a/src/util.h |
2 | 2 | +++ b/src/util.h |
3 | -@@ -36,18 +36,18 @@ | |
3 | +@@ -39,18 +39,18 @@ void die(const char *, ...); | |
4 | 4 | C(DEFAULT, _,_,0 , _, _, 0, WHITE, BLACK,0)\ |
5 | 5 | C(BOX_TITLE, _,_,B , BLUE, _, B, BLUE, BLACK,B)\ |
6 | 6 | C(HD, _,_,R , BLACK, CYAN, 0, BLACK, CYAN, 0) /* header & footer */\ |
@@ -1,8 +1,8 @@ | ||
1 | 1 | include $(TOPDIR)/rules.mk |
2 | 2 | |
3 | 3 | PKG_NAME:=uvol |
4 | -PKG_VERSION:=0.8 | |
5 | -PKG_RELEASE:=$(AUTORELEASE) | |
4 | +PKG_VERSION:=0.9 | |
5 | +PKG_RELEASE:=2 | |
6 | 6 | |
7 | 7 | PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org> |
8 | 8 | PKG_LICENSE:=GPL-2.0-or-later |
@@ -56,23 +56,14 @@ part_fixup() { | ||
56 | 56 | |
57 | 57 | get_free_area() { |
58 | 58 | local found= |
59 | - sfdisk -q -F "$1" 2>/dev/null | while read -r start end sectors size; do | |
59 | + sfdisk --bytes -q -F "$1" 2>/dev/null | while read -r start end sectors size; do | |
60 | 60 | case $start in |
61 | 61 | *"Unpartitioned"* | *"Units:"* | *"Sector"* | *"Start"* ) |
62 | 62 | continue |
63 | 63 | ;; |
64 | 64 | [0-9]*) |
65 | - case "$size" in | |
66 | - *"k" | *"b") | |
67 | - continue | |
68 | - ;; | |
69 | - *"M") | |
70 | - [ "${size%%.*M}" -lt 100 ] && continue | |
71 | - ;; | |
72 | - *"G" | *"T") | |
73 | - ;; | |
74 | - esac | |
75 | - [ "$found" ] || echo "start=$start, size=$((end - start))" | |
65 | + [ "$size" -lt $((100 * 1024 * 1024)) ] && continue | |
66 | + [ "$found" ] || echo "start=$start, size=$sectors" | |
76 | 67 | found=1 |
77 | 68 | ;; |
78 | 69 | esac |