| 1 |
README
|
| 2 |
------
|
| 3 |
|
| 4 |
1. Introduction
|
| 5 |
|
| 6 |
This repository is used to build source and binary RPMs for a version of
|
| 7 |
GDM 2.6.05 that includes handling of PAM prompt plugin. The plugin is
|
| 8 |
loaded dynamically whenever a username/password is requested during PAM
|
| 9 |
authentication. The PAM prompt plugin shall typically monitor for
|
| 10 |
smartcard insertion or removal.
|
| 11 |
|
| 12 |
2. Layout
|
| 13 |
|
| 14 |
/README
|
| 15 |
/rebuild.sh
|
| 16 |
/Makefile
|
| 17 |
/src
|
| 18 |
/src/vendor
|
| 19 |
/src/trunk
|
| 20 |
/dist/
|
| 21 |
/dist/gdm-2.6.0.5
|
| 22 |
/dist/gdm-2.6.0.5-6/gdm-2.6.0.5.src.rpm
|
| 23 |
/dist/gdm-2.6.0.5-6/gdm.spec
|
| 24 |
/dist/gdm-2.6.0.5-7.rhel4.12
|
| 25 |
/dist/gdm-2.6.0.5-7.rhel4.12/gdm-2.6.0.5-7.rhel4.12.src.rpm
|
| 26 |
/dist/gdm-2.6.0.5-7.rhel4.12/gdm.spec
|
| 27 |
|
| 28 |
The repository contains the gdm-2.6.0.5 source code in src/vendor. The vendor
|
| 29 |
source was obtained by unpacking the source tarball contained in the
|
| 30 |
gdm-2.6.0.5-6 source RPM. The source tarball is identical to that contained in
|
| 31 |
the gdm-2.6.0.5-7.rhel4.12 source tarball. Changes to this source code have
|
| 32 |
been made in src/trunk. A patch file (named "gdm-2.6.0.5-smartcard-patch") is
|
| 33 |
created by the build process that represents the difference between the vendor
|
| 34 |
and trunk directories.
|
| 35 |
|
| 36 |
The repository contains the gdm-2.6.0.5-6 and gdm-2.6.0.5-7.rhel4.12 source
|
| 37 |
RPMs. The spec file for each distribution has been modified to include the
|
| 38 |
smartcard patch.
|
| 39 |
|
| 40 |
Note that gdm-2.6.0.5-6 is distributed with RHEL3, and gdm-2.6.0.5-7.rhel4.12
|
| 41 |
is distributed with RHEL 4.
|
| 42 |
|
| 43 |
3. Build Process
|
| 44 |
|
| 45 |
The build process will create a source and binary RPM for the gdm-2.6.0.5-6 and
|
| 46 |
gdm-2.6.0.5-7.rhel4.12 distributions. A script called 'rebuild.sh' is called
|
| 47 |
by the Makefile to create each distribution. The script requires an argument
|
| 48 |
representing the target to be built: either '6' or '7.rhel4.12'. The smartcard
|
| 49 |
patch is created, copied to the dist/gdm-2.6.0.5-${target} directory, and
|
| 50 |
rpmbuild is used to create the RPMs in the dist/gdm-2.6.0.5-${target}/build
|
| 51 |
directory.
|
| 52 |
|
| 53 |
The binary RPM may be found in:
|
| 54 |
|
| 55 |
dist/gdm-2.6.0.5-${target}/build/RPMS/i386/gdm-2.6.0.5-${target}.quest.1.i386.rpm
|
| 56 |
|
| 57 |
(replace 'i386' with appropriate platform on 64-bit machines)
|
| 58 |
|
| 59 |
The source RPM may be found in:
|
| 60 |
|
| 61 |
dist/gdm-2.6.0.5-${target}/build/SRPMS/gdm-2.6.0.5.quest.1.src.rpm
|
| 62 |
|
| 63 |
4. Building
|
| 64 |
|
| 65 |
To build the distribution RPMS:
|
| 66 |
|
| 67 |
$ make
|
| 68 |
|
| 69 |
To remove all generated files:
|
| 70 |
|
| 71 |
$ make clean
|
| 72 |
|
| 73 |
To build the gdm-2.6.0.5-6 distribution only:
|
| 74 |
|
| 75 |
$ make rpm-6
|
| 76 |
|
| 77 |
To build the gdm-2.6.0.5-7.rhel4.12 distribution only:
|
| 78 |
|
| 79 |
$ make rpm-7-rhel4-12
|
| 80 |
|