From owner-freebsd-pkg@freebsd.org Thu Apr 7 17:32:45 2016 Return-Path: Delivered-To: freebsd-pkg@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 A206AB08BB1 for ; Thu, 7 Apr 2016 17:32:45 +0000 (UTC) (envelope-from chuck@tuffli.net) Received: from mail-yw0-x231.google.com (mail-yw0-x231.google.com [IPv6:2607:f8b0:4002:c05::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6D77D11D2 for ; Thu, 7 Apr 2016 17:32:45 +0000 (UTC) (envelope-from chuck@tuffli.net) Received: by mail-yw0-x231.google.com with SMTP id i84so99320751ywc.2 for ; Thu, 07 Apr 2016 10:32:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuffli-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=zhkKNz8bOLIbx0GO/fAvAVbQg40UqYD8PFCIOzeqKHQ=; b=uf9Rj6VgrwJW8XA6XiDQWM5GrDFxBytxvFUHco1C1UinM6Wcuo+5bTLR9t/XsrXOha xYchG3/WbvYy3dvx+GlTSTloL/WcpK++LMe7i/As0uQZpJcrX4IiOl/J6wF7+YA5QeVA Yxu3DqL0W6O1lyvZKpnE931G0JzEcKMASUEJ7zhc0db9WkdgpVXFfvvQNxywyKwuc6tp d/E12DOWSJWKDnqiBMFLtgwr9bmNIqxx4nFwVso+Jf6RJPoVFVaEQ1Hh408b/L4CgV17 7fsLudC0luIYNpNRcF6wjWhuyLdHzAGyBTvVlJJtUe2bRhBBYeBW/XnQUvwqKgU1B8ab SP9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=zhkKNz8bOLIbx0GO/fAvAVbQg40UqYD8PFCIOzeqKHQ=; b=OtmwDo7p1tkT995ZcL6jA2bp81F8z0jGG2CG3UBUNwzsUJFEGnntAqX38oXzW+rRr8 hsnERhqyy2dY4y7jHudLMgzlyeivjiENOYZKTCpLJAhLYo6o2v7yZ4exsJekc/JFFsk6 1vMyk2+bynIeKo2TCq8Z/tENxXOnQPr1ltdOkCOs8xZ3CJkijane306LsgnqNdGJysTP e5eiYXVtkKllgMsJp0aBGbYINMRwa8SnMWldDd5z/DXdQ9xhz5Esz/IzXirvBno9vUq4 6UrXdsFU+GMDJFGfXT1WiZXHxvilPhIKZNm8/ePNVXfJPU1BXRgkF85q7WeeHsPSrZHu kacQ== X-Gm-Message-State: AD7BkJLjf8MfyeGkAl2y00G1TFmWiQ7+yTXIrZY1+EDHuFCC5nC7ZC2LbUPZwuD1I+0s22g9icbYfGSCn99iYA== MIME-Version: 1.0 X-Received: by 10.37.59.140 with SMTP id i134mr2240406yba.35.1460050364320; Thu, 07 Apr 2016 10:32:44 -0700 (PDT) Received: by 10.13.214.194 with HTTP; Thu, 7 Apr 2016 10:32:44 -0700 (PDT) In-Reply-To: <20160407063611.GQ49864@ivaldir.etoilebsd.net> References: <20160407063611.GQ49864@ivaldir.etoilebsd.net> Date: Thu, 7 Apr 2016 10:32:44 -0700 Message-ID: Subject: Re: teach pkg about rpm's? From: Chuck Tuffli To: Baptiste Daroussin Cc: freebsd-pkg@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Apr 2016 17:32:45 -0000 On Wed, Apr 6, 2016 at 11:36 PM, Baptiste Daroussin wrote: > On Sun, Apr 03, 2016 at 06:17:16AM -0700, Chuck Tuffli wrote: >> Hi >> >> Has adding the ability to install RPM's via pkg been discussed before? >> Does it make sense to add this or is it better to leave this >> functionality to something like archivers/rpm4? If so, I have some >> time and the motivation to implement this and would appreciate any >> guidance / pointers that people would be willing to share. >> > > It has been discussed, there was even some summer of code about it. > > It is a feature we would like to see in (but specially crafter) as it would > allow to remove most of the linux ports from the ports tree and we could tell > the users to simply add a special linux.conf repoconfiguration pointing to a yum > repository to handle the /compat Can you elaborate on how you'd like to see this work or point me to a write up? From what I've found, there were two GSoC approaches: convert Linux RPM/DEBs to the pkg format or, more recently, directly supporting the DEB format. If the latter is the preferred approach, does libarchive need to be taught about the various Linux package layouts? --chuck