Compare commits
No commits in common. "c8s" and "c9-beta" have entirely different histories.
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
/libpst-0.6.71.tar.gz
|
SOURCES/libpst-0.6.75.tar.gz
|
||||||
|
1
.libpst.metadata
Normal file
1
.libpst.metadata
Normal file
@ -0,0 +1 @@
|
|||||||
|
9edf3a611115c94472d831b6ac400fca3264d8f2 SOURCES/libpst-0.6.75.tar.gz
|
241
SOURCES/extern-c.patch
Normal file
241
SOURCES/extern-c.patch
Normal file
@ -0,0 +1,241 @@
|
|||||||
|
diff -up libpst-0.6.75/man/lspst.1 libpst-0.6.75/man/lspst
|
||||||
|
diff -up libpst-0.6.75/man/pst2dii.1 libpst-0.6.75/man/pst2dii
|
||||||
|
diff -up libpst-0.6.75/man/pst2ldif.1 libpst-0.6.75/man/pst2ldif
|
||||||
|
diff -up libpst-0.6.75/man/readpst.1 libpst-0.6.75/man/readpst
|
||||||
|
diff -up libpst-0.6.75/src/define.h.1 libpst-0.6.75/src/define.h
|
||||||
|
--- libpst-0.6.75/src/define.h.1 2020-03-26 18:52:30.000000000 +0100
|
||||||
|
+++ libpst-0.6.75/src/define.h 2021-02-22 18:25:55.705347052 +0100
|
||||||
|
@@ -60,6 +60,10 @@
|
||||||
|
#ifdef _WIN32
|
||||||
|
#include <direct.h>
|
||||||
|
|
||||||
|
+ #ifdef __cplusplus
|
||||||
|
+ extern "C" {
|
||||||
|
+ #endif
|
||||||
|
+
|
||||||
|
#define D_MKDIR(x) mkdir(x)
|
||||||
|
#define chdir _chdir
|
||||||
|
#define strcasecmp _stricmp
|
||||||
|
@@ -83,10 +87,20 @@
|
||||||
|
int __cdecl _fseeki64(FILE *, __int64, int);
|
||||||
|
__int64 __cdecl _ftelli64(FILE *);
|
||||||
|
|
||||||
|
+ #ifdef __cplusplus
|
||||||
|
+ }
|
||||||
|
+ #endif
|
||||||
|
+
|
||||||
|
#ifdef __MINGW32__
|
||||||
|
#include <getopt.h>
|
||||||
|
#else
|
||||||
|
+ #ifdef __cplusplus
|
||||||
|
+ extern "C" {
|
||||||
|
+ #endif
|
||||||
|
#include "XGetopt.h"
|
||||||
|
+ #ifdef __cplusplus
|
||||||
|
+ }
|
||||||
|
+ #endif
|
||||||
|
#endif
|
||||||
|
#include <process.h>
|
||||||
|
#undef gmtime_r
|
||||||
|
@@ -102,7 +116,15 @@
|
||||||
|
#ifdef HAVE_UNISTD_H
|
||||||
|
#include <unistd.h>
|
||||||
|
#else
|
||||||
|
+ #ifdef __cplusplus
|
||||||
|
+ extern "C" {
|
||||||
|
+ #endif
|
||||||
|
+
|
||||||
|
#include "XGetopt.h"
|
||||||
|
+
|
||||||
|
+ #ifdef __cplusplus
|
||||||
|
+ }
|
||||||
|
+ #endif
|
||||||
|
#endif
|
||||||
|
#define D_MKDIR(x) mkdir(x, PERM_DIRS)
|
||||||
|
#endif
|
||||||
|
@@ -131,6 +153,9 @@
|
||||||
|
#include <semaphore.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#ifdef __cplusplus
|
||||||
|
+extern "C" {
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
void pst_debug_lock();
|
||||||
|
void pst_debug_unlock();
|
||||||
|
@@ -258,4 +283,8 @@ void *pst_realloc(void *ptr, size_t size
|
||||||
|
|
||||||
|
#define MAXDATEFMTLEN 40
|
||||||
|
|
||||||
|
+#ifdef __cplusplus
|
||||||
|
+} /* extern "C" */
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
#endif //DEFINEH_H
|
||||||
|
diff -up libpst-0.6.75/src/deltasearch.cpp.1 libpst-0.6.75/src/deltasearch.cpp
|
||||||
|
--- libpst-0.6.75/src/deltasearch.cpp.1 2020-03-26 18:52:30.000000000 +0100
|
||||||
|
+++ libpst-0.6.75/src/deltasearch.cpp 2021-02-22 18:01:36.962177562 +0100
|
||||||
|
@@ -1,6 +1,4 @@
|
||||||
|
-extern "C" {
|
||||||
|
- #include "define.h"
|
||||||
|
-};
|
||||||
|
+#include "define.h"
|
||||||
|
|
||||||
|
#include <fcntl.h>
|
||||||
|
#include <iostream>
|
||||||
|
diff -up libpst-0.6.75/src/libstrfunc.h.1 libpst-0.6.75/src/libstrfunc.h
|
||||||
|
--- libpst-0.6.75/src/libstrfunc.h.1 2021-02-22 18:35:32.849905730 +0100
|
||||||
|
+++ libpst-0.6.75/src/libstrfunc.h 2021-02-22 18:35:49.383893089 +0100
|
||||||
|
@@ -4,9 +4,17 @@
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
|
|
||||||
|
+#ifdef __cplusplus
|
||||||
|
+extern "C" {
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
char *pst_base64_encode(void *data, size_t size);
|
||||||
|
char *pst_base64_encode_single(void *data, size_t size);
|
||||||
|
char *pst_base64_encode_multiple(void *data, size_t size, int *line_count);
|
||||||
|
|
||||||
|
+#ifdef __cplusplus
|
||||||
|
+}
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
#endif
|
||||||
|
|
||||||
|
diff -up libpst-0.6.75/src/lzfu.h.1 libpst-0.6.75/src/lzfu.h
|
||||||
|
--- libpst-0.6.75/src/lzfu.h.1 2020-03-26 18:52:30.000000000 +0100
|
||||||
|
+++ libpst-0.6.75/src/lzfu.h 2021-02-22 18:01:36.962177562 +0100
|
||||||
|
@@ -1,6 +1,10 @@
|
||||||
|
#ifndef LZFU_H
|
||||||
|
#define LZFU_H
|
||||||
|
|
||||||
|
+#ifdef __cplusplus
|
||||||
|
+extern "C" {
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
/** decompress lz compressed rtf data. The initial lz dictionary is preloaded
|
||||||
|
with rtf specific data.
|
||||||
|
* @param rtfcomp pointer to the rtf compressed data
|
||||||
|
@@ -11,4 +15,8 @@
|
||||||
|
*/
|
||||||
|
char* pst_lzfu_decompress (char* rtfcomp, uint32_t compsize, size_t *size);
|
||||||
|
|
||||||
|
+#ifdef __cplusplus
|
||||||
|
+}
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
#endif
|
||||||
|
diff -up libpst-0.6.75/src/msg.cpp.1 libpst-0.6.75/src/msg.cpp
|
||||||
|
--- libpst-0.6.75/src/msg.cpp.1 2020-03-26 18:52:30.000000000 +0100
|
||||||
|
+++ libpst-0.6.75/src/msg.cpp 2021-02-22 18:01:36.962177562 +0100
|
||||||
|
@@ -1,16 +1,14 @@
|
||||||
|
-extern "C" {
|
||||||
|
- #include "define.h"
|
||||||
|
- #include "msg.h"
|
||||||
|
- #include <gsf/gsf-utils.h>
|
||||||
|
+#include "define.h"
|
||||||
|
+#include "msg.h"
|
||||||
|
+#include <gsf/gsf-utils.h>
|
||||||
|
|
||||||
|
- #include <gsf/gsf-input-stdio.h>
|
||||||
|
- #include <gsf/gsf-infile.h>
|
||||||
|
- #include <gsf/gsf-infile-stdio.h>
|
||||||
|
+#include <gsf/gsf-input-stdio.h>
|
||||||
|
+#include <gsf/gsf-infile.h>
|
||||||
|
+#include <gsf/gsf-infile-stdio.h>
|
||||||
|
|
||||||
|
- #include <gsf/gsf-output-stdio.h>
|
||||||
|
- #include <gsf/gsf-outfile.h>
|
||||||
|
- #include <gsf/gsf-outfile-msole.h>
|
||||||
|
-}
|
||||||
|
+#include <gsf/gsf-output-stdio.h>
|
||||||
|
+#include <gsf/gsf-outfile.h>
|
||||||
|
+#include <gsf/gsf-outfile-msole.h>
|
||||||
|
|
||||||
|
#include <list>
|
||||||
|
#include <vector>
|
||||||
|
diff -up libpst-0.6.75/src/msg.h.1 libpst-0.6.75/src/msg.h
|
||||||
|
--- libpst-0.6.75/src/msg.h.1 2021-02-22 18:21:59.812527452 +0100
|
||||||
|
+++ libpst-0.6.75/src/msg.h 2021-02-22 18:22:17.689513780 +0100
|
||||||
|
@@ -1,2 +1,10 @@
|
||||||
|
|
||||||
|
+#ifdef __cplusplus
|
||||||
|
+extern "C" {
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
void write_msg_email(char *fname, pst_item* item, pst_file* pst);
|
||||||
|
+
|
||||||
|
+#ifdef __cplusplus
|
||||||
|
+}
|
||||||
|
+#endif
|
||||||
|
diff -up libpst-0.6.75/src/nick2ldif.cpp.1 libpst-0.6.75/src/nick2ldif.cpp
|
||||||
|
--- libpst-0.6.75/src/nick2ldif.cpp.1 2020-03-26 18:52:30.000000000 +0100
|
||||||
|
+++ libpst-0.6.75/src/nick2ldif.cpp 2021-02-22 18:01:36.963177561 +0100
|
||||||
|
@@ -8,9 +8,7 @@ http://www.fsf.org/licenses/gpl.txt
|
||||||
|
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
-extern "C" {
|
||||||
|
- #include "define.h"
|
||||||
|
-}
|
||||||
|
+#include "define.h"
|
||||||
|
|
||||||
|
char *ldap_base = NULL;
|
||||||
|
char *ldap_org = NULL;
|
||||||
|
diff -up libpst-0.6.75/src/pst2dii.cpp.1 libpst-0.6.75/src/pst2dii.cpp
|
||||||
|
--- libpst-0.6.75/src/pst2dii.cpp.1 2020-03-26 18:54:32.000000000 +0100
|
||||||
|
+++ libpst-0.6.75/src/pst2dii.cpp 2021-02-22 18:01:36.963177561 +0100
|
||||||
|
@@ -13,10 +13,8 @@ Based on readpst.c by David Smith
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
-extern "C" {
|
||||||
|
- #include "define.h"
|
||||||
|
- #include "lzfu.h"
|
||||||
|
-}
|
||||||
|
+#include "define.h"
|
||||||
|
+#include "lzfu.h"
|
||||||
|
|
||||||
|
struct file_ll {
|
||||||
|
string name;
|
||||||
|
diff -up libpst-0.6.75/src/pst2ldif.cpp.1 libpst-0.6.75/src/pst2ldif.cpp
|
||||||
|
--- libpst-0.6.75/src/pst2ldif.cpp.1 2020-03-26 18:52:30.000000000 +0100
|
||||||
|
+++ libpst-0.6.75/src/pst2ldif.cpp 2021-02-22 18:01:36.963177561 +0100
|
||||||
|
@@ -15,10 +15,8 @@ using namespace std;
|
||||||
|
#include <vector>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
|
-extern "C" {
|
||||||
|
- #include "define.h"
|
||||||
|
- #include "lzfu.h"
|
||||||
|
-}
|
||||||
|
+#include "define.h"
|
||||||
|
+#include "lzfu.h"
|
||||||
|
|
||||||
|
void usage(void);
|
||||||
|
void version(void);
|
||||||
|
diff -up libpst-0.6.75/src/vbuf.h.1 libpst-0.6.75/src/vbuf.h
|
||||||
|
--- libpst-0.6.75/src/vbuf.h.1 2021-02-22 18:23:24.020463050 +0100
|
||||||
|
+++ libpst-0.6.75/src/vbuf.h 2021-02-22 18:23:26.377461247 +0100
|
||||||
|
@@ -4,6 +4,9 @@
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
|
|
||||||
|
+#ifdef __cplusplus
|
||||||
|
+extern "C" {
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
// Variable-length buffers
|
||||||
|
struct pst_varbuf {
|
||||||
|
@@ -25,5 +28,8 @@ size_t pst_vb_utf16to8(pst_vbuf *des
|
||||||
|
size_t pst_vb_utf8to8bit(pst_vbuf *dest, const char *inbuf, int iblen, const char* charset);
|
||||||
|
size_t pst_vb_8bit2utf8(pst_vbuf *dest, const char *inbuf, int iblen, const char* charset);
|
||||||
|
|
||||||
|
+#ifdef __cplusplus
|
||||||
|
+}
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
diff -up libpst-0.6.75/src/XGetopt.h.1 libpst-0.6.75/src/XGetopt.h
|
@ -1,27 +1,63 @@
|
|||||||
%global python2_sybpackage 0
|
%if 0%{?fedora} > 27 || 0%{?rhel} >= 9
|
||||||
|
%global use_python3 1
|
||||||
|
%define __python %{__python3}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?rhel} >= 9
|
||||||
|
%global with_dii 0
|
||||||
|
%else
|
||||||
|
%global with_dii 1
|
||||||
|
%endif
|
||||||
|
|
||||||
Summary: Utilities to convert Outlook .pst files to other formats
|
Summary: Utilities to convert Outlook .pst files to other formats
|
||||||
Name: libpst
|
Name: libpst
|
||||||
Version: 0.6.71
|
Version: 0.6.75
|
||||||
Release: 8%{?dist}
|
Release: 12%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Source: http://www.five-ten-sg.com/%{name}/packages/%{name}-%{version}.tar.gz
|
|
||||||
URL: http://www.five-ten-sg.com/%{name}/
|
URL: http://www.five-ten-sg.com/%{name}/
|
||||||
Requires: libgsf
|
Source: %{url}/packages/%{name}-%{version}.tar.gz
|
||||||
Requires: %{name}-libs = %{version}-%{release}
|
|
||||||
BuildRequires: libtool
|
|
||||||
BuildRequires: gd-devel zlib-devel boost-devel libgsf-devel
|
|
||||||
|
|
||||||
%if %{python2_sybpackage}
|
Patch01: extern-c.patch
|
||||||
BuildRequires: python2-devel
|
|
||||||
|
BuildRequires: make
|
||||||
|
BuildRequires: libtool gcc-c++
|
||||||
|
BuildRequires: gd-devel zlib-devel boost-devel libgsf-devel gettext-devel
|
||||||
|
|
||||||
|
%if 0%{with_dii}
|
||||||
|
BuildRequires: ImageMagick
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?use_python3}
|
||||||
|
BuildRequires: python3 python3-devel boost-python3 boost-python3-devel
|
||||||
|
Requires: boost-python3
|
||||||
|
%else
|
||||||
|
BuildRequires: python-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
|
Requires: libgsf gettext
|
||||||
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
%if 0%{with_dii}
|
||||||
|
Requires: ImageMagick%{?_isa}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
|
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
|
|
||||||
|
|
||||||
|
%if 0%{with_dii}
|
||||||
%description
|
%description
|
||||||
The Libpst utilities include readpst which can convert email messages
|
The Libpst utilities include readpst which can convert email messages
|
||||||
to both mbox and MH mailbox formats, pst2ldif which can convert the
|
to both mbox and MH mailbox formats, pst2ldif which can convert the
|
||||||
contacts to .ldif format for import into ldap databases, and pst2dii
|
contacts to .ldif format for import into ldap databases, and pst2dii
|
||||||
which can convert email messages to the DII load file format used by
|
which can convert email messages to the DII load file format used by
|
||||||
Summation.
|
Summation.
|
||||||
|
%else
|
||||||
|
%description
|
||||||
|
The Libpst utilities include readpst which can convert email messages
|
||||||
|
to both mbox and MH mailbox formats, pst2ldif which can convert the
|
||||||
|
contacts to .ldif format for import into ldap databases.
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%package libs
|
%package libs
|
||||||
@ -32,27 +68,40 @@ The libpst-libs package contains the shared library used by the pst
|
|||||||
utilities.
|
utilities.
|
||||||
|
|
||||||
|
|
||||||
%if %{python2_sybpackage}
|
%if 0%{?use_python3}
|
||||||
|
%package -n python3-%{name}
|
||||||
%package -n python2-libpst
|
Requires: python3
|
||||||
%{?python_provide:%python_provide python2-libpst}
|
Provides: %{name}-python = %{version}-%{release}
|
||||||
# Remove before F30
|
%else
|
||||||
Provides: %{name}-python2 = %{version}-%{release}
|
%package python
|
||||||
Provides: %{name}-python2%{?_isa} = %{version}-%{release}
|
Requires: python
|
||||||
Obsoletes: %{name}-python2 < %{version}-%{release}
|
|
||||||
Summary: Python bindings for libpst
|
|
||||||
Requires: %{name}-libs = %{version}-%{release}
|
|
||||||
|
|
||||||
%description -n python2-libpst
|
|
||||||
The libpst-python package allows you to use the libpst shared object
|
|
||||||
from python code.
|
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
Summary: Python bindings for libpst
|
||||||
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
%if 0%{?fedora} >= 20 || 0%{?rhel} >= 9
|
||||||
|
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{python_sitearch}/_.*\.so$
|
||||||
|
%else
|
||||||
|
%{?filter_setup:
|
||||||
|
%filter_provides_in %{python_sitearch}/_.*\.so$
|
||||||
|
%filter_setup
|
||||||
|
}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
%if 0%{?use_python3}
|
||||||
|
%description -n python3-%{name}
|
||||||
|
%else
|
||||||
|
%description python
|
||||||
|
%endif
|
||||||
|
The libpst-python package allows you to use the libpst shared object
|
||||||
|
from Python code.
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Library links and header files for libpst application development
|
Summary: Library links and header files for libpst application development
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
Requires: %{name}-libs = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The libpst-devel package contains the library links and header files
|
The libpst-devel package contains the library links and header files
|
||||||
@ -82,31 +131,46 @@ libpst utilities.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch01 -p1 -b .1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -v -f -i
|
autoreconf -fiv
|
||||||
%configure \
|
%configure --enable-libpst-shared \
|
||||||
%if %{python2_sybpackage}
|
%if 0%{with_dii}
|
||||||
--enable-python \
|
--enable-dii \
|
||||||
%else
|
%else
|
||||||
--disable-python \
|
--disable-dii \
|
||||||
%endif
|
%endif
|
||||||
--enable-libpst-shared
|
--with-boost-python=boost_python%{python3_version_nodots}
|
||||||
|
%if 0%{?use_python3}
|
||||||
%make_build
|
%make_build
|
||||||
|
%else
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%if 0%{?use_python3}
|
||||||
%make_install
|
%make_install
|
||||||
rm $RPM_BUILD_ROOT%{_libdir}/libpst.la
|
%else
|
||||||
rm $RPM_BUILD_ROOT%{_libdir}/libpst.a
|
rm -rf $RPM_BUILD_ROOT
|
||||||
mv $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/doc/%{name}
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
|
%endif
|
||||||
|
#Remove libtool archives.
|
||||||
|
find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f
|
||||||
|
mv %{buildroot}%{_datadir}/doc/%{name}-%{version} %{buildroot}%{_datadir}/doc/%{name}
|
||||||
|
|
||||||
|
# Remove pst2dii man page, when it's not built
|
||||||
|
%if !0%{with_dii}
|
||||||
|
rm %{buildroot}%{_mandir}/man1/pst2dii.1*
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?use_python3}
|
||||||
|
%ldconfig_scriptlets libs
|
||||||
|
%else
|
||||||
%post libs -p /sbin/ldconfig
|
%post libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun libs -p /sbin/ldconfig
|
%postun libs -p /sbin/ldconfig
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
@ -119,13 +183,13 @@ mv $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/
|
|||||||
%doc COPYING
|
%doc COPYING
|
||||||
|
|
||||||
|
|
||||||
%if %{python2_sybpackage}
|
%if 0%{?use_python3}
|
||||||
|
%files -n python3-%{name}
|
||||||
%files -n python2-libpst
|
%defattr(-,root,root,-)
|
||||||
%{python2_sitearch}/_*.so
|
%{python3_sitearch}/_*.so
|
||||||
%exclude %{python2_sitearch}/*.a
|
%else
|
||||||
%exclude %{python2_sitearch}/*.la
|
%files python
|
||||||
|
%{python_sitearch}/_*.so
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
@ -150,11 +214,89 @@ mv $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Apr 09 2018 Milan Crha <mcrha@redhat.com> - 0.6.71-8
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com>
|
||||||
- Remove dependency on ImageMagick
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
|
Related: rhbz#1991688
|
||||||
|
|
||||||
* Wed Mar 28 2018 Milan Crha <mcrha@redhat.com> - 0.6.71-7
|
* Tue Apr 20 2021 Milan Crha <mcrha@redhat.com> - 0.6.75-11
|
||||||
- Disable python2 subpackage
|
- Add patch to correct 'extern "C"' usage
|
||||||
|
|
||||||
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com>
|
||||||
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
|
|
||||||
|
* Tue Feb 02 2021 Milan Crha <mcrha@redhat.com> - 0.6.75-9
|
||||||
|
- Resolves: #1913613 (Disable DII (and ImageMagic dependency) for RHEL 9)
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.75-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 22 2021 Jonathan Wakely <jwakely@redhat.com> - 0.6.75-7
|
||||||
|
- Rebuilt for Boost 1.75
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Merlin Mathesius <mmathesi@redhat.com> - 0.6.75-6
|
||||||
|
- FTBFS fix: %%{__python} must now be explicitly defined
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.75-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 16 2020 Merlin Mathesius <mmathesi@redhat.com> - 0.6.75-4
|
||||||
|
- Cleanup conditionals for using python3
|
||||||
|
|
||||||
|
* Fri May 29 2020 Jonathan Wakely <jwakely@redhat.com> - 0.6.75-3
|
||||||
|
- Rebuilt for Boost 1.73
|
||||||
|
|
||||||
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.6.75-2
|
||||||
|
- Rebuilt for Python 3.9
|
||||||
|
|
||||||
|
* Sun Mar 22 2020 Carl Byington <carl@five-ten-sg.com> 0.6.75-1
|
||||||
|
- Markus Schnalke - fix from Debian for vcard version format.
|
||||||
|
|
||||||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.74-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jan 12 2020 Carl Byington <carl@five-ten-sg.com> 0.6.74-1
|
||||||
|
- Paul Wise - many changes for debian:
|
||||||
|
- Add missing linking with zlib and libpthread/librt
|
||||||
|
- Use PKG_CHECK_MODULES to find the gsf-1 library
|
||||||
|
- Fix usage of indefinite articles
|
||||||
|
- Fix a number of spelling mistakes
|
||||||
|
- Use plain make when building from Mercurial
|
||||||
|
- Add operator and quotes to the AX_PYTHON_DEVEL parameter
|
||||||
|
- Remove files copied in by autotools
|
||||||
|
- Add AM_GNU_GETTEXT macros
|
||||||
|
- Rename configure.in to configure.ac
|
||||||
|
- add extern "C" to header for use with C++ code
|
||||||
|
|
||||||
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.6.72-6
|
||||||
|
- Rebuilt for Python 3.8
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.72-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Carl Byington <carl@five-ten-sg.com> 0.6.73-1
|
||||||
|
- Tim Dufrane - fix segfault in pst_close()
|
||||||
|
|
||||||
|
* Sat Jun 08 2019 Leigh Scott <leigh123linux@googlemail.com> - 0.6.72-4
|
||||||
|
- Add configure option for boost-python
|
||||||
|
- Remove all old fedora conditionals
|
||||||
|
- Update spec file to comply with packaging guidelines
|
||||||
|
|
||||||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.72-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jan 30 2019 Jonathan Wakely <jwakely@redhat.com> - 0.6.72-2
|
||||||
|
- Rebuilt for Boost 1.69
|
||||||
|
|
||||||
|
* Wed Aug 01 2018 Carl Byington <carl@five-ten-sg.com> 0.6.72-1
|
||||||
|
- allow all 7 days in bydays recurring appointment
|
||||||
|
- update for Fedora Python packaging
|
||||||
|
- Alfredo Esteban - add -l and -f options to lspst
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.71-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.71-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.6.71-6
|
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.6.71-6
|
||||||
- Add Provides for the old name without %%_isa
|
- Add Provides for the old name without %%_isa
|
||||||
@ -174,7 +316,7 @@ mv $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/
|
|||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
* Fri Jul 21 2017 Carl Byington <carl@five-ten-sg.com> 0.6.71-1
|
* Fri Jul 21 2017 Carl Byington <carl@five-ten-sg.com> 0.6.71-1
|
||||||
- fedora python naming scheme changes
|
- Fedora Python naming scheme changes
|
||||||
- Zachary Travis - Add support for the OST 2013 format, and
|
- Zachary Travis - Add support for the OST 2013 format, and
|
||||||
Content-Disposition filename key fix for outlook compatibility
|
Content-Disposition filename key fix for outlook compatibility
|
||||||
|
|
||||||
@ -232,7 +374,7 @@ mv $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/
|
|||||||
- Rebuilt for GCC 5 C++11 ABI change
|
- Rebuilt for GCC 5 C++11 ABI change
|
||||||
|
|
||||||
* Mon Mar 09 2015 Carl Byington <carl@five-ten-sg.com> 0.6.64-1
|
* Mon Mar 09 2015 Carl Byington <carl@five-ten-sg.com> 0.6.64-1
|
||||||
- fix line wrap on python provides_exclude_from
|
- fix line wrap on Python provides_exclude_from
|
||||||
- fix unchecked errors found by cppcheck
|
- fix unchecked errors found by cppcheck
|
||||||
- AJ Shankar fixes for attachment processing and body encodings
|
- AJ Shankar fixes for attachment processing and body encodings
|
||||||
that contain embedded null chars.
|
that contain embedded null chars.
|
||||||
@ -294,7 +436,7 @@ mv $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/
|
|||||||
- merge -m .msg files code into main branch
|
- merge -m .msg files code into main branch
|
||||||
|
|
||||||
* Thu Aug 09 2012 Carl Byington <carl@five-ten-sg.com> - 0.6.55-2
|
* Thu Aug 09 2012 Carl Byington <carl@five-ten-sg.com> - 0.6.55-2
|
||||||
- rebuild for python
|
- rebuild for Python
|
||||||
|
|
||||||
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.54-6
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.54-6
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
@ -311,7 +453,7 @@ mv $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/
|
|||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||||
|
|
||||||
* Sat Dec 24 2011 Carl Byington <carl@five-ten-sg.com> - 0.6.54-3
|
* Sat Dec 24 2011 Carl Byington <carl@five-ten-sg.com> - 0.6.54-3
|
||||||
- bump versions and prep for fedora build
|
- bump versions and prep for Fedora build
|
||||||
|
|
||||||
* Wed Nov 30 2011 Petr Pisar <ppisar@redhat.com> - 0.6.53-3
|
* Wed Nov 30 2011 Petr Pisar <ppisar@redhat.com> - 0.6.53-3
|
||||||
- Rebuild against boost-1.48
|
- Rebuild against boost-1.48
|
||||||
@ -340,7 +482,7 @@ mv $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/
|
|||||||
- fix for buffer overrun; attachment size from the secondary
|
- fix for buffer overrun; attachment size from the secondary
|
||||||
list of mapi elements overwrote proper size from the primary
|
list of mapi elements overwrote proper size from the primary
|
||||||
list of mapi elements.
|
list of mapi elements.
|
||||||
fedora bugzilla 696263
|
Fedora bugzilla 696263
|
||||||
|
|
||||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.49-4
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.49-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
@ -357,7 +499,7 @@ mv $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/
|
|||||||
|
|
||||||
* Mon Sep 13 2010 Carl Byington <carl@five-ten-sg.com> - 0.6.49-1
|
* Mon Sep 13 2010 Carl Byington <carl@five-ten-sg.com> - 0.6.49-1
|
||||||
- fix to ignore embedded objects that are not email messages
|
- fix to ignore embedded objects that are not email messages
|
||||||
fedora bugzilla 633498
|
Fedora bugzilla 633498
|
||||||
|
|
||||||
* Thu Sep 02 2010 Carl Byington <carl@five-ten-sg.com> - 0.6.48-1
|
* Thu Sep 02 2010 Carl Byington <carl@five-ten-sg.com> - 0.6.48-1
|
||||||
- fix for broken internet headers from Outlook
|
- fix for broken internet headers from Outlook
|
||||||
@ -366,10 +508,10 @@ mv $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/
|
|||||||
- use no from quoting for output formats with single message per file
|
- use no from quoting for output formats with single message per file
|
||||||
|
|
||||||
* Sat Jul 31 2010 Carl Byington <carl@five-ten-sg.com> - 0.6.47-6
|
* Sat Jul 31 2010 Carl Byington <carl@five-ten-sg.com> - 0.6.47-6
|
||||||
- rebuild for python dependencies
|
- rebuild for Python dependencies
|
||||||
|
|
||||||
* Mon Jul 26 2010 David Malcolm <dmalcolm@redhat.com> - 0.6.47-4
|
* Mon Jul 26 2010 David Malcolm <dmalcolm@redhat.com> - 0.6.47-4
|
||||||
- hack up configure so that it looks for python 2.7
|
- hack up configure so that it looks for Python 2.7
|
||||||
|
|
||||||
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.6.47-3
|
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.6.47-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
||||||
@ -412,17 +554,17 @@ mv $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/
|
|||||||
|
|
||||||
* Tue Jun 23 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.41-1
|
* Tue Jun 23 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.41-1
|
||||||
- fix ax_python detection - should not use locate command
|
- fix ax_python detection - should not use locate command
|
||||||
- checking for fedora versions is not needed
|
- checking for Fedora versions is not needed
|
||||||
|
|
||||||
* Tue Jun 23 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.40-1
|
* Tue Jun 23 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.40-1
|
||||||
- fedora 11 has python2.6
|
- Fedora 11 has python2.6
|
||||||
- remove pdf version of the man pages
|
- remove pdf version of the man pages
|
||||||
|
|
||||||
* Sun Jun 21 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.39-1
|
* Sun Jun 21 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.39-1
|
||||||
- fedora > 10 moved to boost-python-devel
|
- Fedora > 10 moved to boost-python-devel
|
||||||
|
|
||||||
* Sun Jun 21 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.38-1
|
* Sun Jun 21 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.38-1
|
||||||
- add python interface to the shared library.
|
- add Python interface to the shared library.
|
||||||
- bump soname to version 4 for many changes to the interface.
|
- bump soname to version 4 for many changes to the interface.
|
||||||
- better decoding of recurrence data in appointments.
|
- better decoding of recurrence data in appointments.
|
||||||
- remove readpstlog since debug log files are now plain text.
|
- remove readpstlog since debug log files are now plain text.
|
||||||
@ -453,7 +595,7 @@ mv $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/
|
|||||||
- fix ppc64 compile error
|
- fix ppc64 compile error
|
||||||
|
|
||||||
* Sat Mar 14 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.31-1
|
* Sat Mar 14 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.31-1
|
||||||
- bump version for fedora cvs tagging mistake
|
- bump version for Fedora cvs tagging mistake
|
||||||
|
|
||||||
* Sat Mar 14 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.30-1
|
* Sat Mar 14 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.30-1
|
||||||
- track character set individually for each mapi element.
|
- track character set individually for each mapi element.
|
||||||
@ -528,13 +670,13 @@ mv $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/
|
|||||||
- Fix for missing length on lz decompression, bug found by Chris White.
|
- Fix for missing length on lz decompression, bug found by Chris White.
|
||||||
|
|
||||||
* Sun Jun 15 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.14-1
|
* Sun Jun 15 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.14-1
|
||||||
- Fix my mistake in debian packaging.
|
- Fix my mistake in Debian packaging.
|
||||||
|
|
||||||
* Fri Jun 13 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.13-1
|
* Fri Jun 13 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.13-1
|
||||||
- Patch from Robert Simpson for encryption type 2.
|
- Patch from Robert Simpson for encryption type 2.
|
||||||
|
|
||||||
* Tue Jun 10 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.12-1
|
* Tue Jun 10 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.12-1
|
||||||
- Patch from Joachim Metz for debian packaging and
|
- Patch from Joachim Metz for Debian packaging and
|
||||||
- fix for incorrect length on lz decompression
|
- fix for incorrect length on lz decompression
|
||||||
|
|
||||||
* Tue Jun 03 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.11-1
|
* Tue Jun 03 2008 Carl Byington <carl@five-ten-sg.com> - 0.6.11-1
|
@ -1,6 +0,0 @@
|
|||||||
--- !Policy
|
|
||||||
product_versions:
|
|
||||||
- rhel-8
|
|
||||||
decision_context: osci_compose_gate
|
|
||||||
rules:
|
|
||||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
|
1
sources
1
sources
@ -1 +0,0 @@
|
|||||||
SHA512 (libpst-0.6.71.tar.gz) = 7e03d8e7c37acdae3bd2fd9f3eca03de2c683146416d2a17ed4e673a69cb553dc59932fd8388a751de399e9063f559eaa8d2511f6d3407eebfa6b211763d83aa
|
|
BIN
tests/data.pst
BIN
tests/data.pst
Binary file not shown.
@ -1,35 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
case "${1}" in
|
|
||||||
("lspst_folders") test "`lspst data.pst | grep -c Folder`" = "5" ;;
|
|
||||||
("lspst_mails") test "`lspst data.pst | grep -c Email`" = "3" ;;
|
|
||||||
("lspst_contacts") test "`lspst data.pst | grep -c Contact`" = "4" ;;
|
|
||||||
("lspst_events") test "`lspst data.pst | grep -c Appointment`" = "1" ;;
|
|
||||||
("pst2ldif_run") test "`pst2ldif -b base -c class data.pst | grep -c no.where`" = "3" ;;
|
|
||||||
("readpst_basic") test "`readpst data.pst -o /tmp | grep -c Folder`" = "13" ;;
|
|
||||||
("readpst_contacts") readpst -tc -cv data.pst >/dev/null && test "`cat Contacts.contacts | grep -c BEGIN:VCARD`" = "3" ;;
|
|
||||||
("readpst_contacts_emails") readpst -tc -cv -w data.pst >/dev/null && test "`cat Contacts.contacts | grep -c '@no.where'`" = "3" ;;
|
|
||||||
("readpst_contacts_plain") readpst -tc -cl -w data.pst >/dev/null && test "`cat Contacts.contacts | wc -l`" = "3" ;;
|
|
||||||
("readpst_contacts_plain_emails") readpst -tc -cl -w >/dev/null data.pst && test "`cat Contacts.contacts | grep -c '@no.where'`" = "3" ;;
|
|
||||||
("readpst_events") readpst -ta data.pst >/dev/null && test "`cat Calendar.calendar | grep -c BEGIN:VEVENT`" = "1" ;;
|
|
||||||
("readpst_events_summary") readpst -ta -w data.pst >/dev/null && test "`cat Calendar.calendar | grep -c 'SUMMARY:event on 2020-02-13'`" = "1" ;;
|
|
||||||
("readpst_mails") readpst -te data.pst >/dev/null && test "`ls -l *.mbox | wc -l`" = "2" ;;
|
|
||||||
("readpst_mails_inbox") readpst -te -w data.pst >/dev/null && test "`cat Inbox.mbox | grep -c 'From '`" = "2" ;;
|
|
||||||
("readpst_mails_inbox_to") readpst -te -w data.pst >/dev/null && test "`cat Inbox.mbox | grep -c 'To: zyx@no.where'`" = "2" ;;
|
|
||||||
("readpst_mails_inbox_cc") readpst -te -w data.pst >/dev/null && test "`cat Inbox.mbox | grep -c -i 'CC'`" = "0" ;;
|
|
||||||
("readpst_mails_inbox_email") readpst -te -w data.pst >/dev/null && test "`cat Inbox.mbox | grep -c 'zyx@no.where'`" = "2" ;;
|
|
||||||
("readpst_mails_inbox_subject") readpst -te -w data.pst >/dev/null && test "`cat Inbox.mbox | grep -c 'Subject: Plain text message'`" = "2" ;;
|
|
||||||
("readpst_mails_inbox_subject_2") readpst -te -w data.pst >/dev/null && test "`cat Inbox.mbox | grep -c 'Subject: Plain text message \]\['`" = "1" ;;
|
|
||||||
("readpst_mails_inbox_body") readpst -te -w data.pst >/dev/null && test "`cat Inbox.mbox | grep 'Plain text' | grep -c -v 'Subject:'`" = "1" ;;
|
|
||||||
("readpst_mails_inbox_body_2") readpst -te -w data.pst >/dev/null && test "`cat Inbox.mbox | grep -c 'The second plain text'`" = "1" ;;
|
|
||||||
("readpst_mails_drafts") readpst -te -w data.pst >/dev/null && test "`cat Drafts.mbox | grep -c 'From '`" = "1" ;;
|
|
||||||
("readpst_mails_drafts_to") readpst -te -w data.pst >/dev/null && test "`cat Drafts.mbox | grep -c 'To: zyx@no.where'`" = "1" ;;
|
|
||||||
("readpst_mails_drafts_cc") readpst -te -w data.pst >/dev/null && test "`cat Drafts.mbox | grep -c -i 'CC'`" = "0" ;;
|
|
||||||
("readpst_mails_drafts_email") readpst -te -w data.pst >/dev/null && test "`cat Drafts.mbox | grep -c 'zyx@no.where'`" = "1" ;;
|
|
||||||
("readpst_mails_drafts_subject") readpst -te -w data.pst >/dev/null && test "`cat Drafts.mbox | grep -c 'Subject: Plain text message'`" = "1" ;;
|
|
||||||
("readpst_mails_drafts_subject_2") readpst -te -w data.pst >/dev/null && test "`cat Drafts.mbox | grep -c 'Subject: Plain text message \]\['`" = "1" ;;
|
|
||||||
("readpst_mails_drafts_body") readpst -te -w data.pst >/dev/null && test "`cat Drafts.mbox | grep 'Plain text' | grep -c -v 'Subject:'`" = "0" ;;
|
|
||||||
("readpst_mails_drafts_body_2") readpst -te -w data.pst >/dev/null && test "`cat Drafts.mbox | grep -c 'The second plain text'`" = "1" ;;
|
|
||||||
("") echo "runner.sh: Requires one argument, a test name to run" >&2 ; exit 1 ;;
|
|
||||||
(*) echo "runner.sh: Unknown test name '%{1}'" >&2 ; exit 1 ;;
|
|
||||||
esac
|
|
105
tests/tests.yml
105
tests/tests.yml
@ -1,105 +0,0 @@
|
|||||||
- hosts: localhost
|
|
||||||
roles:
|
|
||||||
- role: standard-test-basic
|
|
||||||
tags:
|
|
||||||
- atomic
|
|
||||||
- classic
|
|
||||||
required_packages:
|
|
||||||
- libpst
|
|
||||||
tests:
|
|
||||||
- lspst_help:
|
|
||||||
dir: .
|
|
||||||
run: lspst -h >/dev/null
|
|
||||||
- lspst_folders:
|
|
||||||
dir: .
|
|
||||||
run: ./runner.sh lspst_folders
|
|
||||||
- lspst_mails:
|
|
||||||
dir: .
|
|
||||||
run: ./runner.sh lspst_mails
|
|
||||||
- lspst_contacts:
|
|
||||||
dir: .
|
|
||||||
run: ./runner.sh lspst_contacts
|
|
||||||
- lspst_events:
|
|
||||||
dir: .
|
|
||||||
run: ./runner.sh lspst_events
|
|
||||||
- pst2ldif_help:
|
|
||||||
dir: .
|
|
||||||
run: pst2ldif -h >/dev/null
|
|
||||||
- pst2ldif_run:
|
|
||||||
dir: .
|
|
||||||
run: ./runner.sh pst2ldif_run
|
|
||||||
- readpst_help:
|
|
||||||
dir: .
|
|
||||||
run: readpst -h >/dev/null
|
|
||||||
- readpst_basic:
|
|
||||||
dir: .
|
|
||||||
run: ./runner.sh readpst_basic
|
|
||||||
- readpst_contacts:
|
|
||||||
dir: .
|
|
||||||
run: ./runner.sh readpst_contacts
|
|
||||||
- readpst_contacts_emails:
|
|
||||||
dir: .
|
|
||||||
run: ./runner.sh readpst_contacts_emails
|
|
||||||
- readpst_contacts_plain:
|
|
||||||
dir: .
|
|
||||||
run: ./runner.sh readpst_contacts_plain
|
|
||||||
- readpst_contacts_plain_emails:
|
|
||||||
dir: .
|
|
||||||
run: ./runner.sh readpst_contacts_plain_emails
|
|
||||||
- readpst_events:
|
|
||||||
dir: .
|
|
||||||
run: ./runner.sh readpst_events
|
|
||||||
- readpst_events_summary:
|
|
||||||
dir: .
|
|
||||||
run: ./runner.sh readpst_events_summary
|
|
||||||
- readpst_mails:
|
|
||||||
dir: .
|
|
||||||
run: ./runner.sh readpst_mails
|
|
||||||
- readpst_mails_inbox:
|
|
||||||
dir: .
|
|
||||||
run: ./runner.sh readpst_mails_inbox
|
|
||||||
- readpst_mails_inbox_to:
|
|
||||||
dir: .
|
|
||||||
run: ./runner.sh readpst_mails_inbox_to
|
|
||||||
- readpst_mails_inbox_cc:
|
|
||||||
dir: .
|
|
||||||
run: ./runner.sh readpst_mails_inbox_cc
|
|
||||||
- readpst_mails_inbox_email:
|
|
||||||
dir: .
|
|
||||||
run: ./runner.sh readpst_mails_inbox_email
|
|
||||||
- readpst_mails_inbox_subject:
|
|
||||||
dir: .
|
|
||||||
run: ./runner.sh readpst_mails_inbox_subject
|
|
||||||
- readpst_mails_inbox_subject_2:
|
|
||||||
dir: .
|
|
||||||
run: ./runner.sh readpst_mails_inbox_subject_2
|
|
||||||
- readpst_mails_inbox_body:
|
|
||||||
dir: .
|
|
||||||
run: ./runner.sh readpst_mails_inbox_body
|
|
||||||
- readpst_mails_inbox_body_2:
|
|
||||||
dir: .
|
|
||||||
run: ./runner.sh readpst_mails_inbox_body_2
|
|
||||||
- readpst_mails_drafts:
|
|
||||||
dir: .
|
|
||||||
run: ./runner.sh readpst_mails_drafts
|
|
||||||
- readpst_mails_drafts_to:
|
|
||||||
dir: .
|
|
||||||
run: ./runner.sh readpst_mails_drafts_to
|
|
||||||
- readpst_mails_drafts_cc:
|
|
||||||
dir: .
|
|
||||||
run: ./runner.sh readpst_mails_drafts_cc
|
|
||||||
- readpst_mails_drafts_email:
|
|
||||||
dir: .
|
|
||||||
run: ./runner.sh readpst_mails_drafts_email
|
|
||||||
- readpst_mails_drafts_subject:
|
|
||||||
dir: .
|
|
||||||
run: ./runner.sh readpst_mails_drafts_subject
|
|
||||||
- readpst_mails_drafts_subject_2:
|
|
||||||
dir: .
|
|
||||||
run: ./runner.sh readpst_mails_drafts_subject_2
|
|
||||||
- readpst_mails_drafts_body:
|
|
||||||
dir: .
|
|
||||||
run: ./runner.sh readpst_mails_drafts_body
|
|
||||||
- readpst_mails_drafts_body_2:
|
|
||||||
dir: .
|
|
||||||
run: ./runner.sh readpst_mails_drafts_body_2
|
|
Loading…
Reference in New Issue
Block a user