pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/pst-utils pst-utils contains a set of tools to re...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c29d05e6d75d
branches: trunk
changeset: 404640:c29d05e6d75d
user: sborrill <sborrill%pkgsrc.org@localhost>
date: Fri Nov 15 11:09:15 2019 +0000
description:
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
diffstat:
mail/pst-utils/DESCR | 8 ++++++++
mail/pst-utils/Makefile | 24 ++++++++++++++++++++++++
mail/pst-utils/PLIST | 23 +++++++++++++++++++++++
mail/pst-utils/distinfo | 9 +++++++++
mail/pst-utils/patches/patch-configure | 15 +++++++++++++++
mail/pst-utils/patches/patch-man_Makefile.in | 15 +++++++++++++++
mail/pst-utils/patches/patch-src_libpst.c | 20 ++++++++++++++++++++
7 files changed, 114 insertions(+), 0 deletions(-)
diffs (142 lines):
diff -r 90596ce1f0d8 -r c29d05e6d75d mail/pst-utils/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/pst-utils/DESCR Fri Nov 15 11:09:15 2019 +0000
@@ -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.
diff -r 90596ce1f0d8 -r c29d05e6d75d mail/pst-utils/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/pst-utils/Makefile Fri Nov 15 11:09:15 2019 +0000
@@ -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"
diff -r 90596ce1f0d8 -r c29d05e6d75d mail/pst-utils/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/pst-utils/PLIST Fri Nov 15 11:09:15 2019 +0000
@@ -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
diff -r 90596ce1f0d8 -r c29d05e6d75d mail/pst-utils/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/pst-utils/distinfo Fri Nov 15 11:09:15 2019 +0000
@@ -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
diff -r 90596ce1f0d8 -r c29d05e6d75d mail/pst-utils/patches/patch-configure
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/pst-utils/patches/patch-configure Fri Nov 15 11:09:15 2019 +0000
@@ -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; }
diff -r 90596ce1f0d8 -r c29d05e6d75d mail/pst-utils/patches/patch-man_Makefile.in
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/pst-utils/patches/patch-man_Makefile.in Fri Nov 15 11:09:15 2019 +0000
@@ -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
+
diff -r 90596ce1f0d8 -r c29d05e6d75d mail/pst-utils/patches/patch-src_libpst.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/pst-utils/patches/patch-src_libpst.c Fri Nov 15 11:09:15 2019 +0000
@@ -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