From owner-svn-ports-head@freebsd.org Mon Jan 11 21:36:28 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 700404E71B9; Mon, 11 Jan 2021 21:36:28 +0000 (UTC) (envelope-from rhurlin@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DF6Tm2gNvz3CN4; Mon, 11 Jan 2021 21:36:28 +0000 (UTC) (envelope-from rhurlin@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4E909217D3; Mon, 11 Jan 2021 21:36:28 +0000 (UTC) (envelope-from rhurlin@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 10BLaSKu010441; Mon, 11 Jan 2021 21:36:28 GMT (envelope-from rhurlin@FreeBSD.org) Received: (from rhurlin@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 10BLaRlM010436; Mon, 11 Jan 2021 21:36:27 GMT (envelope-from rhurlin@FreeBSD.org) Message-Id: <202101112136.10BLaRlM010436@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rhurlin set sender to rhurlin@FreeBSD.org using -f From: Rainer Hurling Date: Mon, 11 Jan 2021 21:36:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r561279 - in head/databases: . libmswstr libmswstr/files X-SVN-Group: ports-head X-SVN-Commit-Author: rhurlin X-SVN-Commit-Paths: in head/databases: . libmswstr libmswstr/files X-SVN-Commit-Revision: 561279 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 21:36:28 -0000 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 +# $FreeBSD$ + +PORTNAME= libmswstr +PORTVERSION= 0.0.1 +CATEGORIES= databases + +MAINTAINER= rhurlin@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 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 + #include +-#include ++#include + #include + + #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