salt rc.d scripts (Was: RUN_DEPENDS for python based port)

Christer Edwards christer.edwards at gmail.com
Fri Dec 23 20:14:38 UTC 2011


On Fri, Dec 23, 2011 at 8:09 AM, Greg Larkin <glarkin at freebsd.org> wrote:
> You get the award for persistence, so pat yourself on the back!

That's one way to look at it :)

So, I've been double-validating every aspect of this port as I want to
make sure it's 100% before I submit it, and I ran into one more issue.

I'm using a files/patch-setup.py to tweak the upstream setup.py to
match port standards. The one thing it is not doing is installing the
configuration (data_files) as ".sample". I did some digging and the
Python documentation says that the setup.py can not rename data_files
when it installs them[1]. Did I screw up the patch, or is there a
different way it should be done?

I get this error when building the port:
running install_data
error: can't copy 'conf/master.sample': doesn't exist or not a regular file
*** Error code 1

This is a pastebin of my patch-setup.py: http://pastebin.com/3ezTBdy9

Thanks again everybody.


[1]: http://docs.python.org/distutils/setupscript.html#installing-additional-files


More information about the freebsd-ports mailing list