Bug 138100 - [Update]databases/ruby-dbi:update to 0.4.2
Summary: [Update]databases/ruby-dbi:update to 0.4.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: freebsd-ruby (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-23 14:40 UTC by wenheping
Modified: 2009-09-08 19:20 UTC (History)
0 users

See Also:


Attachments
file.diff (5.11 KB, patch)
2009-08-23 14:40 UTC, wenheping
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description wenheping 2009-08-23 14:40:05 UTC
1 update to 0.4.2 from 0.1.1
2 use USE_RUBYGEMS=yes to build and install the port

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-08-23 14:40:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ruby

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Stanislav Sedov freebsd_committer freebsd_triage 2009-08-23 22:40:05 UTC
Hi Wen!

Thanks for your patch!  Personally, I'd prefer to stay back
from switching to gem version as I don't see much benefit
for this step.  Why have you decided to switch to gem?
Besides introducing new dependency on the old gem version,
this will also possible break application that people use
as this will require changes to this application sorce code
to function properly with gems (require gems).

Can you please, submit the patch against the current version
without changing it to using gems?

Thanks!

-- 
Stanislav Sedov
ST4096-RIPE
Comment 3 wenheping 2009-08-24 00:16:35 UTC
Hi, stas@ :

   With its previous Makefile and Makefile.common, ruby-dbi and
other ruby-dbd_*  is some dificult to update. And in my plan, I shall update
all the ruby-dbd_* ports which require ruby-dbi to the newest version
and use gem and modify the depends.

   I do not know which one is welcomed more for ruby port: gem
 or not gem. If not gem, I will try to update it without gem and then
submit the new patch and close this PR.

Cheers,
wen
Comment 4 Stanislav Sedov freebsd_committer freebsd_triage 2009-08-27 09:51:00 UTC
On Mon, 24 Aug 2009 07:14:02 +0800
wen heping <wenheping@gmail.com> mentioned:

> Hi, stas@ :
> 
>    With its previous Makefile and Makefile.common, ruby-dbi and
> other ruby-dbd_*  is some dificult to update. And in my plan, I shall update
> all the ruby-dbd_* ports which require ruby-dbi to the newest version
> and use gem and modify the depends.
> 
>    I do not know which one is welcomed more for ruby port: gem
>  or not gem. If not gem, I will try to update it without gem and then
> submit the new patch and close this PR.
> 
> Cheers,
> wen
> 
> On Mon, Aug 24, 2009 at 5:40 AM, Stanislav Sedov <stas@freebsd.org> wrote:
> 
> > Hi Wen!
> >
> > Thanks for your patch!  Personally, I'd prefer to stay back
> > from switching to gem version as I don't see much benefit
> > for this step.  Why have you decided to switch to gem?
> > Besides introducing new dependency on the old gem version,
> > this will also possible break application that people use
> > as this will require changes to this application sorce code
> > to function properly with gems (require gems).
> >
> > Can you please, submit the patch against the current version
> > without changing it to using gems?
> >

Yeah, I think that staying away from gems for this module is the
preferrable way to go.  You may submit the new patch to update
ruby-dbd* ports as followup to this PR.

Thanks!

-- 
Stanislav Sedov
ST4096-RIPE
Comment 5 Stanislav Sedov freebsd_committer freebsd_triage 2009-08-27 12:42:14 UTC
State Changed
From-To: open->closed

Close per submitter request.
Comment 6 dirk.meyer 2009-09-08 18:40:58 UTC
Stanislav Sedov schrieb:,

> Thanks for your patch!  Personally, I'd prefer to stay back
> from switching to gem version as I don't see much benefit
> for this step.  Why have you decided to switch to gem?
> Besides introducing new dependency on the old gem version,
> this will also possible break application that people use
> as this will require changes to this application sorce code
> to function properly with gems (require gems).
> 
> Can you please, submit the patch against the current version
> without changing it to using gems?

I have already a patch set for dbi and dbd.

I wait for the expiration of modules that are no longer supported
by the new version.

modules set for expire:
ruby-dbd_interbase
ruby-dbd_msql
ruby-dbd_proxy

modules updated:
ruby-dbd_mysql
ruby-dbd_odbc
ruby-dbd_pg
ruby-dbd_sqlite
ruby-dbi

new modules.
ruby-dbd_sqlite3

Preview:
http://people.freebsd.org/~dinoex/ports/ruby-dbd_mysql.tar.gz
http://people.freebsd.org/~dinoex/ports/ruby-dbd_odbc.tar.gz
http://people.freebsd.org/~dinoex/ports/ruby-dbd_pg.tar.gz
http://people.freebsd.org/~dinoex/ports/ruby-dbd_sqlite.tar.gz
http://people.freebsd.org/~dinoex/ports/ruby-dbi.tar.gz


kind regards Dirk

- Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
- [dirk.meyer@dinoex.sub.org],[dirk.meyer@guug.de],[dinoex@FreeBSD.org]