From owner-svn-ports-head@freebsd.org Sun Sep 20 04:51:45 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8847F3FBFEC; Sun, 20 Sep 2020 04:51:45 +0000 (UTC) (envelope-from yuri@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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BvFXd2w8Mz43BB; Sun, 20 Sep 2020 04:51:45 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 48CB817CE5; Sun, 20 Sep 2020 04:51:45 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 08K4pjYJ082399; Sun, 20 Sep 2020 04:51:45 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 08K4pi2M082393; Sun, 20 Sep 2020 04:51:44 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <202009200451.08K4pi2M082393@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sun, 20 Sep 2020 04:51:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r549086 - in head/misc: . libsolv libsolv/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/misc: . libsolv libsolv/files X-SVN-Commit-Revision: 549086 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Sep 2020 04:51:45 -0000 Author: yuri Date: Sun Sep 20 04:51:43 2020 New Revision: 549086 URL: https://svnweb.freebsd.org/changeset/ports/549086 Log: New port: misc/libsolv: Package dependency solver using a satisfiability algorithm Added: head/misc/libsolv/ head/misc/libsolv/Makefile (contents, props changed) head/misc/libsolv/distinfo (contents, props changed) head/misc/libsolv/files/ head/misc/libsolv/files/patch-CMakeLists.txt (contents, props changed) head/misc/libsolv/pkg-descr (contents, props changed) head/misc/libsolv/pkg-plist (contents, props changed) Modified: head/misc/Makefile Modified: head/misc/Makefile ============================================================================== --- head/misc/Makefile Sun Sep 20 03:55:17 2020 (r549085) +++ head/misc/Makefile Sun Sep 20 04:51:43 2020 (r549086) @@ -215,6 +215,7 @@ SUBDIR += libpostal SUBDIR += libpredict SUBDIR += libpri + SUBDIR += libsolv SUBDIR += libsupertone SUBDIR += libsweep-lidar SUBDIR += libutf Added: head/misc/libsolv/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/libsolv/Makefile Sun Sep 20 04:51:43 2020 (r549086) @@ -0,0 +1,19 @@ +# $FreeBSD$ + +PORTNAME= libsolv +DISTVERSION= 0.7.4 +CATEGORIES= misc + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Package dependency solver using a satisfiability algorithm + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.BSD + +USES= cmake +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= rpm-software-management + +.include Added: head/misc/libsolv/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/libsolv/distinfo Sun Sep 20 04:51:43 2020 (r549086) @@ -0,0 +1,3 @@ +TIMESTAMP = 1600576582 +SHA256 (rpm-software-management-libsolv-0.7.4_GH0.tar.gz) = 725b598075c5c44a90cbda5594fd29417144ff8acb9762996162e7b68f94c8c4 +SIZE (rpm-software-management-libsolv-0.7.4_GH0.tar.gz) = 662383 Added: head/misc/libsolv/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/libsolv/files/patch-CMakeLists.txt Sun Sep 20 04:51:43 2020 (r549086) @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2020-09-20 04:37:26 UTC ++++ CMakeLists.txt +@@ -44,7 +44,7 @@ IF (DEFINED LIB) + SET (LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/${LIB}") + ELSE (DEFINED LIB) + IF (CMAKE_SIZEOF_VOID_P MATCHES "8") +- SET (LIB_SUFFIX "64") ++ SET (LIB_SUFFIX "") + ENDIF (CMAKE_SIZEOF_VOID_P MATCHES "8") + SET (LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}") + ENDIF (DEFINED LIB) Added: head/misc/libsolv/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/libsolv/pkg-descr Sun Sep 20 04:51:43 2020 (r549086) @@ -0,0 +1,15 @@ +This is libsolv, a free package dependency solver using a satisfiability +algorithm. + +The code is based on two major, but independent, blocks: +1. Using a dictionary approach to store and retrieve package and dependency + information in a fast and space efficient manner. +2. Using satisfiability, a well known and researched topic, for resolving + package dependencies. + +The sat-solver code has been written to aim for the newest packages, record the +decision tree to provide introspection, and also allows to provide the user with +suggestions on how to deal with unsolvable problems. It also takes advantage of +the repository storage to minimize memory usage. + +WWW: https://github.com/rpm-software-management/libsolv Added: head/misc/libsolv/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/libsolv/pkg-plist Sun Sep 20 04:51:43 2020 (r549086) @@ -0,0 +1,54 @@ +bin/dumpsolv +bin/installcheck +bin/mergesolv +bin/repo2solv +bin/testsolv +include/solv/bitmap.h +include/solv/chksum.h +include/solv/dataiterator.h +include/solv/dirpool.h +include/solv/evr.h +include/solv/hash.h +include/solv/knownid.h +include/solv/policy.h +include/solv/pool.h +include/solv/poolarch.h +include/solv/poolid.h +include/solv/pooltypes.h +include/solv/poolvendor.h +include/solv/problems.h +include/solv/queue.h +include/solv/repo.h +include/solv/repo_solv.h +include/solv/repo_write.h +include/solv/repodata.h +include/solv/rules.h +include/solv/selection.h +include/solv/solv_xfopen.h +include/solv/solvable.h +include/solv/solver.h +include/solv/solverdebug.h +include/solv/solvversion.h +include/solv/strpool.h +include/solv/testcase.h +include/solv/tools_util.h +include/solv/transaction.h +include/solv/util.h +lib/libsolv.so +lib/libsolv.so.1 +lib/libsolvext.so +lib/libsolvext.so.1 +libdata/pkgconfig/libsolv.pc +libdata/pkgconfig/libsolvext.pc +share/cmake/Modules/FindLibSolv.cmake +share/man/man1/dumpsolv.1.gz +share/man/man1/installcheck.1.gz +share/man/man1/mergesolv.1.gz +share/man/man1/repo2solv.1.gz +share/man/man1/solv.1.gz +share/man/man1/testsolv.1.gz +share/man/man3/libsolv-bindings.3.gz +share/man/man3/libsolv-constantids.3.gz +share/man/man3/libsolv-history.3.gz +share/man/man3/libsolv-pool.3.gz +share/man/man3/libsolv.3.gz