Add man pages for eepget and i2prouter

This commit is contained in:
HungryHobo
2010-11-13 17:58:05 +00:00
parent 5fe654e7e8
commit 8d2a75bc01
3 changed files with 96 additions and 0 deletions

5
debian/rules vendored
View File

@ -23,6 +23,7 @@ endif
mkdir -p debian/tmp/etc/i2p
mkdir -p debian/tmp/usr/share/i2p/lib
mkdir -p debian/tmp/usr/share/doc/i2p
mkdir -p debian/tmp/usr/share/man/man1
mkdir -p debian/tmp/usr/lib/i2p
mkdir -p debian/tmp/usr/bin
@ -60,6 +61,10 @@ endif
rm debian/tmp/usr/share/doc/i2p/licenses/LICENSE-GPLv2.txt
rm debian/tmp/usr/share/doc/i2p/licenses/LICENSE-LGPLv2.1.txt
@# man pages
gzip -9c installer/resources/man/eepget.1 > debian/tmp/usr/share/man/man1/eepget.1.gz
gzip -9c installer/resources/man/i2prouter.1 > debian/tmp/usr/share/man/man1/i2prouter.1.gz
@# copy wrapper files to /usr/lib/i2p (including wrapper.jar because it is architecture dependent)
cp ${wrapperpath}/libwrapper.so debian/tmp/usr/lib/i2p/
cp ${wrapperpath}/wrapper.jar debian/tmp/usr/lib/i2p/

View File

@ -0,0 +1,53 @@
.\"Created with GNOME Manpages Editor Wizard
.\"http://sourceforge.net/projects/gmanedit2
.TH Eepget 1 "November 13, 2010" "" "Eepget - I2P Downloader"
.SH NAME
Eepget \- I2P downloader
.SH SYNOPSIS
.B eepget
.RI [ options ] URL
.br
.SH DESCRIPTION
\fBEepget\fP downloads a file via HTTP through the I2P network. It handles .i2p URLs as well as URLs on the regular web such as .com.
.SH OPTIONS
.B
\fB\-p\fR proxy_host:port
.TP
Sets the I2P proxy server (eeproxy) to use. The default is 127.0.0.1:4444.
.TP
.B
\fB\-n\fR retries
.TP
Sets the number of retries if the download fails. The default is 3.
.TP
.B
\fB\-o\fR file
.TP
Sets the output file to write to. If this option is not given, the URL determines the output filename.
.TP
.B
\fB\-m\fR markSize lineLen
.TP
Controls the progress display. \fB\ markSize \fP is the number of bytes one '#' character represents. \fB\ lineLen \fP is the length of one progress line in characters. The defaults are 1024 and 40.
.TP
.B
\fB\-t\fR seconds
.TP
Sets the inactivity timeout. The default is 60 seconds.
.TP
.SH "EXIT STATUS"
\fB Eepget\fP always exits with the status 0.
.SH "SEE ALSO"
wget(1)

View File

@ -0,0 +1,38 @@
.\"Created with GNOME Manpages Editor Wizard
.\"http://sourceforge.net/projects/gmanedit2
.TH i2prouter 1 "November 13, 2010" "" "I2PRouter"
.SH NAME
i2prouter \- start and stop the I2P router
.SH SYNOPSIS
.B i2prouter
.RI { console | start | stop | restart | status | dump }
.br
.SH DESCRIPTION
\fBi2prouter\fP controls the I2P service. It takes options similar to init scripts.
.B
.IP console
Runs I2P as a console application under the current user.
.B
.IP start
Starts the I2P service.
.B
.IP stop
Stops the I2P service.
.B
.IP restart
Stops the I2P service and then starts it.
.B
.IP status
Prints whether the I2P service is running.
.B
.IP dump
Dumps the current threads into\fB wrapper.log\fP.