aboutsummaryrefslogtreecommitdiff
path: root/sysutils/puppet
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2015-02-21 19:15:58 +0000
committerSteve Wills <swills@FreeBSD.org>2015-02-21 19:15:58 +0000
commitabd4ccbb613fd25c0274cc7f9bca1f550ef5b76e (patch)
tree913dd522dd097e6ef9ea12dc20a1f13decaf7380 /sysutils/puppet
parentd753d462210dec33032790e56c50432f6519f5a5 (diff)
downloadports-abd4ccbb613fd25c0274cc7f9bca1f550ef5b76e.tar.gz
ports-abd4ccbb613fd25c0274cc7f9bca1f550ef5b76e.zip
Notes
Diffstat (limited to 'sysutils/puppet')
-rw-r--r--sysutils/puppet/Makefile13
-rw-r--r--sysutils/puppet/distinfo4
-rw-r--r--sysutils/puppet/pkg-descr2
-rw-r--r--sysutils/puppet/pkg-plist2
4 files changed, 14 insertions, 7 deletions
diff --git a/sysutils/puppet/Makefile b/sysutils/puppet/Makefile
index 3a5c91d2856e..89c9f86e4167 100644
--- a/sysutils/puppet/Makefile
+++ b/sysutils/puppet/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= puppet
-PORTVERSION= 3.6.2
-PORTREVISION= 2
+PORTVERSION= 3.7.4
CATEGORIES= sysutils
MASTER_SITES= http://downloads.puppetlabs.com/puppet/
@@ -44,12 +43,17 @@ PATCHES_DESC= Optional exclusive patches
.if ! ${PORT_OPTIONS:MPACKAGE_ORIGIN}
EXTRA_PATCHES+= ${FILESDIR}/optpatch-package_root
.else
-BROKEN= PACKAGE_ROOT option patch is incompatable with PACKAGE_ORIGIN patch.
+BROKEN= PACKAGE_ROOT option patch is incompatible with PACKAGE_ORIGIN patch.
.endif
.endif
.include <bsd.port.pre.mk>
+# puppet 4.x should support ruby 2.2.x
+.if ${RUBY_VER} >= 2.2
+BROKEN= Does not work with Ruby 2.2
+.endif
+
.if ${PORT_OPTIONS:MPACKAGE_ORIGIN}
EXTRA_PATCHES+= ${FILESDIR}/optpatch-package_origin
RUN_DEPENDS+= rubygem-bzip2-ruby>=0:${PORTSDIR}/archivers/rubygem-bzip2-ruby
@@ -75,10 +79,11 @@ do-install:
@cd ${WRKSRC} && ${SETENV} PREFIX=${PREFIX} ${RUBY} ${WRKSRC}/install.rb --no-configs --destdir=${STAGEDIR}
post-install:
+ ${MKDIR} ${STAGEDIR}${ETCDIR}/manifests
${MKDIR} ${STAGEDIR}${ETCDIR}/modules
${MKDIR} ${STAGEDIR}/var/puppet
${INSTALL_DATA} ${WRKSRC}/conf/auth.conf ${STAGEDIR}${ETCDIR}/auth.conf-dist
- ${RUBY} -I ${STAGEDIR}/${RUBY_SITELIBDIR} ${STAGEDIR}${PREFIX}/bin/puppet master --genconfig \
+ ${RUBY} -I ${STAGEDIR}/${RUBY_SITELIBDIR} ${STAGEDIR}${PREFIX}/bin/puppet agent --genconfig \
--confdir=${ETCDIR} \
--rundir=/var/run/puppet \
--vardir=/var/puppet \
diff --git a/sysutils/puppet/distinfo b/sysutils/puppet/distinfo
index c79e26b50b74..1cc58cfc6c8d 100644
--- a/sysutils/puppet/distinfo
+++ b/sysutils/puppet/distinfo
@@ -1,2 +1,2 @@
-SHA256 (puppet-3.6.2.tar.gz) = 9114c63108c58e39db84937cb8f7e1add3dcbaa08fd730f631de6a7f64a3c360
-SIZE (puppet-3.6.2.tar.gz) = 2252186
+SHA256 (puppet-3.7.4.tar.gz) = 957c09ab253f76e624809766999da6d872f79b3a64b54b8c66bdd8907c291745
+SIZE (puppet-3.7.4.tar.gz) = 2600191
diff --git a/sysutils/puppet/pkg-descr b/sysutils/puppet/pkg-descr
index dc5a166fcd9a..89a2fce63e8d 100644
--- a/sysutils/puppet/pkg-descr
+++ b/sysutils/puppet/pkg-descr
@@ -4,4 +4,4 @@ elements normally aggregated in different files, like users, cron jobs, and
hosts, along with obviously discrete elements like packages, services, and
files.
-WWW: http://www.puppetlabs.com
+WWW: https://puppetlabs.com/puppet/puppet-open-source
diff --git a/sysutils/puppet/pkg-plist b/sysutils/puppet/pkg-plist
index 01d763a1a497..f30dc22f382b 100644
--- a/sysutils/puppet/pkg-plist
+++ b/sysutils/puppet/pkg-plist
@@ -46,5 +46,7 @@ man/man8/puppet.8.gz
%%RUBY_SITELIBDIR%%/puppetx.rb
%%ETCDIR%%/puppet.conf-dist
%%ETCDIR%%/auth.conf-dist
+@dir(puppet,puppet,) %%ETCDIR%%/manifests
+@dir(puppet,puppet,) %%ETCDIR%%/modules
@(puppet,puppet,) www/puppet/config.ru
@dir(puppet,puppet,) /var/puppet