1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00

sysutils/puppetserver7: Update to 7.9.0

Release notes:
https://puppet.com/docs/puppet/7/server/release_notes.html#puppet-server-790

With hat:       puppet
This commit is contained in:
Romain Tartière 2022-08-05 15:58:10 -10:00
parent 0ae823c0c1
commit 459ff47456
No known key found for this signature in database
GPG Key ID: BA4D1D955112336F
4 changed files with 8 additions and 36 deletions

View File

@ -1,11 +1,9 @@
PORTNAME= puppetserver
PORTVERSION= 7.8.0
PORTVERSION= 7.9.0
CATEGORIES= sysutils java
MASTER_SITES= https://downloads.puppetlabs.com/puppet/:upstream \
https://raw.githubusercontent.com/jruby/jruby/fb3ba4b3543b72e735ba53b51e6b7ec8a9916e1b/lib/ruby/stdlib/ffi/:ffi
MASTER_SITES= https://downloads.puppetlabs.com/puppet/
PKGNAMESUFFIX= 7
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:upstream \
ffi.rb:ffi
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= puppet@FreeBSD.org
@ -40,9 +38,6 @@ GROUPS= puppet
SUB_LIST= JAVA_HOME=${JAVA_HOME}
SUB_FILES= pkg-message
pre-patch:
${CP} ${_DISTDIR}/ffi.rb ${WRKSRC}
post-patch:
.for file in ext/config/logback.xml ext/config/request-logging.xml \
ext/config/conf.d/global.conf ext/config/conf.d/puppetserver.conf \
@ -59,11 +54,11 @@ post-patch:
${WRKSRC}/${file}
.endfor
@${REINPLACE_CMD} -e 's|#!/opt/puppetlabs/puppet/bin/ruby|#!${RUBY}|' \
${WRKSRC}/ext/cli/ca
${WRKSRC}/ext/cli/ca \
${WRKSRC}/ext/cli/dropsonde
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}/cli/apps
@${MKDIR} ${STAGEDIR}${DATADIR}/lib
@${MKDIR} ${STAGEDIR}${ETCDIR}/conf.d
@${MKDIR} ${STAGEDIR}${ETCDIR}/services.d
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/puppet/code
@ -94,6 +89,5 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/ext/cli/start ${STAGEDIR}${DATADIR}/cli/apps/start
${INSTALL_DATA} ${WRKSRC}/ext/cli/stop ${STAGEDIR}${DATADIR}/cli/apps/stop
${INSTALL_DATA} ${WRKSRC}/ext/cli_defaults/cli-defaults.sh ${STAGEDIR}${DATADIR}/cli/cli-defaults.sh
${INSTALL_DATA} ${WRKSRC}/ffi.rb ${STAGEDIR}${DATADIR}/lib
.include <bsd.port.mk>

View File

@ -1,5 +1,3 @@
TIMESTAMP = 1654893281
SHA256 (puppetserver-7.8.0.tar.gz) = d73e5ba5eb8b1645e683b15f621286073f0a5e2d0b01a1994459f8cbc84a9903
SIZE (puppetserver-7.8.0.tar.gz) = 64651673
SHA256 (ffi.rb) = f991c5eb6b6e4c88541af592207aa7ea14ba48f482978b3b479c4b17390e8e93
SIZE (ffi.rb) = 5893
TIMESTAMP = 1659750164
SHA256 (puppetserver-7.9.0.tar.gz) = b34ada1f4fde42b24af53a10c3726ee6f1c627b9f49afc4a3a44d055bed532aa
SIZE (puppetserver-7.9.0.tar.gz) = 66386534

View File

@ -1,19 +0,0 @@
--- ffi.rb.orig 2019-09-22 21:04:46 UTC
+++ ffi.rb
@@ -125,7 +125,7 @@ module FFI
# Load all the platform dependent types/consts/struct members
class Config
CONFIG = Hash.new
- begin
+ if File.exist?(File.join(Platform::CONF_DIR, 'platform.conf'))
File.open(File.join(Platform::CONF_DIR, 'platform.conf'), "r") do |f|
typedef = "rbx.platform.typedef."
f.each_line { |line|
@@ -138,7 +138,6 @@ module FFI
end
}
end
- rescue Errno::ENOENT
end
end
end

View File

@ -21,7 +21,6 @@
@(,,755) %%DATADIR%%/cli/apps/stop
@(,,755) %%DATADIR%%/cli/cli-defaults.sh
@(,,755) %%DATADIR%%/ezbake-functions.sh
%%DATADIR%%/lib/ffi.rb
@dir(puppet,puppet,750) /var/log/puppetserver
@dir(puppet,puppet,755) /var/puppet
@dir(puppet,puppet,750) /var/puppet/server