diff options
| author | Tom Judge <tj@FreeBSD.org> | 2016-03-26 18:06:28 +0000 |
|---|---|---|
| committer | Tom Judge <tj@FreeBSD.org> | 2016-03-26 18:06:28 +0000 |
| commit | e258ac0f1ccb9dd35dfb6f9caace91e109e1b657 (patch) | |
| tree | 551be5a62b2f747ad47d9ca3875f0e08bc00846e /databases/puppetdb4/files/patch-ext_bin_puppetdb | |
| parent | - Fix RUN_DEPENDS. (diff) | |
New ports for PuppetDB 4.0
databases/puppetdb4
databases/puppetdb-terminus4
WWW: https://forge.puppetlabs.com/puppetlabs/puppetdb
Also add conflicts with the puppetdb 2.x ports.
Diffstat (limited to 'databases/puppetdb4/files/patch-ext_bin_puppetdb')
| -rw-r--r-- | databases/puppetdb4/files/patch-ext_bin_puppetdb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/databases/puppetdb4/files/patch-ext_bin_puppetdb b/databases/puppetdb4/files/patch-ext_bin_puppetdb new file mode 100644 index 000000000000..0a139b110d2e --- /dev/null +++ b/databases/puppetdb4/files/patch-ext_bin_puppetdb @@ -0,0 +1,15 @@ +--- ext/bin/puppetdb.orig 2016-03-17 04:17:10 UTC ++++ ext/bin/puppetdb +@@ -5,6 +5,12 @@ if [ -r "/etc/default/puppetdb" ] ; then + . /etc/default/puppetdb + elif [ -r "/etc/sysconfig/puppetdb" ] ; then + . /etc/sysconfig/puppetdb ++elif [ `uname` == "FreeBSD" ] ; then ++ CONFIG="%%PREFIX%%/etc/puppetdb/conf.d" ++ INSTALL_DIR="%%DATADIR%%" ++ JAVA_BIN="%%PREFIX%%/bin/java" ++ JAVA_ARGS="-Xmx192m" ++ USER="puppet" + elif [ `uname` == "OpenBSD" ] ; then + JAVA_BIN=$(javaPathHelper -c puppetdb) + JAVA_ARGS="-Xmx192m" |
