From owner-soc-status@freebsd.org Mon Aug 3 23:12:37 2015 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 928269B27B7 for ; Mon, 3 Aug 2015 23:12:37 +0000 (UTC) (envelope-from mdw@freebsd.org) Received: from mehl.mmap.at (static.56.42.47.78.clients.your-server.de [78.47.42.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 729FAA60; Mon, 3 Aug 2015 23:12:36 +0000 (UTC) (envelope-from mdw@freebsd.org) Received: from [10.0.0.48] (194-166-191-148.adsl.highway.telekom.at [194.166.191.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mehl.mmap.at (Postfix) with ESMTPSA id E87C1B08E4; Tue, 4 Aug 2015 01:12:27 +0200 (CEST) Message-ID: <55BFF55B.8010902@freebsd.org> Date: Tue, 04 Aug 2015 01:12:27 +0200 From: Manuel Wiesinger User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.8.0 MIME-Version: 1.0 To: soc-status@FreeBSD.org Subject: Status: Linux packages for pkg(8) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Aug 2015 23:12:37 -0000 Hi, I'm a bit behind with "pkgifying" my code. So I did not yet push the database part to Github. Plan for this week: Push clean integrated code for reading the Debian manifest into the db and extract it to prefix (e.g. /compat/linux). How the manifest is imported: It's loosely based on the import of normal packages (binary). I.e. while parsing a hashmap is created (using UT_hash_handles in the particular structs: pkg, pkg_dep, pkg_conflict), in which dependencies and conflicts are stored. These hashmaps are iterated and written to the database then. A detail that I have overseen is that the Debian manifest does not contain the licences of the packages. I'll see if I can get that information to the database from somewhere else if desired. Further todos: make sure, that the event pipe is used for longer tasks (e.g. extracting) add pkg-audit support (easy), write unit-tests Regards, Manuel