From nobody Fri May 10 15:25:12 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VbXkd1GYFz5JfJp; Fri, 10 May 2024 15:25:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VbXkd0mT4z4qDQ; Fri, 10 May 2024 15:25:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715354713; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=a4YogpLKm+jpAH7IEm02LR59Ykzyi46024HlhcqZpao=; b=PC0l8LPDpGyttDyN1OJk0hmj8nmtUDeuArmbG77VHV0kRkuwgucxvL66cwFsvHxR5A9Cj6 qjimYBG4WSP1PBQ1N+EWty8yfdTfvu8i1DLj24ddcbc+Hgn31HEoh6FXtERNJS9Cf+sbUz SeKNJLXuOtusjZ17QzZq70CaNJ3HpY6hQf8vG6l918GsZD+J80MtYOkG4DOFC7Y/j5qSEO iQ6p4eAYi7DYonwqDbxxoZHrYdje0RAFt5pBqisBKIWaVZWZBMCWJ6yxVCn96oS9+4eaMQ mVUmULO48zVsNp5+PUKcBE0iBU5FptadYBBnSdK9komfiTxaEsCRqUpSVeyAbQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715354713; a=rsa-sha256; cv=none; b=nFeEJL2XLWfcqGLtONDP3AnjpCvm+Fbz+NLaIibVWUh0epxNMo8sKAbJuIi2gFGGx49vUI I4v64CahiF6cU4VXGZbYm/zQCQPAS/5pTqietSUI+RFPfq0PDQV49ScczyFl2eAp0zlhF4 4SJtE6nRyr9KUKFZY0HTA3jxyicorcvsSetOLgcJbbDto3CoHxD5zg/Xs4b+E65lTw76xJ Y9zHAKpg1aeRXsvrB6JerPqHQOLCNnzLz3SyhIQq0wAbj9OrA/fAjIz/1P5q3v/DGVR129 y/xQOdE4krvX5EtY2e9GSF2GIowJFsG1SLhw98TJuwbFfuMvhTgnmDoPvNZ5pg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715354713; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=a4YogpLKm+jpAH7IEm02LR59Ykzyi46024HlhcqZpao=; b=GDiPIlTN5F181ver370GBHuzmDOPquhv0pZPeSG+HCbwi/pyos9i5iJF96rlbKtC22b39E rS2tuofs9UALSgmq8r2q+UE3VTFYTWi9xZdBe3VHtWG1PDN1xCKxIPeCWqEwPhOGYHlMRT acDj4PE66Qx/wJvjIuJAGzBrGVUAc+I22X4OewEX7yU9EbQsWhY0e6mZ3Yc1hp1Yy3mglc W1BvUuzQCNqwLR+h+SEZH3YGZ23v7040jPTMQHaTpYnWKP/sq/WNuSEuvW7x78kp8JZyTy XJbBVxrtT//pFV291GmAW5MEC2gN+N6WJunWuiQwukToRLkRXAqf1xl7uMz4Xg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VbXkd0N1wzjVn; Fri, 10 May 2024 15:25:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44AFPCL6087598; Fri, 10 May 2024 15:25:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44AFPCL7087595; Fri, 10 May 2024 15:25:12 GMT (envelope-from git) Date: Fri, 10 May 2024 15:25:12 GMT Message-Id: <202405101525.44AFPCL7087595@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nuno Teixeira Subject: git: 577ac1f839b1 - main - archivers/urbackup-{client,server}: Fix segfault (cryptopp) List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: eduardo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 577ac1f839b1b164bd42af7c94a15be017b5e1d7 Auto-Submitted: auto-generated The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=577ac1f839b1b164bd42af7c94a15be017b5e1d7 commit 577ac1f839b1b164bd42af7c94a15be017b5e1d7 Author: ek AuthorDate: 2024-05-10 15:19:22 +0000 Commit: Nuno Teixeira CommitDate: 2024-05-10 15:24:59 +0000 archivers/urbackup-{client,server}: Fix segfault (cryptopp) - Add -DCRYPTOPP_DISABLE_ASM to CXXFLAGS on i386 and amd64, as cryptopp-8.7.0 build with this option by default on i386 and amd64. (5a19c08: security/cryptopp: Update to 8.7.0) PR: 266531, 278163, 278859 MFH: 2024Q2 --- archivers/urbackup-client/Makefile | 10 +++++++++- archivers/urbackup-server/Makefile | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/archivers/urbackup-client/Makefile b/archivers/urbackup-client/Makefile index 59cd8bb07237..68a533fc0568 100644 --- a/archivers/urbackup-client/Makefile +++ b/archivers/urbackup-client/Makefile @@ -1,6 +1,6 @@ PORTNAME= urbackup-client DISTVERSION= 2.5.20.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= archivers MASTER_SITES= https://hndl.urbackup.org/Client/${DISTVERSION:R}/ @@ -40,6 +40,14 @@ GUI_CONFIGURE_OFF= --enable-headless CONFFILES= mariadbdump.conf mariadbxtrabackup.conf postgresbase.conf \ postgresqldump.conf +.include + +# 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 + post-patch: @${SED} -i "" -e "s:%%PREFIX%%:${PREFIX}:g" \ ${WRKSRC}/urbackupclient/backup_scripts/postgresqldump 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 + +# 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