Date: Mon, 7 Aug 2006 22:12:47 +0400 (MSD) From: Stanislav Sedov <ssedov@mbsd.msk.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/101605: [PATCH] devel/ruby-robjectteam: update to 1.0, take maintainership Message-ID: <20060807181247.4EC1212C7F@fonon.realnet> Resent-Message-ID: <200608071820.k77IKHPT066312@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 101605 >Category: ports >Synopsis: [PATCH] devel/ruby-robjectteam: update to 1.0, take maintainership >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Aug 07 18:20:16 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Stanislav Sedov >Release: FreeBSD 7.0-CURRENT i386 >Organization: MBSD labs, Inc. >Environment: System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Wed Aug 2 21:44:37 MSD >Description: - Update to 1.0 - Garantee permissions safety - Take maintainership I removed the following files: - pkg-plist >How-To-Repeat: >Fix: --- ruby18-robjectteam-1.0.patch begins here --- diff -ruN --exclude=CVS /usr/ports/devel/ruby-robjectteam/Makefile /var/tmp/ruby/ruby-robjectteam/Makefile --- /usr/ports/devel/ruby-robjectteam/Makefile Fri Nov 11 04:17:30 2005 +++ /var/tmp/ruby/ruby-robjectteam/Makefile Mon Aug 7 22:11:29 2006 @@ -6,7 +6,7 @@ # PORTNAME= robjectteam -PORTVERSION= 0.9 +PORTVERSION= 1.0 CATEGORIES= devel ruby MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -14,24 +14,45 @@ EXTRACT_SUFX= .tgz DIST_SUBDIR= ruby -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ssedov@mbsd.msk.ru COMMENT= Enables the ObjectTeams paradigm to the Ruby language USE_RUBY= yes NO_BUILD= yes -DOCS= README Version +PLIST_FILES= %%RUBY_SITELIBDIR%%/objectteam.rb +DOCSDIR= ${RUBY_MODDOCDIR} + +.if !defined(NOPORTDOCS) +PORTDOCS= * +.endif + +# XXX: exists untill it will be committed to bsd.port.mk +COPYTREE_SHARE= ${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 >/dev/null \ + 2>&1) && \ + ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} $$1 && \ + ${FIND} $$1/ -type d -exec ${CHMOD} 755 {} \; && \ + ${FIND} $$1/ -type f -exec ${CHMOD} ${SHAREMODE} {} \;' -- do-install: cd ${WRKSRC}; ${RUBY} install.rb .if !defined(NOPORTDOCS) ${MKDIR} ${RUBY_MODDOCDIR} -.for f in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ -.endfor ${MKDIR} ${RUBY_MODEXAMPLESDIR} - ${CP} -R ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/ + + ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_MODDOCDIR}/ + @(cd ${WRKSRC}/sample && ${COPYTREE_SHARE} \* ${RUBY_MODEXAMPLESDIR}) + @${FIND} ${RUBY_MODEXAMPLESDIR} ! -type d | \ + ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} + @${FIND} ${RUBY_MODEXAMPLESDIR} -type d | ${SORT} -r | \ + ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} .endif + +post-install: + @${FIND} ${RUBY_SITELIBDIR}/objectteam ! -type d | \ + ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} + @${FIND} ${RUBY_SITELIBDIR}/objectteam -type d | ${SORT} -r | \ + ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} .include <bsd.port.mk> diff -ruN --exclude=CVS /usr/ports/devel/ruby-robjectteam/distinfo /var/tmp/ruby/ruby-robjectteam/distinfo --- /usr/ports/devel/ruby-robjectteam/distinfo Thu Nov 24 18:39:58 2005 +++ /var/tmp/ruby/ruby-robjectteam/distinfo Mon Aug 7 14:25:53 2006 @@ -1,3 +1,3 @@ -MD5 (ruby/robjectteam-0.9.tgz) = b1059eeacb9c655a55afd918271ae204 -SHA256 (ruby/robjectteam-0.9.tgz) = dabd04904b23f819a8907a5a4a6fe2a5a62d57e3b1224c0dba37b8a24b5f146a -SIZE (ruby/robjectteam-0.9.tgz) = 40384 +MD5 (ruby/robjectteam-1.0.tgz) = 3257b417906ba8acd922b282b60ce52d +SHA256 (ruby/robjectteam-1.0.tgz) = ad0c56a00e323b07e22c665503219eb08555faad6bdeb193fd042f4d4cd1f032 +SIZE (ruby/robjectteam-1.0.tgz) = 54632 diff -ruN --exclude=CVS /usr/ports/devel/ruby-robjectteam/pkg-plist /var/tmp/ruby/ruby-robjectteam/pkg-plist --- /usr/ports/devel/ruby-robjectteam/pkg-plist Tue Jan 14 14:14:17 2003 +++ /var/tmp/ruby/ruby-robjectteam/pkg-plist Thu Jan 1 03:00:00 1970 @@ -1,78 +0,0 @@ -%%RUBY_SITELIBDIR%%/objectteam.rb -%%RUBY_SITELIBDIR%%/objectteam/BaseProxy.rb -%%RUBY_SITELIBDIR%%/objectteam/Call.rb -%%RUBY_SITELIBDIR%%/objectteam/Connector.rb -%%RUBY_SITELIBDIR%%/objectteam/Deploy.rb -%%RUBY_SITELIBDIR%%/objectteam/ExpectedHandler.rb -%%RUBY_SITELIBDIR%%/objectteam/Interceptor.rb -%%RUBY_SITELIBDIR%%/objectteam/Logger.rb -%%RUBY_SITELIBDIR%%/objectteam/ObjectTeam.rb -%%RUBY_SITELIBDIR%%/objectteam/ROTConfig.rb -%%RUBY_SITELIBDIR%%/objectteam/Team.rb -%%RUBY_SITELIBDIR%%/objectteam/TeamUtil.rb -@dirrm %%RUBY_SITELIBDIR%%/objectteam -%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README -%%PORTDOCS%%%%RUBY_MODDOCDIR%%/Version -%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/composite/README -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/composite/composite.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/composite/deploy.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/composite/graphics.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/composite/start.sh -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/composite/test.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/flight/README -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/flight/bonus.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/flight/contextual.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/flight/flightbooking.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/flight/start.sh -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/flight/test.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/implicit_inheritance/ImplicitInheritance -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/implicit_inheritance/README -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/implicit_inheritance/factory.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/implicit_inheritance/person.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/implicit_inheritance/start.sh -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/implicit_inheritance/test.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/library/README -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/library/deploy.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/library/library.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/library/observerpattern.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/library/start.sh -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/library/test.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/observer/README -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/observer/deploy.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/observer/event.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/observer/observerpattern.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/observer/start.sh -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/observer/trace.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/rolecreation/README -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/rolecreation/block/start.sh -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/rolecreation/block/test.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/rolecreation/override/start.sh -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/rolecreation/override/test.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/rolecreation/weakconnector/start.sh -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/rolecreation/weakconnector/test.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/simple/README -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/simple/counter.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/simple/start.sh -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/suspend_resume/README -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/suspend_resume/bank.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/suspend_resume/deploy.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/suspend_resume/lock.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/suspend_resume/start.sh -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/suspend_resume/test.rb -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/weakreference/README -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/weakreference/start.sh -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/weakreference/test.rb -%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/weakreference -%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/suspend_resume -%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/simple -%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/rolecreation/weakconnector -%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/rolecreation/override -%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/rolecreation/block -%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/rolecreation -%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/observer -%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/library -%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/implicit_inheritance -%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/flight -%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/composite -%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% --- ruby18-robjectteam-1.0.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060807181247.4EC1212C7F>