1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

sysutils/libdnf: Update 0.64.0 -> 0.67.0

Reported by:	portscout
This commit is contained in:
Yuri Victorovich 2022-05-12 10:39:06 -07:00
parent c66453315d
commit d4af917425
4 changed files with 27 additions and 33 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= libdnf
DISTVERSION= 0.64.0
DISTVERSION= 0.67.0
CATEGORIES= sysutils
MAINTAINER= yuri@FreeBSD.org
@ -10,24 +10,38 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= check>0:devel/check
LIB_DEPENDS= libassuan.so:security/libassuan \
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
libsolv.so:misc/libsolv \
libssh2.so:security/libssh2 \
libunistring.so:devel/libunistring \
libyaml.so:textproc/libyaml \
libzstd.so:archivers/zstd
USES= cmake compiler:c++11-lang gettext gnome pkgconfig sqlite ssl
USE_GNOME= glib20
USES= cmake compiler:c++11-lang gettext gnome lua pkgconfig sqlite ssl
USE_GNOME= glib20 libxml2
USE_LDCONFIG= yes
USE_GCC= yes # clang fails: https://github.com/rpm-software-management/libdnf/issues/1038
USE_GITHUB= yes
GH_ACCOUNT= rpm-software-management
CMAKE_OFF= BUILD_TESTNG WITH_GTKDOC WITH_HTML BUILD_TESTING FREEBSD_INSTALL_DOCS
CMAKE_OFF= BUILD_TESTNG WITH_GTKDOC WITH_HTML WITH_TESTS FREEBSD_INSTALL_DOCS
BINARY_ALIAS= git=false
OPTIONS_DEFINE= PYTHON ZCHUNK
OPTIONS_DEFAULT= PYTHON
@ -36,10 +50,11 @@ OPTIONS_SUB= yes
PYTHON_CMAKE_BOOL= WITH_BINDINGS
PYTHON_USES= python
PYTHON_CMAKE_ON= -DPYTHON_DESIRED=${PYTHON_MAJOR_VER}
PYTHON_BUILD_DEPENDS= swig:devel/swig
PYTHON_BUILD_DEPENDS= swig:devel/swig \
${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR}
ZCHUNK_DESC= With zchunk support
ZCHUNK_CMAKE_BOOL= WITH_ZCHUNK
ZCHUNK_BROKEN= ZCHUNK option is declared, but this library is never actually used
ZCHUNK_BROKEN= Links with zchunk when WITH_ZCHUNK=OFF https://github.com/rpm-software-management/libdnf/issues/1515
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1633842247
SHA256 (rpm-software-management-libdnf-0.64.0_GH0.tar.gz) = 827038393d0eab0338fb369c525b0d822e4bad85ba89c212c6bf42178ddaa065
SIZE (rpm-software-management-libdnf-0.64.0_GH0.tar.gz) = 1128166
TIMESTAMP = 1652373297
SHA256 (rpm-software-management-libdnf-0.67.0_GH0.tar.gz) = 14b4327cf95f46c0f2a095935c58a10f472f09319f37cb7d1732d4d242404230
SIZE (rpm-software-management-libdnf-0.67.0_GH0.tar.gz) = 1153214

View File

@ -1,22 +0,0 @@
--- CMakeLists.txt.orig 2021-03-01 17:31:02 UTC
+++ CMakeLists.txt
@@ -168,15 +168,19 @@ add_subdirectory(po)
# build docs
+if (FREEBSD_INSTALL_DOCS)
add_subdirectory(docs/libdnf)
if(WITH_BINDINGS)
add_subdirectory(docs/hawkey)
endif()
+endif()
# build tests
+if (BUILD_TESTING)
enable_testing()
add_subdirectory(tests)
+endif()
if(WITH_BINDINGS)
add_subdirectory(python/hawkey)
endif()

View File

@ -126,3 +126,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