From nobody Mon Aug 26 17:47:28 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 4Wsymw2RFxz5TKjS; Mon, 26 Aug 2024 17:47:28 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wsymw1wxzz43ZD; Mon, 26 Aug 2024 17:47:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724694448; 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=xUKfszFVwvyU+9YHOEYpkioX4qKNLNutWegJ5W4UpZ8=; b=ysWsdbSvevU9PeGvf3Dkwo7YG0IjtC1zMQD91th94SDkbk7wlYUOBv56Zq8gStmESylZtw YUY5RK73wFG7FoXycgCjkUyY0dITnzQPYKKFVubFEhPwPY4m3nLcUuuR98FiiSAKEEa1ST DlvqYh6VL1XPDyMtuqhBfEWlobWPymG/D+bgE6wfMLSt3oqTs5y/aF8O2YcrZPIV8GoI1X 0cDrHu3ZAzFnVmWxovOp4uz9y151xLAIhUaWPlmYMZUMoVXmlIbUarkk/2GxXoD/WK9ers 0EB3A5PiaOkqoQP00e0eGpFd3JmId+bGQ3FUmbn3ScBRmBuEDLLepeD7HOudsQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724694448; a=rsa-sha256; cv=none; b=e5azk54WsWHY+bBirG5DubVZmsTmouVYv6I503w+57U0b+DT/U/nwnciYSSBFaJGGzccy0 DOHl7KK/sP+IlBJdqfw8KEbV+HbG/DhHr/c7Lv+8eTk66xgAeza7k9hY+Da3rM7n5MZsPv dMnF14z47rk37zFEBWPAWGc/gD59+Q7n9MmLHuj93Sckl8CvOeOQN5L8n/+JdB+a0ox3sL FX43USY6sKCK+qsEe+djRqNBpmpll1ZtCxIb03Hp4GhbuMoaWfnivuBq5VvMtJG7IDz60a P9ZsLUnLhQdJVrYZ9NeX6yxKlG3QdCAu0HYob/K6DIxYA1u7/7VlYjLYExdzMg== 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=1724694448; 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=xUKfszFVwvyU+9YHOEYpkioX4qKNLNutWegJ5W4UpZ8=; b=d8tVbI1/F9wZ/hxdZmbvMveGTyQIe0zAuYSugWevo2cmLKj1RhV2bpe3dU7ZDN6Sg+pT1b LacoHUf2ityfHiAo1dUOOzsI1EuKBptjdBPUSrmsvs5pZ4MNJ3+ELl2KDgceOS3Pg0PS2w CMV1O5D8CQ0ePPCt9lRCv8KlK+w4RrFZ9OxDKKZkm0qD4uUsjeGgfgD5m0q/G9damBo9af XFyFg033iprVSYql9y6T36Nt5ckXQgLxqiBqV73/rZmbvWL+/Pz+ka8rupfPIb0rwRX6eK xR4hnS5fBFoJ6AzbhnR2Z8vOmj6ifLYTJXv8ZIz6q6eOy1PYTx/Vq+82ckSs0Q== 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 4Wsymw1Pm3zGBK; Mon, 26 Aug 2024 17:47:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47QHlSxq007711; Mon, 26 Aug 2024 17:47:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47QHlSHO007708; Mon, 26 Aug 2024 17:47:28 GMT (envelope-from git) Date: Mon, 26 Aug 2024 17:47:28 GMT Message-Id: <202408261747.47QHlSHO007708@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Zsolt Udvari Subject: git: 5e19f4315082 - main - databases/mdbx: Update to 0.12.9 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: uzsolt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5e19f4315082b38f1513cd5f577970d280a1596c Auto-Submitted: auto-generated The branch main has been updated by uzsolt: URL: https://cgit.FreeBSD.org/ports/commit/?id=5e19f4315082b38f1513cd5f577970d280a1596c commit 5e19f4315082b38f1513cd5f577970d280a1596c Author: Mahlon E. Smith AuthorDate: 2024-08-26 17:33:39 +0000 Commit: Zsolt Udvari CommitDate: 2024-08-26 17:37:51 +0000 databases/mdbx: Update to 0.12.9 The source tarball compressed by xz, add tar:xz to USES. Use cmake instead of gmake. Switch to DISTVERSION. The second MASTER_SITES overwrite the first MASTER_SITES (github), remove it. PR: 277846 Approved by: submitter is maintainer --- databases/mdbx/Makefile | 15 ++++-------- databases/mdbx/distinfo | 6 ++--- databases/mdbx/files/patch-GNUmakefile | 42 ---------------------------------- databases/mdbx/files/patch-mdbx.h++ | 11 --------- 4 files changed, 7 insertions(+), 67 deletions(-) diff --git a/databases/mdbx/Makefile b/databases/mdbx/Makefile index fcf25c146d0a..0ae66b3b4ea9 100644 --- a/databases/mdbx/Makefile +++ b/databases/mdbx/Makefile @@ -1,8 +1,6 @@ PORTNAME= mdbx -PORTVERSION= 0.11.14 -PORTREVISION= 1 +DISTVERSION= 0.12.9 CATEGORIES= databases -MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/ MASTER_SITES= https://libmdbx.dqdkfa.ru/release/ DISTNAME= libmdbx-amalgamated-${DISTVERSION} @@ -15,21 +13,16 @@ LICENSE_NAME= OpenLDAP Public License LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -USES= gmake +USES= cmake tar:xz USE_LDCONFIG= yes -MAKEFILE= GNUmakefile -MAKE_ARGS= mdbx tools -MAKE_ENV= mandir=${PREFIX}/share/man - -CFLAGS+= -Wall -Werror -Wextra -Wpedantic -ffunction-sections \ - -fPIC -fvisibility=hidden -std=gnu11 -pthread -Wno-error=attributes - NO_WRKSUBDIR= yes PLIST_SUB= VERSION=${PORTVERSION} post-install: + ${CP} ${BUILD_WRKSRC}/libmdbx-static.a ${STAGEDIR}${PREFIX}/lib/libmdbx.a + ${MV} ${STAGEDIR}${PREFIX}/lib/libmdbx.so ${STAGEDIR}${PREFIX}/lib/libmdbx.so.${PORTVERSION} ${RLN} libmdbx.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libmdbx.so ${RLN} libmdbx.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libmdbx.so.0 diff --git a/databases/mdbx/distinfo b/databases/mdbx/distinfo index cfb8f8d1e751..b1cb70e83e6a 100644 --- a/databases/mdbx/distinfo +++ b/databases/mdbx/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1676493467 -SHA256 (libmdbx-amalgamated-0.11.14.tar.gz) = 95327d7b59c6ea76ee4830f288d280dd4e90e6af2905b66e80671a14dafd3e0c -SIZE (libmdbx-amalgamated-0.11.14.tar.gz) = 698366 +TIMESTAMP = 1710889018 +SHA256 (libmdbx-amalgamated-0.12.9.tar.xz) = 6ccc5277bfb13ce744fb6d2128de0b11c8f58c81c1fe06179ceaac5c28125a6e +SIZE (libmdbx-amalgamated-0.12.9.tar.xz) = 394500 diff --git a/databases/mdbx/files/patch-GNUmakefile b/databases/mdbx/files/patch-GNUmakefile deleted file mode 100644 index 575d96a0d47a..000000000000 --- a/databases/mdbx/files/patch-GNUmakefile +++ /dev/null @@ -1,42 +0,0 @@ ---- GNUmakefile.orig 2022-08-02 10:17:33 UTC -+++ GNUmakefile -@@ -9,7 +9,7 @@ - # Basic internal definitios. For a customizable variables and options see below. - # - $(info // The GNU Make $(MAKE_VERSION)) --SHELL := $(shell env bash -c 'echo $$BASH') -+SHELL := sh - MAKE_VERx3 := $(shell printf "%3s%3s%3s" $(subst ., ,$(MAKE_VERSION))) - make_lt_3_81 := $(shell expr "$(MAKE_VERx3)" "<" " 3 81") - ifneq ($(make_lt_3_81),0) -@@ -117,7 +117,7 @@ define uname2libs - esac - endef - --SO_SUFFIX := $(shell $(uname2sosuffix)) -+SO_SUFFIX := so.0.11.14 - HEADERS := mdbx.h mdbx.h++ - LIBRARIES := libmdbx.a libmdbx.$(SO_SUFFIX) - TOOLS := mdbx_stat mdbx_copy mdbx_dump mdbx_load mdbx_chk mdbx_drop -@@ -284,16 +284,11 @@ mdbx_%.static-lto: mdbx_%.c config.h mdbx.c mdbx.h - - install: $(LIBRARIES) $(TOOLS) $(HEADERS) - @echo ' INSTALLING...' -- $(QUIET)mkdir -p $(DESTDIR)$(prefix)/bin$(suffix) && \ -- $(INSTALL) -p $(EXE_INSTALL_FLAGS) $(TOOLS) $(DESTDIR)$(prefix)/bin$(suffix)/ && \ -- mkdir -p $(DESTDIR)$(prefix)/lib$(suffix)/ && \ -- $(INSTALL) -p $(EXE_INSTALL_FLAGS) $(filter-out libmdbx.a,$(LIBRARIES)) $(DESTDIR)$(prefix)/lib$(suffix)/ && \ -- mkdir -p $(DESTDIR)$(prefix)/lib$(suffix)/ && \ -- $(INSTALL) -p libmdbx.a $(DESTDIR)$(prefix)/lib$(suffix)/ && \ -- mkdir -p $(DESTDIR)$(prefix)/include/ && \ -- $(INSTALL) -p -m 444 $(HEADERS) $(DESTDIR)$(prefix)/include/ && \ -- mkdir -p $(DESTDIR)$(mandir)/man1/ && \ -- $(INSTALL) -p -m 444 $(addprefix $(MAN_SRCDIR), $(MANPAGES)) $(DESTDIR)$(mandir)/man1/ -+ install -p -s $(TOOLS) $(DESTDIR)$(prefix)/bin$(suffix) && \ -+ install -p -s $(filter-out libmdbx.a,$(LIBRARIES)) $(DESTDIR)$(prefix)/lib$(suffix) && \ -+ install -p libmdbx.a $(DESTDIR)$(prefix)/lib$(suffix) && \ -+ install -p -m 444 $(HEADERS) $(DESTDIR)$(prefix)/include && \ -+ install -p -m 444 $(addprefix $(MAN_SRCDIR), $(MANPAGES)) $(DESTDIR)$(mandir)/man1 - - install-strip: EXE_INSTALL_FLAGS = -s - install-strip: install diff --git a/databases/mdbx/files/patch-mdbx.h++ b/databases/mdbx/files/patch-mdbx.h++ deleted file mode 100644 index 51538c655c60..000000000000 --- a/databases/mdbx/files/patch-mdbx.h++ +++ /dev/null @@ -1,11 +0,0 @@ ---- mdbx.h++.orig 2022-08-02 10:17:33 UTC -+++ mdbx.h++ -@@ -23,6 +23,8 @@ - - #pragma once - -+#define _LIBCPP_NO_EXPERIMENTAL_DEPRECATION_WARNING_FILESYSTEM -+ - /* Workaround for modern libstdc++ with CLANG < 4.x */ - #if defined(__SIZEOF_INT128__) && !defined(__GLIBCXX_TYPE_INT_N_0) && \ - defined(__clang__) && __clang_major__ < 4