From owner-svn-ports-head@FreeBSD.ORG Sun Jun 7 13:29:19 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 478AB5E1; Sun, 7 Jun 2015 13:29:19 +0000 (UTC) (envelope-from bofh@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2AFC71892; Sun, 7 Jun 2015 13:29:19 +0000 (UTC) (envelope-from bofh@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t57DTJ9C051848; Sun, 7 Jun 2015 13:29:19 GMT (envelope-from bofh@FreeBSD.org) Received: (from bofh@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t57DTIto051845; Sun, 7 Jun 2015 13:29:18 GMT (envelope-from bofh@FreeBSD.org) Message-Id: <201506071329.t57DTIto051845@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: bofh set sender to bofh@FreeBSD.org using -f From: Muhammad Moinur Rahman Date: Sun, 7 Jun 2015 13:29:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r388698 - in head/net/ndpi: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jun 2015 13:29:19 -0000 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 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])