[PATCH configure] BZ #802871: added man pages for configure executables

Steve Linabery slinaber at redhat.com
Fri Mar 16 15:26:17 UTC 2012


On Fri, Mar 16, 2012 at 07:38:27AM -0400, Mo Morsi wrote:
> ---
>  Rakefile                            |    2 +-
>  contrib/aeolus-configure.spec.in    |    6 ++++++
>  docs/man1/aeolus-check-services.1   |   18 ++++++++++++++++++
>  docs/man1/aeolus-cleanup.1          |   28 ++++++++++++++++++++++++++++
>  docs/man1/aeolus-configure.1        |   27 +++++++++++++++++++++++++++
>  docs/man1/aeolus-restart-services.1 |   18 ++++++++++++++++++
>  6 files changed, 98 insertions(+), 1 deletions(-)
>  mode change 100644 => 100755 bin/aeolus-cleanup
>  create mode 100644 docs/man1/aeolus-check-services.1
>  create mode 100644 docs/man1/aeolus-cleanup.1
>  create mode 100644 docs/man1/aeolus-configure.1
>  create mode 100644 docs/man1/aeolus-restart-services.1
> 
> diff --git a/Rakefile b/Rakefile
> index 504fa53..f0bb9c5 100644
> --- a/Rakefile
> +++ b/Rakefile
> @@ -34,7 +34,7 @@ PKG_VERSION = "2.6.0"
>  rpm_task =
>  Rake::RpmTask.new(RPM_SPEC, {:suffix => '.in', :pkg_version => PKG_VERSION}) do |rpm|
>    rpm.need_tar = true
> -  rpm.package_files.include("COPYING", "bin/*", "recipes/**/*", "conf/*")
> +  rpm.package_files.include("COPYING", "bin/*", "recipes/**/*", "conf/*", "docs/**/*")
>    rpm.topdir = "#{RPMBUILD_DIR}"
>  end
>  
> diff --git a/bin/aeolus-cleanup b/bin/aeolus-cleanup
> old mode 100644
> new mode 100755
> diff --git a/contrib/aeolus-configure.spec.in b/contrib/aeolus-configure.spec.in
> index 9fae261..22ba7b6 100644
> --- a/contrib/aeolus-configure.spec.in
> +++ b/contrib/aeolus-configure.spec.in
> @@ -36,6 +36,7 @@ Aeolus Configure Puppet Recipe
>  %build
>  
>  %install
> +%{__mkdir} -p %{buildroot}/%{_mandir}/man1
>  %{__mkdir} -p %{buildroot}/%{aeolushome}/modules/aeolus %{buildroot}/%{_sbindir}
>  %{__mkdir} -p %{buildroot}/%{_bindir}
>  %{__mkdir} -p %{buildroot}%{_sysconfdir}/aeolus-configure/nodes
> @@ -52,6 +53,7 @@ Aeolus Configure Puppet Recipe
>  %{__cp} -R %{pbuild}/bin/aeolus-restart-services %{buildroot}/%{_sbindir}/
>  %{__cp} -R %{pbuild}/bin/aeolus-configure %{buildroot}/%{_sbindir}/
>  %{__cp} -R %{pbuild}/bin/aeolus-cleanup %{buildroot}/%{_sbindir}/
> +%{__cp} %{pbuild}/docs/man1/* %{buildroot}/%{_mandir}/man1/
>  
>  %files
>  %doc COPYING
> @@ -61,9 +63,13 @@ Aeolus Configure Puppet Recipe
>  %attr(0600, root, root) %{_sysconfdir}/aeolus-configure/nodes/*
>  %attr(0755, root, root) %{_bindir}/aeolus-check-services
>  %attr(0755, root, root) %{_sbindir}/aeolus-restart-services
> +%doc %{_mandir}/man1/*
>  %{aeolushome}
>  
>  %changelog
> +* Fri Mar 16 2012 Mo Morsi <mmorsi at redhat.com> - 2.5.0-3
> +- include man pages
> +
>  * Mon Jan 09 2012 Steve Linabery <slinaber at redhat.com> - 2.5.0-2
>  - f0043e8 Remove extra_release from spec.in
>  - c4d94bf Bump release
> diff --git a/docs/man1/aeolus-check-services.1 b/docs/man1/aeolus-check-services.1
> new file mode 100644
> index 0000000..dc10192
> --- /dev/null
> +++ b/docs/man1/aeolus-check-services.1
> @@ -0,0 +1,18 @@
> +.\" Originally generated by help2man 1.40.4, modified since.
> +.TH AEOLUS-CHECK-SERVICES "1" "March 2012" "aeolus-check-services " "User Commands"
> +.SH NAME
> +aeolus-check-services \- manual page for aeolus-check-services 
> +.SH SYNOPSIS
> +.B aeolus-check-services
> +[\fIOPTION\fR]
> +.SH DESCRIPTION
> +Show status of Aeolus services.
> +.TP
> +\fB\-h\fR, \fB\-\-help\fR
> +display this help and exit
> +.PP
> +To restart aeolus services please use aeolus\-restart\-services.
> +.SH "SEE ALSO"
> +The full documentation for
> +.B aeolus-check-services
> +is maintained at http://www.aeolusproject.org.
> diff --git a/docs/man1/aeolus-cleanup.1 b/docs/man1/aeolus-cleanup.1
> new file mode 100644
> index 0000000..165eef9
> --- /dev/null
> +++ b/docs/man1/aeolus-cleanup.1
> @@ -0,0 +1,28 @@
> +.\" Originally generated by help2man 1.40.4, modified since.
> +.TH AEOLUS-CLEANUP "1" "March 2012" "aeolus-cleanup " "User Commands"
> +.SH NAME
> +aeolus-cleanup \- manual page for aeolus-cleanup 
> +.SH DESCRIPTION
> +USAGE:
> +aeolus\-cleanup [\-d|\-\-debug] [\-h|\-\-help] [\-v|\-\-verbose] [\-s|\-\-savedata] [\-p|\-\-profile]
> +.PP
> +.SS "OPTIONS:"
> +.TP
> +\fB\-h\fR | \fB\-\-help\fR
> +Show this message.
> +.TP
> +\fB\-d\fR | \fB\-\-debug\fR
> +Debug logging mode.
> +.TP
> +\fB\-v\fR | \fB\-\-verbose\fR
> +Verbose logging mode.
> +.TP
> +\fB\-s\fR | \fB\-\-savedata\fR
> +Do not delete existing data.
> +.TP
> +\fB\-p\fR | \fB\-\-profile\fR
> +Name of profile to use. A comma separated list can be used to specify multiple profiles.
> +.SH "SEE ALSO"
> +The full documentation for
> +.B aeolus-cleanup
> +is maintained at http://www.aeolusproject.org.
> diff --git a/docs/man1/aeolus-configure.1 b/docs/man1/aeolus-configure.1
> new file mode 100644
> index 0000000..66b1bfd
> --- /dev/null
> +++ b/docs/man1/aeolus-configure.1
> @@ -0,0 +1,27 @@
> +.\" Originally generated by help2man 1.40.4, modified since.
> +.TH AEOLUS-CONFIGURE "1" "March 2012" "aeolus-configure " "User Commands"
> +.SH NAME
> +aeolus-configure \- manual page for aeolus-configure 
> +.SH DESCRIPTION
> +USAGE:
> +aeolus\-configure [\-d|\-\-debug] [\-h|\-\-help] [\-v|\-\-verbose] [\-p|\-\-profile]
> +.PP
> +.SS "OPTIONS:"
> +.TP
> +\fB\-h\fR | \fB\-\-help\fR
> +Show this message.
> +.TP
> +\fB\-d\fR | \fB\-\-debug\fR
> +Debug logging mode.
> +.TP
> +\fB\-v\fR | \fB\-\-verbose\fR
> +Verbose logging mode.
> +Note that you can only set one of the previous two options per run. If both are set,
> +the last one passed in will be honored.
> +.TP
> +\fB\-p\fR | \fB\-\-profile\fR
> +Name of profile to use. A comma separated list can be used to specify multiple profiles.
> +.SH "SEE ALSO"
> +The full documentation for
> +.B aeolus-configure
> +is maintained at http://www.aeolusproject.org.
> diff --git a/docs/man1/aeolus-restart-services.1 b/docs/man1/aeolus-restart-services.1
> new file mode 100644
> index 0000000..e4d7d65
> --- /dev/null
> +++ b/docs/man1/aeolus-restart-services.1
> @@ -0,0 +1,18 @@
> +.\" Originally generated by help2man 1.40.4, modified since.
> +.TH AEOLUS-RESTART-SERVICES "1" "March 2012" "aeolus-restart-services " "User Commands"
> +.SH NAME
> +aeolus-restart-services \- manual page for aeolus-restart-services 
> +.SH SYNOPSIS
> +.B aeolus-restart-services
> +[\fIOPTION\fR]
> +.SH DESCRIPTION
> +Restart Aeolus services.
> +.TP
> +\fB\-h\fR, \fB\-\-help\fR
> +display this help and exit
> +.PP
> +To show status of aeolus services please use aeolus\-check\-services.
> +.SH "SEE ALSO"
> +The full documentation for
> +.B aeolus-restart-services
> +is maintained at http://www.aeolusproject.org.
> -- 
> 1.7.6.5
> 

ACK, but fix the whitespace issues or no scooby snack.

s|e



More information about the aeolus-devel mailing list