svn commit: r561279 - in head/databases: . libmswstr libmswstr/files
Rainer Hurling
rhurlin at FreeBSD.org
Mon Jan 11 21:36:28 UTC 2021
Author: rhurlin
Date: Mon Jan 11 21:36:26 2021
New Revision: 561279
URL: https://svnweb.freebsd.org/changeset/ports/561279
Log:
databases/libmswstr: New port, version 0.0.1
Provides functionality that allows using indexes from
Microsoft Access databases in JET4 format
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D27955
Added:
head/databases/libmswstr/
head/databases/libmswstr/Makefile (contents, props changed)
head/databases/libmswstr/distinfo (contents, props changed)
head/databases/libmswstr/files/
head/databases/libmswstr/files/patch-src_mswstr.c (contents, props changed)
head/databases/libmswstr/pkg-descr (contents, props changed)
head/databases/libmswstr/pkg-plist (contents, props changed)
Modified:
head/databases/Makefile
Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile Mon Jan 11 21:32:35 2021 (r561278)
+++ head/databases/Makefile Mon Jan 11 21:36:26 2021 (r561279)
@@ -152,6 +152,7 @@
SUBDIR += libmemcache
SUBDIR += libmemcached
SUBDIR += libmongo-client
+ SUBDIR += libmswstr
SUBDIR += libnvpair
SUBDIR += libodbc++
SUBDIR += libpbl
Added: head/databases/libmswstr/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/libmswstr/Makefile Mon Jan 11 21:36:26 2021 (r561279)
@@ -0,0 +1,22 @@
+# Created by: Rainer Hurling <rhurlin at gwdg.de>
+# $FreeBSD$
+
+PORTNAME= libmswstr
+PORTVERSION= 0.0.1
+CATEGORIES= databases
+
+MAINTAINER= rhurlin at FreeBSD.org
+COMMENT= Read and parse mdb file indices
+
+# https://github.com/leecher1337/libmswstr/blob/master/COPYING
+#DISABLE_LICENSES= yes
+USES= autoreconf dos2unix libtool
+DOS2UNIX_FILES= mswstr.c nls.h nlstables.h
+DOS2UNIX_WRKSRC= ${WRKSRC}/src
+USE_GITHUB= yes
+GH_ACCOUNT= leecher1337
+GH_TAGNAME= 5682d51
+USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
+
+.include <bsd.port.mk>
Added: head/databases/libmswstr/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/libmswstr/distinfo Mon Jan 11 21:36:26 2021 (r561279)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1593859309
+SHA256 (leecher1337-libmswstr-0.0.1-5682d51_GH0.tar.gz) = 3113412e52023f4d9e51e6ccb9c24f129939e194ebefb4573b269f96de469fa1
+SIZE (leecher1337-libmswstr-0.0.1-5682d51_GH0.tar.gz) = 249155
Added: head/databases/libmswstr/files/patch-src_mswstr.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/libmswstr/files/patch-src_mswstr.c Mon Jan 11 21:36:26 2021 (r561279)
@@ -0,0 +1,11 @@
+--- src/mswstr.c.orig 2021-01-08 09:11:21 UTC
++++ src/mswstr.c
+@@ -8,7 +8,7 @@
+
+ #include <stdio.h>
+ #include <assert.h>
+-#include <malloc.h>
++#include <stdlib.h>
+ #include <string.h>
+
+ #include "nls.h"
Added: head/databases/libmswstr/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/libmswstr/pkg-descr Mon Jan 11 21:36:26 2021 (r561279)
@@ -0,0 +1,14 @@
+When using Microsoft Jet 4 Databases, index fields are created using
+the DBLCMapStringW function (check MSDN library for documentation of
+this function).
+Jet 4 driver itself loads this function from mswstr.dll on Microsoft
+Windows. The library contains static translation tables (as opposed to
+LCMapStringW API) in order to have consistent translations across all
+Windows Versions.
+
+Libraries that try to read and parse mdb file indices like
+databases/mdbtools should work on every platform and therefore a
+platform independent version of this library is needed. This is an
+attempt to port the library to Posix-systems.
+
+WWW: https://github.com/leecher1337/libmswstr
Added: head/databases/libmswstr/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/libmswstr/pkg-plist Mon Jan 11 21:36:26 2021 (r561279)
@@ -0,0 +1,7 @@
+include/mswstr/mswstr.h
+include/mswstr/winnls.h
+include/mswstr/wintypes.h
+lib/libmswstr.a
+lib/libmswstr.so
+lib/libmswstr.so.0
+lib/libmswstr.so.0.0.1
More information about the svn-ports-all
mailing list