e258ac0f1c
databases/puppetdb4 databases/puppetdb-terminus4 WWW: https://forge.puppetlabs.com/puppetlabs/puppetdb Also add conflicts with the puppetdb 2.x ports.
62 lines
4.7 KiB
Text
62 lines
4.7 KiB
Text
--- Makefile.orig 2016-03-17 04:17:10 UTC
|
|
+++ Makefile
|
|
@@ -1,7 +1,7 @@
|
|
prefix = /usr/local
|
|
datadir = $(prefix)/share
|
|
confdir = /etc
|
|
-rubylibdir = $(shell ruby -rrbconfig -e "puts RbConfig::CONFIG['sitelibdir']")
|
|
+rubylibdir = $(shell %%PREFIX%%/bin/ruby -rrbconfig -e "puts RbConfig::CONFIG['sitelibdir']")
|
|
rundir = /var/run
|
|
bindir = /usr/bin
|
|
|
|
@@ -33,22 +33,34 @@ install-puppetdb:
|
|
|
|
|
|
install-puppetdb-termini:
|
|
- install -Dm 0644 puppet/indirector/node/puppetdb.rb "$(DESTDIR)$(rubylibdir)/puppet/indirector/node/puppetdb.rb"
|
|
- install -Dm 0644 puppet/indirector/facts/puppetdb_apply.rb "$(DESTDIR)$(rubylibdir)/puppet/indirector/facts/puppetdb_apply.rb"
|
|
- install -Dm 0644 puppet/indirector/facts/puppetdb.rb "$(DESTDIR)$(rubylibdir)/puppet/indirector/facts/puppetdb.rb"
|
|
- install -Dm 0644 puppet/indirector/catalog/puppetdb.rb "$(DESTDIR)$(rubylibdir)/puppet/indirector/catalog/puppetdb.rb"
|
|
- install -Dm 0644 puppet/indirector/resource/puppetdb.rb "$(DESTDIR)$(rubylibdir)/puppet/indirector/resource/puppetdb.rb"
|
|
- install -Dm 0644 puppet/util/puppetdb/command.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb/command.rb"
|
|
- install -Dm 0644 puppet/util/puppetdb/command_names.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb/command_names.rb"
|
|
- install -Dm 0644 puppet/util/puppetdb/config.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb/config.rb"
|
|
- install -Dm 0644 puppet/util/puppetdb/http.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb/http.rb"
|
|
- install -Dm 0644 puppet/util/puppetdb/char_encoding.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb/char_encoding.rb"
|
|
- install -Dm 0644 puppet/util/puppetdb/atom.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb/atom.rb"
|
|
- install -Dm 0644 puppet/util/puppetdb.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb.rb"
|
|
- install -Dm 0644 puppet/reports/puppetdb.rb "$(DESTDIR)$(rubylibdir)/puppet/reports/puppetdb.rb"
|
|
- install -Dm 0644 puppet/face/node/deactivate.rb "$(DESTDIR)$(rubylibdir)/puppet/face/node/deactivate.rb"
|
|
- install -Dm 0644 puppet/face/node/status.rb "$(DESTDIR)$(rubylibdir)/puppet/face/node/status.rb"
|
|
- install -Dm 0644 puppet/functions/puppetdb_query.rb "$(DESTDIR)$(rubylibdir)/puppet/functions/puppetdb_query.rb"
|
|
+ install -d -m 0755 "$(DESTDIR)$(rubylibdir)/puppet"
|
|
+ install -d -m 0755 "$(DESTDIR)$(rubylibdir)/puppet/indirector"
|
|
+ install -d -m 0755 "$(DESTDIR)$(rubylibdir)/puppet/indirector/node"
|
|
+ install -d -m 0755 "$(DESTDIR)$(rubylibdir)/puppet/indirector/facts"
|
|
+ install -d -m 0755 "$(DESTDIR)$(rubylibdir)/puppet/indirector/catalog"
|
|
+ install -d -m 0755 "$(DESTDIR)$(rubylibdir)/puppet/indirector/resource"
|
|
+ install -d -m 0755 "$(DESTDIR)$(rubylibdir)/puppet/util"
|
|
+ install -d -m 0755 "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb"
|
|
+ install -d -m 0755 "$(DESTDIR)$(rubylibdir)/puppet/face"
|
|
+ install -d -m 0755 "$(DESTDIR)$(rubylibdir)/puppet/face/node"
|
|
+ install -d -m 0755 "$(DESTDIR)$(rubylibdir)/puppet/reports"
|
|
+ install -d -m 0755 "$(DESTDIR)$(rubylibdir)/puppet/functions"
|
|
+ install -m 0644 puppet/indirector/node/puppetdb.rb "$(DESTDIR)$(rubylibdir)/puppet/indirector/node/puppetdb.rb"
|
|
+ install -m 0644 puppet/indirector/facts/puppetdb_apply.rb "$(DESTDIR)$(rubylibdir)/puppet/indirector/facts/puppetdb_apply.rb"
|
|
+ install -m 0644 puppet/indirector/facts/puppetdb.rb "$(DESTDIR)$(rubylibdir)/puppet/indirector/facts/puppetdb.rb"
|
|
+ install -m 0644 puppet/indirector/catalog/puppetdb.rb "$(DESTDIR)$(rubylibdir)/puppet/indirector/catalog/puppetdb.rb"
|
|
+ install -m 0644 puppet/indirector/resource/puppetdb.rb "$(DESTDIR)$(rubylibdir)/puppet/indirector/resource/puppetdb.rb"
|
|
+ install -m 0644 puppet/util/puppetdb/command.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb/command.rb"
|
|
+ install -m 0644 puppet/util/puppetdb/command_names.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb/command_names.rb"
|
|
+ install -m 0644 puppet/util/puppetdb/config.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb/config.rb"
|
|
+ install -m 0644 puppet/util/puppetdb/http.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb/http.rb"
|
|
+ install -m 0644 puppet/util/puppetdb/char_encoding.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb/char_encoding.rb"
|
|
+ install -m 0644 puppet/util/puppetdb/atom.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb/atom.rb"
|
|
+ install -m 0644 puppet/util/puppetdb.rb "$(DESTDIR)$(rubylibdir)/puppet/util/puppetdb.rb"
|
|
+ install -m 0644 puppet/reports/puppetdb.rb "$(DESTDIR)$(rubylibdir)/puppet/reports/puppetdb.rb"
|
|
+ install -m 0644 puppet/face/node/deactivate.rb "$(DESTDIR)$(rubylibdir)/puppet/face/node/deactivate.rb"
|
|
+ install -m 0644 puppet/face/node/status.rb "$(DESTDIR)$(rubylibdir)/puppet/face/node/status.rb"
|
|
+ install -m 0644 puppet/functions/puppetdb_query.rb "$(DESTDIR)$(rubylibdir)/puppet/functions/puppetdb_query.rb"
|
|
|
|
install-rpm-sysv-init: install-rpm-preinst
|
|
install -d -m 0755 "$(DESTDIR)$(initdir)"
|