mirror of
https://git.freebsd.org/ports.git
synced 2025-05-21 03:23:10 -04:00
sysutils/libdnf: update 0.70.2 → 0.73.4
This commit is contained in:
parent
9cb98c59ff
commit
462b710e80
5 changed files with 8 additions and 51 deletions
|
@ -1,6 +1,5 @@
|
|||
PORTNAME= libdnf
|
||||
DISTVERSION= 0.70.2
|
||||
PORTREVISION= 2
|
||||
DISTVERSION= 0.73.4
|
||||
CATEGORIES= sysutils
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
@ -11,26 +10,17 @@ LICENSE= LGPL21 # no LICENSE tag for Version 2.1
|
|||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
BUILD_DEPENDS= check>0:devel/check
|
||||
LIB_DEPENDS= libassuan.so:security/libassuan \
|
||||
libcurl.so:ftp/curl \
|
||||
LIB_DEPENDS= libcurl.so:ftp/curl \
|
||||
libexpat.so:textproc/expat2 \
|
||||
libffi.so:devel/libffi \
|
||||
libgcrypt.so:security/libgcrypt \
|
||||
libgpgme.so:security/gpgme \
|
||||
libgpg-error.so:security/libgpg-error \
|
||||
libidn2.so:dns/libidn2 \
|
||||
libjson-c.so:devel/json-c \
|
||||
libmodulemd.so:misc/libmodulemd \
|
||||
libnghttp2.so:www/libnghttp2 \
|
||||
libpsl.so:dns/libpsl \
|
||||
libpcre.so:devel/pcre \
|
||||
libpopt.so:devel/popt \
|
||||
librepo.so:misc/librepo \
|
||||
librpmio.so:archivers/rpm4 \
|
||||
libsmartcols.so:devel/util-linux \
|
||||
libsolv.so:misc/libsolv \
|
||||
libssh2.so:security/libssh2 \
|
||||
libunistring.so:devel/libunistring \
|
||||
libyaml.so:textproc/libyaml \
|
||||
libzstd.so:archivers/zstd
|
||||
TEST_DEPENDS= cppunit>0:devel/cppunit
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1692034629
|
||||
SHA256 (rpm-software-management-libdnf-0.70.2_GH0.tar.gz) = 8f34e9f93dc767bb02d6f132b1e2614667b4b36ee98b8f1552df1a22d5ce9cbc
|
||||
SIZE (rpm-software-management-libdnf-0.70.2_GH0.tar.gz) = 1155234
|
||||
TIMESTAMP = 1737971787
|
||||
SHA256 (rpm-software-management-libdnf-0.73.4_GH0.tar.gz) = bce14012d29d58867669fc606938f6fa84f037efcd9c802150fba6506356814c
|
||||
SIZE (rpm-software-management-libdnf-0.73.4_GH0.tar.gz) = 1208308
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
- from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273044
|
||||
- fix regex and duplicate rtti
|
||||
|
||||
--- bindings/python/__init__.py.orig 2023-07-28 12:49:18 UTC
|
||||
+++ bindings/python/__init__.py
|
||||
@@ -6,11 +6,14 @@ from . import error
|
||||
import sys, os
|
||||
sys.setdlopenflags(os.RTLD_NOW | os.RTLD_GLOBAL)
|
||||
from . import error
|
||||
-sys.setdlopenflags(os.RTLD_NOW)
|
||||
|
||||
+# Other modules also need to be loaded with RTLD_GLOBAL to preserve uniqueness
|
||||
+# of RTTI. There are code paths where an exception thrown in one module is
|
||||
+# supposed to be caught in another.
|
||||
from . import common_types
|
||||
from . import conf
|
||||
from . import module
|
||||
from . import repo
|
||||
from . import transaction
|
||||
from . import utils
|
||||
+sys.setdlopenflags(os.RTLD_NOW)
|
|
@ -1,14 +0,0 @@
|
|||
- from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273044
|
||||
- fix regex and duplicate rtti
|
||||
|
||||
--- libdnf/repo/DependencySplitter.cpp.orig 2023-07-28 12:49:18 UTC
|
||||
+++ libdnf/repo/DependencySplitter.cpp
|
||||
@@ -29,7 +29,7 @@ static const Regex RELDEP_REGEX =
|
||||
namespace libdnf {
|
||||
|
||||
static const Regex RELDEP_REGEX =
|
||||
- Regex("^(\\S*)\\s*(<=|>=|<|>|=|==)?\\s*(\\S*)$", REG_EXTENDED);
|
||||
+ Regex("^([^[:space:]]*)[[:space:]]*(<=|>=|<|>|=|==)?[[:space:]]*([^[:space:]]*)$", REG_EXTENDED);
|
||||
|
||||
static bool
|
||||
getCmpFlags(int *cmp_type, std::string matchCmpType)
|
|
@ -58,6 +58,7 @@ lib/libdnf.so.2
|
|||
lib/libdnf/plugins/README
|
||||
%%PYTHON%%%%PYTHON_SITELIBDIR%%/hawkey/__init__.py
|
||||
%%PYTHON%%%%PYTHON_SITELIBDIR%%/hawkey/_hawkey.so
|
||||
%%PYTHON%%%%PYTHON_SITELIBDIR%%/libdnf-0.73.4.dist-info/METADATA
|
||||
%%PYTHON%%%%PYTHON_SITELIBDIR%%/libdnf/__init__.py
|
||||
%%PYTHON%%%%PYTHON_SITELIBDIR%%/libdnf/_common_types.so
|
||||
%%PYTHON%%%%PYTHON_SITELIBDIR%%/libdnf/_conf.so
|
||||
|
@ -100,6 +101,7 @@ share/locale/id/LC_MESSAGES/libdnf.mo
|
|||
share/locale/is/LC_MESSAGES/libdnf.mo
|
||||
share/locale/it/LC_MESSAGES/libdnf.mo
|
||||
share/locale/ja/LC_MESSAGES/libdnf.mo
|
||||
share/locale/ka/LC_MESSAGES/libdnf.mo
|
||||
share/locale/kn/LC_MESSAGES/libdnf.mo
|
||||
share/locale/ko/LC_MESSAGES/libdnf.mo
|
||||
share/locale/mai/LC_MESSAGES/libdnf.mo
|
||||
|
@ -126,4 +128,4 @@ share/locale/tr/LC_MESSAGES/libdnf.mo
|
|||
share/locale/uk/LC_MESSAGES/libdnf.mo
|
||||
share/locale/zh_CN/LC_MESSAGES/libdnf.mo
|
||||
share/locale/zh_TW/LC_MESSAGES/libdnf.mo
|
||||
%%PYTHON%%share/man/man3/hawkey.3.gz
|
||||
share/man/man3/hawkey.3.gz
|
||||
|
|
Loading…
Add table
Reference in a new issue