summaryrefslogtreecommitdiff
path: root/databases/puppetdb7
diff options
context:
space:
mode:
Diffstat (limited to 'databases/puppetdb7')
-rw-r--r--databases/puppetdb7/Makefile5
-rw-r--r--databases/puppetdb7/distinfo6
-rw-r--r--databases/puppetdb7/files/patch-Makefile28
3 files changed, 9 insertions, 30 deletions
diff --git a/databases/puppetdb7/Makefile b/databases/puppetdb7/Makefile
index f2d73d995dc9..3102011cf8cc 100644
--- a/databases/puppetdb7/Makefile
+++ b/databases/puppetdb7/Makefile
@@ -1,5 +1,5 @@
PORTNAME= puppetdb
-PORTVERSION= 7.19.0
+PORTVERSION= 7.19.1
CATEGORIES= databases java
MASTER_SITES= https://downloads.puppetlabs.com/puppetdb/
PKGNAMESUFFIX= 7
@@ -43,6 +43,9 @@ post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/${file}
.endfor
@${REINPLACE_CMD} -e "s|%%DATADIR%%|${DATADIR}|" ${WRKSRC}/ext/bin/puppetdb
+ @${REINPLACE_CMD} -e 's|/puppetlabs/puppetdb/|/puppetdb/|' \
+ -e 's|\(install -m 0644 ext/config/.*\)"|\1.sample"|' \
+ ${WRKSRC}/Makefile
do-install:
@cd ${WRKSRC} && ${SETENV} DESTDIR=${STAGEDIR} make install-puppetdb
diff --git a/databases/puppetdb7/distinfo b/databases/puppetdb7/distinfo
index c5291a0dd529..d2054dae1e8e 100644
--- a/databases/puppetdb7/distinfo
+++ b/databases/puppetdb7/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1718150352
-SHA256 (puppetdb-7.19.0.tar.gz) = 807b5581c1c559f2f46ba8f331704d39ed2c3f2b87699eb10c6bad4c5baa617b
-SIZE (puppetdb-7.19.0.tar.gz) = 52336282
+TIMESTAMP = 1721971840
+SHA256 (puppetdb-7.19.1.tar.gz) = 2a4437279a2693d42e315f0d02d90d57d9ec3ba7ddf789387132504390c127ed
+SIZE (puppetdb-7.19.1.tar.gz) = 52342245
diff --git a/databases/puppetdb7/files/patch-Makefile b/databases/puppetdb7/files/patch-Makefile
index ade9d2c91fd7..583fcfa9fe4a 100644
--- a/databases/puppetdb7/files/patch-Makefile
+++ b/databases/puppetdb7/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig 2024-06-10 16:06:40 UTC
+--- Makefile.orig 2024-07-19 17:09:14 UTC
+++ Makefile
-@@ -1,24 +1,24 @@
+@@ -1,9 +1,9 @@
-prefix = /usr/local
+prefix = %%PREFIX%%
datadir = $(prefix)/share
@@ -13,27 +13,3 @@
install-puppetdb:
install -d -m 0755 "$(DESTDIR)$(datadir)/puppetdb"
- install -m 0644 puppetdb.jar "$(DESTDIR)$(datadir)/puppetdb"
- install -m 0774 ext/ezbake-functions.sh "$(DESTDIR)$(datadir)/puppetdb"
- install -m 0644 ext/ezbake.manifest "$(DESTDIR)$(datadir)/puppetdb"
-- install -d -m 0755 "$(DESTDIR)$(confdir)/puppetlabs/puppetdb/conf.d"
-- install -m 0644 ext/config/bootstrap.cfg "$(DESTDIR)$(confdir)/puppetlabs/puppetdb/bootstrap.cfg"
-- install -m 0644 ext/config/conf.d/database.ini "$(DESTDIR)$(confdir)/puppetlabs/puppetdb/conf.d/database.ini"
-- install -m 0644 ext/config/conf.d/jetty.ini "$(DESTDIR)$(confdir)/puppetlabs/puppetdb/conf.d/jetty.ini"
-- install -m 0644 ext/config/conf.d/config.ini "$(DESTDIR)$(confdir)/puppetlabs/puppetdb/conf.d/config.ini"
-- install -m 0644 ext/config/conf.d/auth.conf "$(DESTDIR)$(confdir)/puppetlabs/puppetdb/conf.d/auth.conf"
-- install -m 0644 ext/config/conf.d/repl.ini "$(DESTDIR)$(confdir)/puppetlabs/puppetdb/conf.d/repl.ini"
-- install -m 0644 ext/config/request-logging.xml "$(DESTDIR)$(confdir)/puppetlabs/puppetdb/request-logging.xml"
-- install -m 0644 ext/config/logback.xml "$(DESTDIR)$(confdir)/puppetlabs/puppetdb/logback.xml"
-+ install -d -m 0755 "$(DESTDIR)$(confdir)/puppetdb/conf.d"
-+ install -m 0644 ext/config/bootstrap.cfg "$(DESTDIR)$(confdir)/puppetdb/bootstrap.cfg.sample"
-+ install -m 0644 ext/config/conf.d/database.ini "$(DESTDIR)$(confdir)/puppetdb/conf.d/database.ini.sample"
-+ install -m 0644 ext/config/conf.d/jetty.ini "$(DESTDIR)$(confdir)/puppetdb/conf.d/jetty.ini.sample"
-+ install -m 0644 ext/config/conf.d/config.ini "$(DESTDIR)$(confdir)/puppetdb/conf.d/config.ini.sample"
-+ install -m 0644 ext/config/conf.d/auth.conf "$(DESTDIR)$(confdir)/puppetdb/conf.d/auth.conf.sample"
-+ install -m 0644 ext/config/conf.d/repl.ini "$(DESTDIR)$(confdir)/puppetdb/conf.d/repl.ini.sample"
-+ install -m 0644 ext/config/request-logging.xml "$(DESTDIR)$(confdir)/puppetdb/request-logging.xml.sample"
-+ install -m 0644 ext/config/logback.xml "$(DESTDIR)$(confdir)/puppetdb/logback.xml.sample"
- install -d -m 0755 "$(DESTDIR)$(datadir)/puppetdb/cli"
- install -d -m 0755 "$(DESTDIR)$(datadir)/puppetdb/cli/apps"
- install -d -m 0755 "$(DESTDIR)$(bindir)"