aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorkoobs <koobs@FreeBSD.org>2014-07-07 15:56:47 +0800
committerkoobs <koobs@FreeBSD.org>2014-07-07 15:56:47 +0800
commit7e774505671dca4f23a89a94f4c02696964483c5 (patch)
tree44669153ada723d39ca5962ccf0ef83ae83fbf6b /devel
parent4ae19d74b8dd25367f1d0ba69ff2af727f5a95fd (diff)
downloadfreebsd-ports-gnome-7e774505671dca4f23a89a94f4c02696964483c5.tar.gz
freebsd-ports-gnome-7e774505671dca4f23a89a94f4c02696964483c5.tar.zst
freebsd-ports-gnome-7e774505671dca4f23a89a94f4c02696964483c5.zip
devel/libhtp: Update to 0.5.12, Update LICENSE
- Update to 0.5.12 - Update pkg-plist - Update LICENSE (BSD3CLAUSE) - Deprecate USES_AUTOTOOLS=libtool - Refactor AUTOTOOLS and AUTO* bits - Replace manual autogen.sh with AUTOTOOLS bits - Replace REINPLACE_CMD with pathfix and PATHFIX_MAKEFILEIN - Remove unecessary CFLAGS - Strip libraries using install-strip target
Diffstat (limited to 'devel')
-rw-r--r--devel/libhtp/Makefile21
-rw-r--r--devel/libhtp/distinfo4
-rw-r--r--devel/libhtp/pkg-plist5
3 files changed, 13 insertions, 17 deletions
diff --git a/devel/libhtp/Makefile b/devel/libhtp/Makefile
index a176cfbe5039..98075c70a9bb 100644
--- a/devel/libhtp/Makefile
+++ b/devel/libhtp/Makefile
@@ -1,32 +1,29 @@
# $FreeBSD$
PORTNAME= libhtp
-PORTVERSION= 0.5.9
+PORTVERSION= 0.5.12
CATEGORIES= devel
MAINTAINER= koobs@FreeBSD.org
COMMENT= Security-aware parser for the HTTP protocol
-LICENSE= BSD
+LICENSE= BSD3CLAUSE
USE_GITHUB= yes
GH_ACCOUNT= ironbee
-GH_COMMIT= f5f3c5c
+GH_COMMIT= a85cb55
-USES= pkgconfig pathfix iconv
-USE_AUTOTOOLS= libtool autoheader aclocal
-ACLOCAL_ARGS= -Im4
+USES= libtool pkgconfig pathfix iconv
+USE_AUTOTOOLS= libtoolize automake aclocal autoheader
USE_LDCONFIG= yes
+AUTOMAKE_ARGS= --add-missing
CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG}
-CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib \
- ${ICONV_LIB}
-CONFLICTS_INSTALL= libhtp-suricata-*
+PATHFIX_MAKEFILEIN= Makefile.am
-pre-configure:
- @${REINPLACE_CMD} -Ee 's,^(pkgconfigdir = ).*,\1$$(exec_prefix)/libdata/pkgconfig,' ${WRKSRC}/Makefile.am
- @cd ${WRKSRC} && ${SH} ./autogen.sh
+INSTALL_TARGET= install-strip
+CONFLICTS_INSTALL= libhtp-suricata-*
regression-test: build
@cd ${WRKSRC} && ${MAKE} check
diff --git a/devel/libhtp/distinfo b/devel/libhtp/distinfo
index 09da6ebabc06..13151eca2b24 100644
--- a/devel/libhtp/distinfo
+++ b/devel/libhtp/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libhtp-0.5.9.tar.gz) = b67f236a25abc197069260d454c7a1b16198be21338068ab57a0a156ec18198d
-SIZE (libhtp-0.5.9.tar.gz) = 5764911
+SHA256 (libhtp-0.5.12.tar.gz) = 9f4572194f3ecb5062b02681266094f28051beeae0a51a211b075f308f4145d1
+SIZE (libhtp-0.5.12.tar.gz) = 5765976
diff --git a/devel/libhtp/pkg-plist b/devel/libhtp/pkg-plist
index 939462b2c8d5..12e09e204c78 100644
--- a/devel/libhtp/pkg-plist
+++ b/devel/libhtp/pkg-plist
@@ -14,10 +14,9 @@ include/htp/htp.h
include/htp/htp_base64.h
include/htp/htp_multipart.h
include/htp/htp_urlencoded.h
-lib/libhtp-0.5.9.so
-lib/libhtp-0.5.9.so.1
+lib/libhtp-0.5.12.so.1
+lib/libhtp-0.5.12.so.1.0.0
lib/libhtp.a
-lib/libhtp.la
lib/libhtp.so
libdata/pkgconfig/htp.pc
@dirrm include/htp