Latest update isn't happy about installing files to /usr/sbin
aircrack-ng-git: /usr/sbin exists in filesystem (owned by filesystem)
Git Clone URL: | https://aur.archlinux.org/aircrack-ng-git.git (read-only, click to copy) |
---|---|
Package Base: | aircrack-ng-git |
Description: | WiFi security auditing tools suite |
Upstream URL: | https://www.aircrack-ng.org |
Keywords: | aircrack aircrack-ng airgraph airgraph-ng airmon airmon-ng airodump airodump-ng |
Licenses: | GPL-2.0-only |
Conflicts: | aircrack-ng-scripts |
Provides: | aircrack-ng-scripts |
Replaces: | aircrack-ng-scripts |
Submitter: | Miegl |
Maintainer: | AlphaLynx |
Last Packager: | AlphaLynx |
Votes: | 121 |
Popularity: | 0.25 |
First Submitted: | 2018-04-04 18:44 (UTC) |
Last Updated: | 2025-03-16 05:59 (UTC) |
Latest update isn't happy about installing files to /usr/sbin
aircrack-ng-git: /usr/sbin exists in filesystem (owned by filesystem)
Could you please add aircrack-ng-scripts to provides array? Thanks.
codyps: make arguments work correctly for me, but I'm fine with ./configure arguments too. Thanks.
Here's a patch which fixes this by switching to use ./configure
arguments.
It seems the make args weren't taking affect in all cases (probably some make rule I'm not familiar with).
https://gist.github.com/jmesmon/346bff56aee0be5f99f0970ceeebfaaf
Running aircrack-ng
fails with
F: Failed to spawn binary: No such file or directory
Strace says:
execve("/usr/local/libexec/aircrack-ng/aircrack-ng--avx", ["/usr/local/libexec/aircrack-ng/a"...], 0x5637f48122c0 /* 1 var */) = -1 ENOENT (No such file or directory)
So it seems that /usr/local
is being used somewhere in the build that it shouldn't be.
vesath: Yeah you are right, thanks!
Miegl: Your pkgver()
function is not monotonic. Currently the AUR version is 1.2.rc5.r13.gce4e9c3c-1
but I did a rebuild a few days ago and got 1.2.r28.g94fe3e02-1
. However vercmp
considers the latter older than the former.
My suggestion with git packages is to use the following pkgver()
function, which ensures that it is increasing:
pkgver() {
cd "${srcdir}/${_pkgname}"
git log -1 --format='%cd.%h' --date=short | tr -d -
}
No worries, Miegl, you'll do just fine. And if myself or others have any suggestions for improving the package we'll just share them with you. Cheers.
@vesath Thank you! I was kinda worried about dependencies being wrong, thanks for clearing that up for me.
As far as maintainership goes, I'm OK with you being the maintainer as I clearly don't have enough experience.
Thanks
Upstream has moved their code repository to github. The package aircrack-ng-svn
is now deprecated and should be replaced by aircrack-ng-git
. Cheers.
Pinned Comments
AlphaLynx commented on 2025-03-16 04:05 (UTC) (edited on 2025-04-01 04:08 (UTC) by AlphaLynx)
I have a GitHub repo which contains this package and others that I maintain: https://github.com/AlphaLynx0/PKGBUILDs. I try to make sure these packages comply with all Arch Packaging Guidelines. But if you think they could be improved in some way, feel free to comment here, create an issue, submit a PR, or email me a patch (please don't send a request on multiple of these channels though, just one and I'll receive notification either way).