diff options
author | mmoll <mmoll@FreeBSD.org> | 2015-08-14 00:22:54 +0800 |
---|---|---|
committer | mmoll <mmoll@FreeBSD.org> | 2015-08-14 00:22:54 +0800 |
commit | 1a16e7129c395f3a9511c184a547c870b16530f4 (patch) | |
tree | 760735f81975e1a147a67ca3d6d68d0a66a70b29 /sysutils | |
parent | b0957402c47c17093d006a997c76729b9dffefa8 (diff) | |
download | freebsd-ports-gnome-1a16e7129c395f3a9511c184a547c870b16530f4.tar.gz freebsd-ports-gnome-1a16e7129c395f3a9511c184a547c870b16530f4.tar.zst freebsd-ports-gnome-1a16e7129c395f3a9511c184a547c870b16530f4.zip |
sysutils/rubygem-hiera: update to 3.0.1
- this is paving the way for a Puppet 4.x port
- preserve 1.3.4 as sysutils/rubygem-hiera1
- use sysutils/rubygem-hiera1 in dependent ports
- change maintainer to ruby@
Approved by: robak (maintainer)
Differential Revision: https://reviews.freebsd.org/D3359
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/puppet/Makefile | 5 | ||||
-rw-r--r-- | sysutils/puppet37/Makefile | 5 | ||||
-rw-r--r-- | sysutils/rubygem-hiera-file/Makefile | 3 | ||||
-rw-r--r-- | sysutils/rubygem-hiera/Makefile | 19 | ||||
-rw-r--r-- | sysutils/rubygem-hiera/distinfo | 4 | ||||
-rw-r--r-- | sysutils/rubygem-hiera1/Makefile | 40 | ||||
-rw-r--r-- | sysutils/rubygem-hiera1/distinfo | 2 | ||||
-rw-r--r-- | sysutils/rubygem-hiera1/pkg-descr | 4 |
9 files changed, 67 insertions, 16 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 9ea11afaf448..5efaf251b371 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -864,6 +864,7 @@ SUBDIR += rubygem-hammer_cli_foreman_salt SUBDIR += rubygem-hammer_cli_foreman_ssh SUBDIR += rubygem-hiera + SUBDIR += rubygem-hiera1 SUBDIR += rubygem-hiera-file SUBDIR += rubygem-librarian-puppet SUBDIR += rubygem-log4r diff --git a/sysutils/puppet/Makefile b/sysutils/puppet/Makefile index e6910a08c0bc..1a062a419f6f 100644 --- a/sysutils/puppet/Makefile +++ b/sysutils/puppet/Makefile @@ -3,6 +3,7 @@ PORTNAME= puppet PORTVERSION= 3.8.2 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://downloads.puppetlabs.com/puppet/ @@ -12,10 +13,10 @@ COMMENT= Configuration management framework written in Ruby LICENSE= APACHE20 BUILD_DEPENDS= rubygem-facter>=0:${PORTSDIR}/sysutils/rubygem-facter \ - rubygem-hiera>=0:${PORTSDIR}/sysutils/rubygem-hiera + rubygem-hiera1>=0:${PORTSDIR}/sysutils/rubygem-hiera1 RUN_DEPENDS= rubygem-facter>=0:${PORTSDIR}/sysutils/rubygem-facter \ rubygem-ruby-augeas>=0:${PORTSDIR}/textproc/rubygem-ruby-augeas \ - rubygem-hiera>=0:${PORTSDIR}/sysutils/rubygem-hiera + rubygem-hiera1>=0:${PORTSDIR}/sysutils/rubygem-hiera1 USES= cpe CPE_VENDOR= puppetlabs diff --git a/sysutils/puppet37/Makefile b/sysutils/puppet37/Makefile index 45a66a2031d7..1500bff1b059 100644 --- a/sysutils/puppet37/Makefile +++ b/sysutils/puppet37/Makefile @@ -3,6 +3,7 @@ PORTNAME= puppet PORTVERSION= 3.7.5 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://downloads.puppetlabs.com/puppet/ PKGNAMESUFFIX= 37 @@ -13,10 +14,10 @@ COMMENT= Configuration management framework written in Ruby LICENSE= APACHE20 BUILD_DEPENDS= rubygem-facter>=0:${PORTSDIR}/sysutils/rubygem-facter \ - rubygem-hiera>=0:${PORTSDIR}/sysutils/rubygem-hiera + rubygem-hiera1>=0:${PORTSDIR}/sysutils/rubygem-hiera1 RUN_DEPENDS= rubygem-facter>=0:${PORTSDIR}/sysutils/rubygem-facter \ rubygem-ruby-augeas>=0:${PORTSDIR}/textproc/rubygem-ruby-augeas \ - rubygem-hiera>=0:${PORTSDIR}/sysutils/rubygem-hiera + rubygem-hiera1>=0:${PORTSDIR}/sysutils/rubygem-hiera1 USES= cpe CPE_VENDOR= puppetlabs diff --git a/sysutils/rubygem-hiera-file/Makefile b/sysutils/rubygem-hiera-file/Makefile index 53e88b56d73e..9c3965988f52 100644 --- a/sysutils/rubygem-hiera-file/Makefile +++ b/sysutils/rubygem-hiera-file/Makefile @@ -3,6 +3,7 @@ PORTNAME= hiera-file PORTVERSION= 1.1.1 +PORTREVISION= 1 CATEGORIES= sysutils rubygems MASTER_SITES= RG @@ -15,6 +16,6 @@ USE_RUBY= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes -RUN_DEPENDS= ${PKGNAMEPREFIX}hiera>=0:${PORTSDIR}/sysutils/rubygem-hiera +RUN_DEPENDS= ${PKGNAMEPREFIX}hiera1>=0:${PORTSDIR}/sysutils/rubygem-hiera1 .include <bsd.port.mk> diff --git a/sysutils/rubygem-hiera/Makefile b/sysutils/rubygem-hiera/Makefile index 530c7c27ed06..14d127fe3250 100644 --- a/sysutils/rubygem-hiera/Makefile +++ b/sysutils/rubygem-hiera/Makefile @@ -2,17 +2,19 @@ # $FreeBSD$ PORTNAME= hiera -PORTVERSION= 1.3.4 +PORTVERSION= 3.0.1 CATEGORIES= sysutils rubygems MASTER_SITES= RG -MAINTAINER= robak@FreeBSD.org +MAINTAINER= ruby@FreeBSD.org COMMENT= Pluggable data store for hierarchical data LICENSE= APACHE20 RUN_DEPENDS= ${PKGNAMEPREFIX}json_pure>=0:${PORTSDIR}/devel/rubygem-json_pure +CONFLICTS_INSTALL= rubygem-hiera1-* + NO_ARCH= yes USE_RUBY= yes @@ -23,13 +25,12 @@ PLIST_FILES= bin/hiera PLIST_DIRS= ${HIERA_DBDIR} post-install: - @${REINPLACE_CMD} "s!/etc/hiera.yaml!${STAGEDIR}${PREFIX}/etc/hiera.yaml!" \ - ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/bin/hiera \ - ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/lib/hiera.rb \ - ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/spec/unit/hiera_spec.rb - @${REINPLACE_CMD} "s!/var/lib/hiera!${HIERA_DBDIR}!" \ - ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/lib/hiera/backend.rb \ - ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/spec/unit/backend_spec.rb + @${REINPLACE_CMD} "s!/etc/puppetlabs/code/environments/%{environment}/hieradata!${HIERA_DBDIR}!" \ + ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/lib/hiera/util.rb \ + ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/spec/unit/util_spec.rb + @${REINPLACE_CMD} "s!/etc/puppetlabs/code!${PREFIX}/etc!" \ + ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/lib/hiera/util.rb \ + ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/spec/unit/util_spec.rb @${FIND} ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR} -name \*.bak -delete @${MKDIR} ${STAGEDIR}${HIERA_DBDIR} diff --git a/sysutils/rubygem-hiera/distinfo b/sysutils/rubygem-hiera/distinfo index 7a6eb80fd528..2ffee856bb3d 100644 --- a/sysutils/rubygem-hiera/distinfo +++ b/sysutils/rubygem-hiera/distinfo @@ -1,2 +1,2 @@ -SHA256 (rubygem/hiera-1.3.4.gem) = a3c85385ddda64916d453efeeb965151dc2454428d88f04f40d539559af27020 -SIZE (rubygem/hiera-1.3.4.gem) = 30208 +SHA256 (rubygem/hiera-3.0.1.gem) = 8e0c8f1f9fc2200c7a5d4a5d70c7b1524f071d41cb1b0667f4398a0601954acc +SIZE (rubygem/hiera-3.0.1.gem) = 35328 diff --git a/sysutils/rubygem-hiera1/Makefile b/sysutils/rubygem-hiera1/Makefile new file mode 100644 index 000000000000..69358b15d256 --- /dev/null +++ b/sysutils/rubygem-hiera1/Makefile @@ -0,0 +1,40 @@ +# Created by: Greg Larkin <glarkin@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= hiera +PORTVERSION= 1.3.4 +PORTREVISION= 1 +CATEGORIES= sysutils rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= 1 + +MAINTAINER= robak@FreeBSD.org +COMMENT= Pluggable data store for hierarchical data + +LICENSE= APACHE20 + +RUN_DEPENDS= ${PKGNAMEPREFIX}json_pure>=0:${PORTSDIR}/devel/rubygem-json_pure + +CONFLICTS_INSTALL= rubygem-hiera-* + +NO_ARCH= yes + +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST= yes +HIERA_DBDIR= /var/db/hiera +PLIST_FILES= bin/hiera +PLIST_DIRS= ${HIERA_DBDIR} + +post-install: + @${REINPLACE_CMD} "s!/etc!${PREFIX}/etc!" \ + ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/lib/hiera/util.rb \ + ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/spec/unit/util_spec.rb + @${REINPLACE_CMD} "s!/var/lib/hiera!${HIERA_DBDIR}!" \ + ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/lib/hiera/backend.rb \ + ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/lib/hiera/util.rb \ + ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/spec/unit/util_spec.rb + @${FIND} ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR} -name \*.bak -delete + @${MKDIR} ${STAGEDIR}${HIERA_DBDIR} + +.include <bsd.port.mk> diff --git a/sysutils/rubygem-hiera1/distinfo b/sysutils/rubygem-hiera1/distinfo new file mode 100644 index 000000000000..7a6eb80fd528 --- /dev/null +++ b/sysutils/rubygem-hiera1/distinfo @@ -0,0 +1,2 @@ +SHA256 (rubygem/hiera-1.3.4.gem) = a3c85385ddda64916d453efeeb965151dc2454428d88f04f40d539559af27020 +SIZE (rubygem/hiera-1.3.4.gem) = 30208 diff --git a/sysutils/rubygem-hiera1/pkg-descr b/sysutils/rubygem-hiera1/pkg-descr new file mode 100644 index 000000000000..798c23e5ab30 --- /dev/null +++ b/sysutils/rubygem-hiera1/pkg-descr @@ -0,0 +1,4 @@ +Hiera is a pluggable (YAML, JSON, Puppet) hierarchical database for +storing infrastructure representation data. + +WWW: http://projects.puppetlabs.com/projects/hiera |