Remove cloudfalre-warp
Needs to be compiled for OpenWRT C lib from source. Ubuntu binaries don't work
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
Package: cloudflare-warp
|
||||
Version: 2024.12.554.0
|
||||
License: unknown
|
||||
Architecture: aarch64_generic
|
||||
Maintainer: Cloudflare <support@cloudflare.com>
|
||||
Installed-Size: 109659
|
||||
Depends: dbus-utils, libc, ip-full, nftables-json, gnupg2-utils, libcap-bin, ca-certificates, libpcap1
|
||||
Suggests: traceroute, libnss3-tools
|
||||
Section: net
|
||||
Priority: optional
|
||||
Homepage: https://1.1.1.1
|
||||
Description: Cloudflare Warp Client
|
||||
@@ -1,6 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Disabled for testing
|
||||
# service cloudflare-warp-service enable
|
||||
# service cloudflare-warp-service start
|
||||
exit 0
|
||||
@@ -1,6 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
service cloudflare-warp-service disable
|
||||
service cloudflare-warp-service stop
|
||||
exit 0
|
||||
@@ -1,74 +0,0 @@
|
||||
#!/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."
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,20 +0,0 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
START=99
|
||||
STOP=10
|
||||
USE_PROCD=1
|
||||
|
||||
start_service() {
|
||||
|
||||
echo "Starting Cloudflare WARP service..."
|
||||
procd_open_instance
|
||||
procd_set_param command /bin/warp-svc
|
||||
procd_set_param stdout 1
|
||||
procd_set_param stderr 1
|
||||
procd_close_instance
|
||||
echo "Cloudflare WARP service started"
|
||||
}
|
||||
|
||||
stop_service() {
|
||||
# procd will handle stopping all instances automatically
|
||||
echo "Stopping Cloudflare WARP service"
|
||||
}
|
||||
@@ -13,20 +13,6 @@ Description: Atinout is a program that will execute AT commands in sequence and
|
||||
License: GPLv2
|
||||
|
||||
|
||||
Package: cloudflare-warp
|
||||
Version: 2024.12.554.0
|
||||
Depends: dbus-utils, libc, ip-full, nftables-json, gnupg2-utils, libcap-bin, ca-certificates, libpcap1
|
||||
Suggests: traceroute, libnss3-tools
|
||||
Architecture: aarch64_generic
|
||||
Maintainer: Cloudflare <support@cloudflare.com>
|
||||
MD5Sum: 3e88f9af8e114e74552c41382bc7c3f3
|
||||
Size: 36621829
|
||||
Filename: cloudflare-warp_2024.12.554.0_aarch64_generic.ipk
|
||||
Section: net
|
||||
Homepage: https://1.1.1.1
|
||||
Description: Cloudflare Warp Client
|
||||
|
||||
|
||||
Package: kmod-wireguard
|
||||
Version: 1
|
||||
Depends: sdxpinn-patch
|
||||
|
||||
Binary file not shown.
@@ -1,7 +1,5 @@
|
||||
Starting package analysis - Fri Feb 7 03:23:51 PM EST 2025
|
||||
Starting package analysis - Fri Feb 7 03:48:31 PM EST 2025
|
||||
No update needed for atinout (version 0.9.1, MD5: 444eb87488bad1927b6ed069dedf7393, size: 4323)
|
||||
Updating package info for cloudflare-warp...
|
||||
Updated cloudflare-warp to version 2024.12.554.0 with MD5: 3e88f9af8e114e74552c41382bc7c3f3 and size: 36621829
|
||||
No update needed for kmod-wireguard (version 1, MD5: 98e77b68c2f1b5ff46ef7713b4f63a94, size: 789)
|
||||
No update needed for luci-app-atinout-mod (version 1.3.4-20250119, MD5: 1ffee9ec8fe5723b8140bf2c21fea508, size: 4864)
|
||||
No update needed for luci-app-go-wireguard (version 4.500-2, MD5: 66549e8d970b9046440e6a836f9c9639, size: 24213)
|
||||
@@ -19,4 +17,4 @@ No update needed for tailscaled (version 1.78.1-4, MD5: 647b4d3c6e51f700dd96362f
|
||||
No update needed for warp (version 1.0, MD5: ea95658bf84f619cabe5dd62280fe787, size: 2698)
|
||||
No update needed for wgcf (version 2.2.24, MD5: b2ba181f9181c2bd8f37933c60c0713f, size: 3677883)
|
||||
Package file and signature updated successfully.
|
||||
Package analysis completed - Fri Feb 7 03:23:51 PM EST 2025
|
||||
Package analysis completed - Fri Feb 7 03:48:31 PM EST 2025
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
untrusted comment: signed by key 6262698f038d1226
|
||||
RWRiYmmPA40SJtxqXmBt6pLhXniyG1lNqsL33Yf5zcHfp1I+/9agHe8tnK9S+yLmgvcSBIpaUhop2berlaGrzw82ivFwary/rQg=
|
||||
RWRiYmmPA40SJsnSxBCbP1WXEVNPtg0AVH4mqO2wlv5Dgj3oS9uqlEAk+NsnqQY60eO+TV42Wk/9O59/yvsbGJuHWnkYHYSZogo=
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user