This is my first time using Gentoo and I am quite lost.
I want to install Nginx
. The current ebuild does not have support for limitproxy
http://nginxlimitproxy.sourceforge.net
I can see I have to modify SRC_URI
to add the source of the new plugin. But what is the next step?
edit: Is there an official way to contact the maintainer?
You might want to look at these resources:
/usr/portage/skel.ebuild
- a default ebuild with lots of comments.man 5 ebuild
- the man page for the .ebuild format.To answer your question.. It would depend on if the plugin has to be compiled with Nginx or if it is a module. If it has to be compiled with Nginx, it's probably a patch, and then you'd use
epatch
in thesrc_prepare
step. You might have to use theebuild
command to unpack everything and go browse around in /var/tmp/portage to figure out the structure of the unpacked archives. If it's a module that can be installed after Nginx is installed, then you need to make a new ebuild. I'd personally gank the ebuild from another Nginx module (if one exists) and change it around.