From owner-freebsd-ports@FreeBSD.ORG Sat Mar 26 10:23:12 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93C47106564A for ; Sat, 26 Mar 2011 10:23:12 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5D04B8FC12 for ; Sat, 26 Mar 2011 10:23:11 +0000 (UTC) Received: by iyj12 with SMTP id 12so2388674iyj.13 for ; Sat, 26 Mar 2011 03:23:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=lnnwhEJ0NFxGm50h4MZDC5t6I5KFY9ahCSi7pZSOQMA=; b=RDO3Jrxi4CDDG8Ad0NRoyakIminrCdF8yzNOV1uF82w3vmOVnTjpgIs+kcqxlQN491 rI4iDE2Z32ydVIilSFn2T6gzom10x390Q2tuhgdhIJYE44M+Ppaxjpp+3m8po7Xtrhd5 AlN0U8Xki2UGPgequrpC7FuTDLhFfU3MrX81g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=G27/GfuZtt1efqxn++kme04BR9RsHELtb8RN+Bp7M2EEca7VRLJC0n5Q1HqOHOjbrn +SC/AqK0q06PpPKJYqj/8RXEmJKSO0p4Sy72ceZ821tiCUYtRlgDZsY2DtZuT241wFQ8 ANAjququBVKyotCGiQFGOWyX9qVyBQB34JoBs= Received: by 10.231.121.1 with SMTP id f1mr1831959ibr.35.1301134991185; Sat, 26 Mar 2011 03:23:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.182.76 with HTTP; Sat, 26 Mar 2011 03:22:50 -0700 (PDT) In-Reply-To: References: <20110325101111.GA36840@azathoth.lan> From: Baptiste Daroussin Date: Sat, 26 Mar 2011 10:22:50 +0000 Message-ID: To: Marcin Wisnicki Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-ports@freebsd.org Subject: Re: [ECFT] pkgng 0.1-alpha1: a replacement for pkg_install X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2011 10:23:12 -0000 2011/3/25 Marcin Wisnicki : > On Fri, 25 Mar 2011 11:11:11 +0100, Baptiste Daroussin wrote: > >> pkgng is a binary package manager written from scratch for FreeBSD. >> > > Fantastic! > > I know it is quite too early but I already have one feature request ;) > Perhaps it could be added to the TODO as a post-1.0 goal. > > =3D Generic extraction filters =3D > > Allow registration of custom filters that can alter/exclude/add? files > during package extraction (installation). > > Examples of possible filters: > =A0- strip debug info > =A0- exclude development files (headers, static libs) > =A0- exclude unused translations > =A0- exclude documentation (all or just unknown languages) > =A0- generic glob/regex path filters > =A0- optional file groups defined in package (install time OPTIONS) ? > > Some sort of configuration mechanism with list of enabled filters and > their options (like a list of languages to keep). > > Most of this can be implemented as a simple glob/regex matching but there > are edge cases where packages have some non-standard layout or have to > keep certain file in which case a package metadata should contain a list > of exclusions/additions from/to above categories. > > Package manager should register only actually installed files but list of > alterations should be also kept somewhere in database. > > > What do you think ? > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > This can still be discussed but I don't really like the idea that users may alter packages an installation/extraction time, that would lead to lots of potential buggy installation and report. If user aren't happy with the packaging, they can poke the maintainer, send PR, patch etc. regards, Bapt