Package Details: cloudflare-warp-bin 2024.11.309-1

Git Clone URL: https://aur.archlinux.org/cloudflare-warp-bin.git (read-only, click to copy)
Package Base: cloudflare-warp-bin
Description: Cloudflare Warp Client
Upstream URL: https://1.1.1.1
Licenses: unknown
Conflicts: cloudflare-warp
Provides: warp-cli, warp-diag, warp-svc
Submitter: solatis
Maintainer: solatis (mhdi, billyaddlers, vk8a8, Neomax7)
Last Packager: mhdi
Votes: 56
Popularity: 1.83
First Submitted: 2021-05-26 08:59 (UTC)
Last Updated: 2024-11-19 08:44 (UTC)

Latest Comments

« First ‹ Previous 1 .. 9 10 11 12 13 14 15 16 17 18 Next › Last »

sl1pkn07 commented on 2021-12-16 21:30 (UTC)

after run warp-cli register && warp-cli connect i get

dic 16 22:27:32 sL1pKn07 warp-svc[784628]: 2021-12-16T21:27:32.715Z DEBUG warp::warp: Connected to 162.159.192.4:2408
dic 16 22:27:32 sL1pKn07 warp-svc[784628]: 2021-12-16T21:27:32.761Z DEBUG warp::warp: Connect finished Err(Os { code: 13, kind: PermissionDenied, message: "Permission denied" })
dic 16 22:27:32 sL1pKn07 warp-svc[784628]: 2021-12-16T21:27:32.761Z ERROR warp::warp_service: Connection error
dic 16 22:27:32 sL1pKn07 warp-svc[784628]: 2021-12-16T21:27:32.761Z DEBUG warp::warp: WARP status: Disconnecting

how fix this?

H0301ein commented on 2021-12-15 17:09 (UTC)

Thanks! it's working now.

H0301ein commented on 2021-12-15 11:03 (UTC) (edited on 2021-12-15 11:03 (UTC) by H0301ein)

I get this error during update package with paru:

==> Starting prepare()...
sed: can't read /home/USER/.cache/paru/clone/cloudflare-warp-bin/src/build/lib/systemd/system/warp-svc.service: No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...
error: failed to build 'cloudflare-warp-bin-2021.12.0-1':
error: packages failed to build: cloudflare-warp-bin-2021.12.0-1

solatis commented on 2021-12-14 20:31 (UTC)

Thanks a lot @glitsj16, that’s super helpful. I’ll incorporate your feedback and push an update tomorrow.

glitsj16 commented on 2021-12-14 20:28 (UTC) (edited on 2021-12-14 20:29 (UTC) by glitsj16)

Upstream released 2021.12.0 on December 13, 2021:

https://pkg.cloudflareclient.com/packages/cloudflare-warp.

Please upgrade this package.

Potential PKGBUILD additions:

  • add options=(!emptydirs !strip) as the binary files are already stripped;

  • fix systemd unit in prepare():

    # Fix systemd unit
    sed -i \
        -e "s%ExecStart=/bin/warp-svc%ExecStart=/usr/bin/warp-svc%" \
        "${srcdir}"/lib/systemd/system/warp-svc.service

Something else I noticed on Debian/Ubuntu: the postinst sets CAP_NET_ADMIN on warp-svc. This could be added to the cloudflare-warp-bin.install:

post_install() {
  setcap CAP_NET_ADMIN=+ei /usr/bin/warp-svc
  echo "CAP_NET_ADMIN set on /usr/bin/warp-svc"
}

post_upgrade() {
  post_install
}

solatis commented on 2021-12-13 14:01 (UTC)

Great, thanks for confirming @kirusfg.

kirusfg commented on 2021-12-13 14:00 (UTC)

Nevermind... Apparently, the cache folder was not emptied for some reason. I went in there and deleted the cloudflare-warp-bin folder that contained outdated PKGBUILD.

The package installs without issue now, thank you, @solatis!

kirusfg commented on 2021-12-13 13:57 (UTC)

I cleared cached AUR packages, and forced the redownload of the PKGBUILD if that is what you meant. The error persisted.

If you use the AUR helper name paru, perhaps, there is an option that you know will enforce building of the package from a cleanbuild.

solatis commented on 2021-12-13 13:47 (UTC)

@kiruscfg When you're installing, are you building the package from a cleanbuild? If not, could you try that?

kirusfg commented on 2021-12-13 13:46 (UTC)

Hello again, @solatis. Sorry for not responding to you in time, missed the email from AUR notification system.

The update is there in AUR, I also confirmed that the git repo is updated, but the error is the same: .deb file does not pass the validity check. The PKGBUILD my AUR helper uses is the same as in the AUR git repo of this package, md5 and sha256 are new ones.

Could there be a typo?