Date: Sun, 7 Jun 2015 13:29:18 +0000 (UTC) From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r388698 - in head/net/ndpi: . files Message-ID: <201506071329.t57DTIto051845@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bofh Date: Sun Jun 7 13:29:17 2015 New Revision: 388698 URL: https://svnweb.freebsd.org/changeset/ports/388698 Log: net/ndpi: Update version 1.5.1=>1.6 - Update DISTNAME according to upstream Added: head/net/ndpi/files/patch-configure.ac (contents, props changed) Deleted: head/net/ndpi/files/patch-configure Modified: head/net/ndpi/Makefile head/net/ndpi/distinfo Modified: head/net/ndpi/Makefile ============================================================================== --- head/net/ndpi/Makefile Sun Jun 7 13:13:53 2015 (r388697) +++ head/net/ndpi/Makefile Sun Jun 7 13:29:17 2015 (r388698) @@ -2,10 +2,10 @@ # $FreeBSD$ PORTNAME= ndpi -PORTVERSION= 1.5.1 +PORTVERSION= 1.6 CATEGORIES= net MASTER_SITES= SF/ntop/nDPI -DISTNAME= libndpi-${PORTVERSION} +DISTNAME= nDPI-${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= NTOP-maintained superset of the popular OpenDPI library @@ -20,10 +20,14 @@ LDFLAGS+= -L${LOCALBASE}/lib LIBS+= -ljson-c GNU_CONFIGURE= yes USE_LDCONFIG= yes -USES= libtool pathfix pkgconfig compiler:c++11-lang -WRKSRC= ${WRKDIR}/libndpi-${PORTVERSION} +USES= autoreconf libtool pathfix pkgconfig compiler:c++11-lang +WRKSRC= ${WRKDIR}/nDPI-${PORTVERSION} INSTALL_TARGET= install-strip -PLIST_SUB= MAJOR_VER=${PORTVERSION} +PLIST_SUB= MAJOR_VER=${PORTVERSION}.0 + +post-patch: + ${REINPLACE_CMD} 's|$$(libdir)|$$(libdir)data|' \ + ${WRKSRC}/Makefile.am .include <bsd.port.mk> Modified: head/net/ndpi/distinfo ============================================================================== --- head/net/ndpi/distinfo Sun Jun 7 13:13:53 2015 (r388697) +++ head/net/ndpi/distinfo Sun Jun 7 13:29:17 2015 (r388698) @@ -1,2 +1,2 @@ -SHA256 (libndpi-1.5.1.tar.gz) = 32f15bcb273ddaead6cb3d57b47e1afa3cb20bb363d61ef294c5aa57a9c07e58 -SIZE (libndpi-1.5.1.tar.gz) = 516961 +SHA256 (nDPI-1.6.tar.gz) = 0e2201d0d003ac5df0de904f8e4df149ca55a59e708a32ce55500be92a031444 +SIZE (nDPI-1.6.tar.gz) = 3943963 Added: head/net/ndpi/files/patch-configure.ac ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/ndpi/files/patch-configure.ac Sun Jun 7 13:29:17 2015 (r388698) @@ -0,0 +1,28 @@ +--- configure.ac.orig 2015-06-06 19:48:47 UTC ++++ configure.ac +@@ -9,20 +9,11 @@ LT_INIT + AC_PROG_CC + AX_PTHREAD + +-if test -d ".git"; then : +- GIT_TAG=`git log -1 --format=%h` +- GIT_DATE=`git log -1 --format=%cd` +- # +- # On CentOS 6 `git rev-list HEAD --count` does not work +- # +- # +- GIT_NUM=`git log --pretty=oneline | wc -l` +- GIT_BRANCH=`git rev-parse --abbrev-ref HEAD` +- GIT_RELEASE="${PACKAGE_VERSION}-${GIT_BRANCH}-${GIT_NUM}-${GIT_TAG}" +-else +- GIT_RELEASE="${PACKAGE_VERSION}" +- GIT_DATE=`date` +-fi ++GIT_TAG="a31b0a3" ++GIT_DATE="Sun May 31 19:50:52 2015 +0200" ++GIT_NUM="62" ++GIT_BRANCH="master" ++GIT_RELEASE="${PACKAGE_VERSION}-${GIT_BRANCH}-${GIT_NUM}-${GIT_TAG}" + + AC_DEFINE_UNQUOTED(NDPI_GIT_RELEASE, "${GIT_RELEASE}", [GIT Release]) + AC_DEFINE_UNQUOTED(NDPI_GIT_DATE, "${GIT_DATE}", [Last GIT change])
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506071329.t57DTIto051845>