summaryrefslogtreecommitdiff
path: root/archivers/urbackup-client/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/urbackup-client/Makefile')
-rw-r--r--archivers/urbackup-client/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/archivers/urbackup-client/Makefile b/archivers/urbackup-client/Makefile
index 3f6591510303..6a8f7d0288a0 100644
--- a/archivers/urbackup-client/Makefile
+++ b/archivers/urbackup-client/Makefile
@@ -1,5 +1,5 @@
PORTNAME= urbackup-client
-DISTVERSION= 2.5.25.0
+DISTVERSION= 2.5.26.0
CATEGORIES= archivers
MASTER_SITES= https://hndl.urbackup.org/Client/${DISTVERSION:R}/
@@ -10,7 +10,8 @@ WWW= https://www.urbackup.org
LICENSE= AGPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= libcryptopp.so:security/cryptopp
+LIB_DEPENDS= libcryptopp.so:security/cryptopp \
+ libzstd.so:archivers/zstd
USES= autoreconf dos2unix libtool localbase pkgconfig sqlite:3 ssl
USE_CXXSTD= c++14
@@ -21,6 +22,8 @@ CONFIGURE_ARGS= --disable-clientupdate \
--enable-headless \
--without-embedded-sqlite3
+EXTRA_PATCHES= ${.CURDIR}/../urbackup-server/files/patch-fileservplugin_FileMetadataPipe.cpp \
+ ${.CURDIR}/../urbackup-server/files/patch-fsimageplugin_CompressedFile.cpp
SUB_FILES= pkg-message urbackupclient.conf.sample-daemon
USERS= urbackup
@@ -38,8 +41,10 @@ CXXFLAGS+= -DCRYPTOPP_DISABLE_ASM
.endif
post-patch:
- @${SED} -i "" -e "s:%%PREFIX%%:${PREFIX}:g" \
+ ${REINPLACE_CMD} -e "s:%%PREFIX%%:${PREFIX}:g" \
${WRKSRC}/urbackupclient/backup_scripts/postgresqldump
+ ${FIND} ${WRKSRC} -type f \( -name '*.cpp' -o -name '*.h' \) \
+ -exec ${REINPLACE_CMD} -e 's|auto_ptr|unique_ptr|g' {} +
post-stage:
${INSTALL_DATA} ${WRKDIR}/urbackupclient.conf.sample-daemon \