Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Sep 2020 04:51:44 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
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
Message-ID:  <202009200451.08K4pi2M082393@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009200451.08K4pi2M082393>