ports/sysutils/puppetserver5/files/patch-ext__bin__puppetserver
Romain Tartière 2c161b1aec Update to 5.3.6
Release notes:
https://puppet.com/docs/puppetserver/5.3/release_notes.html#puppet-server-536

While here, remove useless build depends and regenerate patches with make
makepatch.

With hat:	puppet
2018-10-26 10:25:05 +00:00

15 lines
627 B
Text

--- ext/bin/puppetserver.orig 2018-09-28 11:06:23 UTC
+++ ext/bin/puppetserver
@@ -15,6 +15,12 @@ elif [ `uname` == "OpenBSD" ] ; then
USER="_puppet"
INSTALL_DIR="/opt/puppetlabs/server/apps/puppetserver"
CONFIG="/etc/puppetlabs/puppetserver/conf.d"
+elif [ `uname` == "FreeBSD" ] ; then
+ JAVA_BIN="%%JAVA%%"
+ JAVA_ARGS="-Xms2g -Xmx2g -XX:MaxPermSize=256m"
+ USER="puppet"
+ INSTALL_DIR="%%DATADIR%%"
+ CONFIG="%%ETCDIR%%/conf.d"
else
echo "You seem to be missing some important configuration files; could not find /etc/default/puppetserver or /etc/sysconfig/puppetserver" >&2
exit 1