Package Details: cloudflarespeedtest 2.2.5-2

Git Clone URL: https://aur.archlinux.org/cloudflarespeedtest.git (read-only, click to copy)
Package Base: cloudflarespeedtest
Description: Cloudflare IP Batch Test Tool
Upstream URL: https://github.com/XIU2/CloudflareSpeedTest
Keywords: cloudflare go
Licenses: GPL-3.0-only
Submitter: tomyangsh
Maintainer: ZhangHua
Last Packager: ZhangHua
Votes: 1
Popularity: 0.054556
First Submitted: 2021-02-09 01:38 (UTC)
Last Updated: 2024-01-28 06:53 (UTC)

Latest Comments

m040601 commented on 2024-09-08 12:02 (UTC) (edited on 2024-09-08 12:04 (UTC) by m040601)

Please read, understand and follow the Archlinux/AUR guidelines.

Three different PKGBUILD's, all the same Go tool, https://github.com/XIU2/CloudflareSpeedTest :

aur/cloudflarespeedtest-bin 2.2.5-2 (+0 0.00)-
    自选优选IP测试Cloudflare CDN延迟和速度,获取最快IP(IPv4/IPv6)!另外也支持其他CDN/网站 IP
aur/cloudflarespeedtest-git 2.2.5.6.g176271d-1 (+2 0.00)-
    「自选优选 IP / 过滤假墙」测试 Cloudflare CDN 延迟和速度,获取最快 IP (IPv4+IPv6)!
aur/cloudflarespeedtest 2.2.5-2 (+1 0.10)-
    Cloudflare IP Batch Test Tool

Different inconsistent descriptions. Missing English text. The 3 persons maintaining the 3 PKGBUILD's should talk and work together.

If you search the AUR for "speed" "test" there are dozens and dozens of tools with similar name written in many different languages. It gets confusing for the end user to quickly know which one is which.

Please edit your "Description"

  Description:   .... xxx .. yyy
  • Make sure you write English text.
  • Make sure you say it is written in Go
  • Make sure you say it is an unofficial tool.
  • Eventually add the "XIU2" name

Doesnt cost you anything.

Thanks in advance.

Misaka13514 commented on 2024-01-28 05:45 (UTC) (edited on 2024-01-28 08:52 (UTC) by Misaka13514)

Please follow Arch Linux RFC16: use SPDX license identifier in PKGBUILD. https://gitlab.archlinux.org/archlinux/rfcs/-/blob/master/rfcs/0016-spdx-license-identifiers.rst

ELF file ('usr/bin/cloudflarespeedtest') lacks FULL RELRO and PIE. https://wiki.archlinux.org/title/Go_package_guidelines#Flags_and_build_options

Thanks for maintaining! :)

ZhangHua commented on 2022-11-21 06:45 (UTC)

请在 build() 使用 go build -ldflags="-X main.version=v$pkgver -linkmode=external" -o $pkgname 以在帮助内容中显示正确的版本号。另外 prepare() 中的 patch 指令可被 sed -i s@ip.txt@/usr/share/cloudflarespeedtest/ip.txt@ main.go 替代。完成上述两处修改后检查更新功能将被恢复但无影响正常使用。