0

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?

Jonas Stein
  • 406
  • 5
  • 14
john
  • 1,025
  • 3
  • 9
  • 15

1 Answers1

1

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.
  • http://devmanual.gentoo.org/ - has lots of information about ebuilds and the Gentoo ecosystem

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 the src_prepare step. You might have to use the ebuild 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.