Bug 179206 - [patch] Please update archivers/ruby-zip to 0.9.9
Summary: [patch] Please update archivers/ruby-zip to 0.9.9
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: 2013-06-02 18:00 UTC by Jose G. Juanino
Modified: 2013-12-20 19:17 UTC (History)
0 users

See Also:


Attachments
file.diff (4.35 KB, patch)
2013-06-02 18:00 UTC, Jose G. Juanino
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jose G. Juanino 2013-06-02 18:00:00 UTC
Hi,

I send a patch to update ruby-zip port to the most recent version in github.

Best regards

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-06-02 18:00:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ruby

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Jason Helfman freebsd_committer freebsd_triage 2013-06-09 04:48:03 UTC
Most recent version of this is found also at rubygems.
Is there any other reason that this would need to be changed to github,
then?

Thanks!
-jgh


On Sun, Jun 2, 2013 at 9:54 AM, José García Juanino <jjuanino@gmail.com>wrote:

>
> >Number:         179206
> >Category:       ports
> >Synopsis:       [patch] Please update archivers/ruby-zip to 0.9.9
> >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:   Sun Jun 02 17:00:00 UTC 2013
> >Closed-Date:
> >Last-Modified:
> >Originator:     José García Juanino
> >Release:        FreeBSD 9.1 RELEASE
> >Organization:
> >Environment:
> >Description:
> Hi,
>
> I send a patch to update ruby-zip port to the most recent version in
> github.
>
> Best regards
> >How-To-Repeat:
>
> >Fix:
>
>
> Patch attached with submission follows:
>
> diff -uNr ruby-zip.old/Makefile ruby-zip/Makefile
> --- ruby-zip.old/Makefile       2013-06-02 18:29:13.000000000 +0200
> +++ ruby-zip/Makefile   2013-06-02 18:41:48.000000000 +0200
> @@ -2,31 +2,34 @@
>  # $FreeBSD: ports/archivers/ruby-zip/Makefile,v 1.26 2012/12/18 08:04:12
> svnexp Exp $
>
>  PORTNAME=      zip
> -PORTVERSION=   0.9.4
> +PORTVERSION=   0.9.9
>  CATEGORIES=    archivers ruby
> -MASTER_SITES=  SF/ruby${PORTNAME}/ruby${PORTNAME}/${PORTVERSION}
>  PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
>  DISTNAME=      ruby${PORTNAME}-${PORTVERSION}
> -EXTRACT_SUFX=  .tgz
>  DIST_SUBDIR=   ruby
>
>  MAINTAINER=    ruby@FreeBSD.org
>  COMMENT=       Ruby module for reading and writing ZIP files
>
> -MAKE_JOBS_SAFE=        yes
> -
>  USE_RUBY=      yes
>  USE_RUBY_FEATURES=     zlib
>
> -WRKSRC=                ${WRKDIR}/rubyzip-${PORTVERSION}
> +USE_GITHUB=    yes
> +GH_ACCOUNT=    aussiegeek
> +GH_PROJECT=    ruby${PORTNAME}
> +GH_COMMIT=     7bd96f5
> +
>  NO_BUILD=      yes
>
> -DOCS=          ChangeLog NEWS README TODO
> -EXAMPLES=      samples/*
> +DOCS=          NEWS README.md TODO
> +EXAMPLES=      samples/*.rb
> +
> +.include <bsd.port.pre.mk>
>
>  do-install:
>         ${MKDIR} ${RUBY_SITELIBDIR}/zip
>         ${INSTALL_DATA} ${WRKSRC}/lib/zip/*.rb ${RUBY_SITELIBDIR}/zip
> +
>  .if ${PORT_OPTIONS:MDOCS}
>         ${MKDIR} ${RUBY_MODEXAMPLESDIR}
>  .for f in ${EXAMPLES}
> @@ -38,4 +41,4 @@
>  .endfor
>  .endif
>
> -.include <bsd.port.mk>
> +.include <bsd.port.post.mk>
> diff -uNr ruby-zip.old/distinfo ruby-zip/distinfo
> --- ruby-zip.old/distinfo       2011-03-09 05:12:44.000000000 +0100
> +++ ruby-zip/distinfo   2013-06-02 18:07:44.000000000 +0200
> @@ -1,2 +1,2 @@
> -SHA256 (ruby/rubyzip-0.9.4.tgz) =
> 8e13d1a34cb35998b508e3aee0db74d124d2108ec6785475c15f5e8befada5c0
> -SIZE (ruby/rubyzip-0.9.4.tgz) = 63696
> +SHA256 (ruby/rubyzip-0.9.9.tar.gz) =
> e054e847aea0ee6dfb1044e234fae74de8387475891164a140818f04295d0072
> +SIZE (ruby/rubyzip-0.9.9.tar.gz) = 59037
> diff -uNr ruby-zip.old/pkg-descr ruby-zip/pkg-descr
> --- ruby-zip.old/pkg-descr      2002-01-26 13:27:30.000000000 +0100
> +++ ruby-zip/pkg-descr  2013-06-02 18:41:34.000000000 +0200
> @@ -1,4 +1,4 @@
>  This is a Ruby module or reading and writing zip files.
>
>  Author:        Thomas Sondergaard <thomass@deltadata.dk>
> -WWW:   http://rubyzip.sourceforge.net/
> +WWW: http://rubyzip.sourceforge.net/
> diff -uNr ruby-zip.old/pkg-plist ruby-zip/pkg-plist
> --- ruby-zip.old/pkg-plist      2006-07-03 02:42:10.000000000 +0200
> +++ ruby-zip/pkg-plist  2013-06-02 18:41:15.000000000 +0200
> @@ -1,19 +1,36 @@
> +%%RUBY_SITELIBDIR%%/zip/compressor.rb
> +%%RUBY_SITELIBDIR%%/zip/constants.rb
> +%%RUBY_SITELIBDIR%%/zip/decompressor.rb
> +%%RUBY_SITELIBDIR%%/zip/deflater.rb
> +%%RUBY_SITELIBDIR%%/zip/dos_time.rb
> +%%RUBY_SITELIBDIR%%/zip/inflater.rb
>  %%RUBY_SITELIBDIR%%/zip/ioextras.rb
> -%%RUBY_SITELIBDIR%%/zip/stdrubyext.rb
> +%%RUBY_SITELIBDIR%%/zip/null_compressor.rb
> +%%RUBY_SITELIBDIR%%/zip/null_input_stream.rb
> +%%RUBY_SITELIBDIR%%/zip/pass_thru_compressor.rb
> +%%RUBY_SITELIBDIR%%/zip/pass_thru_decompressor.rb
> +%%RUBY_SITELIBDIR%%/zip/settings.rb
>  %%RUBY_SITELIBDIR%%/zip/tempfile_bugfixed.rb
>  %%RUBY_SITELIBDIR%%/zip/zip.rb
> +%%RUBY_SITELIBDIR%%/zip/zip_central_directory.rb
> +%%RUBY_SITELIBDIR%%/zip/zip_entry.rb
> +%%RUBY_SITELIBDIR%%/zip/zip_extra_field.rb
> +%%RUBY_SITELIBDIR%%/zip/zip_file.rb
> +%%RUBY_SITELIBDIR%%/zip/zip_input_stream.rb
> +%%RUBY_SITELIBDIR%%/zip/zip_output_stream.rb
> +%%RUBY_SITELIBDIR%%/zip/zip_streamable_directory.rb
> +%%RUBY_SITELIBDIR%%/zip/zip_streamable_stream.rb
>  %%RUBY_SITELIBDIR%%/zip/zipfilesystem.rb
> -%%RUBY_SITELIBDIR%%/zip/ziprequire.rb
> -@dirrm %%RUBY_SITELIBDIR%%/zip
> -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/example.rb
> -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/example_filesystem.rb
> -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gtkRubyzip.rb
> -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/write_simple.rb
> -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/zipfind.rb
> -%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/qtzip.rb
> -%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
> -%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
> +@dirrm %%RUBY_SITELIBDIR%%
> +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/example.rb
> +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/example_filesystem.rb
> +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/example_recursive.rb
> +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/gtkRubyzip.rb
> +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/qtzip.rb
> +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/write_simple.rb
> +%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/zipfind.rb
> +%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%%
>  %%PORTDOCS%%%%RUBY_MODDOCDIR%%/NEWS
> -%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
> +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.md
>  %%PORTDOCS%%%%RUBY_MODDOCDIR%%/TODO
>  %%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
>
>
> >Release-Note:
> >Audit-Trail:
> >Unformatted:
>
> _______________________________________________
> freebsd-ports-bugs@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
> To unsubscribe, send any mail to "
> freebsd-ports-bugs-unsubscribe@freebsd.org"
>




-- 
--
Jason Helfman          | FreeBSD Committer
jgh@FreeBSD.org     | http://people.freebsd.org/~jgh  | The Power to Serve
Comment 3 Jose G. Juanino 2013-06-09 10:32:54 UTC
El domingo 09 de junio a las 05:48:03 CEST, Jason Helfman escribió:
> Most recent version of this is found also at rubygems.  Is there any
> other reason that this would need to be changed to github,
> then?


Yes: the official site of rubyzip development is on github, and the
mirrors of sourceforge (previous official development site of rubyzip)
no longer containts the most recent version of tarball.

Best regards
Comment 4 Steve Wills freebsd_committer freebsd_triage 2013-07-19 14:05:30 UTC
Responsible Changed
From-To: ruby->swills

I'll take it.
Comment 5 Steve Wills freebsd_committer freebsd_triage 2013-12-20 19:17:05 UTC
State Changed
From-To: open->closed

SF site doesn't have newer version any longer, and the 
archivers/rubygem-rubyzip port should porbably be used instead.