Package Details: aircrack-ng-git 20190223.8d5bd358-1

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://aircrack-ng.org
Keywords: aircrack aircrack-ng airgraph airgraph-ng airmon airmon-ng airodump airodump-ng
Licenses: GPL2
Conflicts: aircrack-ng, aircrack-ng-scripts
Provides: aircrack-ng, aircrack-ng-scripts
Replaces: aircrack-ng-scripts, aircrack-ng-svn
Submitter: Miegl
Maintainer: Miegl
Last Packager: Miegl
Votes: 121
Popularity: 0.000002
First Submitted: 2018-04-04 18:44 (UTC)
Last Updated: 2019-02-24 00:50 (UTC)

Latest Comments

Loader009 commented on 2021-09-05 04:29 (UTC)

Missing dependency: libbsd

drygdryg commented on 2020-10-24 07:51 (UTC) (edited on 2020-10-24 07:56 (UTC) by drygdryg)

Please add pentium4 architecture to PKGBUILD for better Arch Linux 32 support. I confirmed build on my pentium4 laptop.

brbsix commented on 2020-06-24 04:57 (UTC)

This package started failing for me recently. It appears to be an issue when building with GCC 10. See https://github.com/aircrack-ng/aircrack-ng/issues/2138 https://bugs.gentoo.org/708378

It can be resolved by passing -fcommon to gcc. I just updated the configure line to ./configure CC='gcc -fcommon' --with-experimental --with-ext-scripts --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --localstatedir=/var

vesath commented on 2019-02-24 02:45 (UTC)

Miegl: Thanks for the update! I'm not sure if moving python to depends is better. Generally I think staying as close as possible to the official package is better. Of course you are free to suggest improvements to our official packages by filing feature requests on our bug tracker. And if you disagree with the official maintainer you are free to deviate from the official package. I see this general principle as a guideline, no more. Cheers.

Miegl commented on 2019-02-24 01:09 (UTC)

vesath: Oops, I checked the package sanity with namcap (which said these dependencies are unnecessary) and thought they are no longer needed without actually testing the whole package. Won't happen again, hopefully.

Also does keeping the PKGBUILD as close as possible to the official package mean I should move python from the optdepends array to depends? Or perhaps this PKGBUILD should be a copy of the official one and I should be discussing potential improvements with the official maintainer? Thanks.

vesath commented on 2019-02-23 08:16 (UTC)

You've removed net-tools, iw and ethtool from the depends array in commit b0afdd5dcd0a; could you explain why? They are required by the airmon-ng script.

On a more general note, this PKGBUILD should be kept as close as possible to our official aircrack-ng package to avoid surprises. Thanks for your understanding.

Miegl commented on 2019-02-13 22:14 (UTC)

ipha: sorry, latest PKGBUILD should work fine.

ipha commented on 2019-02-13 21:21 (UTC)

Latest update isn't happy about installing files to /usr/sbin

aircrack-ng-git: /usr/sbin exists in filesystem (owned by filesystem)

oberon2007 commented on 2018-09-20 07:06 (UTC)

Could you please add aircrack-ng-scripts to provides array? Thanks.

Miegl commented on 2018-05-20 21:26 (UTC)

codyps: make arguments work correctly for me, but I'm fine with ./configure arguments too. Thanks.

codyps commented on 2018-05-20 17:49 (UTC) (edited on 2018-05-20 17:49 (UTC) by codyps)

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

codyps commented on 2018-05-20 17:33 (UTC)

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.

Miegl commented on 2018-04-22 19:47 (UTC)

vesath: Yeah you are right, thanks!

vesath commented on 2018-04-22 18:24 (UTC) (edited on 2018-04-22 18:25 (UTC) by vesath)

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 -
}

vesath commented on 2018-04-06 20:05 (UTC)

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.

Miegl commented on 2018-04-06 19:53 (UTC)

@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

vesath commented on 2018-04-06 19:50 (UTC) (edited on 2018-04-06 19:52 (UTC) by vesath)

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.

vesath commented on 2018-04-06 19:49 (UTC)

Thanks for the update and happy maintaining!

vesath commented on 2018-04-06 09:10 (UTC)

Other issues regarding dependencies:

  • python is required at build time (otherwise the configure script aborts) and then at run time for dump-join, airgraph-ng, versuck-ng, and airdrop-ng

  • sqlite is required at run time (it's a dependency of gnupg in [base] so it gets pulled anyhow)

  • gcc-libs is required at run time (used in usr/libexec/aircrack-ng/*)

  • shtool is not required (should be removed to avoid AUR dependencies)

  • libtool is not required (should be removed)

Here's an updated PKGBUILD: https://arch.vesath.org/all/aircrack-ng-git-1.2.rc5.r13.gce4e9c3c-1.src.tar.gz

vesath commented on 2018-04-06 08:38 (UTC) (edited on 2018-04-06 08:38 (UTC) by vesath)

I'm the maintainer of aircrack-ng-svn; I've just noticed upstream moved to github, yay! I'd like to merge my package into yours, so yours will get the votes mine had.

Before that I'd like to ask you fix a few issues with your PKGBUILD:

  • You apparently started off with my PKGBUILD but dropped acknowledgement of all previous maintainers/contributors; it's really not nice. Please add those back.

  • The packages ('autoconf' 'automake' 'pkg-config' 'make' 'gcc-libs') need not be in the makedepends array since they are part of the base-devel group.

Cheers.

vesath commented on 2017-10-09 18:07 (UTC)

Works just fine for me. And since I do not speak Italian and Yaourt is an unsupported tool, there is nothing I can do to help.

simona commented on 2017-10-09 10:39 (UTC)

==> Avvio di pkgver() in corso... /tmp/yaourt-tmp-simona/aur-aircrack-ng-svn/./PKGBUILD: riga 25: errore di sintassi vicino al token non atteso "(" /tmp/yaourt-tmp-simona/aur-aircrack-ng-svn/./PKGBUILD: riga 25: ` svn info | awk '/Revision/{r=$2}/Date/{gsub(/-/,"");d=$4}END{print d"."r}'' ==> ERRORE: Impossibile trovare i sorgenti di /tmp/yaourt-tmp-simona/aur-aircrack-ng-svn/./PKGBUILD ==> ERRORE: Makepkg non è riuscito a compilare aircrack-ng-svn.

vesath commented on 2017-10-04 07:05 (UTC)

Right. This option used to be called unstable and was enabled in the PKGBUILD; I've updated it to the new naming.

codyps commented on 2017-10-04 03:11 (UTC)

This needs `experimental=true` added so that besside-ng and others are built & installed.

Emil commented on 2015-08-10 20:29 (UTC)

Hi, I get this error while trying to build: ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Cloning aircrack-ng svn repo... svn: warning: cannot set LC_CTYPE locale svn: warning: environment variable LANG is en_BE.UTF-8 svn: warning: please check that your locale name is correct svn: E000111: Unable to connect to a repository at URL 'http://svn.aircrack-ng.org/trunk' svn: E000111: Error running context: Connection refused ==> ERROR: Failure while downloading aircrack-ng svn repo Aborting...

intelfx commented on 2013-10-23 03:42 (UTC)

These are the guidelines: https://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines

vesath commented on 2013-10-23 01:02 (UTC)

Alright, I'll use `svn info | awk '/Revision/{r=$2}/Date/{gsub(/-/,"");d=$4}END{print d"."r}'`.

vesath commented on 2013-10-23 00:53 (UTC)

I am not aware of any guidelines. We could drop the date but what I'd like to do is, as I already do for git packages, use the date of the last commit (instead of the build date). I'll see if I can figure out how to do that easily in SVN and use your suggestion otherwise.

intelfx commented on 2013-10-21 13:38 (UTC)

Maybe pkgver() can be changed to use only `svnversion` and epoch=1? It's pretty annoying to rebuild the package every day... After all, guidelines say so :)

commented on 2013-07-20 02:08 (UTC)

not sure what it is, but i couldn't connect to the svn to complete the build, but downloaded the 1.2 beta and built from source, using aur would have been so much smoother lol

thaz0th commented on 2013-05-25 10:54 (UTC)

svn: error while loading shared libraries: libsasl2.so.2: cannot open shared object file: No such file or directory

vesath commented on 2013-05-21 18:33 (UTC)

arielp: Thanks for letting me know about the repo move. As for having the date in the pkgver, it's indeed of debatable relevance with SVN, but I grew used to it, and it makes sense to have pkgver's which look alike for all development PKGBUILD.

arielp commented on 2013-05-21 17:15 (UTC)

Also, is the date really necessary in the pkgver()? svnversion(1) will increment with each commit, correct?

arielp commented on 2013-05-21 17:11 (UTC)

It looks like they changed SVN servers. source=("${_pkgname}::svn+http://svn.aircrack-ng.org/trunk")

vesath commented on 2013-05-17 13:07 (UTC)

bkg: Thanks for noticing. I've also moved everything to /usr/bin like we are currently doing for official packages.

vesath commented on 2013-05-17 13:06 (UTC)

bkg: Thanks for noticing. I've also moved everything to /usr/bin like we are currently doing for official packages.

bkg commented on 2013-05-17 04:29 (UTC)

Some manpages are installed to the /usr/local prefix. Please update the package function to set /usr as the prefix which also allows removing the dir specific overrides, thanks! package() { cd "${srcdir}/${_pkgname}" make DESTDIR=${pkgdir} prefix=/usr SQLITE=true unstable=true install }

xcabal commented on 2013-04-06 02:57 (UTC)

im getting a strange result when trying to install aircrack-ng-svn pacman says the change is negative 1.2mb and that's the size of the package and when i opened the compress archive there were only two files there named .PKGINFO and .MTREE nothing else. i did not change anything in the pkgbuild. any one got an idea whats wrong?

mehine2 commented on 2012-06-23 17:42 (UTC)

copy and paste the previous message into a textfile "PKGBUILD" makepkg -s sudo pacman -U *.xz WORKED 4 ME, with the next relase needto keep up with the nr's

mehine2 commented on 2012-06-23 17:38 (UTC)

# fixed4now: mehine2 pkgname=aircrack-ng pkgver=1.1 origver=1.1 pkgrel=1 pkgdesc="Wifi security suite - WEP / WPA crack tools -- with SQLite3. 2012 06 23" arch=('i686' 'x86_64') url="http://download.aircrack-ng.org" depends=('autoconf' 'openssl' 'sqlite3' 'wireless_tools' 'libtool' 'iw') license=('GPL2') source=(http://download.aircrack-ng.org/aircrack-ng-1.1.tar.gz) md5sums=(f7a24ed8fad122c4187d06bfd6f998b4) build() { cd $startdir/src/aircrack-ng-1.1 make SQLITE=true || return 1 make prefix=/usr SQLITE=true DESTDIR=$startdir/pkg/ install }

SuperBo commented on 2012-06-16 00:51 (UTC)

@dlin There is no new repository on github, just some very old repository. Why trac.aircrack-ng.org died?

dlin commented on 2012-06-12 00:53 (UTC)

SuperBo, You could try search it on github, somebody may have older version on there.

SuperBo commented on 2012-06-11 23:16 (UTC)

Hey, can you access trac.aircrack-ng.org I can't access it and it down. Why? http://www.websitedown.info/trac.aircrack-ng.org

techlive commented on 2012-02-15 05:24 (UTC)

There is another aircrack-ng-unstable-svn PKGBUILD in AUR,maybe you can consider adopt it. Or,please use UNSTABLE=true while compiling and remove aircrack-ng-unstable-svn from AUR.The aircrack-ng in community also use UNSTABLE=true. aircrack-ng-unstable-svn:https://aur.archlinux.org/packages.php?ID=28140

jstjohn commented on 2011-12-13 02:24 (UTC)

I just ran `makepkg -s`, and it built a package for SVN revision 2011, so you're right! Good to know. I wasn't aware that there was any latest SVN revision checking before the checkout. Thanks!

ptchinster commented on 2011-12-13 01:22 (UTC)

It is updated when you run makepkg. ==> Finished making: aircrack-ng-svn 2011-1 And that was with that PKGBUILD. Try it for yourself. Open up the PKGBUILD after only running makepkg -o. svn and git packages are only really updated when something changes in build (like a custom patch or something) or a dep is added/removed.

jstjohn commented on 2011-12-13 01:18 (UTC)

The "-r $pkgver" in the PKGBUILD will still check out an old revision. The latest SVN revision for aircrack-ng is 2011.

ptchinster commented on 2011-12-13 00:43 (UTC)

Their SVN server appears to be down. The address in the PKGBUILD is still correct, as found on their website.

ptchinster commented on 2010-11-20 15:29 (UTC)

Adopted and fixed!

jack.mitchell commented on 2010-06-18 15:54 (UTC)

Could you add depends for on iw please. Got home yesterday to find I couldn't initialize my card.