Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jan 2016 08:50:24 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r405340 - in head/databases/opentsdb: . files
Message-ID:  <201601060850.u068oOs5080458@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Wed Jan  6 08:50:23 2016
New Revision: 405340
URL: https://svnweb.freebsd.org/changeset/ports/405340

Log:
  - Fix wrong path searching for logback.xml
  - While here remove unused sed line
  - Bump PORTREVISION
  
  PR:		205868
  Submitted by:	Davide D'Amico (based on)
  Approved by:	Johannes Jost Meixner (maintainer)

Modified:
  head/databases/opentsdb/Makefile
  head/databases/opentsdb/files/patch-Makefile.in   (contents, props changed)

Modified: head/databases/opentsdb/Makefile
==============================================================================
--- head/databases/opentsdb/Makefile	Wed Jan  6 07:46:43 2016	(r405339)
+++ head/databases/opentsdb/Makefile	Wed Jan  6 08:50:23 2016	(r405340)
@@ -3,6 +3,7 @@
 
 PORTNAME=	opentsdb
 PORTVERSION=	2.1.3
+PORTREVISION=	1
 CATEGORIES=	databases java
 MASTER_SITES=	https://github.com/OpenTSDB/opentsdb/releases/download/v${PORTVERSION}/
 
@@ -45,7 +46,6 @@ SUB_LIST=	OPENTSDB_USER="${OPENTSDB_USER
 
 post-patch:
 	${REINPLACE_CMD} -i "" -e "s|python|${PYTHON_CMD}|" ${WRKSRC}/build-aux/gen_build_data.sh
-	#${REINPLACE_CMD} -i "" -e "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/Makefile.in
 	${REINPLACE_CMD} -i "" -e "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/src/utils/Config.java
 	${REINPLACE_CMD} -i "" -e "s|tsd.http.staticroot =|tsd.http.staticroot = ${DATADIR}/static|; s|tsd.http.cachedir =|tsd.http.cachedir = /tmp/opentsdb|; s|tsd.network.port =|tsd.network.port = 4242|;" ${WRKSRC}/src/opentsdb.conf
 

Modified: head/databases/opentsdb/files/patch-Makefile.in
==============================================================================
--- head/databases/opentsdb/files/patch-Makefile.in	Wed Jan  6 07:46:43 2016	(r405339)
+++ head/databases/opentsdb/files/patch-Makefile.in	Wed Jan  6 08:50:23 2016	(r405340)
@@ -1,8 +1,11 @@
 --- Makefile.in.orig	2015-11-11 20:54:56 UTC
 +++ Makefile.in
-@@ -1315,7 +1315,9 @@ printdeps:
+@@ -1313,9 +1313,11 @@ printdeps:
+ # This is kind of a hack, but I couldn't find a better way to adjust the paths
+ # in the script before it gets installed...
  install-exec-hook:
- 	script=tsdb; pkgdatadir='$(pkgdatadir)'; configdir='$(sysconfigdir)/etc/opentsdb'; \
+-	script=tsdb; pkgdatadir='$(pkgdatadir)'; configdir='$(sysconfigdir)/etc/opentsdb'; \
++	script=tsdb; pkgdatadir='$(pkgdatadir)'; configdir='$(sysconfdir)/opentsdb'; \
            abs_srcdir=''; abs_builddir=''; $(edit_tsdb_script)
 +	chmod u+w "$(DESTDIR)$(bindir)/tsdb"
  	cat tsdb.tmp >"$(DESTDIR)$(bindir)/tsdb"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601060850.u068oOs5080458>