From owner-freebsd-pkg@FreeBSD.ORG Tue Mar 5 06:11:29 2013 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 30CAD1000; Tue, 5 Mar 2013 06:11:29 +0000 (UTC) (envelope-from yerenkow@gmail.com) Received: from mail-pb0-f47.google.com (mail-pb0-f47.google.com [209.85.160.47]) by mx1.freebsd.org (Postfix) with ESMTP id E097124B; Tue, 5 Mar 2013 06:11:28 +0000 (UTC) Received: by mail-pb0-f47.google.com with SMTP id rp2so3952117pbb.6 for ; Mon, 04 Mar 2013 22:11:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=zM/ubHo/mbUOzyeYe+XfJ7Rc0f0vbvJOegaK6VCvfcw=; b=FodRYFHegAFDqcp5Zsb+dB9s5dxS2Q5TAcTPb5k1skjbOYDieGOxBZgo5UZz7jCPH3 bxtTbF7w5klPVkM25te0PXK04Zp/EXLJOenNoxtk80uBJKdOLwTMS08ItvEU4npqk5A/ rgMDDgzzM7Nw2AkcWTwXOeVL6/8WrbxWI40tGD/FSnRw+3q4UF7n94252z+VtlPmkon8 Ng8uCHk2WsQVa+i9KrS3oWURCEBYm/xe3m6Ll4s1HOv7CQJGYyHmwlN4fOK5e5TIHtPL 8iMpvgh4O2HNzKpZ/QBNnMB75C7gBS4FrXy1DNAeBOfv8rybYBN5nRUR0YtJ3Tig2BlO Xmtw== MIME-Version: 1.0 X-Received: by 10.68.91.66 with SMTP id cc2mr2038406pbb.51.1362463888334; Mon, 04 Mar 2013 22:11:28 -0800 (PST) Received: by 10.68.36.69 with HTTP; Mon, 4 Mar 2013 22:11:28 -0800 (PST) In-Reply-To: References: Date: Tue, 5 Mar 2013 08:11:28 +0200 Message-ID: Subject: Re: pkg idea From: Alexander Yerenkow To: Jason Helfman Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: pkg@freebsd.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.14 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: Tue, 05 Mar 2013 06:11:29 -0000 2013/3/5 Jason Helfman > Hello All, > > Today I have removed misc/instant-server from the ports collection, however > this spawned an idea I have, however I do lack the coding to implement if > seen as a good idea :) > > The direction for features, as I understand it, is to be able to request > something in a port. > > USE_FEATURE= ws (webserver) > > So the port would install apache, per se. > > With this idea, why not provide metadata from the feature itself such as: > > PROVIDES_FEATURE= ws > > Then advertise the pkg tool the concept of installing features: > > pkg install feature <{web,dns,application,proxy,irc}> server. > > The user can then have a list of features to install. This can be presented > in multiple ways. Possibly a list, or maybe even a "signed off > on/officially supported" server features. > > Web Server -> Apache > DB Server -> PostgreSQL > DNS -> Bind > Application -> Tomcat6 > > Or something different... > > Any thoughts? > Actually, this is good idea, but as they told me - pretty complex and non-trivial to make (part of dependencies). I tried to make discussion earlier, but to no avail yet. http://lists.freebsd.org/pipermail/freebsd-ports/2012-July/076611.html https://github.com/pkgng/pkgng/issues/100 But probably, this can begin with PROVIDES part, and evolve later into "required" framework :) > > Thanks! > -jgh > -- > Jason Helfman | FreeBSD Committer > jgh@FreeBSD.org | http://people.freebsd.org/~jgh | The Power to Serve > _______________________________________________ > freebsd-pkg@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-pkg > To unsubscribe, send any mail to "freebsd-pkg-unsubscribe@freebsd.org" > -- Regards, Alexander Yerenkow