pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/databases/dbfsak
Module Name: pkgsrc
Committed By: adam
Date: Thu Mar 30 15:54:03 UTC 2017
Modified Files:
pkgsrc/databases/dbfsak: Makefile distinfo
Added Files:
pkgsrc/databases/dbfsak/patches: patch-dbf.c patch-dbf.h
Log Message:
Changes 5.0:
* /dbfsak/VERSION, /dbfsak/dbf.c, /dbfsak/dbf.h, /dbfsak/dbfsak.c:
More precisely specify variable sizes, since DBF files were
originally 8-bit, then 16-bit, then 32-bit. Current code being
worked on 64 bit platform.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/databases/dbfsak/Makefile \
pkgsrc/databases/dbfsak/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/databases/dbfsak/patches/patch-dbf.c \
pkgsrc/databases/dbfsak/patches/patch-dbf.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/databases/dbfsak/Makefile
diff -u pkgsrc/databases/dbfsak/Makefile:1.3 pkgsrc/databases/dbfsak/Makefile:1.4
--- pkgsrc/databases/dbfsak/Makefile:1.3 Sat Mar 12 21:53:39 2016
+++ pkgsrc/databases/dbfsak/Makefile Thu Mar 30 15:54:03 2017
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2016/03/12 21:53:39 tnn Exp $
+# $NetBSD: Makefile,v 1.4 2017/03/30 15:54:03 adam Exp $
-DISTNAME= dbfsak-4.6.src
+DISTNAME= dbfsak-5.0.src
PKGNAME= ${DISTNAME:S/.src//}
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dbfsak/}
Index: pkgsrc/databases/dbfsak/distinfo
diff -u pkgsrc/databases/dbfsak/distinfo:1.3 pkgsrc/databases/dbfsak/distinfo:1.4
--- pkgsrc/databases/dbfsak/distinfo:1.3 Tue Nov 3 01:56:11 2015
+++ pkgsrc/databases/dbfsak/distinfo Thu Mar 30 15:54:03 2017
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 01:56:11 agc Exp $
+$NetBSD: distinfo,v 1.4 2017/03/30 15:54:03 adam Exp $
-SHA1 (dbfsak-4.6.src.tar.gz) = f04412dc4207255c5cce887aa6f775a6dc94214f
-RMD160 (dbfsak-4.6.src.tar.gz) = c927a87d0b913d65bc8ca8f3976793f49f812b7c
-SHA512 (dbfsak-4.6.src.tar.gz) = 6ef8c7f4173c5e1ba48739f29585bf6ed455b7fbfe980a69c38cb2bd031cc0824eb4f5293cf48d087db8ba5f6c190a604b0b6d6089dddd38423f1583d19f7688
-Size (dbfsak-4.6.src.tar.gz) = 18566 bytes
+SHA1 (dbfsak-5.0.src.tar.gz) = 213d3df1d93c78f63604c469b8fb79efbe808112
+RMD160 (dbfsak-5.0.src.tar.gz) = 0999cb4415540c7d802ac507788b5dc1bc32d760
+SHA512 (dbfsak-5.0.src.tar.gz) = 017473433f37c37e846d2c971496042cc5729dc78ad4a25b75aa3b7ffe095330e1bf10f0dd80a7b94a21f3f42d319448436690147ffb09542940d80a0b381c9c
+Size (dbfsak-5.0.src.tar.gz) = 18067 bytes
+SHA1 (patch-dbf.c) = f608f456278867366be0f588de4a8a4a1e379f7c
+SHA1 (patch-dbf.h) = c109ad7fbab03e68531c6d6ba7f6a5fa20b6af37
Added files:
Index: pkgsrc/databases/dbfsak/patches/patch-dbf.c
diff -u /dev/null pkgsrc/databases/dbfsak/patches/patch-dbf.c:1.1
--- /dev/null Thu Mar 30 15:54:03 2017
+++ pkgsrc/databases/dbfsak/patches/patch-dbf.c Thu Mar 30 15:54:03 2017
@@ -0,0 +1,24 @@
+$NetBSD: patch-dbf.c,v 1.1 2017/03/30 15:54:03 adam Exp $
+
+Avoid accessing elements past array's size.
+
+--- dbf.c.orig 2017-03-30 15:50:09.000000000 +0000
++++ dbf.c
+@@ -205,7 +205,7 @@ dbf_table *dbf_from_rdb(char *afname, ch
+ strcpy(rdb_f, afname);
+ else {
+ memcpy(rdb_f, afname, MAXPATH - 1);
+- rdb_f[MAXPATH] = '\0';
++ rdb_f[MAXPATH - 1] = '\0';
+ }
+
+
+@@ -220,7 +220,7 @@ dbf_table *dbf_from_rdb(char *afname, ch
+ strcpy(t->filename, fname);
+ else {
+ memcpy(t->filename, fname, MAXPATH - 1);
+- t->filename[MAXPATH] = '\0';
++ t->filename[MAXPATH - 1] = '\0';
+ }
+
+ // first two lines are irrelevant
Index: pkgsrc/databases/dbfsak/patches/patch-dbf.h
diff -u /dev/null pkgsrc/databases/dbfsak/patches/patch-dbf.h:1.1
--- /dev/null Thu Mar 30 15:54:03 2017
+++ pkgsrc/databases/dbfsak/patches/patch-dbf.h Thu Mar 30 15:54:03 2017
@@ -0,0 +1,15 @@
+$NetBSD: patch-dbf.h,v 1.1 2017/03/30 15:54:03 adam Exp $
+
+Get rid of non-standard stdint-gcc.h.
+
+--- dbf.h.orig 2017-03-30 15:48:41.000000000 +0000
++++ dbf.h
+@@ -3,7 +3,7 @@
+
+ #include <stdio.h>
+ // 2017-01-18 paulf: include file to define precise integer/long types
+-#include <stdint-gcc.h>
++#include <stdint.h>
+ #include "bool.h"
+
+ #ifndef uchar
Home |
Main Index |
Thread Index |
Old Index