pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mail/pst-utils



Module Name:    pkgsrc
Committed By:   sborrill
Date:           Fri Nov 15 11:09:15 UTC 2019

Added Files:
        pkgsrc/mail/pst-utils: DESCR Makefile PLIST distinfo
        pkgsrc/mail/pst-utils/patches: patch-configure patch-man_Makefile.in
            patch-src_libpst.c

Log Message:
pst-utils contains a set of tools to read and convert Outlook PST
(Personal Folders) files. The main tools are:
 * readpst - convert PST files to mbox and other formats
 * lspst - list PST file data


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/pst-utils/DESCR \
    pkgsrc/mail/pst-utils/Makefile pkgsrc/mail/pst-utils/PLIST \
    pkgsrc/mail/pst-utils/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/pst-utils/patches/patch-configure \
    pkgsrc/mail/pst-utils/patches/patch-man_Makefile.in \
    pkgsrc/mail/pst-utils/patches/patch-src_libpst.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/mail/pst-utils/DESCR
diff -u /dev/null pkgsrc/mail/pst-utils/DESCR:1.1
--- /dev/null   Fri Nov 15 11:09:15 2019
+++ pkgsrc/mail/pst-utils/DESCR Fri Nov 15 11:09:15 2019
@@ -0,0 +1,8 @@
+pst-utils contains a set of tools to read and convert Outlook PST
+(Personal Folders) files. The main tools are:
+ * readpst - convert PST files to mbox and other formats
+ * lspst - list PST file data
+
+The package has been renamed from libpst to pst-utils to better
+reflect that its main purpose is to provide utilities rather than
+libraries for use by other packages.
Index: pkgsrc/mail/pst-utils/Makefile
diff -u /dev/null pkgsrc/mail/pst-utils/Makefile:1.1
--- /dev/null   Fri Nov 15 11:09:15 2019
+++ pkgsrc/mail/pst-utils/Makefile      Fri Nov 15 11:09:15 2019
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2019/11/15 11:09:15 sborrill Exp $
+#
+
+DISTNAME=              libpst-0.6.72
+PKGNAME=               ${DISTNAME:S/libpst/pst-utils/}
+CATEGORIES=            mail
+MASTER_SITES=          https://www.five-ten-sg.com/libpst/packages/
+
+MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=              https://www.five-ten-sg.com/libpst/
+COMMENT=               Tools for reading and converting PST files
+LICENSE=               gnu-lgpl-v2.1
+
+USE_LANGUAGES=         c c++
+GNU_CONFIGURE=         yes
+CONFIGURE_ARGS+=       --disable-dii
+CONFIGURE_ARGS+=       --disable-python
+CONFIGURE_ARGS+=       --enable-libpst-shared
+CONFIGURE_ARGS+=       --disable-static-tools
+
+USE_TOOLS+=            pkg-config
+
+.include "../../devel/libgsf/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/mail/pst-utils/PLIST
diff -u /dev/null pkgsrc/mail/pst-utils/PLIST:1.1
--- /dev/null   Fri Nov 15 11:09:15 2019
+++ pkgsrc/mail/pst-utils/PLIST Fri Nov 15 11:09:15 2019
@@ -0,0 +1,23 @@
+@comment $NetBSD: PLIST,v 1.1 2019/11/15 11:09:15 sborrill Exp $
+bin/lspst
+bin/nick2ldif
+bin/pst2ldif
+bin/readpst
+include/libpst-4/libpst/common.h
+include/libpst-4/libpst/libpst.h
+include/libpst-4/libpst/libstrfunc.h
+include/libpst-4/libpst/lzfu.h
+include/libpst-4/libpst/timeconv.h
+include/libpst-4/libpst/vbuf.h
+lib/libpst.la
+lib/pkgconfig/libpst.pc
+man/man1/lspst.1
+man/man1/pst2ldif.1
+man/man1/readpst.1
+man/man5/outlook.pst.5
+share/doc/libpst-${PKGVERSION}/AUTHORS
+share/doc/libpst-${PKGVERSION}/COPYING
+share/doc/libpst-${PKGVERSION}/ChangeLog
+share/doc/libpst-${PKGVERSION}/NEWS
+share/doc/libpst-${PKGVERSION}/README
+@pkgdir share/doc/libpst-${PKGVERSION}/devel
Index: pkgsrc/mail/pst-utils/distinfo
diff -u /dev/null pkgsrc/mail/pst-utils/distinfo:1.1
--- /dev/null   Fri Nov 15 11:09:15 2019
+++ pkgsrc/mail/pst-utils/distinfo      Fri Nov 15 11:09:15 2019
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1 2019/11/15 11:09:15 sborrill Exp $
+
+SHA1 (libpst-0.6.72.tar.gz) = 520b555de8efadc251ce4d81bdde65f402003b16
+RMD160 (libpst-0.6.72.tar.gz) = 3b1010e410de21cf3d9e8cc238165ca072e51e0e
+SHA512 (libpst-0.6.72.tar.gz) = f2aeb2dc1b9d3e4e33bfddffac6dc3484e8bede432fdaf05a2250d375872db9514a16ff3e19aa823c674fc5ac82d03e257dc06b76e00195439077fd63657b5a5
+Size (libpst-0.6.72.tar.gz) = 14025331 bytes
+SHA1 (patch-configure) = 7c6eef14a77dd683b1c9afb3d631fed90a47a46c
+SHA1 (patch-man_Makefile.in) = 7217bbcc6476e2d99d87d7df8003d6328d99fdef
+SHA1 (patch-src_libpst.c) = dd43530de2c1117838aabc759ad90f9391390ae6

Index: pkgsrc/mail/pst-utils/patches/patch-configure
diff -u /dev/null pkgsrc/mail/pst-utils/patches/patch-configure:1.1
--- /dev/null   Fri Nov 15 11:09:15 2019
+++ pkgsrc/mail/pst-utils/patches/patch-configure       Fri Nov 15 11:09:15 2019
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2019/11/15 11:09:15 sborrill Exp $
+
+Fix test ==
+
+--- configure.orig     2019-11-14 15:23:47.000000000 +0000
++++ configure  2019-11-14 15:24:53.000000000 +0000
+@@ -23593,7 +23593,7 @@
+   ax_python_lib=no
+ fi
+ 
+-   if test x$ax_python_lib == xno; then
++   if test x$ax_python_lib = xno; then
+      as_ac_Lib=`$as_echo "ac_cv_lib_${ax_python_bin}m''_main" | $as_tr_sh`
+ { $as_echo "$as_me:$LINENO: checking for main in -l${ax_python_bin}m" >&5
+ $as_echo_n "checking for main in -l${ax_python_bin}m... " >&6; }
Index: pkgsrc/mail/pst-utils/patches/patch-man_Makefile.in
diff -u /dev/null pkgsrc/mail/pst-utils/patches/patch-man_Makefile.in:1.1
--- /dev/null   Fri Nov 15 11:09:15 2019
+++ pkgsrc/mail/pst-utils/patches/patch-man_Makefile.in Fri Nov 15 11:09:15 2019
@@ -0,0 +1,15 @@
+$NetBSD: patch-man_Makefile.in,v 1.1 2019/11/15 11:09:15 sborrill Exp $
+
+Don't install pst2dii man page as binary is not installed
+
+--- man/Makefile.in.orig       2019-11-15 08:51:15.000000000 +0000
++++ man/Makefile.in    2019-11-15 08:52:12.000000000 +0000
+@@ -220,7 +220,7 @@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-man_MANS = readpst.1 pst2ldif.1 lspst.1 pst2dii.1 outlook.pst.5
++man_MANS = readpst.1 pst2ldif.1 lspst.1 outlook.pst.5
+ EXTRA_DIST = $(man_MANS)
+ all: all-am
+ 
Index: pkgsrc/mail/pst-utils/patches/patch-src_libpst.c
diff -u /dev/null pkgsrc/mail/pst-utils/patches/patch-src_libpst.c:1.1
--- /dev/null   Fri Nov 15 11:09:15 2019
+++ pkgsrc/mail/pst-utils/patches/patch-src_libpst.c    Fri Nov 15 11:09:15 2019
@@ -0,0 +1,20 @@
+$NetBSD: patch-src_libpst.c,v 1.1 2019/11/15 11:09:15 sborrill Exp $
+
+Fix segfault as per:
+https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=875894#25
+
+Fix will be in next release
+
+--- src/libpst.c.orig  2019-11-14 16:48:41.000000000 +0000
++++ src/libpst.c       2019-11-14 16:49:24.000000000 +0000
+@@ -409,6 +409,10 @@
+ 
+ int pst_close(pst_file *pf) {
+     DEBUG_ENT("pst_close");
++    if (!pf) {
++        DEBUG_RET();
++        return 0;
++    }
+     if (!pf->fp) {
+         DEBUG_RET();
+         return 0;



Home | Main Index | Thread Index | Old Index