Package Details: apache-tools 2.4.27-1

Git Clone URL: https://aur.archlinux.org/apache-tools.git (read-only)
Package Base: apache-tools
Description: Useful Apache tools - htdigest, htpasswd, ab, htdbm
Upstream URL: http://httpd.apache.org/
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.

https://drive.google.com/open?id=0B86DcKEDvrJKSmZzRVhOTVY5NkE

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

Hello,

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:

sha256sums=('ac660b47aaa7887779a6430404dcb40c0b04f90ea69e7bd49a40552e9ff13743'
'2dc48d34773b0c873d10e3542f77a4f7b50d5fb9bd8c52e3bb28b76ff9587f3f')
sha512sums=('039750ff962c08a7261896acc8272e59874d066f7d52721aaf967ddb737fc5716acc47e1effaf7c4d156ba61bc393e0738f64f8e89cc277ba2651e0f61d56628'
'6e068e7820e852c788a521ad28c367af4c1c22fded51ede7ae3f840a8a04737cfbe4503c2f3f899c89461d984007e84f80376b5a8a27c7eec8ec0fd78155c22b')

davidsf commented on 2015-04-21 14:58

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

pkgname=apache-tools
pkgver=2.4.12
pkgrel=1
pkgdesc="Useful Apache tools - htdigest, htpasswd, ab, htdbm"
arch=(i686 x86_64)
url=http://httpd.apache.org/
license=(Apache)
depends=(apr-util pcre)
conflicts=(apache)
source=(http://www.apache.org/dist/httpd/httpd-$pkgver.tar.bz2
$pkgname-Makefile.patch)
sha256sums=('ad6d39edfe4621d8cc9a2791f6f8d6876943a9da41ac8533d77407a2e630eae4'
'2dc48d34773b0c873d10e3542f77a4f7b50d5fb9bd8c52e3bb28b76ff9587f3f')
sha512sums=('f69db14b421f0e1e4861fe4d8b652688d50ca9eb41c622242d11ae55687eb6c2142a8505a8c3fb6f2bd53167be535bc0a77ca1af97e0720930fc7f20f4c1f8e8'
'6e068e7820e852c788a521ad28c367af4c1c22fded51ede7ae3f840a8a04737cfbe4503c2f3f899c89461d984007e84f80376b5a8a27c7eec8ec0fd78155c22b')

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 http://archive.apache.org/dist/httpd/httpd-$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
Aborting...

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
Aborting...

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 <pavel@larev.ws>

pkgname=apache-tools
-pkgver=2.4.7
+pkgver=2.4.9
pkgrel=1
pkgdesc="Useful Apache tools - htdigest, htpasswd, ab, htdbm"
arch=(i686 x86_64)
@@ -13,9 +13,9 @@
conflicts=(apache)
source=(http://www.apache.org/dist/httpd/httpd-$pkgver.tar.bz2
$pkgname-Makefile.patch)
-sha256sums=('64368d8301836815ae237f2b62d909711c896c1bd34573771e0ee5ad808ce71b'
+sha256sums=('f78cc90dfa47caf3d83ad18fd6b4e85f237777c1733fc9088594b70ce2847603'
'2dc48d34773b0c873d10e3542f77a4f7b50d5fb9bd8c52e3bb28b76ff9587f3f')
-sha512sums=('35500788e1a8b5813bbc0ee0f647ec4acb5b13c27bf5d826691487ea23ee27d4a3babea766fa70f960eb347f6e2c243d1315bb2f1aa082509e632560e7eef562'
+sha512sums=('3a66302e18a2d165b3851665dc73be7d3849fc3359c1ff9dd9e2eaebf1f1d8fb89b7b0a05929d6247750bf0ed1abf9cf3c236a373b2d99635c8ca41698719c96'
'6e068e7820e852c788a521ad28c367af4c1c22fded51ede7ae3f840a8a04737cfbe4503c2f3f899c89461d984007e84f80376b5a8a27c7eec8ec0fd78155c22b')

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().
Aborting...

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

fixed

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.

workaround:
-- 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.

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

or simply use my repository at http://arch.gotux.net/

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, http://arch.gotux.net/packages/apache-tools-2.2.22-1-x86_64.pkg.tar.xz

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!