I think it should be "setcap cap_net_raw+ep ${pkgdir}/usr/bin/tcpping" In a chroot I got this error
Failed to set capabilities on file '/usr/bin/tcpping': No such file or directory ==> ERROR: A failure occurred in package().
Git Clone URL: | https://aur.archlinux.org/tcpping.git (read-only, click to copy) |
---|---|
Package Base: | tcpping |
Description: | test response times using TCP SYN packets |
Upstream URL: | https://github.com/deajan/tcpping |
Keywords: | tcpping,tcp |
Submitter: | zh99998 |
Maintainer: | bilibili_xiaok (kleintux) |
Last Packager: | bilibili_xiaok |
Votes: | 10 |
Popularity: | 0.35 |
First Submitted: | 2015-09-29 04:21 (UTC) |
Last Updated: | 2022-10-16 11:13 (UTC) |
I think it should be "setcap cap_net_raw+ep ${pkgdir}/usr/bin/tcpping" In a chroot I got this error
Failed to set capabilities on file '/usr/bin/tcpping': No such file or directory ==> ERROR: A failure occurred in package().
@kleintux thanks!
@FrederickZh sorry,it's create sha256sums time download,I forget add it to .gitignore
@bilibili_xiaok please use the releases for building. Not a RAW link to a file. The file could chance and is not the versioned file.
I polished the PKGBUILD a little, feel free to use and learn from it. cheers
@bilibili_xiaok I think 'tcpping' file in the Git repo should be removed (and downloaded by makepkg when building the package).
hi everyone ,Now I have this package,I updated it. My english is bad,because I'm chinese and I'm only 13 years old. Good luck.
hi,
it seems the package has a new maintainer and is version 2.4 and doesn't depend on bc and tcptraceroute anymore.
https://github.com/oetiker/SmokePing/issues/116#issuecomment-442039547
hope Capabilities is added as https://wiki.archlinux.org/index.php/Capabilities#mtr
Pinned Comments
bilibili_xiaok commented on 2022-08-30 11:45 (UTC) (edited on 2022-08-30 11:48 (UTC) by bilibili_xiaok)
hi everyone ,Now I have this package,I updated it. My english is bad,because I'm chinese and I'm only 13 years old. Good luck.