]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/commitdiff
libhtp: Update to 0.5.20
authorStefan Schantl <stefan.schantl@ipfire.org>
Thu, 16 Feb 2017 08:29:33 +0000 (09:29 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 16 Feb 2017 10:43:44 +0000 (10:43 +0000)
This is an update to the latest stable version of libhtp.

* Adjust github URL to official ones.
* Enable testsuite.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
libhtp/libhtp.nm

index e6604ad176c6fdcaec37bf3385f6b1ff69c7b4cf..ce7e7f5cffed0ea9efc1f3d7a7d6f9a5965a6618 100644 (file)
@@ -4,11 +4,11 @@
 ###############################################################################
 
 name       = libhtp
-version    = 0.5.10
+version    = 0.5.20
 release    = 1
 
 groups     = System/Libraries
-url        = https://github.com/ironbee/libhtp
+url        = https://github.com/OISF/libhtp
 license    = BSD
 summary    = LibHTP is a security-aware parser.
 
@@ -17,24 +17,30 @@ description
        related bits and pieces.
 end
 
-thisapp = htp-%{version}
-
-source_dl  = https://github.com/ironbee/%{name}/releases/download/%{version}/
-sources    = %{thisapp}.tar.gz
+source_dl  = https://github.com/OISF/%{name}/archive/%{version}.tar.gz#/
 
 build
        requires
-               gcc
+               autoconf
+               automake
+               libtool
                pkg-config
                zlib-devel
        end
 
+       export LD_LIBRARY_PATH = %{DIR_APP}/htp/.libs
+
        configure_options += \
                --disable-static
 
-end
-
+       prepare_cmds
+               ./autogen.sh
+       end
 
+       test
+               make check
+       end
+end
 
 packages
        package %{name}