by Assen Totin <assen at online dot bg>
This work is based on a demonstration code, written by NotZed Note to users: I am aware that this approach is not the best from both performance and security point of view. It will be much better to use the libytnef library instead. Moreover, Evolution ships a TNEF plugin in the sources; it is probably better written than this one. If you build your system from source (Gentoo, LFS etc.) or just Evolution from
source, please, use their original code. To my regret, Fedora misses that plugin (or excludes it deliberately, I don't know) -- and I needed something which should be both working and easy to add to Fedora every time a new release pops up.
Note to builders: There is some hard-coded stuiff in the headers, Makefile and spec file. I'm lazy enough not to write an autoconf, although probably I should. I haven't done so because I still hope that Fedora guys will someday start shipping the TNEF plugin from Evolution. If you run something other than F14 i686, take a look inside and modify it as needed. To compile you'll need some packages which can most easily be obtained with the following commands (run them as root):
Disclaimer: This programme should compile and install on all versions of Fedora 14; however, since I strongly dislike x86_64, I have only tested it on i686. Moreover, the fact it works for me does not guarantee it will work for you. Also, this programme is free software. Feel free to use it, modify it and distribute it. Full license is given in COPYING file.
Download current version: tnef-plugin-0.0.4.tar.gz (F14, Evolution 2.32) Download current version: tnef-plugin-0.0.4-1.i686.rpm (F14 i686) Older versions (of archeological interest only): Download older version: tnef-plugin-0.0.3.tar.gz (F14, Evolution 2.32) Download older version: tnef-plugin-0.0.3-1.i686.rpm (F14 i686)
Download older version: tnef-plugin-0.0.2.tar.gz (F13, Evolution 2.30) Download older version: tnef-plugin-0.0.2-2.i686.rpm (F13 i686)
Download older version: tnef-plugin-0.0.1.tar.gz (F12, Evolution 2.28) Download older version: tnef-plugin-0.0.1-1.i686.rpm (F12 i686)