aboutsummaryrefslogtreecommitdiff
path: root/archivers/urbackup-server/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/urbackup-server/Makefile')
-rw-r--r--archivers/urbackup-server/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/archivers/urbackup-server/Makefile b/archivers/urbackup-server/Makefile
index 9e1496f50f5e..d8677cfa4f21 100644
--- a/archivers/urbackup-server/Makefile
+++ b/archivers/urbackup-server/Makefile
@@ -1,6 +1,6 @@
PORTNAME= urbackup-server
DISTVERSION= 2.5.26
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= archivers
MASTER_SITES= https://hndl.urbackup.org/Server/${DISTVERSION}/
@@ -25,6 +25,14 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-packaging --with-mountvhd --without-embedded-sqlite3 --without-embedded-lmdb --without-embedded-lua
LDFLAGS+= -L${LOCALBASE}/lib
+.include <bsd.port.options.mk>
+
+# Fix segmentation fault, PR 266531
+# see also 5a19c08: security/cryptopp: Update to 8.7.0
+.if ${ARCH} == i386 || ${ARCH} == amd64
+CXXFLAGS+= -DCRYPTOPP_DISABLE_ASM
+.endif
+
SUB_FILES= pkg-message urbackupsrv.conf.sample-daemon
USERS= urbackup