* [gentoo-dev] Virtual for tftp server
@ 2011-05-01 19:04 Maxim Koltsov
2011-05-01 19:12 ` Aaron W. Swenson
2011-05-01 20:41 ` Ciaran McCreesh
0 siblings, 2 replies; 9+ messages in thread
From: Maxim Koltsov @ 2011-05-01 19:04 UTC (permalink / raw
To: gentoo-dev
Hi,
Assuming we have a package, that want to have any tftp server on
system, no matter which one exactly, what must we set in DEPEND? I
think creating virtual for tftp server would be nice.
Maxim
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] Virtual for tftp server
2011-05-01 19:04 [gentoo-dev] Virtual for tftp server Maxim Koltsov
@ 2011-05-01 19:12 ` Aaron W. Swenson
2011-05-01 20:34 ` Maxim Koltsov
2011-05-01 20:41 ` Ciaran McCreesh
1 sibling, 1 reply; 9+ messages in thread
From: Aaron W. Swenson @ 2011-05-01 19:12 UTC (permalink / raw
To: gentoo-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 05/01/2011 03:04 PM, Maxim Koltsov wrote:
> Hi,
> Assuming we have a package, that want to have any tftp server on
> system, no matter which one exactly, what must we set in DEPEND? I
> think creating virtual for tftp server would be nice.
> Maxim
>
Sure, if there are multiple packages that just want a TFTP server,
rather than a particular TFTP server.
- - Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iF4EAREIAAYFAk29sJUACgkQCOhwUhu5AEkCDgEAtcUs6VZfFZhslC38ZvZvHQrZ
H2mbvQwsUU4U8Lb9exAA/iJ8L6r18c+bu8iSpw6n8gNk8MjOaaqVyYbhuFsrfPwJ
=rfTh
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] Virtual for tftp server
2011-05-01 19:12 ` Aaron W. Swenson
@ 2011-05-01 20:34 ` Maxim Koltsov
2011-05-01 20:42 ` Mike Gilbert
0 siblings, 1 reply; 9+ messages in thread
From: Maxim Koltsov @ 2011-05-01 20:34 UTC (permalink / raw
To: gentoo-dev
I'm going to add such a package to the tree tomorrow,
http://bugs.gentoo.org/show_bug.cgi?id=365605. Can you write ebuild
for this virtual, because i'm not familliar with new-style virtuals
yet?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] Virtual for tftp server
2011-05-01 19:04 [gentoo-dev] Virtual for tftp server Maxim Koltsov
2011-05-01 19:12 ` Aaron W. Swenson
@ 2011-05-01 20:41 ` Ciaran McCreesh
2011-05-01 21:01 ` Maxim Koltsov
1 sibling, 1 reply; 9+ messages in thread
From: Ciaran McCreesh @ 2011-05-01 20:41 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 749 bytes --]
On Sun, 1 May 2011 23:04:54 +0400
Maxim Koltsov <maksbotan@gentoo.org> wrote:
> Assuming we have a package, that want to have any tftp server on
> system, no matter which one exactly, what must we set in DEPEND? I
> think creating virtual for tftp server would be nice.
If it doesn't care about what the tftp server is, presumably that means
that the package itself doesn't actually use the tftp server (and if
it did call the tftp server, it would need to know the syntax for each
individual package, so it wouldn't be a virtual). So why would it be a
DEPEND?
Since suggested dependencies don't exist yet, what's wrong with just
elogging a message suggesting the user install a tftp server of their
choice?
--
Ciaran McCreesh
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] Virtual for tftp server
2011-05-01 20:34 ` Maxim Koltsov
@ 2011-05-01 20:42 ` Mike Gilbert
0 siblings, 0 replies; 9+ messages in thread
From: Mike Gilbert @ 2011-05-01 20:42 UTC (permalink / raw
To: gentoo-dev
On Sun, May 1, 2011 at 4:34 PM, Maxim Koltsov <maksbotan@gentoo.org> wrote:
> I'm going to add such a package to the tree tomorrow,
> http://bugs.gentoo.org/show_bug.cgi?id=365605. Can you write ebuild
> for this virtual, because i'm not familliar with new-style virtuals
> yet?
>
>
Just create an package "virtual/tftp-server" that has RDEPEND="|| (
net-ftp/A net-ftp/B ... )" where A and B are the various tftp server
implementations.
http://devmanual.gentoo.org/general-concepts/virtuals/index.html
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] Virtual for tftp server
2011-05-01 20:41 ` Ciaran McCreesh
@ 2011-05-01 21:01 ` Maxim Koltsov
2011-05-01 21:42 ` Mike Frysinger
0 siblings, 1 reply; 9+ messages in thread
From: Maxim Koltsov @ 2011-05-01 21:01 UTC (permalink / raw
To: gentoo-dev
2011/5/2 Ciaran McCreesh <ciaran.mccreesh@googlemail.com>:
> If it doesn't care about what the tftp server is, presumably that means
> that the package itself doesn't actually use the tftp server (and if
> it did call the tftp server, it would need to know the syntax for each
> individual package, so it wouldn't be a virtual). So why would it be a
> DEPEND?
I meant RDEPEND, sorry.
> Since suggested dependencies don't exist yet, what's wrong with just
> elogging a message suggesting the user install a tftp server of their
> choice?
I think this is uncomfortable for user.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] Virtual for tftp server
2011-05-01 21:01 ` Maxim Koltsov
@ 2011-05-01 21:42 ` Mike Frysinger
2011-05-02 6:47 ` Maxim Koltsov
0 siblings, 1 reply; 9+ messages in thread
From: Mike Frysinger @ 2011-05-01 21:42 UTC (permalink / raw
To: gentoo-dev
On Sun, May 1, 2011 at 17:01, Maxim Koltsov wrote:
> 2011/5/2 Ciaran McCreesh:
>> Since suggested dependencies don't exist yet, what's wrong with just
>> elogging a message suggesting the user install a tftp server of their
>> choice?
>
> I think this is uncomfortable for user.
i dont think so. i cant see RDEPENDing on a random tftp server being
terribly useful here, and it certainly isnt a requirement. elog it
and be done.
-mike
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] Virtual for tftp server
2011-05-01 21:42 ` Mike Frysinger
@ 2011-05-02 6:47 ` Maxim Koltsov
2011-05-02 7:52 ` Ulrich Mueller
0 siblings, 1 reply; 9+ messages in thread
From: Maxim Koltsov @ 2011-05-02 6:47 UTC (permalink / raw
To: gentoo-dev
2011/5/2 Mike Frysinger <vapier@gentoo.org>:
> i dont think so. i cant see RDEPENDing on a random tftp server being
> terribly useful here, and it certainly isnt a requirement. elog it
> and be done.
> -mike
>
Ok, please take a look at net-misc/ris-linux. It's used for network
installing windows, therefore user will need tftp, samba and friends,
so i added them to RDEPEND for convinience. Do you think we must ask
user to install them by hand by elog message?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] Virtual for tftp server
2011-05-02 6:47 ` Maxim Koltsov
@ 2011-05-02 7:52 ` Ulrich Mueller
0 siblings, 0 replies; 9+ messages in thread
From: Ulrich Mueller @ 2011-05-02 7:52 UTC (permalink / raw
To: gentoo-dev
>>>>> On Mon, 2 May 2011, Maxim Koltsov wrote:
> Ok, please take a look at net-misc/ris-linux. It's used for network
> installing windows, therefore user will need tftp, samba and friends,
> so i added them to RDEPEND for convinience. Do you think we must ask
> user to install them by hand by elog message?
If it's only few (let's say not more than three) packages that need
the dependency, they can easily use || ( ) in {,R}DEPEND. I wouldn't
create a virtual in such cases.
Ulrich
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2011-05-02 7:53 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-01 19:04 [gentoo-dev] Virtual for tftp server Maxim Koltsov
2011-05-01 19:12 ` Aaron W. Swenson
2011-05-01 20:34 ` Maxim Koltsov
2011-05-01 20:42 ` Mike Gilbert
2011-05-01 20:41 ` Ciaran McCreesh
2011-05-01 21:01 ` Maxim Koltsov
2011-05-01 21:42 ` Mike Frysinger
2011-05-02 6:47 ` Maxim Koltsov
2011-05-02 7:52 ` Ulrich Mueller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox