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/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/archivers/urbackup-client/Makefile b/archivers/urbackup-client/Makefile
index 0999935140de..6a8f7d0288a0 100644
--- a/archivers/urbackup-client/Makefile
+++ b/archivers/urbackup-client/Makefile
@@ -1,6 +1,5 @@
PORTNAME= urbackup-client
-DISTVERSION= 2.5.25.0
-PORTREVISION= 1
+DISTVERSION= 2.5.26.0
CATEGORIES= archivers
MASTER_SITES= https://hndl.urbackup.org/Client/${DISTVERSION:R}/
@@ -11,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
@@ -22,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
@@ -41,10 +43,8 @@ CXXFLAGS+= -DCRYPTOPP_DISABLE_ASM
post-patch:
${REINPLACE_CMD} -e "s:%%PREFIX%%:${PREFIX}:g" \
${WRKSRC}/urbackupclient/backup_scripts/postgresqldump
- ${FIND} ${WRKSRC} -type f -exec ${REINPLACE_CMD} \
- -e 's|std::char_traits|std::vector|g' \
- -e 's|std::basic_string|std::vector|g' \
- -e 's|auto_ptr|unique_ptr|g' {} +
+ ${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 \