This commit is contained in:
fr-esa
2026-02-09 14:10:39 +03:00
parent ed83f414f7
commit fe837d4c4a
6 changed files with 13 additions and 61 deletions
+12 -13
View File
@@ -166,21 +166,20 @@ Size: 27959
SHA256sum: 011068ff161ef60b6821fac4c1b691194a2bdc82ab3bcb853fff4301df1ca8e8
Description: Provides support and Web UI for AmneziaWG VPN
Package: luci-theme-argon
Version: 2.3.2-r20250207
Depends: libc, curl, jsonfilter, luci-lua-runtime
Source: feeds/base/downloads/luci-theme-argon
SourceName: luci-theme-argon
Package: luci-theme-routerich
Version: 1.1.0-r20260207
Depends: libc, luci-base
Source: feeds/base/luci-theme-routerich
SourceName: luci-theme-routerich
License: Apache-2.0
Section: luci
SourceDateEpoch: 1739087731
URL: https://github.com/openwrt/luci
Maintainer: OpenWrt LuCI community
SourceDateEpoch: 1760891865
Architecture: all
Installed-Size: 768000
Filename: luci-theme-argon_2.3.2-r20250207_all.ipk
Size: 391910
SHA256sum: 8836e6bb0f94d610c87a9077fbfbd1681f4f0d17b29d6d3af13a58ca4f504a33
Description: Argon Theme
Installed-Size: 286720
Filename: luci-theme-routerich_1.1.0-r20260207_all.ipk
Size: 73003
SHA256sum: f814ca295c174c82ee19c78139fbb84858bda8a60a34663080776d4dc6d7249b
Description: RouteRich Theme
Package: vlmcsd
Version: svn1113-1
Binary file not shown.
+1 -1
View File
@@ -1,2 +1,2 @@
untrusted comment: signed by key a2d6e549efa57795
RWSi1uVJ76V3lTx1lt7+zJOi9lODXCOCPG3MRrn4Y2jGzmUcIceivkwTB6HNGbDd/W06n3GdwPP01UYS9tT9MlcwWHaTFZo6eAk=
RWSi1uVJ76V3lTapjgDiy87WIOfeu2tqwRWvFIQRpAF0I2btaxFu5NPpx09rtVuL0evtA+1WclLKKubRBsg7dVLs4n5znfvL+ww=
-47
View File
@@ -1,47 +0,0 @@
#!/usr/bin/env bash
set -e
pkg_dir=$1
if [ -z "$pkg_dir" ] || [ ! -d "$pkg_dir" ]; then
echo "Usage: ipkg-make-index <package_directory>" >&2
exit 1
fi
empty=1
for pkg in "$pkg_dir"/*.ipk; do
[ -e "$pkg" ] || continue
empty=
echo "Generating index for package $pkg" >&2
tempdir=$(mktemp -d)
# Распаковываем .ipk
tar -xzf "$pkg" -C "$tempdir"
if [ ! -f "$tempdir/control.tar.gz" ]; then
echo "No control.tar.gz found in $pkg" >&2
rm -rf "$tempdir"
continue
fi
file_size=$(stat -L -c%s "$pkg")
sha256sum=$(sha256sum "$pkg" | cut -d' ' -f1)
filename="${pkg##*/}"
# Получаем содержимое control
control_content=$(tar -Oxzf "$tempdir/control.tar.gz" ./control)
# Вставляем перед Description:
echo "$control_content" | sed -e "/^Description:/iFilename: $filename\nSize: $file_size\nSHA256sum: $sha256sum"
echo
rm -rf "$tempdir"
done
[ -n "$empty" ] && echo >&2 "No packages found in $pkg_dir"
exit 0
Binary file not shown.
Binary file not shown.