home *** CD-ROM | disk | FTP | other *** search
- xpdf version 0.80 with decryption patches
-
- With the release of version 0.80 of xpdf, I have retaken the decryption patch
- for this new version.
-
- Due to the changes that came with the 0.80 release, some re-working of parts of
- the decryption code became necessary in order to make it all work.
-
- Most of the comments (below) for version 0.7a still apply.
-
- DISCLAIMER: I know next to nothing about decryption. All I did was hack the
- code to make it work.
-
- Tony Nugent <Tony.Nugent@usq.edu.au>
- December 1998
-
- ==========================================================================
-
- xpdf version 0.7a with decryption patches
-
- Author: Derek B. Noonburg <derekn@foolabs.com>
- URL: http://www.foolabs.com/xpdf/
- Sources: ftp://ftp.foolabs.com/pub/xpdf/xpdf-0.7a.tar.gz
- ftp://ftp.foolabs.com/pub/xpdf/xpdf-0.7a-patch1
- ftp://ftp.foolabs.com/pub/xpdf/xpdf-0.7a-patch2
- ftp://ftp.sci.usq.edu.au/pub/linux/xpdf/xpdf-0.7a-patch3
- Packager: Tony Nugent <Tony.Nugent@usq.edu.au>
-
- This is a xpdf version 0.7a, but with the Makefile, divide-by-zero, and
- decryption patches added to it.
-
- For the reasons why xpdf, as distributed, is not capable of handling
- encrypted pdf files, please see:
-
- http://www.foolabs.com/xpdf/decryption.html
-
- What I have done is to add the decryption patches, and make all the sources
- available in a place off the US continent.
-
- This was born out of personal necessity... I had an encrypted pdf file that
- I *HAD* to read, so I went off to get the decryption patches for it from:
-
- http://people.a2000.nl/lsmiers/pdf/xpdf.html
-
- The patches were made available by Leo Smiers <L.Smiers@cable.A2000.nl> (in
- Europe, a place that also avoids problems with the senseless US exportation
- laws on encryption code). Everything that was needed was in a file called
- "encryption.tar.gz", but I found that they didn't apply easily or cleanly,
- and it also involved "dropping in" some files into the xpdf source tree.
-
- Once I got it working, I simply retook the patch again so that all the
- source files and patches were all included in one file.
-
- Now all that is needed is "patch -p1 < patchfile" and everything is done.
- (Then you "configure" and "make" as usual).
-
- I then grabbed xpdf-0.7a-1.src.rpm from RedHat's "rawhide" ("5.2-beta")
- distribution and made some minor changes to it so that a decryption-capable
- version could be easily rebuilt from a .spec file.
-
- So that's what I did, and this is the result. It seems to work just fine.
-
- I did some minor changes to RedHat's .spec file in the rpm so that it is
- installed into /usr/X11R6/bin rather than /usr/bin and also to put the
- ANNOUNCE file into the /usr/doc/xpdf-0.7a/ directory.
-
- I have contacted Derek (the author of xpdf) and got his blessing for what
- I've done. I've also tried to contact Leo (from who's web site I got the
- decryption patches), but in almost two months he has not replied.
-
- I wrote this README file to document what I've done, then did some
- some teaking of the rpm spec file to get this added to the installation
- documation directory.
-
- From my understanding of the US laws on the export of encryption code,
- export of the sources for this patched version of the package is not
- permitted from the United States in electronic format. (If you do this,
- you are considered to be an arms dealer!) As I understand it, the
- restrictions apply to taking such code *out* of the US in electronic
- format, not importing it nor taking it out in printed format.
-
- I don't live in the United States and we don't have silly laws like this
- here in Australia, so I can do what I like with these sources.
-
- I'm quite happy to put the resulting patch and the source and (glibc6)
- binary RPM files up on our web site and ftp server for general
- distribution.
-
- I will submitted the rpm packages to RedHat, leaving it up to them to do
- what they want (err... can) with it. They might be able to use the binary
- version, but the probably won't be legally able to redistribute it (to
- places outside the US).
-
- Derek's web pages for xpdf are an excellent resource which I would strongly
- recommend a visit to it:
-
- http://www.foolabs.com/xpdf/
-
- -=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-
- Tony Nugent <Tony.Nugent@usq.edu.au> <linux@usq.edu.au>
- Computer Systems Officer Faculty of Science
- University of Southern Queensland, Toowoomba Oueensland Australia
- -=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-
-