Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 622880 - net-nntp/suck: rpost doesnt handle -z
Summary: net-nntp/suck: rpost doesnt handle -z
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-27 22:18 UTC by Ian Zimmerman
Modified: 2018-02-15 13:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Simple makefile change (01_rpost-ssl.diff,455 bytes, patch)
2017-06-27 23:31 UTC, Ian Zimmerman
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Zimmerman 2017-06-27 22:18:01 UTC
matica!62 ~$ vi testpost
 matica!63 ~$ export NNTPSERVER=news.eternal-september.org:563
 matica!64 ~$ export NNTP_USER=user
 matica!66 ~$ export NNTP_PASS=password
 matica!67 ~$ rpost -u -Q -z < testpost
Invalid argument: -z, ignoring
Using Port 563
Official host name: news.eternal-september.org
Address: 213.239.209.88
Connected to news.eternal-september.org

... [crickets]

and eventually it fails, not surprising since it's trying to do plaintext on the SSL only port.

 matica!68 ~$ ldd /usr/bin/rpost
	linux-vdso.so.1 (0x00007fff8c1e2000)
	libsocks.so.0 => /usr/lib64/libsocks.so.0 (0x00007f35ada05000)
	libssl.so.1.0.0 => /usr/lib64/libssl.so.1.0.0 (0x00007f35ad794000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f35ad3f7000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007f35ad1f3000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f35adc7d000)
	libcrypto.so.1.0.0 => /usr/lib64/libcrypto.so.1.0.0 (0x00007f35acda4000)
	libz.so.1 => /lib64/libz.so.1 (0x00007f35acb87000)
 matica!70 ~$ equery -Cq u suck
+perl
+ssl


WTH ? WTF ?
Comment 1 Ian Zimmerman 2017-06-27 23:31:34 UTC
Created attachment 478258 [details, diff]
Simple makefile change

This is how debian fixes it.
Comment 2 Michael Vetter 2018-02-15 10:54:20 UTC
New upstream: https://github.com/lazarus-pkgs/suck

Upstream commit fixing this issue: https://github.com/lazarus-pkgs/suck/commit/27125edb7b91b3b0242e2b38efd56f0975ad337e

https://github.com/gentoo/gentoo/pull/7185 is trying to update suck to the new 4.3.3 which contains this change.
Comment 3 Larry the Git Cow gentoo-dev 2018-02-15 13:47:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d65d2755d5c5abb31a846991847046f71748cb9e

commit d65d2755d5c5abb31a846991847046f71748cb9e
Author:     Michael Vetter <jubalh@iodoru.org>
AuthorDate: 2018-02-14 14:43:05 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-02-15 13:47:06 +0000

    net-nntp/suck: Add version 4.3.3
    
    Closes: https://bugs.gentoo.org/232581
    Closes: https://bugs.gentoo.org/622880
    Package-Manager: Portage-2.3.19, Repoman-2.3.6
    Closes: https://github.com/gentoo/gentoo/pull/7185

 net-nntp/suck/Manifest                |  1 +
 net-nntp/suck/files/4.3.3-fputs.patch | 25 ++++++++++++++
 net-nntp/suck/suck-4.3.3.ebuild       | 61 +++++++++++++++++++++++++++++++++++
 3 files changed, 87 insertions(+)