Merge branch 'development-SDXPINN' into SDXPINN
This commit is contained in:
7
ipk-source/websocat_aarch64/CONTROL/control
Executable file
7
ipk-source/websocat_aarch64/CONTROL/control
Executable file
@@ -0,0 +1,7 @@
|
||||
Package: websocat
|
||||
Version: 1.14.0
|
||||
Architecture: aarch64_cortex-a53
|
||||
Maintainer: Vitaly Shukela https://github.com/vi/websocat
|
||||
Source: https://github.com/vi/websocat/releases/download/v1.14.0/websocat_max.aarch64-unknown-linux-musl
|
||||
Description: Netcat, curl and socat for WebSockets.
|
||||
Depends: libc
|
||||
74
ipk-source/websocat_aarch64/build-ipk
Executable file
74
ipk-source/websocat_aarch64/build-ipk
Executable file
@@ -0,0 +1,74 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Script for building OpenWRT .ipk packages using tar by iamromulan
|
||||
# Works with SDXPPINN OpenWRT - iamromulan
|
||||
# This script accepts an optional path to the directory containing the `CONTROL` and `root` directories.
|
||||
# Usage: ./build-ipk.sh [path]
|
||||
# If no path is provided, the script will look in the current directory for `CONTROL` and `root` directories.
|
||||
# This will spit out an ipk in the current directory
|
||||
|
||||
# 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
|
||||
|
||||
# Set the default build path to the current directory
|
||||
build_path="."
|
||||
|
||||
# Check if a path is provided as the first argument
|
||||
if [ "$1" ]; then
|
||||
build_path="$1"
|
||||
fi
|
||||
|
||||
# Check if the required directories are present in the specified path
|
||||
if [ ! -d "${build_path}/CONTROL" ] || [ ! -d "${build_path}/root" ]; then
|
||||
echo "Error: CONTROL and root directories must be present in the specified path (${build_path})."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Extract values from the CONTROL/control file in the specified path
|
||||
pkgname=$(grep -i '^Package:' "${build_path}/CONTROL/control" | awk '{print $2}')
|
||||
version=$(grep -i '^Version:' "${build_path}/CONTROL/control" | awk '{print $2}')
|
||||
architecture=$(grep -i '^Architecture:' "${build_path}/CONTROL/control" | awk '{print $2}')
|
||||
|
||||
# Check if values are extracted correctly
|
||||
if [ -z "$pkgname" ] || [ -z "$version" ] || [ -z "$architecture" ]; then
|
||||
echo "Error: Failed to extract Package, Version, or Architecture from ${build_path}/CONTROL/control."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Set the final IPK name based on the extracted values
|
||||
ipkname="${pkgname}_${version}_${architecture}.ipk"
|
||||
|
||||
# Ensure all CONTROL scripts are executable
|
||||
echo "Setting permissions for CONTROL scripts..."
|
||||
chmod +x "${build_path}/CONTROL"/*
|
||||
|
||||
# Set ownership for CONTROL and root files
|
||||
echo "Setting ownership for all package files..."
|
||||
chown -R root:root "${build_path}/CONTROL"/*
|
||||
chown -R root:root "${build_path}/root"/*
|
||||
|
||||
# Create control.tar.gz from the CONTROL directory
|
||||
echo "Creating control.tar.gz..."
|
||||
tar -czvf control.tar.gz -C "${build_path}/CONTROL" .
|
||||
|
||||
# Create data.tar.gz from the root directory
|
||||
echo "Creating data.tar.gz..."
|
||||
tar -czvf data.tar.gz -C "${build_path}/root" .
|
||||
|
||||
# Create debian-binary file (must contain exactly "2.0" without a newline)
|
||||
echo -n "2.0" > debian-binary
|
||||
chown -R root:root debian-binary
|
||||
|
||||
# Combine the components into the final .ipk file using tar
|
||||
echo "Packaging ${ipkname}..."
|
||||
tar -czvf "$ipkname" debian-binary control.tar.gz data.tar.gz
|
||||
|
||||
# Clean up intermediate files
|
||||
echo "Cleaning up temporary files..."
|
||||
rm -f control.tar.gz data.tar.gz debian-binary
|
||||
|
||||
echo "IPK package ${ipkname} created successfully using tar."
|
||||
|
||||
BIN
ipk-source/websocat_aarch64/root/usr/bin/websocat
Normal file
BIN
ipk-source/websocat_aarch64/root/usr/bin/websocat
Normal file
Binary file not shown.
@@ -302,6 +302,18 @@ Source: github.com/iamromulan
|
||||
Description: Installs the 'warp' command to help setup Cloudflare WARP on SDXPINN
|
||||
|
||||
|
||||
Package: websocat
|
||||
Version: 1.14.0
|
||||
Depends: libc
|
||||
Architecture: aarch64_cortex-a53
|
||||
Maintainer: Vitaly Shukela https://github.com/vi/websocat
|
||||
MD5Sum: 3a83a2b61a2fc779e5e9d1e0d017fc23
|
||||
Size: 3066948
|
||||
Filename: websocat_1.14.0_aarch64_cortex-a53.ipk
|
||||
Source: https://github.com/vi/websocat/releases/download/v1.14.0/websocat_max.aarch64-unknown-linux-musl
|
||||
Description: Netcat, curl and socat for WebSockets.
|
||||
|
||||
|
||||
Package: wgcf
|
||||
Version: 2.2.24
|
||||
Depends: libc
|
||||
|
||||
Binary file not shown.
@@ -1,4 +1,4 @@
|
||||
Starting package analysis - Sun Aug 31 02:18:21 AM EDT 2025
|
||||
Starting package analysis - Sun Aug 31 02:37:00 AM EDT 2025
|
||||
No update needed for atinout (version 0.9.1, MD5: 444eb87488bad1927b6ed069dedf7393, size: 4323)
|
||||
No update needed for kmod-wireguard (version 1, MD5: 98e77b68c2f1b5ff46ef7713b4f63a94, size: 789)
|
||||
No update needed for libucode20230711 (version 2024.07.22~b610860d-r3, MD5: c38bd45a6aa14a969b7e92f051481d7e, size: 79358)
|
||||
@@ -12,8 +12,7 @@ No update needed for ookla-speedtest (version 1.2.0, MD5: b26e1909599f73cab40ea0
|
||||
No update needed for sdxpinn-console-menu (version 0.0.3, MD5: 3f50efc2ece98cdb2d480f76785f12fa, size: 7512)
|
||||
No update needed for sdxpinn-mount-fix (version 1.3.2, MD5: 004d4f1c792efc2d32c2de27629bae3b, size: 4648)
|
||||
No update needed for sdxpinn-patch (version 2.5, MD5: 0ec65238142dad95de1666b01a6f09c6, size: 3054)
|
||||
Updating package info for sdxpinn-quecmanager...
|
||||
Updated sdxpinn-quecmanager to version 2.3.1 with MD5: 90a1059b2eecf73a54bc67d0036a8306 and size: 1183330
|
||||
No update needed for sdxpinn-quecmanager (version 2.3.1, MD5: 90a1059b2eecf73a54bc67d0036a8306, size: 1183330)
|
||||
No update needed for sdxpinn-quecmanager-beta (version 2.3.1, MD5: 695becf54dc799d53462a00083b49b73, size: 1185936)
|
||||
No update needed for sms-tool (version 2025.1.19-APmod-iamromulan, MD5: 83dc8bfd2d4ac8d8952a2a95b2be943f, size: 13687)
|
||||
No update needed for socat-at-bridge (version 1.2.0, MD5: eccb5b567c5fd7969ebedbef3c6fdebb, size: 1445)
|
||||
@@ -21,6 +20,8 @@ No update needed for tailscale (version 1.86.2, MD5: 4164fbd218c720bf9138d5b7b5f
|
||||
No update needed for tailscaled (version 1.86.2-1, MD5: ad9c23961545a7b15519101db6ea67d2, size: 19343959)
|
||||
No update needed for ucode-mod-lua (version 1, MD5: cd83c6848867112332d1155b4c4f0640, size: 10085)
|
||||
No update needed for warp (version 1.0, MD5: ea95658bf84f619cabe5dd62280fe787, size: 2698)
|
||||
Updating package info for websocat...
|
||||
Updated websocat to version 1.14.0 with MD5: 3a83a2b61a2fc779e5e9d1e0d017fc23 and size: 3066948
|
||||
No update needed for wgcf (version 2.2.24, MD5: b2ba181f9181c2bd8f37933c60c0713f, size: 3677883)
|
||||
Package file and signature updated successfully.
|
||||
Package analysis completed - Sun Aug 31 02:18:22 AM EDT 2025
|
||||
Package analysis completed - Sun Aug 31 02:37:02 AM EDT 2025
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
untrusted comment: signed by key 6262698f038d1226
|
||||
RWRiYmmPA40SJu6fGNqCxjj56sZApuvVIGtOUveb5SiPf2BByEMzBA255enUKSh1bFURAjidgCFa3bTOWRmlBnycXWflo69qYwg=
|
||||
RWRiYmmPA40SJt4+ioVs7oVO+WxhfQB2hhNy70LFE7g8Z334TGWhgrkbixSBDyzMOjusBuQ+RwWlIkJLZRrOShydaE7laUCwNA8=
|
||||
|
||||
BIN
opkg-feed/websocat_1.14.0_aarch64_cortex-a53.ipk
Normal file
BIN
opkg-feed/websocat_1.14.0_aarch64_cortex-a53.ipk
Normal file
Binary file not shown.
Reference in New Issue
Block a user