svn commit: r373663 - in head/net-p2p/twister: . files
Thierry Thomas
thierry at FreeBSD.org
Sun Nov 30 12:15:45 UTC 2014
Author: thierry
Date: Sun Nov 30 12:15:44 2014
New Revision: 373663
URL: https://svnweb.freebsd.org/changeset/ports/373663
QAT: https://qat.redports.org/buildarchive/r373663/
Log:
Refresh. This is 0.9.27.
Added:
head/net-p2p/twister/files/patch-share_genbuild.sh (contents, props changed)
Modified:
head/net-p2p/twister/Makefile
head/net-p2p/twister/distinfo
Modified: head/net-p2p/twister/Makefile
==============================================================================
--- head/net-p2p/twister/Makefile Sun Nov 30 11:20:35 2014 (r373662)
+++ head/net-p2p/twister/Makefile Sun Nov 30 12:15:44 2014 (r373663)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= twister-core
-PORTVERSION= 0.141008
+PORTVERSION= 0.141130
CATEGORIES= net-p2p
MAINTAINER= thierry at FreeBSD.org
@@ -22,7 +22,7 @@ USE_GITHUB= yes
GH_ACCOUNT= miguelfreitas
GH_PROJECT= ${PORTNAME}
GH_TAGNAME= ${GH_COMMIT}
-GH_COMMIT= 377870f
+GH_COMMIT= 9d3b074
USE_BDB= yes
WANT_BDB_VER= 48
@@ -55,6 +55,8 @@ WITH_OPENSSL_PORT= yes
.endif
pre-configure:
+ ${REINPLACE_CMD} -e 's|%%PORTVERSION%%|${PORTVERSION}|' \
+ ${WRKSRC}/share/genbuild.sh
(cd ${CONFIGURE_WRKSRC} && ./autotool.sh)
do-install:
Modified: head/net-p2p/twister/distinfo
==============================================================================
--- head/net-p2p/twister/distinfo Sun Nov 30 11:20:35 2014 (r373662)
+++ head/net-p2p/twister/distinfo Sun Nov 30 12:15:44 2014 (r373663)
@@ -1,2 +1,2 @@
-SHA256 (twister-core-0.141008.tar.gz) = ee0811018c91d3aad9e29e11b49ef710268dd4bcef10c06e8bf7c6e8b6d60674
-SIZE (twister-core-0.141008.tar.gz) = 6289680
+SHA256 (twister-core-0.141130.tar.gz) = 8a990898f071d8df4db3d4ffc0616f4f41e8de8c00740e344d01e95aa7e2f0ac
+SIZE (twister-core-0.141130.tar.gz) = 6293566
Added: head/net-p2p/twister/files/patch-share_genbuild.sh
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-p2p/twister/files/patch-share_genbuild.sh Sun Nov 30 12:15:44 2014 (r373663)
@@ -0,0 +1,23 @@
+--- share/genbuild.sh.orig 2014-11-29 16:20:43.000000000 +0100
++++ share/genbuild.sh 2014-11-30 12:27:01.000000000 +0100
+@@ -11,16 +11,12 @@
+ exit 1
+ fi
+
+-if [ -e "$(which git)" ]; then
+- # clean 'dirty' status of touched files that haven't been modified
+- git diff >/dev/null 2>/dev/null
+
+- # get a string like "v0.6.0-66-g59887e8-dirty"
+- DESC="$(git describe --dirty 2>/dev/null)"
++# get a string like "v0.6.0-66-g59887e8-dirty"
++DESC="v%%PORTVERSION%%"
+
+- # get a string like "2012-04-10 16:27:19 +0200"
+- TIME="$(git log -n 1 --format="%ci")"
+-fi
++# get a string like "2012-04-10 16:27:19 +0200"
++TIME="$(date "+%F %T %z")"
+
+ if [ -n "$DESC" ]; then
+ NEWINFO="#define BUILD_DESC \"$DESC\""
More information about the svn-ports-all
mailing list