From nobody Tue Dec 19 21:19:01 2023 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 4SvqLt15RQz54xd9; Tue, 19 Dec 2023 21:19:02 +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 4SvqLs6gKQz4QWY; Tue, 19 Dec 2023 21:19:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703020741; 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=Jj/bu3u8nVhoVlBvSQ52307HOAVx/kSgvuYOT7Hp4WE=; b=f0CIgD2qTKicYPO5QOrNAHqWqYLb87GIp5xyEvu1DxxRbGNuin6JjYLDw5x2B47kJf/I4U MCQPpSvanXqpleDOZMwUGuEH2Xc4WR4wVpGHaDEMlYKIgRwXglKpH7ewu31ilSt2QttwnF w2/Cqcw71pogeU/R9RCWivmE03uzPqlnIBCRSvWczaVkC4iuzc/kEKoyNY8ulyd66MUIAX SD4tFHxpQOZCdPG4krYlakQrsiDXZCVFdY3fiiysGwAzq9BwBw5Ss2lydwj6dCVtcLqiO1 8FCTsf6s7mO1cXxqn6XX6teyUzVL1A6B/eLcEeUMUqY0rC+R9npNArpTgXCvog== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703020741; a=rsa-sha256; cv=none; b=hoeE5DTAabg4nEjBUtNPLJxtqCMDfqzBY5tuy1YCTwbkeLm+785msuSN2Svg2WI8HmRzrX jN/FEqmjXYiOO8wHa6Si6UCxztj7Bc2OGXR11JIlM4Up08oYrknT7RUd0uQ5D52aeXMIrI QwEBDFdzQ2eG9yRlHXHDTmqiY2jDHExPwmqBecmQNUwR4Bg6zAU+xH9QTXx7bPwVn3I8nL 2EOiu+uNdzUn59AmsdNs0ZQtZ/hEsBBdgrD+95CnXYIOWmXpNSWYlkL/h83CLPmM8M8JGi JHCVq/XPzJp2ikCc4i8gXppW8HNV5C4sunugidzOlaJFPLuxP49pz+tl9LG3hA== 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=1703020741; 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=Jj/bu3u8nVhoVlBvSQ52307HOAVx/kSgvuYOT7Hp4WE=; b=HQNgjRqbfPDMDHkp1YCyu4bwjL1UvkVLpCHzKkk6hGOyesqiCFEMGNnaTudTP/6h/2YG4q AuV6Fc/x4Y+9QL/qkLGEIdjG9fTvUBcAGNRo1yMS7En2XoI1L+PPcBENOZv5bGa1gY/BNC m9A5VhbXcWTHna5NkS3ZkfeiEpy5q02tDB7jujnRkzsESRt6m2N1ojwKlKkKHfkxhD36Cj grgSYBlgkEPnVZ3756D0mHq2PEqHDCZhwCgG2PyFcFdI/jw15aLJyxD6+gyUmZZWMBZExG 61qwzEWw1CaXvQbS0uJB6DjUe1tdaQXbPTNSVh4qP1R+/13Ggz8Ay9T/IY6Txg== 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 4SvqLs5m2Dz6C9; Tue, 19 Dec 2023 21:19:01 +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 3BJLJ1J5001734; Tue, 19 Dec 2023 21:19:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BJLJ1WF001731; Tue, 19 Dec 2023 21:19:01 GMT (envelope-from git) Date: Tue, 19 Dec 2023 21:19:01 GMT Message-Id: <202312192119.3BJLJ1WF001731@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Rodrigo Osorio Subject: git: 7ab114bc6e7e - main - archivers/rpm4: Update to 4.18.2 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rodrigo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7ab114bc6e7e3b2a71f8261e2d3127ae5137296a Auto-Submitted: auto-generated The branch main has been updated by rodrigo: URL: https://cgit.FreeBSD.org/ports/commit/?id=7ab114bc6e7e3b2a71f8261e2d3127ae5137296a commit 7ab114bc6e7e3b2a71f8261e2d3127ae5137296a Author: Rodrigo Osorio AuthorDate: 2023-12-19 20:59:08 +0000 Commit: Rodrigo Osorio CommitDate: 2023-12-19 21:18:35 +0000 archivers/rpm4: Update to 4.18.2 Cangelog: https://rpm.org/wiki/Releases/4.18.2.html --- archivers/rpm4/Makefile | 72 ++++++++++++------------ archivers/rpm4/distinfo | 6 +- archivers/rpm4/files/patch-docs_Makefile.in | 8 +-- archivers/rpm4/files/patch-lib_backend_sqlite.c | 24 -------- archivers/rpm4/files/patch-tools_rpmuncompress.c | 5 +- archivers/rpm4/pkg-plist | 8 +-- 6 files changed, 49 insertions(+), 74 deletions(-) diff --git a/archivers/rpm4/Makefile b/archivers/rpm4/Makefile index d10ea97f6f2a..f131490ea928 100644 --- a/archivers/rpm4/Makefile +++ b/archivers/rpm4/Makefile @@ -1,6 +1,5 @@ PORTNAME= rpm -PORTVERSION= 4.18.1 -PORTREVISION= 2 +PORTVERSION= 4.18.2 CATEGORIES= archivers MASTER_SITES= http://ftp.rpm.org/releases/rpm-${PORTVERSION:R}.x/ PKGNAMESUFFIX= 4 @@ -12,67 +11,66 @@ WWW= https://rpm.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -BUILD_DEPENDS= gsed:textproc/gsed \ - ${LOCALBASE}/lib/libelf.so:devel/elfutils -LIB_DEPENDS= libpopt.so:devel/popt \ - libnss3.so:security/nss \ - libzstd.so:archivers/zstd \ +BUILD_DEPENDS= ${LOCALBASE}/lib/libelf.so:devel/elfutils \ + gsed:textproc/gsed +LIB_DEPENDS= libarchive.so:archivers/libarchive \ + libdb-5.3.so:databases/db5 \ + libelf.so:devel/elfutils \ libgcrypt.so:security/libgcrypt \ - libelf.so:devel/elfutils -RUN_DEPENDS= bash:shells/bash \ - gxargs:misc/findutils \ - ${LOCALBASE}/lib/libelf.so:devel/elfutils + libnss3.so:security/nss \ + libpopt.so:devel/popt \ + libzstd.so:archivers/zstd +RUN_DEPENDS= ${LOCALBASE}/lib/libelf.so:devel/elfutils \ + bash:shells/bash \ + gxargs:misc/findutils -USES= alias bdb sqlite cpe gmake iconv libarchive libtool \ - lua pathfix pkgconfig shebangfix tar:bzip2 +USES= alias bdb cpe gmake iconv libarchive libtool lua pathfix \ + pkgconfig readline shebangfix sqlite tar:bzip2 USE_LDCONFIG= yes -SHEBANG_FILES= scripts/check-prereqs \ - scripts/check-rpaths-worker scripts/pkgconfigdeps.sh \ - scripts/fontconfig.prov scripts/perl.prov scripts/perl.req \ - scripts/find-lang.sh scripts/ocamldeps.sh \ +SHEBANG_FILES= scripts/brp-compress scripts/check-prereqs \ + scripts/check-rpaths-worker scripts/find-lang.sh \ + scripts/fontconfig.prov scripts/ocamldeps.sh scripts/perl.prov \ + scripts/perl.req scripts/pkgconfigdeps.sh \ scripts/rpm_macros_provides.sh GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-sqlite=yes\ - --with-popt-prefix="${LOCALBASE}" \ - --sysconfdir=${PREFIX}/etc \ +CONFIGURE_ARGS= --enable-sqlite=yes \ --localstatedir=/var \ + --sysconfdir=${PREFIX}/etc \ + --with-popt-prefix="${LOCALBASE}" \ --without-javaglue \ am_cv_python_version=${PYTHON_VER}${PYTHON_ABIVER} CONFIGURE_ENV= LUA_CFLAGS=-I${LUA_INCDIR} \ LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER} -lm" INSTALL_TARGET= install-strip -CPPFLAGS+= -I${LOCALBASE}/include \ - -I${LOCALBASE}/include/nspr -I${LOCALBASE}/include/nss/nss \ - -I${BDB_INCLUDE_DIR} -I${LUA_INCDIR} -LDFLAGS+= -L${LOCALBASE}/lib -L${LOCALBASE}/lib/nss \ - -L${BDB_LIB_DIR} -L${LUA_LIBDIR} +CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/nspr \ + -I${LOCALBASE}/include/nss/nss -I${BDB_INCLUDE_DIR} \ + -I${LUA_INCDIR} +LDFLAGS+= -L${LOCALBASE}/lib -L${LOCALBASE}/lib/nss -L${BDB_LIB_DIR} \ + -L${LUA_LIBDIR} CONFLICTS_INSTALL= rpm2cpio # bin/rpm2cpio BINARY_ALIAS= sed=${LOCALBASE}/bin/gsed -PLIST_SUB= VERSION=${PORTVERSION} \ - OPSYS=${OPSYS:tl} +PLIST_SUB= OPSYS=${OPSYS:tl} \ + VERSION=${PORTVERSION} -OPTIONS_DEFINE= PYTHON PLUGINS NLS -OPTIONS_DEFAULT=PYTHON -OPTIONS_SUB= yes +OPTIONS_DEFINE= NLS PLUGINS PYTHON +OPTIONS_DEFAULT= PYTHON +OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls NLS_LIBS= -lintl -PLUGINS_LIB_DEPENDS= libdbus-1.so:devel/dbus -PLUGINS_CONFIGURE_ENABLE=plugins -PYTHON_USES= python -PYTHON_CONFIGURE_ENABLE=python +PLUGINS_LIB_DEPENDS= libdbus-1.so:devel/dbus +PLUGINS_CONFIGURE_ENABLE= plugins +PYTHON_USES= python +PYTHON_CONFIGURE_ENABLE= python post-patch: - @${REINPLACE_CMD} -e 's:\.\./\.\./bin/::' ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} -e 's/ __GLIBC__.*/& || defined(__FreeBSD__)/' \ - ${WRKSRC}/system.h @${REINPLACE_CMD} -e 's/\/gxargs/g' \ ${WRKSRC}/scripts/brp-strip-static-archive \ ${WRKSRC}/scripts/check-buildroot \ diff --git a/archivers/rpm4/distinfo b/archivers/rpm4/distinfo index 1df8ee1744d3..380dd3fd5e6f 100644 --- a/archivers/rpm4/distinfo +++ b/archivers/rpm4/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1689439085 -SHA256 (rpm-4.18.1.tar.bz2) = 37f3b42c0966941e2ad3f10fde3639824a6591d07197ba8fd0869ca0779e1f56 -SIZE (rpm-4.18.1.tar.bz2) = 6396363 +TIMESTAMP = 1703000590 +SHA256 (rpm-4.18.2.tar.bz2) = ba7eee1bc2c6f83be73c0a40d159c625cbaed976b3ac044233404fb25ae1b979 +SIZE (rpm-4.18.2.tar.bz2) = 6494550 diff --git a/archivers/rpm4/files/patch-docs_Makefile.in b/archivers/rpm4/files/patch-docs_Makefile.in index ecdd91bd159d..b84272277586 100644 --- a/archivers/rpm4/files/patch-docs_Makefile.in +++ b/archivers/rpm4/files/patch-docs_Makefile.in @@ -1,11 +1,11 @@ ---- docs/Makefile.in.orig 2023-07-21 09:25:20 UTC +--- docs/Makefile.in.orig 2023-12-19 15:56:53 UTC +++ docs/Makefile.in -@@ -442,7 +442,7 @@ target_alias = @target_alias@ +@@ -442,7 +442,7 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -@PANDOC_TRUE@SUBDIRS = man +SUBDIRS = man - EXTRA_DIST = _layouts/default.html _layouts/favicon.ico index.md \ - manual/index.md manual/arch_dependencies.md \ + EXTRA_DIST = _layouts/default.html _layouts/favicon.ico README.md \ + index.md manual/index.md manual/arch_dependencies.md \ manual/autosetup.md manual/boolean_dependencies.md \ diff --git a/archivers/rpm4/files/patch-lib_backend_sqlite.c b/archivers/rpm4/files/patch-lib_backend_sqlite.c deleted file mode 100644 index 80e5042eda06..000000000000 --- a/archivers/rpm4/files/patch-lib_backend_sqlite.c +++ /dev/null @@ -1,24 +0,0 @@ ---- lib/backend/sqlite.c.orig 2023-09-06 20:53:16 UTC -+++ lib/backend/sqlite.c -@@ -44,13 +44,6 @@ static void rpm_match3(sqlite3_context *sctx, int argc - sqlite3_result_int(sctx, match); - } - --static void errCb(void *data, int err, const char *msg) --{ -- rpmdb rdb = data; -- rpmlog(RPMLOG_WARNING, "%s: %s: %s\n", -- rdb->db_descr, sqlite3_errstr(err), msg); --} -- - static int dbiCursorReset(dbiCursor dbc) - { - if (dbc->stmt) { -@@ -170,7 +163,6 @@ static int sqlite_init(rpmdb rdb, const char * dbhome) - * the "database is locked" errors at every cost - */ - sqlite3_busy_timeout(sdb, 10000); -- sqlite3_config(SQLITE_CONFIG_LOG, errCb, rdb); - - sqlexec(sdb, "PRAGMA secure_delete = OFF"); - sqlexec(sdb, "PRAGMA case_sensitive_like = ON"); diff --git a/archivers/rpm4/files/patch-tools_rpmuncompress.c b/archivers/rpm4/files/patch-tools_rpmuncompress.c index 23dc0cc83dea..301b52c24956 100644 --- a/archivers/rpm4/files/patch-tools_rpmuncompress.c +++ b/archivers/rpm4/files/patch-tools_rpmuncompress.c @@ -1,10 +1,11 @@ ---- tools/rpmuncompress.c.orig 2022-08-30 11:42:23 UTC +--- tools/rpmuncompress.c.orig 2023-12-19 16:39:32 UTC +++ tools/rpmuncompress.c -@@ -1,7 +1,9 @@ +@@ -1,8 +1,10 @@ #include "system.h" +#include #include + #include #include +#include #include diff --git a/archivers/rpm4/pkg-plist b/archivers/rpm4/pkg-plist index ad65f23362c8..6e043a92e616 100644 --- a/archivers/rpm4/pkg-plist +++ b/archivers/rpm4/pkg-plist @@ -51,16 +51,16 @@ include/rpm/rpmutil.h include/rpm/rpmver.h lib/librpm.so lib/librpm.so.9 -lib/librpm.so.9.4.0 +lib/librpm.so.9.4.1 lib/librpmbuild.so lib/librpmbuild.so.9 -lib/librpmbuild.so.9.4.0 +lib/librpmbuild.so.9.4.1 lib/librpmio.so lib/librpmio.so.9 -lib/librpmio.so.9.4.0 +lib/librpmio.so.9.4.1 lib/librpmsign.so lib/librpmsign.so.9 -lib/librpmsign.so.9.4.0 +lib/librpmsign.so.9.4.1 %%PYTHON%%%%PYTHON_SITELIBDIR%%/rpm/__init__.py %%PYTHON%%%%PYTHON_SITELIBDIR%%/rpm/_rpm.so %%PYTHON%%%%PYTHON_SITELIBDIR%%/rpm/transaction.py