commit f69a477e53facf5f3f235b9c5fc7b39e97a42e19 Author: Toshaan Bharvani Date: Tue Nov 22 18:53:33 2022 +0100 initial package creation Signed-off-by: Toshaan Bharvani diff --git a/SOURCES/extern-c.patch b/SOURCES/extern-c.patch new file mode 100644 index 0000000..a98c69b --- /dev/null +++ b/SOURCES/extern-c.patch @@ -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 + ++ #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 + #else ++ #ifdef __cplusplus ++ extern "C" { ++ #endif + #include "XGetopt.h" ++ #ifdef __cplusplus ++ } ++ #endif + #endif + #include + #undef gmtime_r +@@ -102,7 +116,15 @@ + #ifdef HAVE_UNISTD_H + #include + #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 + #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 + #include +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 ++#include "define.h" ++#include "msg.h" ++#include + +- #include +- #include +- #include ++#include ++#include ++#include + +- #include +- #include +- #include +-} ++#include ++#include ++#include + + #include + #include +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 + +-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 + #include + +-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 diff --git a/SPECS/libpst.spec b/SPECS/libpst.spec new file mode 100644 index 0000000..e7764a2 --- /dev/null +++ b/SPECS/libpst.spec @@ -0,0 +1,703 @@ +%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 +Name: libpst +Version: 0.6.75 +Release: 12%{?dist} +License: GPLv2+ +URL: http://www.five-ten-sg.com/%{name}/ +Source: %{url}/packages/%{name}-%{version}.tar.gz + +Patch01: extern-c.patch + +BuildRequires: make +BuildRequires: libtool gcc-c++ +BuildRequires: gd-devel zlib-devel boost-devel libgsf-devel gettext-devel + +%if 0%{with_dii} +BuildRequires: ImageMagick +%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 +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, and pst2dii +which can convert email messages to the DII load file format used by +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 +Summary: Shared library used by the pst utilities + +%description libs +The libpst-libs package contains the shared library used by the pst +utilities. + + +%if 0%{?use_python3} +%package -n python3-%{name} +Requires: python3 +Provides: %{name}-python = %{version}-%{release} +%else +%package python +Requires: python +%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 +Summary: Library links and header files for libpst application development +Requires: pkgconfig +Requires: %{name}-libs%{?_isa} = %{version}-%{release} + +%description devel +The libpst-devel package contains the library links and header files +you'll need to develop applications using the libpst shared library. +You do not need to install it if you just want to use the libpst +utilities. + + +%package devel-doc +Summary: Documentation for libpst.so for libpst application development +Requires: %{name}-doc = %{version}-%{release} + +%description devel-doc +The libpst-devel-doc package contains the doxygen generated +documentation for the libpst.so shared library. + + +%package doc +Summary: Documentation for the pst utilities in html format + +%description doc +The libpst-doc package contains the html documentation for the pst +utilities. You do not need to install it if you just want to use the +libpst utilities. + + + +%prep +%setup -q +%patch01 -p1 -b .1 + +%build +autoreconf -fiv +%configure --enable-libpst-shared \ +%if 0%{with_dii} + --enable-dii \ +%else + --disable-dii \ +%endif + --with-boost-python=boost_python%{python3_version_nodots} +%if 0%{?use_python3} +%make_build +%else +make %{?_smp_mflags} +%endif + + +%install +%if 0%{?use_python3} +%make_install +%else +rm -rf $RPM_BUILD_ROOT +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 +%postun libs -p /sbin/ldconfig +%endif + +%files +%{_bindir}/* +%{_mandir}/man1/* +%{_mandir}/man5/* + + +%files libs +%{_libdir}/libpst.so.* +%doc COPYING + + +%if 0%{?use_python3} +%files -n python3-%{name} +%defattr(-,root,root,-) +%{python3_sitearch}/_*.so +%else +%files python +%{python_sitearch}/_*.so +%endif + + +%files devel +%{_libdir}/libpst.so +%{_includedir}/%{name}-4/ +%{_libdir}/pkgconfig/libpst.pc + + +%files devel-doc +%{_datadir}/doc/%{name}/devel/ + + +%files doc +%dir %{_datadir}/doc/%{name}/ +%{_datadir}/doc/%{name}/*.html +%{_datadir}/doc/%{name}/AUTHORS +%{_datadir}/doc/%{name}/COPYING +%{_datadir}/doc/%{name}/ChangeLog +%{_datadir}/doc/%{name}/NEWS +%{_datadir}/doc/%{name}/README + + +%changelog +* Mon Aug 09 2021 Mohan Boddu +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Tue Apr 20 2021 Milan Crha - 0.6.75-11 +- Add patch to correct 'extern "C"' usage + +* Fri Apr 16 2021 Mohan Boddu +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Tue Feb 02 2021 Milan Crha - 0.6.75-9 +- Resolves: #1913613 (Disable DII (and ImageMagic dependency) for RHEL 9) + +* Tue Jan 26 2021 Fedora Release Engineering - 0.6.75-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Fri Jan 22 2021 Jonathan Wakely - 0.6.75-7 +- Rebuilt for Boost 1.75 + +* Tue Jul 28 2020 Merlin Mathesius - 0.6.75-6 +- FTBFS fix: %%{__python} must now be explicitly defined + +* Tue Jul 28 2020 Fedora Release Engineering - 0.6.75-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jul 16 2020 Merlin Mathesius - 0.6.75-4 +- Cleanup conditionals for using python3 + +* Fri May 29 2020 Jonathan Wakely - 0.6.75-3 +- Rebuilt for Boost 1.73 + +* Tue May 26 2020 Miro Hrončok - 0.6.75-2 +- Rebuilt for Python 3.9 + +* Sun Mar 22 2020 Carl Byington 0.6.75-1 +- Markus Schnalke - fix from Debian for vcard version format. + +* Wed Jan 29 2020 Fedora Release Engineering - 0.6.74-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sun Jan 12 2020 Carl Byington 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 - 0.6.72-6 +- Rebuilt for Python 3.8 + +* Thu Jul 25 2019 Fedora Release Engineering - 0.6.72-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jul 25 2019 Carl Byington 0.6.73-1 +- Tim Dufrane - fix segfault in pst_close() + +* Sat Jun 08 2019 Leigh Scott - 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 - 0.6.72-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Wed Jan 30 2019 Jonathan Wakely - 0.6.72-2 +- Rebuilt for Boost 1.69 + +* Wed Aug 01 2018 Carl Byington 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 - 0.6.71-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 0.6.71-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek - 0.6.71-6 +- Add Provides for the old name without %%_isa + +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 0.6.71-5 +- Python 2 binary package renamed to python2-libpst + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 0.6.71-4 +- Python 2 binary package renamed to python2-libpst + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + +* Thu Aug 03 2017 Fedora Release Engineering - 0.6.71-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0.6.71-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Jul 21 2017 Carl Byington 0.6.71-1 +- Fedora Python naming scheme changes +- Zachary Travis - Add support for the OST 2013 format, and + Content-Disposition filename key fix for outlook compatibility + +* Thu Jul 20 2017 Kalev Lember - 0.6.70-3 +- Rebuilt for Boost 1.64 + +* Fri Jul 07 2017 Igor Gnatenko - 0.6.70-2 +- Rebuild due to bug in RPM (RHBZ #1468476) + +* Wed Feb 08 2017 Carl Byington 0.6.70-1 +- Jeffrey Morlan - pst_getID2 must not recurse into children + +* Fri Jan 27 2017 Jonathan Wakely - 0.6.69-2 +- Rebuilt for Boost 1.63 + +* Sat Oct 29 2016 Carl Byington 0.6.69-1 +- fix bugs in code allowing folders containing multiple item types + +* Mon Aug 29 2016 Carl Byington 0.6.68-1 +- allow folders containing multiple item types, e.g. email and calendar +- better detection of valid internet headers + +* Tue Jul 19 2016 Fedora Release Engineering - 0.6.67-2 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Wed Jul 06 2016 Carl Byington 0.6.67-1 +- Jeffrey Morlan - multiple bug fixes and an optimization + +* Thu Feb 04 2016 Fedora Release Engineering - 0.6.66-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jan 15 2016 Jonathan Wakely - 0.6.66-2 +- Rebuilt for Boost 1.60 + +* Mon Dec 21 2015 Carl Byington 0.6.66-1 +- Igor Stroh - Added Content-ID header support + +* Fri Sep 11 2015 Carl Byington 0.6.65-1 +- Jeffrey Morlan - fix multiple Content-Type headers +- Hans Liss - debug level output + +* Thu Aug 27 2015 Jonathan Wakely - 0.6.64-6 +- Rebuilt for Boost 1.59 + +* Wed Jul 29 2015 Fedora Release Engineering - 0.6.64-5 +- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159 + +* Wed Jul 22 2015 David Tardon - 0.6.64-4 +- rebuild for Boost 1.58 + +* Wed Jun 17 2015 Fedora Release Engineering - 0.6.64-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat May 02 2015 Kalev Lember - 0.6.64-2 +- Rebuilt for GCC 5 C++11 ABI change + +* Mon Mar 09 2015 Carl Byington 0.6.64-1 +- fix line wrap on Python provides_exclude_from +- fix unchecked errors found by cppcheck +- AJ Shankar fixes for attachment processing and body encodings + that contain embedded null chars. + +* Mon Jan 26 2015 Petr Machata - 0.6.63-5 +- Rebuild for boost 1.57.0 + +* Sun Aug 17 2014 Fedora Release Engineering - 0.6.63-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.6.63-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri May 23 2014 David Tardon - 0.6.63-2 +- rebuild for boost 1.55.0 + +* Fri Dec 27 2013 Carl Byington 0.6.63-1 +- Daniel Gryniewicz found buffer overrun in LIST_COPY_TIME + +* Sun Sep 22 2013 Carl Byington 0.6.62-1 +- 983596 - Old dependency filter breaks file coloring + +* Tue Aug 06 2013 Carl Byington 0.6.61-1 +- move documentation to unversioned directory + +* Sat Aug 03 2013 Fedora Release Engineering - 0.6.59-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Sat Jul 27 2013 pmachata@redhat.com - 0.6.59-3 +- Rebuild for boost 1.54.0 + +* Wed Jun 12 2013 Carl Byington 0.6.60-1 +- patch from Dominique Leuenberger to add AC_USE_SYSTEM_EXTENSIONS +- add readpst -a option for attachment stripping + +* Tue Jun 11 2013 Remi Collet - 0.6.59-2 +- rebuild for new GD 2.1.0 + +* Fri May 17 2013 Carl Byington 0.6.59-1 +- add autoconf checking for libgsf + +* Fri Mar 29 2013 Carl Byington 0.6.58-4 +- add autoreconf for aarch64 + +* Sun Feb 10 2013 Denis Arnaud - 0.6.58-3 +- Rebuild for Boost-1.53.0 + +* Sat Feb 09 2013 Denis Arnaud - 0.6.58-2 +- Rebuild for Boost-1.53.0 + +* Fri Dec 28 2012 Carl Byington - 0.6.58-1 +- fix From quoting on embedded rfc/822 messages + +* Wed Dec 26 2012 Carl Byington - 0.6.57-1 +- bugzilla 852414, remove unnecessary dependencies + +* Mon Dec 24 2012 Carl Byington - 0.6.56-1 +- filter private provides from rpm +- merge -m .msg files code into main branch + +* Thu Aug 09 2012 Carl Byington - 0.6.55-2 +- rebuild for Python + +* Thu Jul 19 2012 Fedora Release Engineering - 0.6.54-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue May 08 2012 Carl Byington - 0.6.55-1 +- preserve bcc headers +- document -C switch to set default character set +- space after colon is not required in header fields + +* Tue Feb 28 2012 Fedora Release Engineering - 0.6.54-5 +- Rebuilt for c++ ABI breakage + +* Fri Jan 13 2012 Fedora Release Engineering - 0.6.54-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Sat Dec 24 2011 Carl Byington - 0.6.54-3 +- bump versions and prep for Fedora build + +* Wed Nov 30 2011 Petr Pisar - 0.6.53-3 +- Rebuild against boost-1.48 + +* Mon Nov 14 2011 Carl Byington - 0.6.54-2 +- failed to bump version number + +* Fri Nov 04 2011 Carl Byington - 0.6.54-1 +- embedded rfc822 messages might contain rtf encoded bodies + +* Fri Sep 02 2011 Petr Pisar - 0.6.53-2 +- Rebuild against boost-1.47 + +* Sun Jul 10 2011 Carl Byington - 0.6.53-1 +- add Status: header in output +- allow fork for parallel processing of individual email folders + in separate mode +- proper handling of --with-boost-python option + +* Sun May 22 2011 Carl Byington - 0.6.52-1 +- fix dangling freed pointer in embedded rfc822 message processing +- allow broken outlook internet header field - it sometimes contains + fragments of the message body rather than headers + +* Sun Apr 17 2011 Carl Byington - 0.6.51-1 +- fix for buffer overrun; attachment size from the secondary + list of mapi elements overwrote proper size from the primary + list of mapi elements. + Fedora bugzilla 696263 + +* Tue Feb 08 2011 Fedora Release Engineering - 0.6.49-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Feb 07 2011 Thomas Spura - 0.6.49-3 +- rebuild for new boost + +* Fri Dec 24 2010 Carl Byington - 0.6.50-1 +- rfc2047 and rfc2231 encoding for non-ascii headers and + attachment filenames. + +* Wed Sep 29 2010 jkeating - 0.6.49-2 +- Rebuilt for gcc bug 634757 + +* Mon Sep 13 2010 Carl Byington - 0.6.49-1 +- fix to ignore embedded objects that are not email messages + Fedora bugzilla 633498 + +* Thu Sep 02 2010 Carl Byington - 0.6.48-1 +- fix for broken internet headers from Outlook +- fix ax_python.m4 to look for python2.7 +- use mboxrd from quoting for output formats with multiple messages per file +- use no from quoting for output formats with single message per file + +* Sat Jul 31 2010 Carl Byington - 0.6.47-6 +- rebuild for Python dependencies + +* Mon Jul 26 2010 David Malcolm - 0.6.47-4 +- hack up configure so that it looks for Python 2.7 + +* Wed Jul 21 2010 David Malcolm - 0.6.47-3 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Wed Jul 07 2010 Carl Byington - 0.6.47-2 +- Subpackage Licensing, add COPYING to -libs. +- patches from Kenneth Berland for solaris + +* Fri May 07 2010 Carl Byington - 0.6.47-1 +- patches from Kenneth Berland for solaris + +* Thu Jan 21 2010 Carl Byington - 0.6.46-1 +- prefer libpthread over librt for finding sem_init function. + +* Thu Jan 21 2010 Carl Byington - 0.6.45-2 +- rebuild for new boost package + +* Wed Nov 18 2009 Carl Byington - 0.6.45-1 +- patch from Hugo DesRosiers to export categories and notes into vcards. +- extend that patch to export categories into vcalendar appointments also. + +* Sun Sep 20 2009 Carl Byington - 0.6.44-1 +- patch from Lee Ayres to add file name extensions in separate mode. +- allow mixed items types in a folder in separate mode. + +* Sat Sep 12 2009 Carl Byington - 0.6.43-1 +- decode more of the pst format, some minor bug fixes +- add support for code pages 1200 and 1201. +- add readpst -t option to select output item types, which can + now be used to process folders containing mixed item types. +- fix segfault with embedded appointments +- add readpst -u option for Thunderbird mode .size and .type files +- better detection of embedded rfc822 message attachments + +* Thu Sep 03 2009 Carl Byington - 0.6.42-1 +- patch from Fridrich Strba to build with DJGPP DOS cross-compiler. + +* Sat Jul 25 2009 Fedora Release Engineering - 0.6.41-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Tue Jun 23 2009 Carl Byington - 0.6.41-1 +- fix ax_python detection - should not use locate command +- checking for Fedora versions is not needed + +* Tue Jun 23 2009 Carl Byington - 0.6.40-1 +- Fedora 11 has python2.6 +- remove pdf version of the man pages + +* Sun Jun 21 2009 Carl Byington - 0.6.39-1 +- Fedora > 10 moved to boost-python-devel + +* Sun Jun 21 2009 Carl Byington - 0.6.38-1 +- add Python interface to the shared library. +- bump soname to version 4 for many changes to the interface. +- better decoding of recurrence data in appointments. +- remove readpstlog since debug log files are now plain text. +- add readpst -j option for parallel jobs for each folder. +- make nested mime multipart/alternative to hold the text/html parts. + +* Fri Apr 17 2009 Carl Byington - 0.6.37-1 +- add pst_attach_to_mem() back into the shared library interface. +- fix memory leak caught by valgrind. + +* Tue Apr 14 2009 Carl Byington - 0.6.36-1 +- build separate -doc and -devel-doc subpackages. +- other spec file cleanup + +* Wed Apr 08 2009 Carl Byington - 0.6.35-1 +- properly add trailing mime boundary in all modes. +- build separate libpst, libpst-libs, libpst-devel rpms. + +* Thu Mar 19 2009 Carl Byington - 0.6.34-1 +- avoid putting mixed item types into the same output folder. + +* Tue Mar 17 2009 Carl Byington - 0.6.33-1 +- compensate for iconv conversion to utf-7 that produces strings that + are not null terminated. +- don't produce empty attachment files in separate mode. + +* Sat Mar 14 2009 Carl Byington - 0.6.32-1 +- fix ppc64 compile error + +* Sat Mar 14 2009 Carl Byington - 0.6.31-1 +- bump version for Fedora cvs tagging mistake + +* Sat Mar 14 2009 Carl Byington - 0.6.30-1 +- track character set individually for each mapi element. +- remove charset option from pst2ldif since we get that from each + object now. +- avoid emitting bogus empty email messages into contacts and + calendar files. + +* Tue Feb 24 2009 Carl Byington - 0.6.29-1 +- fix for 64bit on Fedora 11 + +* Tue Feb 24 2009 Carl Byington - 0.6.28-1 +- improve decoding of multipart/report and message/rfc822 mime types. +- improve character set handling. +- fix embedded rfc822 messages with attachments. + +* Sat Feb 07 2009 Carl Byington - 0.6.27-1 +- fix for const correctness on Fedora 11 + +* Sat Feb 07 2009 Carl Byington - 0.6.26-1 +- patch from Fridrich Strba for building on mingw and general +- cleanup of autoconf files. +- add processing for pst files of type 0x0f. +- strip and regenerate all MIME headers to avoid duplicates. +- do a better job of making unique MIME boundaries. +- only use base64 coding when strictly necessary. + +* Fri Jan 16 2009 Carl Byington - 0.6.25-1 +- improve handling of content-type charset values in mime parts + +* Thu Dec 11 2008 Carl Byington - 0.6.24-1 +- patch from Chris Eagle to build on cygwin + +* Thu Dec 04 2008 Carl Byington - 0.6.23-1 +- bump version to avoid cvs tagging mistake in fedora + +* Fri Nov 28 2008 Carl Byington - 0.6.22-1 +- patch from David Cuadrado to process emails with type PST_TYPE_OTHER +- base64_encode_multiple() may insert newline, needs larger malloc +- subject lines shorter than 2 bytes could segfault + +* Tue Oct 21 2008 Carl Byington - 0.6.21-1 +- fix title bug with old schema in pst2ldif. +- also escape commas in distinguished names per rfc4514. + +* Thu Oct 09 2008 Carl Byington - 0.6.20-1 +- add configure option --enable-dii=no to remove dependency on libgd. +- many fixes in pst2ldif by Robert Harris. +- add -D option to include deleted items, from Justin Greer +- fix from Justin Greer to add missing email headers +- fix from Justin Greer for my_stristr() +- fix for orphan children when building descriptor tree +- avoid writing uninitialized data to debug log file +- remove unreachable code +- create dummy top-of-folder descriptor if needed for corrupt pst files + +* Sun Sep 14 2008 Carl Byington - 0.6.19-1 +- Fix base64 encoding that could create long lines. +- Initial work on a .so shared library from Bharath Acharya. + +* Thu Aug 28 2008 Carl Byington - 0.6.18-1 +- Fixes for iconv on Mac from Justin Greer. + +* Tue Aug 05 2008 Carl Byington - 0.6.17-1 +- More fixes for 32/64 bit portability on big endian ppc. + +* Tue Aug 05 2008 Carl Byington - 0.6.16-1 +- Use inttypes.h for portable printing of 64 bit items. + +* Wed Jul 30 2008 Carl Byington - 0.6.15-1 +- Patch from Robert Simpson for file handle leak in error case. +- Fix for missing length on lz decompression, bug found by Chris White. + +* Sun Jun 15 2008 Carl Byington - 0.6.14-1 +- Fix my mistake in Debian packaging. + +* Fri Jun 13 2008 Carl Byington - 0.6.13-1 +- Patch from Robert Simpson for encryption type 2. + +* Tue Jun 10 2008 Carl Byington - 0.6.12-1 +- Patch from Joachim Metz for Debian packaging and +- fix for incorrect length on lz decompression + +* Tue Jun 03 2008 Carl Byington - 0.6.11-1 +- Use ftello/fseeko to properly handle large files. +- Document and properly use datasize field in b5 blocks. +- Fix some MSVC compile issues and collect MSVC dependencies into one place. + +* Thu May 29 2008 Carl Byington - 0.6.10-1 +- Patch from Robert Simpson for doubly-linked list code and arrays of unicode strings. + +* Fri May 16 2008 Carl Byington - 0.6.9 +- Patch from Joachim Metz for 64 bit compile. +- Fix pst format documentation for 8 byte backpointers. + +* Wed Mar 05 2008 Carl Byington - 0.6.8 +- Initial version of pst2dii to convert to Summation dii load file format +- changes for Fedora packaging guidelines (#434727) + +* Tue Jul 10 2007 Carl Byington - 0.5.5 +- merge changes from Joe Nahmias version + +* Sun Feb 19 2006 Carl Byington - 0.5.3 +- initial spec file using autoconf and http://www.fedora.us/docs/rpm-packaging-guidelines.html +