Rebuild-opkg feed
This commit is contained in:
@@ -5,8 +5,8 @@ Source: feeds/kiddin9/atinout
|
||||
Section: net
|
||||
Architecture: aarch64_cortex-a53
|
||||
Maintainer: Adrian Guenter <a@gntr.me>
|
||||
MD5Sum: 6c8d3c910477e31940ee7740111a7fdf
|
||||
Size: 4226
|
||||
MD5Sum: 444eb87488bad1927b6ed069dedf7393
|
||||
Size: 4323
|
||||
Filename: atinout_0.9.1_aarch64_cortex-a53.ipk
|
||||
Source: feeds/kiddin9/atinout
|
||||
Description: Atinout is a program that will execute AT commands in sequence and
|
||||
@@ -14,14 +14,14 @@ License: GPLv2
|
||||
|
||||
|
||||
Package: luci-app-atinout-mod
|
||||
Version: 1.3.4-20241006
|
||||
Version: 1.3.4-20250119
|
||||
Depends: libc, atinout, luci-compat
|
||||
Section: luci
|
||||
Architecture: all
|
||||
Maintainer: OpenWrt LuCI community
|
||||
MD5Sum: 2dac55de763333c37dd1728957fc8294
|
||||
Size: 4827
|
||||
Filename: luci-app-atinout-mod_1.3.4-20241006_all.ipk
|
||||
MD5Sum: 1ffee9ec8fe5723b8140bf2c21fea508
|
||||
Size: 4864
|
||||
Filename: luci-app-atinout-mod_1.3.4-20250119_all.ipk
|
||||
Source: package/luci-app-atinout-mod
|
||||
Description: Web UI for atinout
|
||||
License: GPLv3
|
||||
@@ -33,8 +33,8 @@ Depends: libc, tailscale, tailscaled (>= 1.78.1-4)
|
||||
Section: luci
|
||||
Architecture: all
|
||||
Maintainer: OpenWrt LuCI community
|
||||
MD5Sum: 65cedde5797eadd7b9903b51ad5f6e6f
|
||||
Size: 6483
|
||||
MD5Sum: 53c84c947c42d7518aecb4a6b8a9c5a8
|
||||
Size: 6501
|
||||
Filename: luci-app-tailscale_1.2.3-2_all.ipk
|
||||
Source: github/iamromulan
|
||||
Description: Luci app for tailscale
|
||||
@@ -46,8 +46,8 @@ Depends: libc
|
||||
Section: net
|
||||
Architecture: aarch64_cortex-a53
|
||||
Maintainer: Ookla <https://www.speedtest.net/apps/cli>
|
||||
MD5Sum: 2183f2df42a00380e761cace096e17c3
|
||||
Size: 1075762
|
||||
MD5Sum: b26e1909599f73cab40ea0281c5a6283
|
||||
Size: 1075696
|
||||
Filename: ookla-speedtest_1.2.0_aarch64_cortex-a53.ipk
|
||||
Source: speedtest.net/apps/cli
|
||||
Description: speedtest.net CLI
|
||||
@@ -60,8 +60,8 @@ Depends: libc, sdxpinn-mount-fix
|
||||
Section: utils
|
||||
Architecture: aarch64_cortex-a53
|
||||
Maintainer: iamromulan <https://github.com/iamromulan>
|
||||
MD5Sum: 42d2fd4c85b36a9c29e66092899080a4
|
||||
Size: 7365
|
||||
MD5Sum: de75d2889510e92b57fc8a7ca087ced4
|
||||
Size: 7361
|
||||
Filename: sdxpinn-console-menu_0.0.2_aarch64_cortex-a53.ipk
|
||||
Source: github/iamromulan
|
||||
Description: A custom CLI menu system for mamnagment of Quectel RM5xx modems
|
||||
@@ -74,8 +74,8 @@ Depends: libc
|
||||
Section: base
|
||||
Architecture: aarch64_cortex-a53
|
||||
Maintainer: iamromulan <https://github.com/iamromulan>
|
||||
MD5Sum: 3f1279109adfba02bb7ca31026ec1c51
|
||||
Size: 55275
|
||||
MD5Sum: e360d66f6d04d8d6a50a78f038130059
|
||||
Size: 54956
|
||||
Filename: sdxpinn-mount-fix_1.2.0_aarch64_cortex-a53.ipk
|
||||
Source: github/iamromulan
|
||||
Description: Creates a usable mount space and overlay for SDXPINN modems. Dependencies bundled: libinotifytools and inotifywait
|
||||
@@ -89,8 +89,8 @@ Conflicts: sdxpinn-quecmanager-beta
|
||||
Section: admin
|
||||
Architecture: aarch64_cortex-a53
|
||||
Maintainer: Russel Yasol <https://github.com/dr-dolomite> Cameron Thompson <https://github.com/iamromulan>
|
||||
MD5Sum: 142068c54af185e673b9e0ba0686b0f4
|
||||
Size: 715428
|
||||
MD5Sum: cb96c5ec96c2166f39d989f277ebc0f7
|
||||
Size: 722109
|
||||
Filename: sdxpinn-quecmanager_1.0.1_aarch64_cortex-a53.ipk
|
||||
Source: github/iamromulan
|
||||
Description: A custom web UI desgined to run alongside luci for Quectel RM55x modems
|
||||
@@ -98,29 +98,29 @@ License: GPLv3
|
||||
|
||||
|
||||
Package: sdxpinn-quecmanager-beta
|
||||
Version: 1.1.1
|
||||
Version: 1.1.1-1
|
||||
Depends: sdxpinn-mount-fix, libc, coreutils-timeout, uhttpd, sms-tool (>= 2025.1.19-APmod-iamromulan), jq, ookla-speedtest
|
||||
Conflicts: sdxpinn-quecmanager
|
||||
Section: admin
|
||||
Architecture: aarch64_cortex-a53
|
||||
Maintainer: Russel Yasol <https://github.com/dr-dolomite> Cameron Thompson <https://github.com/iamromulan>
|
||||
MD5Sum: a441a88dbc67ec3f326e993feb37d18a
|
||||
Size: 821141
|
||||
Filename: sdxpinn-quecmanager-beta_1.1.1_aarch64_cortex-a53.ipk
|
||||
MD5Sum: b9665be3c0bc65ac1573998cf3edf691
|
||||
Size: 911550
|
||||
Filename: sdxpinn-quecmanager-beta_1.1.1-1_aarch64_cortex-a53.ipk
|
||||
Source: github/iamromulan
|
||||
Description: BETA: A custom web UI desgined to run alongside luci for Quectel RM55x modems
|
||||
License: GPLv3
|
||||
|
||||
|
||||
Package: sms-tool
|
||||
Version: 2025.1.12-APmod-iamromulan
|
||||
Version: 2025.1.19-APmod-iamromulan
|
||||
Depends: libc, socat-at-bridge
|
||||
Section: utils
|
||||
Architecture: aarch64_cortex-a53
|
||||
Maintainer: osby and iamromulan
|
||||
MD5Sum: 24ad9e7380b8390764e8e55cbf2b658a
|
||||
Size: 13590
|
||||
Filename: sms-tool_2025.1.12-APmod-iamromulan_aarch64_cortex-a53.ipk
|
||||
MD5Sum: 83dc8bfd2d4ac8d8952a2a95b2be943f
|
||||
Size: 13687
|
||||
Filename: sms-tool_2025.1.19-APmod-iamromulan_aarch64_cortex-a53.ipk
|
||||
Source: https://github.com/iamromulan/sms_tool
|
||||
Description: SMS Tool for 3G/4G/5G modem
|
||||
|
||||
@@ -131,8 +131,8 @@ Depends: libc, socat
|
||||
Section: utils
|
||||
Architecture: aarch64_cortex-a53
|
||||
Maintainer: iamromulan
|
||||
MD5Sum: 2f44c96722059294c162c845a3f628b9
|
||||
Size: 1828
|
||||
MD5Sum: 5cb6a39cd32f8c3d24a2e3f437dc9885
|
||||
Size: 1802
|
||||
Filename: socat-at-bridge_1.1.1_aarch64_cortex-a53.ipk
|
||||
Source: https://github.com/iamromulan/quectel-rgmii-toolkit
|
||||
Description: Sets up a tty from SMD11
|
||||
@@ -144,8 +144,8 @@ Depends: libc, tailscaled
|
||||
Section: net
|
||||
Architecture: aarch64_cortex-a53
|
||||
Maintainer: Jan Pavlinec <jan.pavlinec1@gmail.com>
|
||||
MD5Sum: f909644bc5a7bd23fa1827e3276cc2c3
|
||||
Size: 9906361
|
||||
MD5Sum: 114df37e2cf646e984d3599aa750f1b1
|
||||
Size: 9883456
|
||||
Filename: tailscale_1.78.1-1_aarch64_cortex-a53.ipk
|
||||
Source: feeds/packages/net/tailscale
|
||||
Description: It creates a secure network between your servers, computers, and cloud instances. Even when separated by firewalls or subnets. Updated by iamromulan to 1.76.1
|
||||
@@ -153,14 +153,14 @@ License: GPLv3
|
||||
|
||||
|
||||
Package: tailscaled
|
||||
Version: 1.78.1-3
|
||||
Version: 1.78.1-4
|
||||
Depends: libc, ca-bundle, kmod-tun
|
||||
Section: net
|
||||
Architecture: aarch64_cortex-a53
|
||||
Maintainer: Jan Pavlinec <jan.pavlinec1@gmail.com>
|
||||
MD5Sum: 99d04e05e23071e4f18d19c08aa12b05
|
||||
Size: 17962546
|
||||
Filename: tailscaled_1.78.1-3_aarch64_cortex-a53.ipk
|
||||
MD5Sum: 647b4d3c6e51f700dd96362f92f20b54
|
||||
Size: 17960998
|
||||
Filename: tailscaled_1.78.1-4_aarch64_cortex-a53.ipk
|
||||
Source: feeds/packages/net/tailscale
|
||||
Description: It creates a secure network between your servers, computers, and cloud instances. Even when separated by firewalls or subnets. Updated by iamromulan to 1.76.1
|
||||
License: GPLv3
|
||||
|
||||
Binary file not shown.
@@ -1,16 +1,27 @@
|
||||
Starting package analysis - Sat Jan 18 10:06:43 PM EST 2025
|
||||
No update needed for atinout (version 0.9.1, MD5: 6c8d3c910477e31940ee7740111a7fdf, size: 4226)
|
||||
No update needed for luci-app-atinout-mod (version 1.3.4-20241006, MD5: 2dac55de763333c37dd1728957fc8294, size: 4827)
|
||||
No update needed for luci-app-tailscale (version 1.2.3-2, MD5: 65cedde5797eadd7b9903b51ad5f6e6f, size: 6483)
|
||||
No update needed for ookla-speedtest (version 1.2.0, MD5: 2183f2df42a00380e761cace096e17c3, size: 1075762)
|
||||
No update needed for sdxpinn-console-menu (version 0.0.2, MD5: 42d2fd4c85b36a9c29e66092899080a4, size: 7365)
|
||||
No update needed for sdxpinn-mount-fix (version 1.2.0, MD5: 3f1279109adfba02bb7ca31026ec1c51, size: 55275)
|
||||
No update needed for sdxpinn-quecmanager (version 1.0.1, MD5: 142068c54af185e673b9e0ba0686b0f4, size: 715428)
|
||||
Starting package analysis - Sun Jan 19 10:07:09 PM EST 2025
|
||||
Updating package info for atinout...
|
||||
Updated atinout to version 0.9.1 with MD5: 444eb87488bad1927b6ed069dedf7393 and size: 4323
|
||||
Updating package info for luci-app-atinout-mod...
|
||||
Updated luci-app-atinout-mod to version 1.3.4-20250119 with MD5: 1ffee9ec8fe5723b8140bf2c21fea508 and size: 4864
|
||||
Updating package info for luci-app-tailscale...
|
||||
Updated luci-app-tailscale to version 1.2.3-2 with MD5: 53c84c947c42d7518aecb4a6b8a9c5a8 and size: 6501
|
||||
Updating package info for ookla-speedtest...
|
||||
Updated ookla-speedtest to version 1.2.0 with MD5: b26e1909599f73cab40ea0281c5a6283 and size: 1075696
|
||||
Updating package info for sdxpinn-console-menu...
|
||||
Updated sdxpinn-console-menu to version 0.0.2 with MD5: de75d2889510e92b57fc8a7ca087ced4 and size: 7361
|
||||
Updating package info for sdxpinn-mount-fix...
|
||||
Updated sdxpinn-mount-fix to version 1.2.0 with MD5: e360d66f6d04d8d6a50a78f038130059 and size: 54956
|
||||
Updating package info for sdxpinn-quecmanager...
|
||||
Updated sdxpinn-quecmanager to version 1.0.1 with MD5: cb96c5ec96c2166f39d989f277ebc0f7 and size: 722109
|
||||
Updating package info for sdxpinn-quecmanager-beta...
|
||||
Updated sdxpinn-quecmanager-beta to version 1.1.1 with MD5: a441a88dbc67ec3f326e993feb37d18a and size: 821141
|
||||
No update needed for sms-tool (version 2025.1.12-APmod-iamromulan, MD5: 24ad9e7380b8390764e8e55cbf2b658a, size: 13590)
|
||||
No update needed for socat-at-bridge (version 1.1.1, MD5: 2f44c96722059294c162c845a3f628b9, size: 1828)
|
||||
No update needed for tailscale (version 1.78.1-1, MD5: f909644bc5a7bd23fa1827e3276cc2c3, size: 9906361)
|
||||
No update needed for tailscaled (version 1.78.1-3, MD5: 99d04e05e23071e4f18d19c08aa12b05, size: 17962546)
|
||||
Updated sdxpinn-quecmanager-beta to version 1.1.1-1 with MD5: b9665be3c0bc65ac1573998cf3edf691 and size: 911550
|
||||
Updating package info for sms-tool...
|
||||
Updated sms-tool to version 2025.1.19-APmod-iamromulan with MD5: 83dc8bfd2d4ac8d8952a2a95b2be943f and size: 13687
|
||||
Updating package info for socat-at-bridge...
|
||||
Updated socat-at-bridge to version 1.1.1 with MD5: 5cb6a39cd32f8c3d24a2e3f437dc9885 and size: 1802
|
||||
Updating package info for tailscale...
|
||||
Updated tailscale to version 1.78.1-1 with MD5: 114df37e2cf646e984d3599aa750f1b1 and size: 9883456
|
||||
Updating package info for tailscaled...
|
||||
Updated tailscaled to version 1.78.1-4 with MD5: 647b4d3c6e51f700dd96362f92f20b54 and size: 17960998
|
||||
Package file and signature updated successfully.
|
||||
Package analysis completed - Sat Jan 18 10:06:44 PM EST 2025
|
||||
Package analysis completed - Sun Jan 19 10:07:10 PM EST 2025
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
untrusted comment: signed by key 6262698f038d1226
|
||||
RWRiYmmPA40SJrACIPBXh5axg07vUO7BizBPVSoMpLbZt4GDuAHsgKA34Stt7JGiM4TYD1ZL8y23q9CmggVZeOBP1RvhXFvWjQ4=
|
||||
RWRiYmmPA40SJpm/hg2bYM10aWbF1Z34xyR/thCG2xi8BOq7B9zbV6eSDNzAUot9Uhcu4A9vOaXoz1shX+RYSxx2mrOxLTDYMgU=
|
||||
|
||||
@@ -1,145 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Check if the script is run as root. If not, rerun with sudo.
|
||||
if [ "$(id -u)" -ne 0 ]; then
|
||||
echo "Script is not running as root. Re-executing with sudo..."
|
||||
exec sudo "$0" "$@"
|
||||
fi
|
||||
|
||||
# Define Constants
|
||||
IPK_SOURCE_DIR=../ipk-source
|
||||
PACKAGES=./Packages
|
||||
PACKAGESGZ=./Packages.gz
|
||||
PACKAGESSIG=./Packages.sig
|
||||
PUBLICKEY=./iamromulan-SDXPINN-repo.key
|
||||
PRIVKEY=/home/iamromulan/Documents/GitHub/priv/iamromulan-SDXPINN-repo-private.key
|
||||
USIGN=./usign_x64
|
||||
LOGFILE=./Packages.log
|
||||
|
||||
# Start logging
|
||||
echo "Starting package analysis - $(date)" > "$LOGFILE"
|
||||
|
||||
# Function to calculate MD5 and file size for a given .ipk file
|
||||
calculate_md5_and_size() {
|
||||
local file=$1
|
||||
md5sum=$(md5sum "$file" | awk '{print $1}')
|
||||
filesize=$(stat -c%s "$file")
|
||||
echo "$md5sum $filesize"
|
||||
}
|
||||
|
||||
# Function to parse control file into an associative array
|
||||
parse_control_file() {
|
||||
local control_file=$1
|
||||
declare -A control_data
|
||||
|
||||
while IFS=':' read -r key value; do
|
||||
key=$(echo "$key" | xargs)
|
||||
value=$(echo "$value" | xargs)
|
||||
control_data["$key"]="$value"
|
||||
done < "$control_file"
|
||||
|
||||
echo "${!control_data[@]} ${control_data[@]}"
|
||||
}
|
||||
|
||||
# Process each package directory in ipk-source
|
||||
for pkg_dir in "$IPK_SOURCE_DIR"/*; do
|
||||
pkg_name=$(basename "$pkg_dir")
|
||||
if [[ "$pkg_name" =~ _ ]]; then
|
||||
pkg_arch=$(echo "$pkg_name" | awk -F'_' '{print $2}')
|
||||
pkg_name=$(echo "$pkg_name" | awk -F'_' '{print $1}')
|
||||
else
|
||||
pkg_arch="all"
|
||||
fi
|
||||
|
||||
control_file="$pkg_dir/CONTROL/control"
|
||||
ipk_file="./${pkg_name}_*_${pkg_arch}.ipk"
|
||||
|
||||
# Check if control file exists
|
||||
if [[ ! -f "$control_file" ]]; then
|
||||
echo "Skipping $pkg_name (missing control file)" | tee -a "$LOGFILE"
|
||||
continue
|
||||
fi
|
||||
|
||||
# Match the .ipk file
|
||||
ipk_file=$(ls ./"${pkg_name}"_*_"${pkg_arch}".ipk 2>/dev/null)
|
||||
if [[ -z "$ipk_file" ]]; then
|
||||
echo "Skipping $pkg_name (missing .ipk file)" | tee -a "$LOGFILE"
|
||||
continue
|
||||
fi
|
||||
|
||||
# Parse control file
|
||||
read -r -a control_fields control_values <<< "$(parse_control_file "$control_file")"
|
||||
|
||||
declare -A control_data
|
||||
for i in "${!control_fields[@]}"; do
|
||||
control_data["${control_fields[i]}"]="${control_values[i]}"
|
||||
done
|
||||
|
||||
# Calculate MD5 and size
|
||||
read current_md5 current_size < <(calculate_md5_and_size "$ipk_file")
|
||||
|
||||
# Check if package exists in Packages file
|
||||
pkg_start_line=$(grep -n "^Package: ${control_data[Package]}$" "$PACKAGES" | cut -d ':' -f 1)
|
||||
|
||||
if [ -z "$pkg_start_line" ]; then
|
||||
echo "Adding new package ${control_data[Package]}..." | tee -a "$LOGFILE"
|
||||
|
||||
# Append new entry to Packages file
|
||||
{
|
||||
echo "Package: ${control_data[Package]}"
|
||||
echo "Version: ${control_data[Version]}"
|
||||
echo "Depends: ${control_data[Depends]}"
|
||||
echo "Architecture: ${control_data[Architecture]}"
|
||||
echo "Maintainer: ${control_data[Maintainer]}"
|
||||
echo "MD5Sum: $current_md5"
|
||||
echo "Size: $current_size"
|
||||
echo "Filename: $ipk_file"
|
||||
echo "Source: ${control_data[Source]}"
|
||||
echo "Description: ${control_data[Description]}"
|
||||
[[ -n ${control_data[Section]} ]] && echo "Section: ${control_data[Section]}"
|
||||
[[ -n ${control_data[Conflicts]} ]] && echo "Conflicts: ${control_data[Conflicts]}"
|
||||
[[ -n ${control_data[License]} ]] && echo "License: ${control_data[License]}"
|
||||
echo ""
|
||||
} >> "$PACKAGES"
|
||||
|
||||
continue
|
||||
fi
|
||||
|
||||
# Update existing package entry if needed
|
||||
pkg_end_line=$(sed -n "$pkg_start_line,\$p" "$PACKAGES" | grep -n -m 1 -A 1 '^$' | tail -1 | cut -d '-' -f 1)
|
||||
pkg_end_line=$((pkg_start_line + pkg_end_line - 1))
|
||||
|
||||
for key in "${!control_data[@]}"; do
|
||||
existing_value=$(sed -n "${pkg_start_line},${pkg_end_line}p" "$PACKAGES" | grep "^$key:" | awk -F': ' '{print $2}')
|
||||
if [[ "${control_data[$key]}" != "$existing_value" ]]; then
|
||||
echo "Updating $key for ${control_data[Package]}..." | tee -a "$LOGFILE"
|
||||
sed -i "${pkg_start_line},${pkg_end_line}s/^$key: .*/$key: ${control_data[$key]}/" "$PACKAGES"
|
||||
fi
|
||||
done
|
||||
|
||||
# Update MD5 and size if different
|
||||
existing_md5=$(sed -n "${pkg_start_line},${pkg_end_line}p" "$PACKAGES" | grep "^MD5Sum:" | awk '{print $2}')
|
||||
existing_size=$(sed -n "${pkg_start_line},${pkg_end_line}p" "$PACKAGES" | grep "^Size:" | awk '{print $2}')
|
||||
|
||||
if [[ "$current_md5" != "$existing_md5" ]] || [[ "$current_size" != "$existing_size" ]]; then
|
||||
echo "Updating MD5 and size for ${control_data[Package]}..." | tee -a "$LOGFILE"
|
||||
sed -i "${pkg_start_line},${pkg_end_line}s/^MD5Sum: .*/MD5Sum: $current_md5/" "$PACKAGES"
|
||||
sed -i "${pkg_start_line},${pkg_end_line}s/^Size: .*/Size: $current_size/" "$PACKAGES"
|
||||
fi
|
||||
done
|
||||
|
||||
# Remove orphaned packages
|
||||
grep "^Package: " "$PACKAGES" | awk '{print $2}' | while read -r pkg_name; do
|
||||
if [[ ! -d "$IPK_SOURCE_DIR/$pkg_name"* ]]; then
|
||||
echo "Removing orphaned package $pkg_name from Packages file..." | tee -a "$LOGFILE"
|
||||
sed -i "/^Package: $pkg_name$/,/^$/d" "$PACKAGES"
|
||||
fi
|
||||
done
|
||||
|
||||
# Regenerate Packages.gz and sign with usign
|
||||
gzip -k "$PACKAGES"
|
||||
"$USIGN" -S -m "$PACKAGES" -s "$PRIVKEY"
|
||||
|
||||
echo "Package file and signature updated successfully." | tee -a "$LOGFILE"
|
||||
echo "Package analysis completed - $(date)" | tee -a "$LOGFILE"
|
||||
|
||||
Reference in New Issue
Block a user