[ TechnoCage | Caskey
| gnupg | RPMS ]
Help spread secure (open source) communications, build a
gpg RPM and give it to your
friends.
Note: THIS INFORMATION ONLY APPLIES TO THE VERSIONS LISTED. ALWAYS CHECK THE DISTRIBUTION SITE FOR THE LATEST INFO
The spec files below can be used (with the gpg source distribution)
to build an rpm for the GNU Privacy Guard. A wonderful piece of
OpenPGP compatible software written by Werner Koch.
Were I not a victim of ITAR export restriction I would make
available my already built RPMs but alas, I cannot. The spec files
below have usually been tested on both RedHat 4.2 and RedHat 5.1.
They are in no way clever, just enough to build the RPMs I use
for managing gpg on our internal network.
Here's some quick instructions on using these (I'll make better
ones later)
- As root, copy the spec file into /usr/src/redhat/SPECS
- copy the matching distribution into /usr/src/redhat/SOURCES
- copy any necessary patches into the /usr/src/redhat/SOURCES
directory
- type: rpm -ba SPECS/gnupg-x.x.x.spec
The latest
- gnupg-0.4.5 1998-12-22
- Luca Olivetti has modified the spec file that came with the
0.4.5 distribution so that it would build properly under RedHat 5.1.
The not-so-latest
- gnupg-0.4.3 1998-11-11
- Ross Golder updated the 0.4.3 spec file distributed with
the sources so that it would build properly under RedHat 5.1
and deposits the binaries into /usr/bin (tip:
shift-click)
- gnupg-0.4.3-fl1 1998-11-10
- Fabio Coatti has again updated his RPM collection to include
0.4.3 under i386 RedHad 5.1 (glibc). (tip: shift-click)
Unfortunately Fabio's ftp site appears to have suffered a disk failure and all of his RPM work is offline.
- gnupg-0.4.3-fl1.i386.rpm
- gnupg-0.4.3.fl1.src.rpm
- gnupg.spec
- gnupg-0.4.2-fl2 1998-10-20
- Fabio Coatti has updated his RPMs of 0.4.2 under i386 RedHad
5.1 (glibc). (tip: shift-click)
Unfortunately Fabio's ftp site appears to have suffered a disk failure and all of his RPM work is offline.
- gnupg-0.4.2-fl2.i386.rpm
- gnupg-0.4.2.fl2.src.rpm
- gnupg-0.4.1-fl1 1998-10-12
- Fabio Coatti has created RPMs of 0.4.1 under i386 RedHad
5.1 (glibc). These are no longer available.
- gnupg-0.4.1-fl1.i386.rpm
- gnupg-0.4.1.fl1.src.rpm
- gnupg-0.4.0-6 1998-09-21
- This is a new revision of the spec file created by Brian
Warner. He has removed much of the hackery in mine and made a
much cleaner spec file. I have not yet tested it, however I assume
that it will still work on both 4.2 and 5.x.
- gnupg-0.4.0-6b 1998-09-21
- This is a new revision of the spec file created by Robert
Richard George 'reptile' Wal. He has re-written the spec file
for building as non root. Robert Richard George 'reptile' Wal
works as Package manager for a group developing a Polish Linux
distribution based upon the RPM system.
George recommends that you rename the file to gnupg.spec
before using in order to avoid confusion. The only change I have
made to the file here is the name in the file as the work is
no longer mine and so should have his name. He also has a collection
of other RPMs available
via anonymous FTP.
- gnupg-0.4.0-5 1998-09-20
- This spec file builds gnupg v.0.4.0 with Michael Roth's hot-patch
for des decryption. To build gpg:
- fetch the following things:
- Copy the first two into
/usr/src/redhat/SOURCES
and the third into /usr/src/redhat/SPECS.
- From
/usr/src/redhat run rpm -ba SPECS/gnupg-0.4.0-5.spec.
A few notes about rpm
- Building an RPM package necessarily causes the software to
be installed on the build host. Therefore if you want to do a
clean test of your new rpm, you will have to install it on a
different machine.
- Because of the issue above, you will notice that the rpm
is *not* installed on the build host when you are finished. Personally
I prefer to do a quick
rpm -Uvh RPMS/i386/xyz.rpm
immediately after the build.
- RPMs built under RedHat 4.2 will not work under RedHat 5.x
due to the libc/glibc issue (and vice versa). However the same
spec file will work for either.
- It is not necessary to use the build instructions I gave,
RPM is a very powerful package with many, many features. With
very little work you can easily convert my bare-bones spec file
into a much more sophisticated entity.
- Unless you plan on using the rpm to spread copies of gpg,
there is almost no point in building one. It *does* however make
it very easy for your friends to install it and begin communicating
with you.
Contributors (willing and otherwise)
The following people have
provided valuable information that I used in creating this page.
- Luca Olivetti
- Ross Golder
- Fabio Cotti
- Brian Warner
- Robert Richard George 'reptile' Wal
- Everyone on the GnuPG mailing list
Other
Comments welcome.