Package Details: asfa-bin 0.10.0-4

Git Clone URL: https://aur.archlinux.org/asfa-bin.git (read-only, click to copy)
Package Base: asfa-bin
Description: share files by upload via ssh and generation of a non-guessable link (pre-built)
Upstream URL: https://github.com/obreitwi/asfa
Keywords: cli file mail ssh upload
Licenses: MIT
Conflicts: asfa
Provides: asfa
Submitter: obreitwi
Maintainer: obreitwi
Last Packager: obreitwi
Votes: 1
Popularity: 0.000000
First Submitted: 2021-08-03 14:04 (UTC)
Last Updated: 2024-06-02 11:02 (UTC)

Latest Comments

obreitwi commented on 2024-06-02 11:07 (UTC)

Ah, sorry, that was collateral from me fixing a version handling issue cargo in https://aur.archlinux.org/packages/asfa-git

Should be fixed now!

m040601 commented on 2024-06-01 23:47 (UTC) (edited on 2024-06-01 23:48 (UTC) by m040601)

HTTP request sent, awaiting response... 404 Not Found
2024-06-02 00:47:57 ERROR 404: Not Found.

There is a typo in the download url, it should be a "-" not a "." in the "v0.10.0-1"

good,

https://github.com/obreitwi/asfa/releases/download/v0.10.0-1/asfa-v0.10.0.1-x86_64-unknown-linux-gnu.tar.gz

bad

https://github.com/obreitwi/asfa/releases/download/v0.10.0.1/asfa-v0.10.0.1-x86_64-unknown-linux-gnu.tar.gz

m040601 commented on 2024-05-30 08:36 (UTC)

Patched the interpreter in the binary release. Does that solve your issue?

Yes, it does. Seems to be working fine now. Thanks.

ldd /usr/bin/asfa

    linux-vdso.so.1 (0x00007fcfaa833000)
    libssl.so.3 => /usr/lib/libssl.so.3 (0x00007fcfaa327000)
    libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x00007fcfa9e00000)
    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fcfaa7e4000)
    libm.so.6 => /usr/lib/libm.so.6 (0x00007fcfa9d15000)
    libc.so.6 => /usr/lib/libc.so.6 (0x00007fcfa9b29000)
    /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007fcfaa835000)
+ install -Dm644 README.md "$pkgdir/usr/share/doc/asfa/README.md"

Please do the same for the included "CHANGELOG.md"

obreitwi commented on 2024-05-29 22:08 (UTC)

Patched the interpreter in the binary release. Does that solve your issue?

obreitwi commented on 2024-05-29 14:04 (UTC)

Hey, thank you for bringing this to my attention.

Installing and running the asfa-bin does indeed work on my machine, but between 0.9 and 0.10 I started dabbling with nix, which might have spilled into the binary release:

❯ ldd /usr/bin/asfa
        linux-vdso.so.1 (0x000075e4f8a54000)
        libssl.so.3 => /nix/store/gp504m4dvw5k2pdx6pccf1km79fkcwgf-openssl-3.0.13/lib/libssl.so.3 (0x000075e4f89a0000)
        libcrypto.so.3 => /nix/store/gp504m4dvw5k2pdx6pccf1km79fkcwgf-openssl-3.0.13/lib/libcrypto.so.3 (0x000075e4f8000000)
        libgcc_s.so.1 => /nix/store/xvzz97yk73hw03v5dhhz3j47ggwf1yq1-gcc-13.2.0-lib/lib/libgcc_s.so.1 (0x000075e4f897b000)
        libm.so.6 => /nix/store/k7zgvzp2r31zkg9xqgjim7mbknryv6bs-glibc-2.39-52/lib/libm.so.6 (0x000075e4f851d000)
        libc.so.6 => /nix/store/k7zgvzp2r31zkg9xqgjim7mbknryv6bs-glibc-2.39-52/lib/libc.so.6 (0x000075e4f7e13000)
        /nix/store/k7zgvzp2r31zkg9xqgjim7mbknryv6bs-glibc-2.39-52/lib/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x000075e4f8a56000)
        libdl.so.2 => /nix/store/k7zgvzp2r31zkg9xqgjim7mbknryv6bs-glibc-2.39-52/lib/libdl.so.2 (0x000075e4f8974000)
        libpthread.so.0 => /nix/store/k7zgvzp2r31zkg9xqgjim7mbknryv6bs-glibc-2.39-52/lib/libpthread.so.0 (0x000075e4f896f000)

Will investigate once I have some time tonight. In the meantime, asfa and asfa-git should still work since they build from source.

m040601 commented on 2024-05-29 00:35 (UTC) (edited on 2024-05-29 00:39 (UTC) by m040601)

Something not working since the last update to the PKGBUILD. Can you confirm that it it working in your own computer ?

asfa --help

asfa --version

both give,

-bash: /usr/bin/asfa: cannot execute: required file not found

Installed files and permissions seem ok,

$ ls -l /usr/bin/asfa

-rwxr-xr-x 1 root root 3099856 May 29 01:15 /usr/bin/asfa

$ file /usr/bin/asfa

/usr/bin/asfa: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /nix/store/k7zgvzp2r31zkg9xqgjim7mbknryv6bs-glibc-2.39-52/lib/ld-linux-x86-64.so.2, for GNU/Linux 3.10.0, stripped

Any ideas ?

Could this be an issue or something wrong with the latest pre-built binary released on github ?

m040601 commented on 2024-05-29 00:26 (UTC)

Thanks for the work maintaining this PKGBUILD.

$ pacman -Ql asfa-bin

asfa-bin /usr/bin/asfa
....
asfa-bin /usr/share/licenses/asfa-bin/LICENSE....
asfa-bin /usr/share/man/man1/asfa-check.1.gz
asfa-bin /usr/share/man/man1/asfa-clean.1.gz
asfa-bin /usr/share/man/man1/asfa-list.1.gz
asfa-bin /usr/share/man/man1/asfa-mv.1.gz
asfa-bin /usr/share/man/man1/asfa-push.1.gz
asfa-bin /usr/share/man/man1/asfa-rename.1.gz
asfa-bin /usr/share/man/man1/asfa-verify.1.gz
asfa-bin /usr/share/man/man1/asfa.1.gz

$ wget https://github.com/obreitwi/asfa/releases/download/v0.10.0/asfa-v0.10.0-x86_64-unknown-linux-gnu.tar.gz

$ tar tf asfa-v0.10.0-x86_64-unknown-linux-gnu.tar.gz

asfa-v0.10.0-x86_64-unknown-linux-gnu/
asfa-v0.10.0-x86_64-unknown-linux-gnu/man/
asfa-v0.10.0-x86_64-unknown-linux-gnu/man/man1/
asfa-v0.10.0-x86_64-unknown-linux-gnu/man/man1/asfa.1.gz
asfa-v0.10.0-x86_64-unknown-linux-gnu/man/man1/asfa-check.1.gz
asfa-v0.10.0-x86_64-unknown-linux-gnu/man/man1/asfa-clean.1.gz
asfa-v0.10.0-x86_64-unknown-linux-gnu/man/man1/asfa-list.1.gz
asfa-v0.10.0-x86_64-unknown-linux-gnu/man/man1/asfa-mv.1.gz
asfa-v0.10.0-x86_64-unknown-linux-gnu/man/man1/asfa-push.1.gz
asfa-v0.10.0-x86_64-unknown-linux-gnu/man/man1/asfa-rename.1.gz
asfa-v0.10.0-x86_64-unknown-linux-gnu/man/man1/asfa-verify.1.gz
asfa-v0.10.0-x86_64-unknown-linux-gnu/asfa
asfa-v0.10.0-x86_64-unknown-linux-gnu/example-config/
asfa-v0.10.0-x86_64-unknown-linux-gnu/example-config/asfa/
asfa-v0.10.0-x86_64-unknown-linux-gnu/example-config/asfa/config.yaml
asfa-v0.10.0-x86_64-unknown-linux-gnu/example-config/asfa/hosts/
asfa-v0.10.0-x86_64-unknown-linux-gnu/example-config/asfa/hosts/my-remote-site-2.yaml
asfa-v0.10.0-x86_64-unknown-linux-gnu/LICENSE-MIT
asfa-v0.10.0-x86_64-unknown-linux-gnu/LICENSE-APACHE
asfa-v0.10.0-x86_64-unknown-linux-gnu/README.md
asfa-v0.10.0-x86_64-unknown-linux-gnu/CHANGELOG.md

So there are example config files, there as well as a usefull CHANGELOG and README.md

Could you please make sure they also end up in something like,

/usr/share/doc/asfa/example-config/
/usr/share/doc/asfa/CHANGELOG
/usr/share/doc/asfa/README

Thanks in advance.