Created attachment 270259 [details] devel/wiremock v.3.13.2 port against main I've created a wiremock port which uses the pre-existing .jar file in much the same way as other builds like the mysql and mariadb java connectors. it: - packages up the jar file and delivers it into the standard system location - creates a home directory and structure in /usr/local/wiremock - creates a startup script with defaults that can be overridden in /etc/rc.conf - creates a user and group with appropriate settings
hold off on this one, I have some refinements I will be putting it through.
Created attachment 270276 [details] devel/wiremock-standalone patch against main I have renamed the port 'wiremock-standalone' in the tree rather than just 'wiremock' I have also cleaned up the logic and package a little. the overrides for status/stop are because the standard scripts don't work if the java binary is different to the path called. the user/group creation overrides are because of an issue with the global GID's on my system, don't know if there's a better way to fix that.
The script(s) I have here call `pw` to create users and groups. I don't think this is acceptable. As such, please can you help me get it into shape? I think there should be a suitable user/group for it to use as the app needs to read/write files but I don't think it's important enough to have its own numeric UID/GID.
I'm going to withdraw this one until I've done a better job. Sorry for any issues. I'm closing it as 'not accepted'. I will recreate it with better care, and submit it new.