From: Sven Hoexter Date: Thu, 28 Apr 2011 11:30:41 +0000 (+0200) Subject: Add debian/patches/(man-hyphen-as-minus|man-spelling) to fix several manpage issue... X-Git-Tag: debian/7.19.6-2~1 X-Git-Url: http://git.sven.stormbind.net/?p=sven%2Ftclcurl.git;a=commitdiff_plain;h=fc4badd4fde9511562eb343fdf3f8d764c04b7c8 Add debian/patches/(man-hyphen-as-minus|man-spelling) to fix several manpage issue flagged by lintian. --- diff --git a/debian/changelog b/debian/changelog index b77bb59..37153a5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -16,6 +16,8 @@ tclcurl (7.19.6-2) UNRELEASED; urgency=low on the buildds. * Add debian/source/format -> 1.0. * Add a watch file. + * Add debian/patches/(man-hyphen-as-minus|man-spelling) to fix several + manpage issue flagged by lintian. -- Sven Hoexter Wed, 16 Jun 2010 22:31:49 +0200 diff --git a/debian/patches/man-hyphen-as-minus b/debian/patches/man-hyphen-as-minus new file mode 100644 index 0000000..6279360 --- /dev/null +++ b/debian/patches/man-hyphen-as-minus @@ -0,0 +1,68 @@ +Fix several hyphen-as-minus problems flagged by lintian. +--- a/doc/tclcurl.n ++++ b/doc/tclcurl.n +@@ -294,7 +294,7 @@ too low might cause unnecessary connecti + .TP + .B -dnscachetimeout + Pass the timeout in seconds. Name resolves will be kept in memory for this number +-of seconds. Set to '0' to completely disable caching, or '-1' to make the ++of seconds. Set to '0' to completely disable caching, or '\-1' to make the + cached entries remain forever. By default, TclCurl caches this info for 60 seconds. + + .TP +@@ -498,7 +498,7 @@ is meaningful only when setting \fB-f + Sets the redirection limit. If that many redirections have been followed, + the next redirect will cause an error. This option only makes sense if the + \fB-followlocation\fP option is used at the same time. Setting the limit +-to 0 will make libcurl refuse any redirect. Set it to -1 for an infinite ++to 0 will make libcurl refuse any redirect. Set it to \-1 for an infinite + number of redirects (which is the default) + + .TP +@@ -1026,7 +1026,7 @@ Pass the offset in number of bytes that + Set this option to 0 to make the transfer start from the beginning + (effectively disabling resume). + +-For FTP, set this option to -1 to make the transfer start from the end of the ++For FTP, set this option to \-1 to make the transfer start from the end of the + target file (useful to continue an interrupted upload). + + .TP +@@ -1626,7 +1626,7 @@ Internal error. A function was called wi + Interface error. A specified outgoing interface could not be used. + .IP 47 + Too many redirects. When following redirects, TclCurl hit the maximum amount, set +-your limit with --maxredirs ++your limit with \-\-maxredirs + .IP 48 + Unknown TELNET option specified. + .IP 49 +@@ -1720,7 +1720,7 @@ Returns the last received proxy response + .TP + .B filetime + Returns the remote time of the retrieved document (in number of seconds +-since 1 jan 1970 in the GMT/UTC time zone). If you get -1, ++since 1 jan 1970 in the GMT/UTC time zone). If you get \-1, + it can be because of many reasons (unknown, the server hides it or the + server doesn't support the command that tells document time etc) and the time + of the document is unknown. +@@ -1824,7 +1824,7 @@ requests. Note that this may be more tha + .TP + .B sslverifyresult + Returns the result of the certification verification that was requested +-(using the -sslverifypeer option to configure). ++(using the \-sslverifypeer option to configure). + + .TP + .B sslengines +--- a/doc/tclcurl_multi.n ++++ b/doc/tclcurl_multi.n +@@ -174,7 +174,7 @@ you can use the + command, it will return the number of transfers currently active. + .sp + .B RETURN VALUE +-The number of active transfers or '-1' in case of error. ++The number of active transfers or '\-1' in case of error. + + .SH multiHandle getinfo + This procedure returns very simple information about the transfers, you diff --git a/debian/patches/man-spelling b/debian/patches/man-spelling new file mode 100644 index 0000000..31f1b93 --- /dev/null +++ b/debian/patches/man-spelling @@ -0,0 +1,57 @@ +Fix a few spelling issue flagged by lintian. +--- a/doc/tclcurl.n ++++ b/doc/tclcurl.n +@@ -50,7 +50,7 @@ curl and this call MUST have a correspon + .I cleanup + when the operation is completed. + You should perform all your sequential file transfers using the same +-curlHandle. This enables TclCurl to use persistant connections when ++curlHandle. This enables TclCurl to use persistent connections when + possible. + .sp + .B RETURN VALUE +@@ -308,7 +308,7 @@ to using the share interface instead! Se + + .TP + .B -buffersize +-Pass your prefered size for the receive buffer in TclCurl. The main point of this ++Pass your preferred size for the receive buffer in TclCurl. The main point of this + would be that the write callback gets called more often and with smaller chunks. + This is just treated as a request, not an order. You cannot be guaranteed to + actually get the given size. +@@ -437,7 +437,7 @@ TclCurl will automatically select the on + + .TP + .B anysafe +-It may use anything but basic, TclCurl will automaticly select the ++It may use anything but basic, TclCurl will automatically select the + one it finds most secure. + .RE + +@@ -697,7 +697,7 @@ a single option and thus you need to con + Set multiple cookies in one string like this: "name1=content1; name2=content2;" + etc. + +-Note that this option sets the cookie header explictly in the outgoing request(s). ++Note that this option sets the cookie header explicitly in the outgoing request(s). + If multiple requests are done due to authentication, followed redirections or similar, + they will all get this cookie passed on. + +@@ -1148,7 +1148,7 @@ than or equal to the parameter value. De + + .TP + .B -maxconnects +-Sets the persistant connection cache size in all the protocols that support ++Sets the persistent connection cache size in all the protocols that support + persistent conecctions. The set amount will be the maximum amount of simultaneous + connections that TclCurl may cache in this easy handle. Default is 5, and there + isn't much point in changing this value unless you are perfectly aware of how this +@@ -1916,7 +1916,7 @@ to pause the transfer. + Resumes a transfer paused with \fBcurlhandle pause\fP + + .SH curl::transfer +-In case you do not want to use persistant connections you can use this ++In case you do not want to use persistent connections you can use this + command, it takes the same arguments as the \fIcurlHandle\fP \fBconfigure\fP + and will init, configure, perform and cleanup a connection for you. + diff --git a/debian/patches/series b/debian/patches/series index 16fd908..d37947f 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,4 +1,6 @@ example-shebang man-section reformat-tclcurl3 +man-spelling +man-hyphen-as-minus correct-linking