Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Feb 2019 09:07:32 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r492028 - in head: . archivers/urbackup-server
Message-ID:  <201902030907.x1397WqT032278@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Sun Feb  3 09:07:32 2019
New Revision: 492028
URL: https://svnweb.freebsd.org/changeset/ports/492028

Log:
  archivers/urbackup-server: update 2.2.11 -> 2.3.7
  
  - Changes some hardcoded paths from /etc/urbackup to ${PREFIX}/etc/urbackup
  - Adds a note to UPDATING about the foregoing path change
  - Uses sqlite3, lua, and lmdb from ports tree, rather than embedded
  - Enables support for mounting of VHD files via fuse
  
  PR:		235432
  Submitted by:	freebsd@coombscloud.com (maintainer)
  Relnotes:	https://www.urbackup.org/server_changelog.html

Modified:
  head/UPDATING
  head/archivers/urbackup-server/Makefile
  head/archivers/urbackup-server/distinfo
  head/archivers/urbackup-server/pkg-plist

Modified: head/UPDATING
==============================================================================
--- head/UPDATING	Sun Feb  3 09:00:40 2019	(r492027)
+++ head/UPDATING	Sun Feb  3 09:07:32 2019	(r492028)
@@ -5,6 +5,15 @@ they are unavoidable.
 You should get into the habit of checking this file for changes each time
 you update your ports collection, before attempting any port upgrades.
 
+20190202:
+  AFFECTS: users of archivers/urbackup-server
+  AUTHOR: freebsd@coombscloud.com
+  
+  Some of the port's sources previously included absolute references to /etc/urbackup.  
+  The upgrade now changes these references to ${PREFIX}/etc/urbackup. If you have placed 
+  any configuration files within /etc/urbackup, these should be relocated to 
+  ${PREFIX}/etc/urbackup.
+
 20190124:
   AFFECTS: users of sysutils/rubygem-fluentd, sysutils/fluent-bit
   AUTHOR: girgen@FreeBSD.org

Modified: head/archivers/urbackup-server/Makefile
==============================================================================
--- head/archivers/urbackup-server/Makefile	Sun Feb  3 09:00:40 2019	(r492027)
+++ head/archivers/urbackup-server/Makefile	Sun Feb  3 09:07:32 2019	(r492028)
@@ -1,8 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	urbackup-server
-DISTVERSION=	2.2.11
-PORTREVISION=	3
+DISTVERSION=	2.3.7
 CATEGORIES=	archivers
 MASTER_SITES=	https://hndl.urbackup.org/Server/${DISTVERSION}/
 
@@ -13,17 +12,21 @@ LICENSE=	AGPLv3
 LICENSE_FILE=	${WRKSRC}/server-license.txt
 
 LIB_DEPENDS=	libcryptopp.so:security/cryptopp \
-		libcurl.so:ftp/curl
+		libcurl.so:ftp/curl \
+		liblmdb.so:databases/lmdb
 
-USES=		compiler:c++11-lang fakeroot pkgconfig
+USES=		autoreconf compiler:c++11-lang dos2unix fakeroot fuse \
+		libtool lua:53+ pkgconfig sqlite:3
 USE_RC_SUBR=	urbackup_server
 
 USERS=		urbackup
 GROUPS=		urbackup
 
+DOS2UNIX_GLOB=	*.c *.cpp *.h *.am
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--enable-packaging
+CONFIGURE_ARGS=	--enable-packaging --with-mountvhd --without-embedded-sqlite3 --without-embedded-lmdb --without-embedded-lua
 CXXFLAGS+=	`pkgconf --cflags-only-other libcryptopp`
+LDFLAGS+=	-L${LOCALBASE}/lib
 
 SUB_FILES=	pkg-message urbackupsrv.conf.sample-daemon
 
@@ -38,6 +41,14 @@ post-patch:
 		cryptoplugin/ZlibCompression.cpp \
 		cryptoplugin/ZlibDecompression.cpp \
 		md5.h \
+	)
+
+	@(cd ${WRKSRC} && ${REINPLACE_CMD} -e 's|/etc/urbackup|${PREFIX}/etc/urbackup|g' \
+		mount_helper/main.cpp \
+		urbackupserver/server.cpp \
+		urbackupserver/serverinterface/settings.cpp \
+		urbackupserver/dllmain.cpp \
+		snapshot_helper/main.cpp \
 	)
 
 post-install:

Modified: head/archivers/urbackup-server/distinfo
==============================================================================
--- head/archivers/urbackup-server/distinfo	Sun Feb  3 09:00:40 2019	(r492027)
+++ head/archivers/urbackup-server/distinfo	Sun Feb  3 09:07:32 2019	(r492028)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1523887432
-SHA256 (urbackup-server-2.2.11.tar.gz) = 164e1ea4f30d2b1f1b4b3ed66eece6aba40e10fd55d99215769dc88d3f1c0f58
-SIZE (urbackup-server-2.2.11.tar.gz) = 6707623
+TIMESTAMP = 1548517582
+SHA256 (urbackup-server-2.3.7.tar.gz) = b9a40d8c0c1bc608ffd47e9ce239373c12a378b6898b8c92054a2ce403c2d6d7
+SIZE (urbackup-server-2.3.7.tar.gz) = 7912740

Modified: head/archivers/urbackup-server/pkg-plist
==============================================================================
--- head/archivers/urbackup-server/pkg-plist	Sun Feb  3 09:00:40 2019	(r492027)
+++ head/archivers/urbackup-server/pkg-plist	Sun Feb  3 09:07:32 2019	(r492028)
@@ -111,11 +111,13 @@ share/urbackup/www/js/templates.chash-28c0599c25813503
 share/urbackup/www/js/templates.chash-98b70da992ffbfb64873cc47c15e8992.js
 share/urbackup/www/js/templates.chash-ecd192a19340d82b8e2a92e4a7aae964.js
 share/urbackup/www/js/templates.chash-f85173fea3869fb86c781b60569246a4.js
+share/urbackup/www/js/templates.chash-9e4954e10a60c31df0e2c25e7e191086.js
 share/urbackup/www/js/translation.chash-17666a6e1eff21a4453aeeb5408a5a27.js
 share/urbackup/www/js/translation.chash-2c1ec818032b1e0514904724dfc9a3a5.js
 share/urbackup/www/js/translation.chash-3e8d08068445883d1daf8cf2a3bc4340.js
 share/urbackup/www/js/translation.chash-710c13b3aadc254a86a15dd18230f8b6.js
 share/urbackup/www/js/translation.chash-a1fc94d4665af6cb090a8a17d3eaee0b.js
+share/urbackup/www/js/translation.chash-43d97f4542e2b5d1974594094b5eb0eb.js
 share/urbackup/www/js/urbackup.chash-070f758b515816b2e8d3944c5b47b651.js
 share/urbackup/www/js/urbackup.chash-1092077780a84e657441605802f08881.js
 share/urbackup/www/js/urbackup.chash-32c284d4b5189f22969dea49551e6192.js
@@ -127,8 +129,11 @@ share/urbackup/www/js/urbackup.chash-ac6922133c3cbf217
 share/urbackup/www/js/urbackup.chash-ae0cb8928ce470e4e8b59e8d18aa37bd.js
 share/urbackup/www/js/urbackup.chash-cb406b0890d791e36c7542211da71a8c.js
 share/urbackup/www/js/urbackup.chash-f06ab951e72229bb54b7a87d4afce638.js
+share/urbackup/www/js/urbackup.chash-70c25c845d7958e76fa1349fbb937e9e.js
+share/urbackup/www/js/urbackup.chash-9a2d6eaeb46201db012471777d3f0450.js
 share/urbackup/www/js/urbackup_functions.chash-6481a2ac25b89a3d87063d9f080a54bb.js
 share/urbackup/www/js/urbackup_functions.chash-ba3dbff9829eea33c689d82f9020704d.js
+share/urbackup/www/js/urbackup_functions.chash-cb06117b2b923bb8b72f1ea5eeac5557.js
 share/urbackup/www/js/vs/base/worker/workerMain.js
 share/urbackup/www/js/vs/basic-languages/src/lua.js
 share/urbackup/www/js/vs/editor/editor.main.css



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