Bug 30823 - New port: databases/kinterbasdb, Python module to access Interbase (Firebird) RDMS
Summary: New port: databases/kinterbasdb, Python module to access Interbase (Firebird)...
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: Mark Linimon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-09-25 22:20 UTC by Dmytro Rud
Modified: 2003-12-04 06:51 UTC (History)
1 user (show)

See Also:


Attachments
file.shar (6.29 KB, text/plain)
2001-09-25 22:20 UTC, Dmytro Rud
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmytro Rud 2001-09-25 22:20:00 UTC
New port: KinterbasDB, Python module to access Interbase (Firebird) RDMS
Comment 1 Mark Linimon 2003-11-10 02:55:06 UTC
For whatever reason, no one ever looked at this PR.  It is
now one of the very oldest "new ports" PRs.

The current version of KinterbasDB is kinterbasdb-3.1_pre6
of September 13, 2003.  This is clearly much, much, newer
than the version in this antique PR.  Is the original
submitter by any chance still interested in trying to get
this port included in the FreeBSD ports collection?  If
so, perhaps I can help try to work on it.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2003-11-10 08:36:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->linimon

Since I have inquired after the state of this stale PR, I'll 
agree to track it.
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2003-11-17 04:58:45 UTC
State Changed
From-To: open->feedback

Note that I'm awaiting an updated port from the submitter 
of this PR, which had gotten pretty stale through no fault 
of his own.
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2003-11-18 10:13:24 UTC
State Changed
From-To: feedback->suspended

Mark suspended pending a new port from submitter.
Comment 5 Dmytro Rud 2003-11-19 17:32:58 UTC
Here is the new version of the port:

# 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:
#
#	/usr/ports/databases/kinterbasdb/
#	/usr/ports/databases/kinterbasdb/distinfo
#	/usr/ports/databases/kinterbasdb/Makefile
#	/usr/ports/databases/kinterbasdb/pkg-descr
#	/usr/ports/databases/kinterbasdb/pkg-plist
#
echo c - /usr/ports/databases/kinterbasdb/
mkdir -p /usr/ports/databases/kinterbasdb/ > /dev/null 2>&1
echo x - /usr/ports/databases/kinterbasdb/distinfo
sed 's/^X//' >/usr/ports/databases/kinterbasdb/distinfo << 'END-of-/usr/ports/databases/kinterbasdb/distinfo'
XMD5 (kinterbasdb-3.1_pre6-src.tar.gz) = 60776283a744b87dc4e04c06f526657c
END-of-/usr/ports/databases/kinterbasdb/distinfo
echo x - /usr/ports/databases/kinterbasdb/Makefile
sed 's/^X//' >/usr/ports/databases/kinterbasdb/Makefile << 'END-of-/usr/ports/databases/kinterbasdb/Makefile'
X# New ports collection makefile for:	kinterbasdb
X# Date created:				19 November 2003
X# Whom:					Dmytro Rud <rud@cs.uni-magdeburg.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=		kinterbasdb
XPORTVERSION=		3.1
XVERSIONSUFFIX=		_pre6
XCATEGORIES=		python databases
XMASTER_SITES=		${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	kinterbasdb
XDISTNAME=		${PORTNAME}-${PORTVERSION}${VERSIONSUFFIX}-src
XWRKSRC=			${WRKDIR}/${PORTNAME}-${PORTVERSION}${VERSIONSUFFIX}
XPKGNAMEPREFIX=		${PYTHON_PKGNAMEPREFIX}
X
XCOMMENT=		A Python Extension Package for the Firebird and Interbase(R) Relational Databases
XMAINTAINER=		rud@cs.uni-magdeburg.de
X
XUSE_PYTHON=		yes
XUSE_PYDISTUTILS=	yes
XUSE_PYTHON_PREFIX=	yes
X
XLIB_DEPENDS=		gds.1:${PORTSDIR}/databases/firebird
XRUN_DEPENDS=		${PYTHON_SITELIBDIR}/mx/DateTime/__init__.py:${PORTSDIR}/lang/py-mx-base
X
XPLIST_SUB=		INSTALLDIR=lib/${PYTHON_VERSION}/site-packages/${PORTNAME}
X
X.include <bsd.port.mk>
END-of-/usr/ports/databases/kinterbasdb/Makefile
echo x - /usr/ports/databases/kinterbasdb/pkg-descr
sed 's/^X//' >/usr/ports/databases/kinterbasdb/pkg-descr << 'END-of-/usr/ports/databases/kinterbasdb/pkg-descr'
XKinterbasDB Python module is a client part for the Interbase
X(Firebird) SQL Server. It enables you to store, retrieve and handle
Xrelational data in Interbase within Python program. It provides the
Xfunctionality to execute SQL statements, control transactions, to use
Xspecial data types and supports Python DB API 2.0 specifications.
X
XWWW: http://sourceforge.net/projects/kinterbasdb/
X
END-of-/usr/ports/databases/kinterbasdb/pkg-descr
echo x - /usr/ports/databases/kinterbasdb/pkg-plist
sed 's/^X//' >/usr/ports/databases/kinterbasdb/pkg-plist << 'END-of-/usr/ports/databases/kinterbasdb/pkg-plist'
X%%INSTALLDIR%%/__init__.py
X%%INSTALLDIR%%/__init__.pyc
X%%INSTALLDIR%%/__init__.pyo
X%%INSTALLDIR%%/_kinterbasdb.so
X%%INSTALLDIR%%/_kiservices.so
X%%INSTALLDIR%%/k_exceptions.py
X%%INSTALLDIR%%/k_exceptions.pyc
X%%INSTALLDIR%%/k_exceptions.pyo
X%%INSTALLDIR%%/services.py
X%%INSTALLDIR%%/services.pyc
X%%INSTALLDIR%%/services.pyo
X%%INSTALLDIR%%/typeconv_23plus.py
X%%INSTALLDIR%%/typeconv_23plus.pyc
X%%INSTALLDIR%%/typeconv_23plus.pyo
X%%INSTALLDIR%%/typeconv_backcompat.py
X%%INSTALLDIR%%/typeconv_backcompat.pyc
X%%INSTALLDIR%%/typeconv_backcompat.pyo
X%%INSTALLDIR%%/typeconv_datetime_mx.py
X%%INSTALLDIR%%/typeconv_datetime_mx.pyc
X%%INSTALLDIR%%/typeconv_datetime_mx.pyo
X%%INSTALLDIR%%/typeconv_datetime_naked.py
X%%INSTALLDIR%%/typeconv_datetime_naked.pyc
X%%INSTALLDIR%%/typeconv_datetime_naked.pyo
X%%INSTALLDIR%%/typeconv_datetime_stdlib.py
X%%INSTALLDIR%%/typeconv_datetime_stdlib.pyc
X%%INSTALLDIR%%/typeconv_datetime_stdlib.pyo
X%%INSTALLDIR%%/typeconv_fixed_fixedpoint.py
X%%INSTALLDIR%%/typeconv_fixed_fixedpoint.pyc
X%%INSTALLDIR%%/typeconv_fixed_fixedpoint.pyo
X%%INSTALLDIR%%/typeconv_fixed_stdlib.py
X%%INSTALLDIR%%/typeconv_fixed_stdlib.pyc
X%%INSTALLDIR%%/typeconv_fixed_stdlib.pyo
X%%INSTALLDIR%%/typeconv_naked.py
X%%INSTALLDIR%%/typeconv_naked.pyc
X%%INSTALLDIR%%/typeconv_naked.pyo
X%%INSTALLDIR%%/typeconv_util_isinstance.py
X%%INSTALLDIR%%/typeconv_util_isinstance.pyc
X%%INSTALLDIR%%/typeconv_util_isinstance.pyo
X%%INSTALLDIR%%/docs/Python-DB-API-2.0.html
X%%INSTALLDIR%%/docs/changelog.txt
X%%INSTALLDIR%%/docs/global.css
X%%INSTALLDIR%%/docs/index.html
X%%INSTALLDIR%%/docs/installation-binary.html
X%%INSTALLDIR%%/docs/installation-source.html
X%%INSTALLDIR%%/docs/license.txt
X%%INSTALLDIR%%/docs/links.html
X%%INSTALLDIR%%/docs/usage.html
X%%INSTALLDIR%%/docs/w3c.png
X@dirrm %%INSTALLDIR%%/docs
X@dirrm %%INSTALLDIR%%
END-of-/usr/ports/databases/kinterbasdb/pkg-plist
exit
Comment 6 Mark Linimon 2003-11-23 06:24:38 UTC
Trying this on my 4.9-PRERELEASE system, I get:

In file included from _kinterbasdb.c:385:
_kinterbasdb_constants.c: In function 
`_init_kidb_ibase_header_constants_transaction_parameters':
_kinterbasdb_constants.c:49: `value' undeclared (first use in this function)
_kinterbasdb_constants.c:49: (Each undeclared identifier is reported 
only once
_kinterbasdb_constants.c:49: for each function it appears in.)
_kinterbasdb_constants.c:49: stray '\' in program

Any ideas?
Comment 7 Mark Linimon freebsd_committer freebsd_triage 2003-11-23 06:25:38 UTC
State Changed
From-To: suspended->feedback

Note that submitter has responded to my original request with 
a new port, but now I can't get the new port to compile.
Comment 8 Mark Linimon freebsd_committer freebsd_triage 2003-12-03 06:36:17 UTC
State Changed
From-To: feedback->analyzed

I am currently testing a patch for building on both gcc29.5 
and gcc3.3. 

Note that this PR won't apply until ports/58999, the security 
update for the underlying database, are committed.
Comment 9 Mark Linimon freebsd_committer freebsd_triage 2003-12-04 06:50:58 UTC
State Changed
From-To: analyzed->closed

Committed.  Thanks for having been so extraordinarily patient 
and having hung in there this long.