Package Details: http_load 2016.03.09-1

Git Clone URL: https://aur.archlinux.org/http_load.git (read-only, click to copy)
Package Base: http_load
Description: http_load is a webserver performance testing tool.
Upstream URL: http://www.acme.com/software/http_load/
Licenses: GPL
Groups: network
Provides: http_load
Submitter: TJM
Maintainer: TJM
Last Packager: TJM
Votes: 6
Popularity: 0.000000
First Submitted: 2016-04-17 13:11 (UTC)
Last Updated: 2017-01-19 06:20 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

micwoj92 commented on 2024-06-03 16:26 (UTC)

This is not about ABI mismatch, this is about messages reported by namcap.

Here patch to resolve all these issues:

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,30 +3,32 @@

 pkgname=http_load
 pkgver=2016.03.09
-pkgrel=1
-pkgdesc="http_load is a webserver performance testing tool."
+pkgrel=2
+pkgdesc="A webserver performance testing tool."
 arch=(i686 x86_64)
 url="http://www.acme.com/software/http_load/"
-license=('GPL')
+license=('BSD-2-Clause')
 groups=('network')
-makedepends=("pkgconfig")
-provides=('http_load')
+depends=("glibc")
 _reldate=09Mar2016
-source=("http://www.acme.com/software/http_load/http_load-$_reldate.tar.gz")
-sha256sums=("5a7b00688680e3fca8726dc836fd3f94f403fde831c71d73d9a1537f215b4587")
+source=("http://www.acme.com/software/http_load/http_load-$_reldate.tar.gz"
+        "ldflags.patch")
+sha256sums=("5a7b00688680e3fca8726dc836fd3f94f403fde831c71d73d9a1537f215b4587"
+            "f0ce3cd5faa375b1352966f0169258cae00f34084798713f2d3bc1d4368ce6b3")


 build() {
   cd "$srcdir"/http_load-$_reldate
-
   sed -ie 's#/usr/local/#/usr/#g' Makefile
+  patch -Np0 -i ../ldflags.patch
   make
 }

 package(){
   cd "$srcdir"/http_load-$_reldate
   mkdir -p "$pkgdir"/usr/{share/man/man1,bin}
+  mkdir -p "$pkgdir"/usr/share/licenses/$pkgname
   cp http_load "$pkgdir"/usr/bin/
   cp http_load.1 "$pkgdir"/usr/share/man/man1
+  head -26 http_load.c > "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }
-

ldflags.patch file:

--- Makefile    2024-06-03 18:13:38.000000000 +0200
+++ Makefile    2024-06-03 18:14:28.000000000 +0200
@@ -19,7 +19,7 @@
 MANDIR =       /usr/man/man1
 CC =           cc
 CFLAGS =       -O $(SRANDOM_DEFS) $(SSL_DEFS) $(SSL_INC) -ansi -pedantic -U__STRICT_ANSI__ -Wall -Wpointer-arith -Wshadow -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wno-long-long
-LDFLAGS =      -s $(SSL_LIBS) $(SYSV_LIBS)
+LDFLAGS =      -s $(SSL_LIBS) $(SYSV_LIBS) -Wl,-z,shstk -Wl,-z,now

 all:           http_load

TJM commented on 2024-06-03 07:11 (UTC)

@micwoj92 Have you tried rebuilding this package with your current system? It looks like ABI mismatches usually happen when you run an old binary on the latest system.

micwoj92 commented on 2024-06-01 22:46 (UTC)

Hello, please try to fix following namcap warnings/errors:

http_load W: ELF file ('usr/bin/http_load') lacks FULL RELRO, check LDFLAGS.
http_load W: ELF file ('usr/bin/http_load') lacks GNU_PROPERTY_X86_FEATURE_1_SHSTK.
http_load E: GPL is not a valid SPDX license identifier. See https://spdx.org/licenses/ for valid identifiers, or prefix the identifier with 'LicenseRef-', if it is custom.
http_load W: Description should not contain the package name.
http_load E: Dependency glibc detected and not included (libraries ['usr/lib/libc.so.6'] needed in files ['usr/bin/http_load'])