Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 May 2017 15:56:23 +0000 (UTC)
From:      Eugene Grosbein <eugen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r441157 - in head: . databases databases/oracle8-client databases/oracle8-client/files
Message-ID:  <201705181556.v4IFuNLB098070@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eugen
Date: Thu May 18 15:56:22 2017
New Revision: 441157
URL: https://svnweb.freebsd.org/changeset/ports/441157

Log:
  Re-add databases/oracle8-client removed with r435735 as there is user demand for it.
  The only way for native FreeBSD binaries to connect to modern Oracle databases is
  usage of OCI8 libraries supplied by the port. Additional changes:
  
  - integrate patch supplied with PR 211107;
  - assign maintainership to the submitter;
  - supply additional MASTER_SITE;
  - dead WWW link replaced with working copy of old one;
  - bump PORTREVISION.
  
  PR:		211107
  Approved by:	vsevolod (mentor)

Added:
  head/databases/oracle8-client/
     - copied from r433805, head/databases/oracle8-client/
Modified:
  head/MOVED
  head/databases/Makefile
  head/databases/oracle8-client/Makefile
  head/databases/oracle8-client/files/patch-freebsd-oci8stub.c
  head/databases/oracle8-client/files/patch-freebsd-redefine-syms.lst
  head/databases/oracle8-client/pkg-descr

Modified: head/MOVED
==============================================================================
--- head/MOVED	Thu May 18 15:54:59 2017	(r441156)
+++ head/MOVED	Thu May 18 15:56:22 2017	(r441157)
@@ -9107,7 +9107,6 @@ devel/py-tgMochiKit||2017-03-03|Has expi
 www/py-Lightbox||2017-03-03|Has expired: Development of this branch ceased
 devel/py-ll-core||2017-03-04|Has expired: Long unmaintained, abandoned upstream
 net/tcpdump398|net/tcpdump|2017-03-05|Has expired: multiple security vulnerabilities; not updated since 2009
-databases/oracle8-client||2017-03-07|Has expired: Oracle 8 EOL by 10 years
 databases/oracle7-client||2017-03-07|Has expired: Oracle 7 EOL by 13 years
 databases/yasql||2017-03-07|Has expired: Dependent on deprecated oracle7-client
 databases/jdbc-oracle10g||2017-03-07|Has expired: Oracle 10g EOL almost 4 years

Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile	Thu May 18 15:54:59 2017	(r441156)
+++ head/databases/Makefile	Thu May 18 15:56:22 2017	(r441157)
@@ -240,6 +240,7 @@
     SUBDIR += openark-kit
     SUBDIR += opendbx
     SUBDIR += opentsdb
+    SUBDIR += oracle8-client
     SUBDIR += p5-Amazon-SimpleDB
     SUBDIR += p5-Amon2-DBI
     SUBDIR += p5-AnyEvent-BDB

Modified: head/databases/oracle8-client/Makefile
==============================================================================
--- head/databases/oracle8-client/Makefile	Fri Feb 10 15:30:50 2017	(r433805)
+++ head/databases/oracle8-client/Makefile	Thu May 18 15:56:22 2017	(r441157)
@@ -3,16 +3,14 @@
 
 PORTNAME=	oracle8-client
 PORTVERSION=	0.2.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	databases
-MASTER_SITES=	LOCAL/fjoe
+MASTER_SITES=	LOCAL/fjoe \
+		http://www.grosbein.net/freebsd/distfiles/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bonkor@gmail.com
 COMMENT=	Oracle 8 client
 
-DEPRECATED=	Oracle 8 EOL by 10 years
-EXPIRATION_DATE=	2017-03-07
-
 USES=		tar:bzip2
 ONLY_FOR_ARCHS=	i386
 WRKSRC=		${WRKDIR}/${PORTNAME}

Modified: head/databases/oracle8-client/files/patch-freebsd-oci8stub.c
==============================================================================
--- head/databases/oracle8-client/files/patch-freebsd-oci8stub.c	Fri Feb 10 15:30:50 2017	(r433805)
+++ head/databases/oracle8-client/files/patch-freebsd-oci8stub.c	Thu May 18 15:56:22 2017	(r441157)
@@ -8,7 +8,7 @@
  #include <assert.h>
  #include <errno.h>
  #include <dlfcn.h>
-@@ -119,6 +120,13 @@
+@@ -119,6 +120,14 @@
  
  int __l_sigprocmask(int how, const sigset_t *set, sigset_t *oldset);
  
@@ -18,11 +18,12 @@
 +};
 +
 +int __l_connect(int s, const struct l_sockaddr *l_sa, socklen_t addrlen);
++int __l_sigaction(int signum, const struct sigaction *l_act, struct sigaction *oldact);
 +
  #ifdef stdin
  #undef stdin
  #undef stdout
-@@ -528,3 +536,14 @@
+@@ -528,3 +537,27 @@ __l_sigprocmask(int l_how, const sigset_
  
  	return sigprocmask(how, set, oldset);
  }
@@ -37,3 +38,16 @@
 +	sa.sa_family = l_sa->sa_family;
 +	return connect(s, &sa, addrlen);
 +}
++
++int 
++__l_sigaction(int signum, const struct sigaction *l_act, struct sigaction *oldact)
++{
++	struct sigaction act;
++
++	act.sa_handler = l_act->sa_handler;
++	act.sa_flags = l_act->sa_flags & (SA_ONSTACK | SA_RESTART | SA_RESETHAND |
++		SA_NOCLDSTOP | SA_NODEFER | SA_NOCLDWAIT | SA_SIGINFO);
++	act.sa_mask = l_act->sa_mask;
++	return sigaction(signum, &act, oldact);
++}
++

Modified: head/databases/oracle8-client/files/patch-freebsd-redefine-syms.lst
==============================================================================
--- head/databases/oracle8-client/files/patch-freebsd-redefine-syms.lst	Fri Feb 10 15:30:50 2017	(r433805)
+++ head/databases/oracle8-client/files/patch-freebsd-redefine-syms.lst	Thu May 18 15:56:22 2017	(r441157)
@@ -1,6 +1,7 @@
 --- freebsd/redefine-syms.lst.orig	2005-06-20 23:23:35.000000000 +0700
 +++ freebsd/redefine-syms.lst	2007-11-28 04:48:03.000000000 +0600
-@@ -1,2 +1,3 @@
+@@ -1,2 +1,4 @@
 +connect __l_connect
  lseek	__l_lseek
  sigprocmask __l_sigprocmask
++sigaction __l_sigaction

Modified: head/databases/oracle8-client/pkg-descr
==============================================================================
--- head/databases/oracle8-client/pkg-descr	Fri Feb 10 15:30:50 2017	(r433805)
+++ head/databases/oracle8-client/pkg-descr	Thu May 18 15:56:22 2017	(r441157)
@@ -3,4 +3,4 @@ Oracle 8.1.7.1 for Linux.
 
 This port is not officially supported by Oracle. USE AT YOUR OWN RISK!
 
-WWW: http://samodelkin.net/~fjoe/oracle/
+WWW: http://www.grosbein.net/freebsd/oracle/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705181556.v4IFuNLB098070>