public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Stefan Schantl <stefan.schantl@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] libhtp: Update to 0.5.20
Date: Thu, 16 Feb 2017 09:29:33 +0100	[thread overview]
Message-ID: <20170216082933.22149-1-stefan.schantl@ipfire.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1443 bytes --]

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(a)ipfire.org>
---
 libhtp/libhtp.nm | 24 +++++++++++++++---------
 1 file changed, 15 insertions(+), 9 deletions(-)

diff --git a/libhtp/libhtp.nm b/libhtp/libhtp.nm
index e6604ad..ce7e7f5 100644
--- a/libhtp/libhtp.nm
+++ b/libhtp/libhtp.nm
@@ -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}
-- 
2.9.3


                 reply	other threads:[~2017-02-16  8:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170216082933.22149-1-stefan.schantl@ipfire.org \
    --to=stefan.schantl@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox