Bug 23891 - Unnecessary dependecies in ppp package
Summary: Unnecessary dependecies in ppp package
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal minor
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2018-11-24 12:09 CET by Zoltan Balaton
Modified: 2020-07-09 11:13 CEST (History)
7 users (show)

See Also:
Source RPM: ppp-2.4.7-9.mga6.src.rpm
CVE:
Status comment:


Attachments
ppp package spec file patch to avoid unneeded dependencies (417 bytes, patch)
2018-11-24 12:10 CET, Zoltan Balaton
Details | Diff

Description Zoltan Balaton 2018-11-24 12:09:07 CET
The ppp package has excessive and unneeded dependencies due to auto deps finding things in example scripts that are not used. To avoid these I suggest the attached patch to the spec.
Comment 1 Zoltan Balaton 2018-11-24 12:10:49 CET
Created attachment 10498 [details]
ppp package spec file patch to avoid unneeded dependencies
Comment 2 David GEIGER 2018-11-25 00:45:39 CET
I don't see any excessive and unneeded dependencies here.

What is the excessive and unneeded dependencies for you?

$ urpmq --requires ppp
/bin/sh[*]
/usr/bin/expect
config(ppp)[== 2.4.7-9.mga6]
expect
glibc[>= 2.0.6]
libc.so.6()(64bit)
libc.so.6(GLIBC_2.11)(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.15)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libcrypt.so.1()(64bit)
libcrypt.so.1(GLIBC_2.2.5)(64bit)
libdl.so.2()(64bit)
libdl.so.2(GLIBC_2.2.5)(64bit)
libglib-2.0.so.0()(64bit)
libpam.so.0()(64bit)
libpam.so.0(LIBPAM_1.0)(64bit)
libpcap.so.1()(64bit)
libutil.so.1()(64bit)
libutil.so.1(GLIBC_2.2.5)(64bit)
perl(Proc::Daemon)
perl(Proc::WaitStat)
perl(Sys::Syslog)
perl(strict)
perl-base[>= 2:5.22.2]
systemd[*][>= 195]

CC: (none) => geiger.david68210

Comment 3 Zoltan Balaton 2018-11-25 12:23:05 CET
Mostly /usr/bin/expect and expect which also pull in these packages:
expect, lib64expect5.45, lib64tcl8.6, tcl
not otherwise needed for pppd (or anything else in my setup). Also perl stuff but that seems to be installed anyway for other packages. With my patch I have these:
$ rpm -q --requires ppp
/bin/sh
config(ppp) = 2.4.7-9.zcus6
glibc >= 2.0.6
libc.so.6()(64bit)
libc.so.6(GLIBC_2.11)(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.15)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libcrypt.so.1()(64bit)
libcrypt.so.1(GLIBC_2.2.5)(64bit)
libdl.so.2()(64bit)
libdl.so.2(GLIBC_2.2.5)(64bit)
libglib-2.0.so.0()(64bit)
libpam.so.0()(64bit)
libpam.so.0(LIBPAM_1.0)(64bit)
libpcap.so.1()(64bit)
libutil.so.1()(64bit)
libutil.so.1(GLIBC_2.2.5)(64bit)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1
systemd >= 195
Comment 4 Zoltan Balaton 2018-11-25 12:26:27 CET
By the way I've also reported #23741 for netinstall where this may also be relevant to not need additional packages besides ppp to fix it but I don't know.
Comment 5 Marja Van Waes 2018-11-26 08:43:52 CET
Assigning to all packagers collectively, since there is no registered maintainer for this package.

CC'ing some committers.

CC: (none) => cooker, luigiwalser, luis.daniel.lucio, marja11, pterjan
Keywords: (none) => PATCH

Marja Van Waes 2018-11-26 08:44:03 CET

Assignee: bugsquad => pkg-bugs

Comment 6 Olav Vitters 2020-07-09 11:13:44 CEST
Seems this was entirely forgotten. I applied the patch with a minor change and submitted a new ppp to Cauldron.

Thanks for the patch! Apologies for us not dealing with it sooner / forgetting about it.

CC: (none) => olav
Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.