Date: Tue, 5 Mar 2013 08:11:28 +0200 From: Alexander Yerenkow <yerenkow@gmail.com> To: Jason Helfman <jgh@freebsd.org> Cc: pkg@freebsd.org Subject: Re: pkg idea Message-ID: <CAPJF9wkv3tZsmPd2FLR8rQSU12Y1Zq%2Bx=z%2BVudONx7NhJ=YXAQ@mail.gmail.com> In-Reply-To: <CAMuy=%2BhoPPzTcM0=hh72XhjuA_9k4mZ7bOCiwoYx1FAMkc2FMA@mail.gmail.com> References: <CAMuy=%2BhoPPzTcM0=hh72XhjuA_9k4mZ7bOCiwoYx1FAMkc2FMA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
2013/3/5 Jason Helfman <jgh@freebsd.org>
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPJF9wkv3tZsmPd2FLR8rQSU12Y1Zq%2Bx=z%2BVudONx7NhJ=YXAQ>
