aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2012-08-28 17:21:11 +0800
committerwxs <wxs@FreeBSD.org>2012-08-28 17:21:11 +0800
commit32b4526c8c60724d9cdf270b3503bb4dffedc8ee (patch)
tree404916b7ab1be598956e4c20825bb8dad8661402
parenta438d696c454934875bdba75cd1643a3c0d1f559 (diff)
downloadfreebsd-ports-gnome-32b4526c8c60724d9cdf270b3503bb4dffedc8ee.tar.gz
freebsd-ports-gnome-32b4526c8c60724d9cdf270b3503bb4dffedc8ee.tar.zst
freebsd-ports-gnome-32b4526c8c60724d9cdf270b3503bb4dffedc8ee.zip
Update to 0.3.0
-rw-r--r--devel/libhtp/Makefile17
-rw-r--r--devel/libhtp/distinfo4
-rw-r--r--devel/libhtp/pkg-plist8
3 files changed, 20 insertions, 9 deletions
diff --git a/devel/libhtp/Makefile b/devel/libhtp/Makefile
index 92a463dabf82..3344a61ae73e 100644
--- a/devel/libhtp/Makefile
+++ b/devel/libhtp/Makefile
@@ -6,18 +6,25 @@
#
PORTNAME= libhtp
-PORTVERSION= 0.2.8
+PORTVERSION= 0.3.0
CATEGORIES= devel
-MASTER_SITES= http://www.openinfosecfoundation.org/download/
-DISTNAME= htp-${PORTVERSION}
+#MASTER_SITES= # This port uses github
MAINTAINER= wxs@FreeBSD.org
COMMENT= Security-aware parser for the HTTP protocol
-WRKSRC= ${WRKDIR}/htp-${PORTVERSION}
+USE_GITHUB= yes
+GH_ACCOUNT= ironbee
+GH_COMMIT= a334539
+USE_AUTOTOOLS= libtool autoheader aclocal
+ACLOCAL_ARGS= -Im4
USE_LDCONFIG= yes
USE_GNOME= pkgconfig gnomehack
-GNU_CONFIGURE= yes
+USE_ICONV= yes
+
+pre-configure:
+ ${REINPLACE_CMD} -Ee 's,^(pkgconfigdir = ).*,\1$$(exec_prefix)/libdata/pkgconfig,' ${WRKSRC}/Makefile.am
+ @cd ${WRKSRC} && ${SH} ./autogen.sh
.include <bsd.port.mk>
diff --git a/devel/libhtp/distinfo b/devel/libhtp/distinfo
index 93c8e35fb280..713cc6073f52 100644
--- a/devel/libhtp/distinfo
+++ b/devel/libhtp/distinfo
@@ -1,2 +1,2 @@
-SHA256 (htp-0.2.8.tar.gz) = ea5107a3e6e1994a29b69f82bcf853273ecfd45100189ddb7959c291f0572f17
-SIZE (htp-0.2.8.tar.gz) = 375506
+SHA256 (libhtp-0.3.0.tar.gz) = 5ea1c8c7b230113dd293c8d04a278db2c0ff2d894b158a578dbee15ab6a1d552
+SIZE (libhtp-0.3.0.tar.gz) = 397501
diff --git a/devel/libhtp/pkg-plist b/devel/libhtp/pkg-plist
index 21794183cdf0..72a66208625e 100644
--- a/devel/libhtp/pkg-plist
+++ b/devel/libhtp/pkg-plist
@@ -1,11 +1,15 @@
include/htp/hooks.h
include/htp/htp_decompressors.h
include/htp/bstr.h
+include/htp/bstr_builder.h
include/htp/utf8_decoder.h
include/htp/dslib.h
include/htp/htp.h
-lib/libhtp-0.2.so
-lib/libhtp-0.2.so.1
+include/htp/htp_base64.h
+include/htp/htp_multipart.h
+include/htp/htp_urlencoded.h
+lib/libhtp-0.3.so
+lib/libhtp-0.3.so.1
lib/libhtp.a
lib/libhtp.la
lib/libhtp.so