Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  1 Aug 2008 18:58:43 +0900 (JST)
From:      Tomoyuki Sakurai <cherry@trombik.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/126154: [MAINTAINER] sysutils/puppet-devel: update to 0.24.5
Message-ID:  <20080801095843.6866C1CD05@spica.trombik.org>
Resent-Message-ID: <200808011000.m71A0CD2083152@freefall.freebsd.org>

Next in thread | Raw E-Mail | Index | Archive | Help

>Number:         126154
>Category:       ports
>Synopsis:       [MAINTAINER] sysutils/puppet-devel: update to 0.24.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 01 10:00:11 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Tomoyuki Sakurai
>Release:        FreeBSD 7.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD spica.trombik.org 7.0-STABLE FreeBSD 7.0-STABLE #5: Thu Jul 10 22:29:26 JST 2008
>Description:
- Update to 0.24.5

Added file(s):
- files/patch-install.rb

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- puppet-devel-0.24.5.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/sysutils/puppet-devel/Makefile /usr/home/cherry/svk/ports/sysutils/puppet-devel/Makefile
--- /usr/ports/sysutils/puppet-devel/Makefile	2008-04-11 23:09:59.000000000 +0900
+++ /usr/home/cherry/svk/ports/sysutils/puppet-devel/Makefile	2008-08-01 18:54:55.000000000 +0900
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	puppet
-PORTVERSION=	0.24.4
+PORTVERSION=	0.24.5
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.reductivelabs.com/downloads/puppet/
 PKGNAMESUFFIX=	-devel
@@ -32,6 +32,18 @@
 SUB_LIST+=	PUPPET_RUNDIR="${PUPPET_RUNDIR}" \
 			PUPPET_USER="${PUPPET_USER}" \
 			PUPPET_GROUP="${PUPPET_GROUP}"
+# XXX broken manpages, --no-man doesn't work as expected...
+DUMMY_MAN8=	filebucket.8 \
+	pi.8 \
+	puppet.8 \
+	puppet.conf.8 \
+	puppetca.8 \
+	puppetd.8 \
+	puppetdoc.8 \
+	puppetmasterd.8 \
+	puppetrun.8 \
+	ralsh.8
+MANCOMPRESSED=	yes
 
 .include <bsd.port.pre.mk>
 
@@ -45,9 +57,7 @@
 	@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
 
 do-install:
-	cd ${WRKSRC} && \
-		${SETENV} DSTDIR=${DSTDIR}/${PREFIX} \
-		${RUBY} ${WRKSRC}/install.rb --full
+	cd ${WRKSRC} && ${SETENV} PREFIX=${PREFIX} ${RUBY} ${WRKSRC}/install.rb
 	${INSTALL} -d ${DOCSDIR}
 .if !defined(NOPORTDOCS)
 .for FILE in ${DOCS}
diff -ruN --exclude=CVS /usr/ports/sysutils/puppet-devel/distinfo /usr/home/cherry/svk/ports/sysutils/puppet-devel/distinfo
--- /usr/ports/sysutils/puppet-devel/distinfo	2008-04-11 23:09:59.000000000 +0900
+++ /usr/home/cherry/svk/ports/sysutils/puppet-devel/distinfo	2008-08-01 17:05:37.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (puppet-0.24.4.tgz) = 9658624ed3745e8954772b3fbfdcc438
-SHA256 (puppet-0.24.4.tgz) = 0d54f6db7cf1210d123264bcb35b07b36837ebc12a4f2bd01aee6127836adfb9
-SIZE (puppet-0.24.4.tgz) = 652572
+MD5 (puppet-0.24.5.tgz) = 1160bb69966b9145d9f845f1f355dd44
+SHA256 (puppet-0.24.5.tgz) = 0b5ff82b06699a5d10b2ee6e995f427b76540cc0e67ffa8243ee6fc03d8e641d
+SIZE (puppet-0.24.5.tgz) = 872803
diff -ruN --exclude=CVS /usr/ports/sysutils/puppet-devel/files/patch-install.rb /usr/home/cherry/svk/ports/sysutils/puppet-devel/files/patch-install.rb
--- /usr/ports/sysutils/puppet-devel/files/patch-install.rb	1970-01-01 09:00:00.000000000 +0900
+++ /usr/home/cherry/svk/ports/sysutils/puppet-devel/files/patch-install.rb	2008-08-01 18:48:38.000000000 +0900
@@ -0,0 +1,25 @@
+--- install.rb.orig	2008-07-24 08:03:04.000000000 +0900
++++ install.rb	2008-08-01 18:48:33.000000000 +0900
+@@ -98,11 +98,12 @@
+ end
+ 
+ def do_man(man, strip = 'man/')
++  return
+   man.each do |mf|
+     omf = File.join(InstallOptions.man_dir, mf.gsub(/#{strip}/, ''))
+     om = File.dirname(omf)
+     File.makedirs(om, true)
+-    File.chmod(0644, om)
++    File.chmod(0755, om)
+     File.install(mf, omf, 0644, true)
+     gzip = %x{which gzip}
+     gzip.chomp!
+@@ -223,7 +224,7 @@
+   else
+     bindir = Config::CONFIG['bindir']
+     sbindir = Config::CONFIG['sbindir']
+-    mandir = Config::CONFIG['mandir']
++    mandir = ENV['PREFIX'] + "/man"
+     tmpdirs << Config::CONFIG['bindir']
+   end
+ 
--- puppet-devel-0.24.5.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20080801095843.6866C1CD05>