23 |
(version 4.2 or higher). Both are available from the @sc{gnu} FTP site at |
(version 4.2 or higher). Both are available from the @sc{gnu} FTP site at |
24 |
@url{ftp://ftp.gnu.org}. |
@url{ftp://ftp.gnu.org}. |
25 |
|
|
26 |
To build @sc{gnats}, you must: |
To build and install @sc{gnats}, you must: |
27 |
|
|
28 |
@itemize @bullet |
@itemize @bullet |
29 |
@item |
@item |
59 |
daemon}. |
daemon}. |
60 |
|
|
61 |
@item |
@item |
62 |
Update the local configuration files |
If there are people outside your organization who will be submitting |
63 |
|
PRs or who are supposed to be able to query and/or edit PRs, you may |
64 |
@smallexample |
need to instruct them to obtain and build the @sc{gnats} tools |
65 |
dbconfig categories submitters |
@code{query-pr}, @code{edit-pr} and @code{send-pr} for their systems. |
66 |
responsible gnatsd.user_access states |
However, for many sites, setting up a remote access interface to |
67 |
classes addresses |
@sc{gnats}, such as Gnatsweb is a better solution since this requires |
68 |
@end smallexample |
no configuration on the remote side. |
|
|
|
|
in @w{@file{@var{DATABASEDIR}/gnats-adm}}, as well as the files |
|
|
|
|
|
@smallexample |
|
|
gnatsd.host_access databases |
|
|
@end smallexample |
|
|
|
|
|
in @w{@file{@var{SYSCONFDIR}/gnats}} (usually |
|
|
@w{@file{/usr/local/etc/gnats}}). |
|
|
|
|
|
@item |
|
|
If there are people outside your organization who will be submitting PRs |
|
|
or who are supposed to be able to query and/or edit PRs, you may need to |
|
|
instruct them to obtain and build the GNATS tools @code{query-pr}, |
|
|
@code{edit-pr} and @code{send-pr} for their systems. However, for many |
|
|
sites, setting up a remote access interface to GNATS, such as Gnatsweb |
|
|
is a better solution since this requires no configuration on the remote |
|
|
side. |
|
69 |
@end itemize |
@end itemize |
70 |
|
|
71 |
@menu |
@menu |
213 |
@item --with-gnatsd-user-access-file=@w{@var{path}} |
@item --with-gnatsd-user-access-file=@w{@var{path}} |
214 |
Set global (across all databases) gnatsd user access file to |
Set global (across all databases) gnatsd user access file to |
215 |
@var{path}. Default is |
@var{path}. Default is |
216 |
@file{@var{SYSCONFDIR}/gnats/gnatsd.user_access}. Per-database user access |
@file{@var{/usr/local/etc/gnats/gnatsd.user_access}}. Per-database |
217 |
permissions are set in a @file{gnatsd.user_access} file in the |
user access permissions are set in a @file{gnatsd.user_access} file in |
218 |
@file{gnats-adm} subdirectory of each database. |
the @file{gnats-adm} subdirectory of each database. |
219 |
|
|
220 |
@cindex --with-gnatsd-host-access-file |
@cindex --with-gnatsd-host-access-file |
221 |
@item --with-gnatsd-host-access-file=@w{@var{path}} |
@item --with-gnatsd-host-access-file=@w{@var{path}} |
842 |
@sc{gnats} 3 databases. |
@sc{gnats} 3 databases. |
843 |
|
|
844 |
@item |
@item |
845 |
Edit the @sc{gnats} @file{databases} file, located in |
Edit the @sc{gnats} @file{databases} file and add entries for all your |
846 |
@file{@var{SYSCONFDIR}/gnats}. In a default @sc{gnats} 4 installation |
old @sc{gnats} 3 databases. In a default @sc{gnats} 4 installation |
847 |
this is @w{@file{/usr/local/etc/gnats}}. Add entries for all your old |
the file is in @w{@file{/usr/local/etc/gnats}}. @xref{databases |
848 |
@sc{gnats} 3 databases. @xref{databases file,,The @file{databases} |
file,,The @file{databases} file}. |
|
file}. |
|
849 |
|
|
850 |
@item |
@item |
851 |
In @sc{gnats} 3, the file @file{gnatsd.conf} specifies minimum access |
In @sc{gnats} 3, the file @file{gnatsd.conf} specifies minimum access |