aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2014-11-30 20:15:44 +0800
committerthierry <thierry@FreeBSD.org>2014-11-30 20:15:44 +0800
commit34b8889d86499afdac257c1cffd8224b3a6044b4 (patch)
treea17145880a6e550193514c1bd5985558bc8eb187 /net-p2p
parent6bf158518f61291285f75be6d0b536f2c790901c (diff)
downloadfreebsd-ports-gnome-34b8889d86499afdac257c1cffd8224b3a6044b4.tar.gz
freebsd-ports-gnome-34b8889d86499afdac257c1cffd8224b3a6044b4.tar.zst
freebsd-ports-gnome-34b8889d86499afdac257c1cffd8224b3a6044b4.zip
Refresh. This is 0.9.27.
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/twister/Makefile6
-rw-r--r--net-p2p/twister/distinfo4
-rw-r--r--net-p2p/twister/files/patch-share_genbuild.sh23
3 files changed, 29 insertions, 4 deletions
diff --git a/net-p2p/twister/Makefile b/net-p2p/twister/Makefile
index 97895ed4184c..42301721b27e 100644
--- a/net-p2p/twister/Makefile
+++ b/net-p2p/twister/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= twister-core
-PORTVERSION= 0.141008
+PORTVERSION= 0.141130
CATEGORIES= net-p2p
MAINTAINER= thierry@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:
diff --git a/net-p2p/twister/distinfo b/net-p2p/twister/distinfo
index 6ab709be4284..3b7c7c748e17 100644
--- a/net-p2p/twister/distinfo
+++ b/net-p2p/twister/distinfo
@@ -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
diff --git a/net-p2p/twister/files/patch-share_genbuild.sh b/net-p2p/twister/files/patch-share_genbuild.sh
new file mode 100644
index 000000000000..2a4f7748e186
--- /dev/null
+++ b/net-p2p/twister/files/patch-share_genbuild.sh
@@ -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\""