Bug 187705 - [MAINTAINER-UPDATE] sysutils/rubygem-hiera 1.3.1 -> 1.3.2
Summary: [MAINTAINER-UPDATE] sysutils/rubygem-hiera 1.3.1 -> 1.3.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-18 19:30 UTC by Bartek Rutkowski
Modified: 2014-03-19 14:50 UTC (History)
0 users

See Also:


Attachments
file.diff (2.46 KB, patch)
2014-03-18 19:30 UTC, Bartek Rutkowski
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bartek Rutkowski freebsd_committer 2014-03-18 19:30:00 UTC
Changes:

- update to latest 1.3.2 version
- added staging support
- added LICENSE
- typo fixes according to portlint

Redports report: https://redports.org/buildarchive/20140318190700-63388/

Fix: Patch attached.

Patch attached with submission follows:
How-To-Repeat: Patch, test, commit.
Comment 1 Edwin Groothuis freebsd_committer 2014-03-18 19:30:05 UTC
Responsible Changed
From-To: freebsd-ports-bugs->swills

swills@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2014-03-19 14:45:52 UTC
Author: swills
Date: Wed Mar 19 14:45:48 2014
New Revision: 348622
URL: http://svnweb.freebsd.org/changeset/ports/348622
QAT: https://qat.redports.org/buildarchive/r348622/

Log:
  - Update to latest 1.3.2 version
  - Support STAGEDIR
  - Add LICENSE
  - Correct COMMENT
  
  PR:		ports/187705
  Submitted by:	Bartek Rutkowski <ports@robakdesign.com> (maintainer)

Modified:
  head/sysutils/rubygem-hiera/Makefile
  head/sysutils/rubygem-hiera/distinfo

Modified: head/sysutils/rubygem-hiera/Makefile
==============================================================================
--- head/sysutils/rubygem-hiera/Makefile	Wed Mar 19 14:26:02 2014	(r348621)
+++ head/sysutils/rubygem-hiera/Makefile	Wed Mar 19 14:45:48 2014	(r348622)
@@ -2,35 +2,33 @@
 # $FreeBSD$
 
 PORTNAME=	hiera
-PORTVERSION=	1.3.1
+PORTVERSION=	1.3.2
 CATEGORIES=	sysutils rubygems
 MASTER_SITES=	RG
 
 MAINTAINER=	ports@robakdesign.com
-COMMENT=	A pluggable data store for hierarchical data
+COMMENT=	Pluggable data store for hierarchical data
+
+LICENSE=	APACHE20
 
 RUN_DEPENDS=	${PKGNAMEPREFIX}json_pure>=0:${PORTSDIR}/devel/rubygem-json_pure
 
 USE_RUBY=	yes
 USE_RUBYGEMS=	yes
 RUBYGEM_AUTOPLIST=	yes
-PLIST_FILES=	bin/hiera
 HIERA_DBDIR=	/var/db/hiera
+PLIST_FILES=	bin/hiera
+PLIST_DIRS=	${HIERA_DBDIR}
 
-NO_STAGE=	yes
 post-install:
-	@${REINPLACE_CMD} "s!/etc/hiera.yaml!${PREFIX}/etc/hiera.yaml!" \
-		${PREFIX}/${GEM_LIB_DIR}/bin/hiera \
-		${PREFIX}/${GEM_LIB_DIR}/lib/hiera.rb \
-		${PREFIX}/${GEM_LIB_DIR}/spec/unit/hiera_spec.rb
+	@${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}!" \
-		${PREFIX}/${GEM_LIB_DIR}/lib/hiera/backend.rb \
-		${PREFIX}/${GEM_LIB_DIR}/spec/unit/backend_spec.rb
-	@${FIND} ${PREFIX}/${GEM_LIB_DIR} -name \*.bak -delete
-	@${MKDIR} ${HIERA_DBDIR}
-	@${ECHO_CMD} '@cwd /' >> ${TMPPLIST}
-	@${ECHO_CMD} "@exec ${MKDIR} ${HIERA_DBDIR}" >> ${TMPPLIST}
-	@${ECHO_CMD} "@unexec ${RMDIR} \"%D/${HIERA_DBDIR}\" 2>/dev/null || true" >> ${TMPPLIST}
-	@${ECHO_CMD} '@cwd' >> ${TMPPLIST}
+		${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/lib/hiera/backend.rb \
+		${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/spec/unit/backend_spec.rb
+	@${FIND} ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR} -name \*.bak -delete
+	@${MKDIR} ${STAGEDIR}${HIERA_DBDIR}
 
 .include <bsd.port.mk>

Modified: head/sysutils/rubygem-hiera/distinfo
==============================================================================
--- head/sysutils/rubygem-hiera/distinfo	Wed Mar 19 14:26:02 2014	(r348621)
+++ head/sysutils/rubygem-hiera/distinfo	Wed Mar 19 14:45:48 2014	(r348622)
@@ -1,2 +1,2 @@
-SHA256 (rubygem/hiera-1.3.1.gem) = 5df6f67e36c1db217cb7a74c8f0754b0c10f78934a4e394d5dc7788cf4329943
-SIZE (rubygem/hiera-1.3.1.gem) = 29184
+SHA256 (rubygem/hiera-1.3.2.gem) = 425a4c50d68780a83a82ea8d82ac39b47bbca2ee40bed48f37829d56a8c314db
+SIZE (rubygem/hiera-1.3.2.gem) = 29696
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Steve Wills freebsd_committer 2014-03-19 14:46:04 UTC
State Changed
From-To: open->closed

Committed. Thanks!