Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
iODBC (Independent Open Database Connectivity) driver manager
is compatible with ODBC 3.x specification and performs exactly
same jobs of ODBC 3.x driver manager(i.e. driver loading,
Parameters and function sequence checking, driver's function
Invoking, etc.). Any ODBC driver works with ODBC 3.0 driver
Manager will also work with iODBC driver manager and vice versa.
Applications (using ODBC function calls) linked with
iODBC driver manager will be able to simultaneously access
different type of data sources within one process through
suitable iODBC drivers.
+32
View File
@@ -0,0 +1,32 @@
# $NetBSD: Makefile,v 1.22 2012/10/02 21:25:19 asau Exp $
DISTNAME= libiodbc-3.52.8
PKGNAME= ${DISTNAME:S/^lib//}
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=iodbc/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.iodbc.org/dataspace/iodbc/wiki/iODBC/
COMMENT= ODBC 3.x driver manager
LICENSE= gnu-lgpl-v2
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-gui
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/iodbc
CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/iodbc
CONFIGURE_ARGS+= --pkgconfigdir=${PREFIX}/lib/pkgconfig
CONFIGURE_ARGS+= --with-iodbc-inidir=${PKG_SYSCONFDIR}
DL_AUTO_VARS= yes
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
CONF_FILES= ${EGDIR}/odbc.ini ${PKG_SYSCONFDIR}/odbc.ini
post-install:
${INSTALL_DATA} ${WRKSRC}/etc/odbc.ini.sample \
${DESTDIR}${EGDIR}/odbc.ini
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
+26
View File
@@ -0,0 +1,26 @@
@comment $NetBSD: PLIST,v 1.6 2012/03/15 14:50:56 abs Exp $
bin/iodbc-config
bin/iodbctest
bin/iodbctestw
include/iodbc/iodbcext.h
include/iodbc/iodbcinst.h
include/iodbc/iodbcunix.h
include/iodbc/isql.h
include/iodbc/isqlext.h
include/iodbc/isqltypes.h
include/iodbc/odbcinst.h
include/iodbc/sql.h
include/iodbc/sqlext.h
include/iodbc/sqltypes.h
include/iodbc/sqlucode.h
lib/iodbc/libiodbc.la
lib/iodbc/libiodbcinst.la
lib/iodbc/libodbc.a
lib/iodbc/libodbc.so
lib/pkgconfig/libiodbc.pc
man/man1/iodbc-config.1
man/man1/iodbctest.1
man/man1/iodbctestw.1
share/examples/iodbc/Makefile
share/examples/iodbc/iodbctest.c
share/examples/iodbc/odbc.ini
+20
View File
@@ -0,0 +1,20 @@
# $NetBSD: buildlink3.mk,v 1.13 2012/04/06 14:07:32 obache Exp $
BUILDLINK_TREE+= iodbc
.if !defined(IODBC_BUILDLINK3_MK)
IODBC_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.iodbc+= iodbc>=3.52.3
BUILDLINK_INCDIRS.iodbc?= include/iodbc
BUILDLINK_LIBDIRS.iodbc?= lib/iodbc
BUILDLINK_PKGSRCDIR.iodbc?= ../../databases/iodbc
# ODBC drivers don't need these bits, but ODBC clients do.
.if !defined(ODBC_DRIVER)
. include "../../mk/dlopen.buildlink3.mk"
. include "../../mk/pthread.buildlink3.mk"
.endif
.endif # IODBC_BUILDLINK3_MK
BUILDLINK_TREE+= -iodbc
+11
View File
@@ -0,0 +1,11 @@
$NetBSD: distinfo,v 1.9 2012/04/22 15:06:57 wiz Exp $
SHA1 (libiodbc-3.52.8.tar.gz) = 93a3f061afff3152c5fcee1e5af8b802760a7e74
RMD160 (libiodbc-3.52.8.tar.gz) = 6d7f260041322681c94732d542b6650230a29a20
Size (libiodbc-3.52.8.tar.gz) = 1089784 bytes
SHA1 (patch-admin_Makefile.am) = 50df99ec7a592b77b235c907e6b599f533466786
SHA1 (patch-admin_Makefile.in) = 065fb31beacdf6a1cb4350fdfd5d8aedf99ae16f
SHA1 (patch-configure) = 47df9401022a8cf4ad31a7de48bcccacde5befc2
SHA1 (patch-configure.in) = dfcf36e845fbea146021bd3eb80a92e8225556d6
SHA1 (patch-include_sqltypes.h) = 92db8703b7b88eb7e4ec8dca9c5dc3f207cc0234
SHA1 (patch-samples_Makefile.in) = 59b8f2e03fe6c92d9e10f86cd57d5d563d0eaf14
@@ -0,0 +1,12 @@
$NetBSD: patch-admin_Makefile.am,v 1.1 2012/03/15 14:50:56 abs Exp $
--- admin/Makefile.am.orig 2009-09-09 22:01:16.000000000 +0000
+++ admin/Makefile.am
@@ -76,7 +76,6 @@ EXTRA_DIST = \
$(srcdir)/libiodbc.spec.in \
$(srcdir)/libiodbc.pc.in
-pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libiodbc.pc
@@ -0,0 +1,20 @@
$NetBSD: patch-admin_Makefile.in,v 1.1 2012/03/15 14:50:56 abs Exp $
--- admin/Makefile.in.orig 2009-09-10 14:34:57.000000000 +0000
+++ admin/Makefile.in
@@ -254,6 +254,7 @@ inidir = @inidir@
install_sh = @install_sh@
lib_version = @lib_version@
libdir = @libdir@
+pkgconfigdir = @pkgconfigdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
@@ -280,7 +281,6 @@ EXTRA_DIST = \
$(srcdir)/libiodbc.spec.in \
$(srcdir)/libiodbc.pc.in
-pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libiodbc.pc
noinst_SCRIPTS = libiodbc.spec
all: all-am
+49
View File
@@ -0,0 +1,49 @@
$NetBSD: patch-configure,v 1.1 2012/03/15 14:50:56 abs Exp $
--- configure.orig 2009-09-10 14:34:58.000000000 +0000
+++ configure
@@ -891,6 +891,7 @@ DEFS
mandir
localedir
libdir
+pkgconfigdir
psdir
pdfdir
dvidir
@@ -996,6 +997,7 @@ dvidir='${docdir}'
pdfdir='${docdir}'
psdir='${docdir}'
libdir='${exec_prefix}/lib'
+pkgconfigdir='${libdir}/pkgconfig'
localedir='${datarootdir}/locale'
mandir='${datarootdir}/man'
@@ -1145,6 +1147,11 @@ do
-libdir=* | --libdir=* | --libdi=* | --libd=*)
libdir=$ac_optarg ;;
+ -pkgconfigdir | --pkgconfigdir | --pkgconfigdi | --pkgconfigd)
+ ac_prev=pkgconfigdir ;;
+ -pkgconfigdir=* | --pkgconfigdir=* | --pkgconfigdi=* | --pkgconfigd=*)
+ pkgconfigdir=$ac_optarg ;;
+
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
| --libexe | --libex | --libe)
ac_prev=libexecdir ;;
@@ -1381,7 +1388,7 @@ fi
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
datadir sysconfdir sharedstatedir localstatedir includedir \
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
+ libdir pkgconfigdir localedir mandir
do
eval ac_val=\$$ac_var
# Remove trailing slashes.
@@ -1542,6 +1549,7 @@ Fine tuning of the installation director
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--libdir=DIR object code libraries [EPREFIX/lib]
+ --pkgconfigdir=DIR pkgconfig [LIBDIR/pkgconfig]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
@@ -0,0 +1,12 @@
$NetBSD: patch-configure.in,v 1.1 2012/03/15 14:50:56 abs Exp $
--- configure.in.orig 2009-09-10 13:08:59.000000000 +0000
+++ configure.in
@@ -820,6 +820,7 @@ echo "${B}Installation paths${N}"
echo "AC_HELP_STRING(programs, [${bindir}])"
echo "AC_HELP_STRING(include files, [${includedir}])"
echo "AC_HELP_STRING(libraries, [${libdir}])"
+echo "AC_HELP_STRING(pkgconfig, [${pkgconfigdir}])"
echo "AC_HELP_STRING(manual pages, [${mandir}])"
echo ""
echo "${B}Configuration files${N}"
@@ -0,0 +1,23 @@
$NetBSD: patch-include_sqltypes.h,v 1.1 2012/03/15 14:50:56 abs Exp $
--- include/sqltypes.h.orig 2009-09-09 20:06:24.000000000 +0000
+++ include/sqltypes.h
@@ -400,18 +400,7 @@ typedef unsigned short SQLWCHAR;
#else
# include <stdlib.h>
-# if defined(__cplusplus) || \
- defined(_WCHAR_T) || \
- defined(_WCHAR_T_DEFINED) || \
- defined(_WCHAR_T_DEFINED_) || \
- defined(_WCHAR_T_DECLARED) || \
- defined(_BSD_WCHAR_T_DEFINED_) || \
- defined(_BSD_WCHAR_T_) || \
- defined(_BSD_CT_RUNE_T_)
typedef wchar_t SQLWCHAR;
-# else
-# error Please make sure your system supports the wchar_t type
-# endif
#endif /* WIN32 */
@@ -0,0 +1,17 @@
$NetBSD: patch-samples_Makefile.in,v 1.1 2012/03/15 14:50:56 abs Exp $
--- samples/Makefile.in.orig 2009-09-10 14:34:57.000000000 +0000
+++ samples/Makefile.in
@@ -627,9 +627,9 @@ uninstall-am: uninstall-binPROGRAMS
install-exec-hook:
- $(mkinstalldirs) ${DESTDIR}${pkgdatadir}/samples
- cp $(srcdir)/iodbctest.c ${DESTDIR}${pkgdatadir}/samples/iodbctest.c
- cp $(srcdir)/Makefile.sample ${DESTDIR}${pkgdatadir}/samples/Makefile
+ $(mkinstalldirs) ${DESTDIR}${datadir}/examples/iodbc
+ cp $(srcdir)/iodbctest.c ${DESTDIR}${datadir}/examples/iodbc/iodbctest.c
+ cp $(srcdir)/Makefile.sample ${DESTDIR}${datadir}/examples/iodbc/Makefile
@DARWIN_TRUE@ -/usr/bin/lipo ${DESTDIR}${bindir}/iodbctest -remove ppc64 -output ${DESTDIR}${bindir}/iodbctest
@DARWIN_TRUE@ -/usr/bin/lipo ${DESTDIR}${bindir}/iodbctestw -remove ppc64 -output ${DESTDIR}${bindir}/iodbctestw