Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

Thank you.

edit: Is there an official way to contact the maintainer?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.