Package Details: apache-tools 2.4.27-1

Git Clone URL: (read-only)
Package Base: apache-tools
Description: Useful Apache tools - htdigest, htpasswd, ab, htdbm
Upstream URL:
Licenses: Apache
Conflicts: apache
Submitter: None
Maintainer: fordprefect (sowieso)
Last Packager: fordprefect
Votes: 108
Popularity: 0.959321
First Submitted: 2008-06-17 12:49
Last Updated: 2017-07-09 22:42

Latest Comments

fordprefect commented on 2017-10-05 20:19

@aperion: what architecture is that? officially supported is 'i686' and 'x86_64', sometime 'armvX' is also used (for compatibility with ALARM), but i have never encountered 'aarch64'.

aperion commented on 2017-10-05 18:21

Could you add "aarch64" to the PKGBUILD? I tested it and it works. Thanks for all the work you put in guys.

fordprefect commented on 2017-06-14 15:21

The problem does not occur in extra/apache, which includes the tools as well. I have not yet had time to narrow down which compilation option in this PKGBUILD is at fault. If someone can spare some time, its sped up significantly.

alexcastano commented on 2017-06-14 12:07

Same problem @acmzero, it is just hangs doing nothing. No idea how to fix it.

fordprefect commented on 2017-05-22 16:11

@acmzero: thank you, much appreciated. i can confirm this issue and will look into it. nevertheless, i never use this tool and am short on time until next week minimum, so if you (or anyone else) happen to find a solution before me, please share.

EDIT: first investigation shows, that this breakage occurs in earlier versions (2.4.{23,20}) as well, 2.4.18 wont build with (and without) openssl1.1-patch. so a deeper look into that patch (taken from extra/apache) could be helpful, even though it does not work on plain http either. nevertheless i am in no means qualified to do that. we'll look for help in other places then…

acmzero commented on 2017-05-22 16:01

I was trying to do a benchmark to a local web app I have. I installed this package (apache-tools) and when trying the benchmark it is just hangs doing nothing.

I posted the video because is self explanatory. The ab command is not throwing any error or anything just hangs.

This is the version that I have installed at the moment.
apache-tools 2.4.25-2

fordprefect commented on 2017-05-21 21:13

@acmzero: wtf, cant you give explanations like normal people? do a strace and a gdb run with it and report proper problems. and not some spurious link to a video…

acmzero commented on 2017-05-21 21:06

Apache bench is not working.
See this video.

fordprefect commented on 2017-05-12 07:32

@mitchhentges: thank you. I applied the openssl patch from extra/apache, whose version is slightly off. still works for me. please check if it works for you as well.

mitchhentges commented on 2017-05-12 05:06

It's failing to build due to openssl, probably:

ab.c:(.text.startup+0x904): undefined reference to `SSLv2_client_method'
ab.c:(.text.startup+0xa22): undefined reference to `CRYPTO_malloc_init'

I have both openssl 1.1.0 and 1.0.1:

% pacman -Q | grep openssl
openssl 1.1.0.e-1
openssl-1.0 1.0.2.k-3

monojp commented on 2015-12-21 09:42

hi, armv7h could also be added (for e.g. the raspberry pi 2)

fordprefect commented on 2015-10-02 11:36

@pozar: thank you. i added support for armv6h, but omitted pkgrel bump to avoid rebuilds everywhere

pozar87 commented on 2015-10-01 10:59


You can consider adding 'armv6h' into supported architecture list - I can confirm its working well.

Best Regards,

nvivo commented on 2015-07-15 20:10

Hashes for 2.4.16:


davidsf commented on 2015-04-21 14:58

This works with 2.4.12 (only change pkgver and sha data):

pkgdesc="Useful Apache tools - htdigest, htpasswd, ab, htdbm"
arch=(i686 x86_64)
depends=(apr-util pcre)

prepare() {
cd httpd-$pkgver/
patch -p1 -i ../$pkgname-Makefile.patch

build() {
cd httpd-$pkgver/
./configure --prefix=/usr --sbindir=/usr/bin --with-pcre=/usr
make -C support

package() {
make -C httpd-$pkgver/support DESTDIR="$pkgdir" install

lenzenmi commented on 2015-03-31 13:00

2.4.10 is not available for download. 2.4.12 now

k03n commented on 2014-07-31 11:16

Please update to version 2.4.10 or use$pkgver.tar.bz2 instead...

eshizhan commented on 2014-07-28 06:38

2.4.10 only, please update.

LeBagVonDouche commented on 2014-06-16 08:37

Only 2.4.9 available for download:

curl: (22) The requested URL returned error: 404 Not Found
==> ERROR: Failure while downloading httpd-2.4.7.tar.bz2

LeBagVonDouche commented on 2014-06-16 08:36

curl: (22) The requested URL returned error: 404 Not Found
==> ERROR: Failure while downloading httpd-2.4.7.tar.bz2

jdevelop commented on 2014-04-02 04:26

Please update to version 2.4.9

--- PKGBUILD.orig 2013-11-23 23:25:04.000000000 -0500
+++ PKGBUILD 2014-04-02 00:24:37.802499550 -0400
@@ -3,7 +3,7 @@
# Contributor: Pavel Larev <>

pkgdesc="Useful Apache tools - htdigest, htpasswd, ab, htdbm"
arch=(i686 x86_64)
@@ -13,9 +13,9 @@

prepare() {

anatolik commented on 2014-03-07 22:32

How these tools differ from those in apache package? Why to have a separate package?

felixonmars commented on 2013-06-01 00:51

Please install the binaries into /usr/bin/ instead of /usr/sbin/, according to the latest RFC, thanks!

luolimao commented on 2013-04-18 03:40

I don't know what to say or do about that, because I can't actually reproduce the error on my machine.

fukawi2 commented on 2013-04-17 00:51

I get the same error:
==> Starting package()...
make: Entering directory `/build/src/httpd-2.4.4/support'
make[1]: Entering directory `/build/src/httpd-2.4.4/support'
mkdir /build/pkg/apache-tools/usr
mkdir /build/pkg/apache-tools/usr/bin
mkdir /build/pkg/apache-tools/usr/sbin
make[1]: Leaving directory `/build/src/httpd-2.4.4/support'
mkdir /build/pkg/apache-tools/usr/modules
cp: cannot stat '/build/src/httpd-2.4.4/server/httpd.exp': No such file or directory
make: *** [install] Error 1
make: Leaving directory `/build/src/httpd-2.4.4/support'
==> ERROR: A failure occurred in package().

quite commented on 2013-03-27 07:58

cp: cannot stat ‘/tmp/packerbuild-1000/apache-tools/apache-tools/src/httpd-2.4.4/server/httpd.exp’: No such file or directory
make: *** [install] Error 1
make: Leaving directory `/tmp/packerbuild-1000/apache-tools/apache-tools/src/httpd-2.4.4/support'
==> ERROR: A failure occurred in package().

felixonmars commented on 2013-03-27 02:29

==> Starting build()...
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?

luolimao commented on 2013-03-27 01:28


simendsjo commented on 2013-03-22 10:41

Version 2.2.22 isn't available on their server anymore:

curl: (22) The requested URL returned error: 404 Not Found
==> ERROR: Failure while downloading httpd-2.2.22.tar.bz2

.. but 2.2.23 and 2.2.24 is.
Seems there is also a newer version out: 2.4.4

eshizhan commented on 2012-12-24 14:00

2.2.23 released

Anonymous comment on 2012-12-18 13:48

This package requires 'make' and 'patch'.

TuxLyn commented on 2012-03-10 05:19

==> ERROR: apache-tools-Makefile.patch was not found in the build directory and is not a URL.

-- remove line "apache-tools-Makefile.patch" from line #14
-- remove line patch -p1 <../apache-tools-Makefile.patch from line #17
because there is no patch for version 2.2.22

==> ERROR: Integrity checks (md5) differ in size from the source array.

-- change line #23 md5sums to this one 9fe3093194c8a57f085ff7c3fc43715f
md5 is wrong for this version

or simply use my repository at

marquicus commented on 2012-03-09 19:36

updated, sorry for being late, still working on 2.4.1

TuxLyn commented on 2012-03-09 00:45

I've created a new package here,

Anonymous comment on 2012-02-22 03:35

2.2.22 is out.

student975 commented on 2011-05-14 01:49

2.2.18 is out, 2.2.17 archive doesn't exist.

kragacles commented on 2011-04-14 16:17

Thanks! Handy package for those of us running only nginx, but who still need htpasswd and the like.

Sagattarii commented on 2011-02-14 01:44

Nice package!