xref: /freebsd/contrib/openpam/INSTALL (revision 0b3105a37d7adcadcb720112fed4dc4e8040be99)
1
2			  Installing OpenPAM
3			  ==================
4
51. REQUIREMENTS
6
7  See the release notes for a list of platforms OpenPAM has been
8  tested on.
9
10  You will need the GNU autotools, GNU make and the GNU compiler suite
11  to build OpenPAM.  On some platforms, you may have to install these
12  separately.
13
142. CONFIGURATION
15
16  Use the "configure" shell script to configure OpenPAM for your
17  system.  Options include:
18
19    --enable-debug
20	Turn debugging on by default.
21
22    --with-modules-dir=DIR
23	Indicates the directory where PAM modules will be installed.
24	This option should not be used if you intend to install PAM
25	modules in the system library directory.
26
27    --without-doc
28	Skips the documentation.
29
30    --with-pam-unix
31	Builds the sample PAM module.
32
33    --with-su
34	Builds the sample su(1) implementation.
35
36  For more information about configuration options, use the --help
37  option.
38
39  A typical invocation might look like this:
40
41  # ./configure --with-pam-unix --with-su
42
433. COMPILATION
44
45  To compile OpenPAM, simply run "make" (or "gmake" on platforms where
46  "make" is not GNU make) in the top-level OpenPAM directory:
47
48  # make
49
504. INSTALLATION
51
52  To install OpenPAM, simply run "make install" (or "gmake install" on
53  platforms where "make" is not GNU make) in the top-level OpenPAM
54  directory:
55
56  # make install
57