Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53791 - lftp doesn't need pam (version 3.0.6, maybe other versions too)
Summary: lftp doesn't need pam (version 3.0.6, maybe other versions too)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-13 03:26 UTC by Timo Hirvonen
Modified: 2004-06-13 17:17 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timo Hirvonen 2004-06-13 03:26:55 UTC
lftp-3.0.6 incorrectly depends on sys-libs/pam. lftp never uses pam so the dependency should be removed.

Reproducible: Always
Steps to Reproduce:
Comment 1 Daniel Black (RETIRED) gentoo-dev 2004-06-13 16:32:11 UTC
ldd /usr/bin/lftp
        linux-gate.so.1 =>  (0xffffe000)
        libgcc_s.so.1 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc_s.so.1 (0x40034000)
        libstdc++.so.5 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so.5 (0x4003d000)
        libreadline.so.4 => /lib/libreadline.so.4 (0x400f3000)
        libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x40121000)
        libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x40152000)
        libsocks.so.0 => /usr/lib/libsocks.so.0 (0x4024d000)
        libpam.so.0 => /lib/libpam.so.0 (0x40286000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x4028e000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x402a3000)
        libutil.so.1 => /lib/libutil.so.1 (0x402d1000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x402d4000)
        libdl.so.2 => /lib/libdl.so.2 (0x402e6000)
        libm.so.6 => /lib/libm.so.6 (0x402e9000)
        libc.so.6 => /lib/libc.so.6 (0x4030b000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Cause libpam is there I assume it was a dependancy.
qpkg -f -nc -v /lib/libpam.so.0
sys-libs/pam-0.77

Try the same 'ldd /usr/bin/lftp' on your box. If no pam shows up, and you haven't got sys-libs/pam installed, I'll remove it as a dependancy (by force if necessary ;-).
Comment 2 Daniel Black (RETIRED) gentoo-dev 2004-06-13 16:48:41 UTC
looking further - It could be a socks5 only dependancy. If so I will correct.
Comment 3 Timo Hirvonen 2004-06-13 16:57:51 UTC
ldd /usr/bin/lftp
        linux-gate.so.1 =>  (0xffffe000)
        libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.0/libgcc_s.so.1 (0x40019000)
        libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.0/libstdc++.so.6 (0x40022000)
        libreadline.so.4 => /lib/libreadline.so.4 (0x40100000)
        libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x4012b000)
        libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x40153000)
        libutil.so.1 => /lib/libutil.so.1 (0x40224000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x40227000)
        libdl.so.2 => /lib/libdl.so.2 (0x40238000)
        libm.so.6 => /lib/libm.so.6 (0x4023b000)
        libc.so.6 => /lib/libc.so.6 (0x4025d000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

I don't have sys-libs/pam installed (I have masked it :)). lftp-3.0.6 emerged after I removed "sys-libs/pam" from both DEPEND and RDEPEND.
Comment 4 Daniel Black (RETIRED) gentoo-dev 2004-06-13 17:17:34 UTC
Thanks for the bug report. I'm made a DEPEND on pam only if socks5 USE is present. Changes commited.

FYI ldd is sometimes misleading for shared library dependancies (depenancies of dependancies included). readelf I think is a bit better however I'm still getting used to this.

Thanks