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: 0
Popularity: 0.000000
First Submitted: 2021-02-09 01:38 (UTC)
Last Updated: 2024-01-28 06:53 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

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 替代。完成上述两处修改后检查更新功能将被恢复但无影响正常使用。