Could be very nice if those patches can be directly applied with emerge, without making personal ebuild every time. Reproducible: Always Steps to Reproduce: 1. emerge rsync Actual Results: When you emerge rsync, it install the base version. You have to manually install the patches you need. Expected Results: The possibility to select the patches to apply with use flags. This could help the installation of rsync. I posted an example ebuild based on rsync-3.0.4. This show my idea. This is not completed with all possible patches. Also, It is not fully tested. I used this ebuild for my own version of rsync with the patches I needed. Note: you have to extract the http://samba.anu.edu.au/ftp/rsync/rsync-patches-3.0.4.tar.gz into the file directory in the locale portage.
Created attachment 171054 [details, diff] This is an example patch for the proposal. This ebuild is made for the rsync-3.0.4 It's is only an example with few patches.
Thanks for the suggestion and example ebuild, assigning to maintainers.
people expect support if we were to add that and they certainly wouldnt get any you can apply custom patches now using this: http://sources.gentoo.org/net-misc/rsync/rsync-3.0.4.ebuild?r1=1.1&r2=1.2
(In reply to comment #3) > you can apply custom patches now using this: > http://sources.gentoo.org/net-misc/rsync/rsync-3.0.4.ebuild?r1=1.1&r2=1.2 Thanks, I didn't know this solution. Thanks, I didn't know this solution. I'm pretty new to ebuilds.
well, it didnt exist before you asked for it ;)
Mike this was discussed many times that having such code in ebuild is stupid. 1. It'll be hard to maintain: this is general programming paradigm the same code snippets should be moved into function, and if function is used in many places in the different files to the library. 2. It's easy to do this thing with bashrc and then ALL ebuilds will have this feature automatically. Please, drop this code from ebuild start suggesting to use bashrc.
if you wanted it implemented generally then go for it. i dont feel like dealing with the whiny QA people.