From sime@logos.hr  Thu Apr 12 09:38:09 2007
Return-Path: <sime@logos.hr>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 7B87A16A400
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 12 Apr 2007 09:38:09 +0000 (UTC)
	(envelope-from sime@logos.hr)
Received: from mail.logos.hr (gates.logos.hr [213.149.47.2])
	by mx1.freebsd.org (Postfix) with ESMTP id C87F513C45B
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 12 Apr 2007 09:38:08 +0000 (UTC)
	(envelope-from sime@logos.hr)
Received: from localhost (localhost [127.0.0.1])
	by mail.logos.hr (Postfix) with ESMTP id 797EC26D16C
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 12 Apr 2007 11:18:27 +0200 (CEST)
Received: from mail.logos.hr ([127.0.0.1])
	by localhost (mail.logos.hr [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id snsBaJWkw4Mo for <FreeBSD-gnats-submit@freebsd.org>;
	Thu, 12 Apr 2007 11:18:22 +0200 (CEST)
Received: by mail.logos.hr (Postfix, from userid 34062)
	id 9198026D167; Thu, 12 Apr 2007 11:18:22 +0200 (CEST)
Message-Id: <20070412091822.9198026D167@mail.logos.hr>
Date: Thu, 12 Apr 2007 11:18:22 +0200 (CEST)
From: Simun Mikecin <numisemis@yahoo.com>
Reply-To: Simun Mikecin <numisemis@yahoo.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [NEW PORT] databases/ruby-oci8
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         111501
>Category:       ports
>Synopsis:       [NEW PORT] databases/ruby-oci8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pgollucci
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 12 09:40:03 GMT 2007
>Closed-Date:    Sun Dec 12 04:10:40 UTC 2010
>Last-Modified:  Sun Dec 12 04:20:08 UTC 2010
>Originator:     Simun Mikecin
>Release:        FreeBSD 6.2-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD plasma.logos.hr 6.2-RELEASE-p2 FreeBSD 6.2-RELEASE-p2 #0: Mon Mar  5 10:23:07 CET 2007 root@plasma.logos.hr:/usr/obj/usr/src.6.2/sys/PLASMA i386


	
>Description:
OCI8 is a ruby interface for Oracle using OCI8 API.
You can test it with something like:

ruby -r oci8 -e "OCI8.new('user', 'pass', 'oraname').exec('select sysdate from dual') do |r| puts r.join(','); end"

>How-To-Repeat:
	
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	ruby-oci8
#	ruby-oci8/pkg-plist
#	ruby-oci8/pkg-descr
#	ruby-oci8/distinfo
#	ruby-oci8/Makefile
#	ruby-oci8/files
#	ruby-oci8/files/patch-ext_oci8_oraconf.rb
#
echo c - ruby-oci8
mkdir -p ruby-oci8 > /dev/null 2>&1
echo x - ruby-oci8/pkg-plist
sed 's/^X//' >ruby-oci8/pkg-plist << 'END-of-ruby-oci8/pkg-plist'
X%%RUBY_SITEARCHLIBDIR%%/oci8lib.so
X%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
X%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
X%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
END-of-ruby-oci8/pkg-plist
echo x - ruby-oci8/pkg-descr
sed 's/^X//' >ruby-oci8/pkg-descr << 'END-of-ruby-oci8/pkg-descr'
XRuby/OCI8 is a ruby interface for Oracle using OCI8 API.
END-of-ruby-oci8/pkg-descr
echo x - ruby-oci8/distinfo
sed 's/^X//' >ruby-oci8/distinfo << 'END-of-ruby-oci8/distinfo'
XMD5 (ruby/ruby-oci8-1.0.0-rc1.tar.gz) = 34fee64959f5c8317c9349050b1a79e8
XSHA256 (ruby/ruby-oci8-1.0.0-rc1.tar.gz) = 69012e2813d1d41d716c78de6bf44af8951838c16c6f670c962d30ebff9f3ad9
XSIZE (ruby/ruby-oci8-1.0.0-rc1.tar.gz) = 92989
END-of-ruby-oci8/distinfo
echo x - ruby-oci8/Makefile
sed 's/^X//' >ruby-oci8/Makefile << 'END-of-ruby-oci8/Makefile'
X# New ports collection makefile for:	ruby-oci8
X# Date created:		10 April 2007
X# Whom:			Simun Mikecin <numisemis at yahoo dot com>
X#
X# $FreeBSD: $
X#
X
XPORTNAME=	oci8
XDISTVERSION=	1.0.0rc1
XCATEGORIES=	databases ruby
XMASTER_SITES=	${MASTER_SITE_RUBYFORGE}
XMASTER_SITE_SUBDIR=ruby-oci8
XPKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
XDISTNAME=	ruby-${PORTNAME}-${DISTVERSION:S/rc/-rc/}
XDIST_SUBDIR=	ruby
X
XMAINTAINER=	numisemis@yahoo.com
XCOMMENT=	Ruby interface to Oracle OCI8
X
XUSE_RUBY=	yes
XUSE_RUBY_EXTCONF=	yes
XRUBY_EXTCONF_SUBDIRS=	ext/oci8
X
XBUILD_DEPENDS+= ${LOCALBASE}/oracle8-client/lib/libclntsh.a:${PORTSDIR}/databases/oracle8-client
X
XRUN_DEPENDS+=   ${BUILD_DEPENDS}
X
XCONFIGURE_ARGS= --with-instant-client="${LOCALBASE}/oracle8-client/lib"
XINSTALL_TARGET=	site-install
X
XDOCS_EN=	ChangeLog README
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${RUBY_MODDOCDIR}
X.for f in ${DOCS_EN}
X	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-ruby-oci8/Makefile
echo c - ruby-oci8/files
mkdir -p ruby-oci8/files > /dev/null 2>&1
echo x - ruby-oci8/files/patch-ext_oci8_oraconf.rb
sed 's/^X//' >ruby-oci8/files/patch-ext_oci8_oraconf.rb << 'END-of-ruby-oci8/files/patch-ext_oci8_oraconf.rb'
X--- ext/oci8/oraconf.rb.orig	Fri Jan 19 15:50:28 2007
X+++ ext/oci8/oraconf.rb	Thu Apr 12 10:58:36 2007
X@@ -197,6 +197,8 @@
X     when /darwin/
X       @@ld_envs = %w[DYLD_LIBRARY_PATH]
X       so_ext = 'dylib'
X+    when /freebsd/
X+      return "/usr/local/oracle8-client/lib"
X     end
X 
X     glob_name = "#{oci_basename}.#{so_ext}#{oci_glob_postfix}"
X@@ -720,7 +722,8 @@
X       @libs = get_libs("#{ic_dir}/sdk")
X       ld_path = nil
X     else
X-      @cflags = " -I#{inc_dir}"
X+      @cflags = ''
X+      @libs = ''
X       # set ld_path and so_ext
X       case RUBY_PLATFORM
X       when /aix/
X@@ -736,10 +739,16 @@
X       when /darwin/
X         ld_path = 'DYLD_LIBRARY_PATH'
X         so_ext = 'dylib'
X+      when /freebsd/
X+        so_ext = 'a'
X+        inc_dir = "#{ic_dir}/../rdbms/demo"
X+        @cflags = " -I#{ic_dir}/../rdbms/public"
X+        @libs = " -lcompat"
X       else
X         ld_path = 'LD_LIBRARY_PATH'
X         so_ext = 'so'
X       end
X+      @cflags += " -I#{inc_dir}"
X       # check Oracle client library.
X       unless File.exists?("#{lib_dir}/libclntsh.#{so_ext}")
X         files = Dir.glob("#{lib_dir}/libclntsh.#{so_ext}.*")
X@@ -761,7 +770,7 @@
X         end
X         raise 'failed'
X       end
X-      @libs = " -L#{lib_dir} -lclntsh "
X+      @libs += " -L#{lib_dir} -lclntsh "
X     end
X     unless File.exists?("#{inc_dir}/oci.h")
X           raise <<EOS
END-of-ruby-oci8/files/patch-ext_oci8_oraconf.rb
exit

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->clsung 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Apr 12 09:40:10 UTC 2007 
Responsible-Changed-Why:  
clsung@ wants to have ruby- PRs 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111501 
Responsible-Changed-From-To: clsung->freebsd-ports-bugs 
Responsible-Changed-By: stefan 
Responsible-Changed-When: Thu Jan 8 17:29:14 UTC 2009 
Responsible-Changed-Why:  
Committer timeout (1 year 9 months). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111501 
Responsible-Changed-From-To: freebsd-ports-bugs->pgollucci 
Responsible-Changed-By: pgollucci 
Responsible-Changed-When: Mon Jan 26 05:26:18 UTC 2009 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111501 
Responsible-Changed-From-To: pgollucci->freebsd-ports 
Responsible-Changed-By: pgollucci 
Responsible-Changed-When: Thu Apr 9 18:51:41 UTC 2009 
Responsible-Changed-Why:  
e no time 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111501 
Responsible-Changed-From-To: freebsd-ports->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Apr 9 21:41:36 UTC 2009 
Responsible-Changed-Why:  
Canonicalize assignment. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111501 
Responsible-Changed-From-To: freebsd-ports-bugs->clsung 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Sep 9 23:53:49 UTC 2010 
Responsible-Changed-Why:  
clsung@ wants this port PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111501 
Responsible-Changed-From-To: clsung->freebsd-ports-bugs 
Responsible-Changed-By: pgollucci 
Responsible-Changed-When: Thu Dec 9 01:40:09 UTC 2010 
Responsible-Changed-Why:  
committer timeout (clsung ; 91 days) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111501 
Responsible-Changed-From-To: freebsd-ports-bugs->pgollucci 
Responsible-Changed-By: pgollucci 
Responsible-Changed-When: Sun Dec 12 01:35:22 UTC 2010 
Responsible-Changed-Why:  
I will take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111501 
State-Changed-From-To: open->closed 
State-Changed-By: pgollucci 
State-Changed-When: Sun Dec 12 04:10:39 UTC 2010 
State-Changed-Why:  
Committed, Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111501 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/111501: commit references a PR
Date: Sun, 12 Dec 2010 04:10:38 +0000 (UTC)

 pgollucci    2010-12-12 04:10:34 UTC
 
   FreeBSD ports repository
 
   Modified files:
     databases            Makefile 
   Added files:
     databases/ruby-oci8  Makefile distinfo pkg-descr pkg-plist 
     databases/ruby-oci8/files patch-ext_oci8_oraconf.rb 
   Log:
   Ruby/OCI8 is a ruby interface for Oracle using OCI8 API.
   
   PR:             ports/111501
   Submitted by:   Simun Mikecin <numisemis at yahoo dot com>
   
   Revision  Changes    Path
   1.925     +1 -0      ports/databases/Makefile
   1.1       +42 -0     ports/databases/ruby-oci8/Makefile (new)
   1.1       +3 -0      ports/databases/ruby-oci8/distinfo (new)
   1.1       +47 -0     ports/databases/ruby-oci8/files/patch-ext_oci8_oraconf.rb (new)
   1.1       +1 -0      ports/databases/ruby-oci8/pkg-descr (new)
   1.1       +9 -0      ports/databases/ruby-oci8/pkg-plist (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
