Bug 2136974 - spamass-milter not necessary dependencies, waste of resources
Summary: spamass-milter not necessary dependencies, waste of resources
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: spamass-milter
Version: epel9
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Paul Howarth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-22 08:00 UTC by f1outsourcing
Modified: 2023-06-25 10:16 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-647 0 None None None 2022-11-04 08:02:48 UTC

Description f1outsourcing 2022-10-22 08:00:41 UTC
Description of problem:

I just need milter to send requests to an external container. That should be 1MB install not 315MB. Anyone else having this on a different distribution?
Wtf gcc?



Installing:
 spamass-milter              x86_64 0.4.0-13.el9      CentOS9_64-epel          61 k

Installing dependencies:
 annobin                     x86_64 10.73-3.el9       CentOS9stream-AppStream 961 k
 binutils                    x86_64 2.35.2-24.el9     CentOS9stream           4.6 M
 checkpolicy                 x86_64 3.4-1.el9         CentOS9stream-AppStream 347 k
 cpp                         x86_64 11.3.1-2.1.el9    CentOS9stream-AppStream  11 M
 dwz                         x86_64 0.14-3.el9        CentOS9stream-AppStream 128 k
 efi-srpm-macros             noarch 4-9.el9           CentOS9stream-AppStream  23 k
 elfutils-debuginfod-client  x86_64 0.187-5.el9       CentOS9stream            38 k
 environment-modules         x86_64 5.0.1-2.el9       CentOS9stream           492 k
 fonts-srpm-macros           noarch 1:2.0.5-7.el9.1   CentOS9stream-AppStream  28 k
 gcc-plugin-annobin          x86_64 11.3.1-2.1.el9    CentOS9stream-AppStream  69 k
 gcc-toolset-12-binutils     x86_64 2.38-16.el9       CentOS9stream-AppStream 5.5 M
 gcc-toolset-12-binutils-gold
                             x86_64 2.38-14.el9       CentOS9stream-AppStream 752 k
 gcc-toolset-12-runtime      x86_64 12.0-5.el9        CentOS9stream-AppStream  55 k
 ghc-srpm-macros             noarch 1.5.0-6.el9       CentOS9stream-AppStream 8.8 k
 glibc-devel                 x86_64 2.34-40.el9       CentOS9stream-AppStream  43 k
 glibc-headers               x86_64 2.34-40.el9       CentOS9stream-AppStream 543 k
 go-srpm-macros              noarch 3.0.9-9.el9       CentOS9stream-AppStream  27 k
 kernel-headers              x86_64 5.14.0-176.el9    CentOS9stream-AppStream 3.6 M
 kernel-srpm-macros          noarch 1.0-11.el9        CentOS9stream-AppStream  16 k
 libmpc                      x86_64 1.2.1-4.el9       CentOS9stream-AppStream  62 k
 libpkgconf                  x86_64 1.7.3-10.el9      CentOS9stream            36 k
 libxcrypt-devel             x86_64 4.4.18-3.el9      CentOS9stream-AppStream  29 k
 llvm-libs                   x86_64 14.0.6-1.el9      CentOS9stream-AppStream  20 M
 lua-srpm-macros             noarch 1-6.el9           CentOS9stream-AppStream 9.5 k
 mailcap                     noarch 2.1.49-5.el9      CentOS9stream            33 k
 ocaml-srpm-macros           noarch 6-6.el9           CentOS9stream-AppStream 8.8 k
 openblas-srpm-macros        noarch 2-11.el9          CentOS9stream-AppStream 8.4 k
 perl-Algorithm-Diff         noarch 1.2010-4.el9      CentOS9stream-AppStream  48 k
 perl-Archive-Tar            noarch 2.38-6.el9        CentOS9stream-AppStream  72 k
 perl-AutoSplit              noarch 5.74-479.el9      CentOS9stream-AppStream  31 k
 perl-BSD-Resource           x86_64 1.291.100-17.el9  CentOS9stream-AppStream  46 k
 perl-Benchmark              noarch 1.23-479.el9      CentOS9stream-AppStream  36 k
 perl-CPAN-Meta-YAML         noarch 0.018-461.el9     CentOS9stream-AppStream  27 k
 perl-Compress-Raw-Bzip2     x86_64 2.101-5.el9       CentOS9stream-AppStream  35 k
 perl-Compress-Raw-Lzma      x86_64 2.101-3.el9       CentOS9stream-AppStream  51 k
 perl-Compress-Raw-Zlib      x86_64 2.101-5.el9       CentOS9stream-AppStream  61 k
 perl-Crypt-OpenSSL-Bignum   x86_64 0.09-16.el9       CentOS9stream-AppStream  43 k
 perl-Crypt-OpenSSL-RSA      x86_64 0.31-13.el9       CentOS9stream-AppStream  44 k
 perl-Crypt-OpenSSL-Random   x86_64 0.15-14.el9       CentOS9stream-AppStream  27 k
 perl-DB_File                x86_64 1.855-4.el9       CentOS9stream-AppStream  82 k
 perl-Data-Dump              noarch 1.23-18.el9       CentOS9stream-AppStream  34 k
 perl-Devel-PPPort           x86_64 3.62-4.el9        CentOS9stream-AppStream 212 k
 perl-Digest-HMAC            noarch 1.03-29.el9       CentOS9stream-AppStream  17 k
 perl-Digest-SHA             x86_64 1:6.02-461.el9    CentOS9stream-AppStream  62 k
 perl-DynaLoader             x86_64 1.47-479.el9      CentOS9stream-AppStream  35 k
 perl-Encode-Detect          x86_64 1.01-37.el9       CentOS9stream-AppStream  90 k
 perl-Encode-Locale          noarch 1.05-21.el9       CentOS9stream-AppStream  20 k
 perl-Error                  noarch 1:0.17029-7.el9   CentOS9stream-AppStream  42 k
 perl-ExtUtils-Command       noarch 2:7.60-3.el9      CentOS9stream-AppStream  15 k
 perl-ExtUtils-Constant      noarch 0.25-479.el9      CentOS9stream-AppStream  56 k
 perl-ExtUtils-Install       noarch 2.20-4.el9        CentOS9stream-AppStream  45 k
 perl-ExtUtils-MakeMaker     noarch 2:7.60-3.el9      CentOS9stream-AppStream 300 k
perl-ExtUtils-Manifest      noarch 1:1.73-4.el9      CentOS9stream-AppStream  35 k
 perl-ExtUtils-ParseXS       noarch 1:3.40-460.el9    CentOS9stream-AppStream 186 k
 perl-File-Compare           noarch 1.100.600-479.el9 CentOS9stream-AppStream  23 k
 perl-File-Copy              noarch 2.34-479.el9      CentOS9stream-AppStream  30 k
 perl-File-Find              noarch 1.37-479.el9      CentOS9stream-AppStream  35 k
 perl-File-Listing           noarch 6.14-4.el9        CentOS9stream-AppStream  26 k
 perl-HTML-Parser            x86_64 3.76-3.el9        CentOS9stream-AppStream 124 k
 perl-HTML-Tagset            noarch 3.20-47.el9       CentOS9stream-AppStream  19 k
 perl-HTTP-Cookies           noarch 6.10-4.el9        CentOS9stream-AppStream  39 k
 perl-HTTP-Date              noarch 6.05-7.el9        CentOS9stream-AppStream  25 k
 perl-HTTP-Message           noarch 6.29-3.el9        CentOS9stream-AppStream  99 k
 perl-HTTP-Negotiate         noarch 6.01-30.el9       CentOS9stream-AppStream  20 k
 perl-I18N-Langinfo          x86_64 0.19-479.el9      CentOS9stream-AppStream  32 k
 perl-IO-Compress            noarch 2.102-4.el9       CentOS9stream-AppStream 270 k
 perl-IO-Compress-Lzma       noarch 2.101-4.el9       CentOS9stream-AppStream  78 k
 perl-IO-HTML                noarch 1.004-4.el9       CentOS9stream-AppStream  29 k
 perl-IO-Socket-INET6        noarch 2.72-24.el9       CentOS9stream-AppStream  29 k
 perl-IO-Zlib                noarch 1:1.11-4.el9      CentOS9stream-AppStream  20 k
 perl-JSON                   noarch 4.03-5.el9        CentOS9stream-AppStream  96 k
 perl-JSON-PP                noarch 1:4.06-4.el9      CentOS9stream-AppStream  67 k
 perl-LWP-MediaTypes         noarch 6.04-9.el9        CentOS9stream-AppStream  34 k
 perl-Mail-AuthenticationResults
                             noarch 2.20210112-4.el9  CentOS9stream-AppStream  68 k
 perl-Mail-DKIM              noarch 1.20200907-4.el9  CentOS9stream-AppStream 205 k
 perl-Mail-SPF               noarch 2.9.0-26.el9      CentOS9stream-AppStream 159 k
 perl-MailTools              noarch 2.21-9.el9        CentOS9stream-AppStream 111 k
 perl-Math-BigInt            noarch 1:1.9998.18-460.el9
                                                      CentOS9stream-AppStream 190 k
 perl-Math-Complex           noarch 1.59-479.el9      CentOS9stream-AppStream  56 k
 perl-NTLM                   noarch 1.09-30.el9       CentOS9stream-AppStream  23 k
 perl-Net-CIDR-Lite          noarch 0.22-2.el9        CentOS9stream-AppStream  21 k
 perl-Net-DNS                noarch 1.29-6.el9        CentOS9stream-AppStream 401 k
 perl-Net-HTTP               noarch 6.21-3.el9        CentOS9stream-AppStream  41 k
 perl-Net-SMTP-SSL           noarch 1.04-16.el9       CentOS9stream-AppStream  13 k
 perl-NetAddr-IP             x86_64 4.079-18.el9      CentOS9stream-AppStream 135 k
 perl-Socket6                x86_64 0.29-11.el9       CentOS9stream-AppStream  32 k
 perl-Sys-Hostname           x86_64 1.23-479.el9      CentOS9stream-AppStream  27 k
 perl-Sys-Syslog             x86_64 0.36-461.el9      CentOS9stream-AppStream  48 k
 perl-Test-Harness           noarch 1:3.42-461.el9    CentOS9stream-AppStream 295 k
 perl-Text-Diff              noarch 1.45-13.el9       CentOS9stream-AppStream  42 k
 perl-Tie                    noarch 4.6-479.el9       CentOS9stream-AppStream  41 k
 perl-Time-HiRes             x86_64 4:1.9764-462.el9  CentOS9stream-AppStream  58 k
 perl-TimeDate               noarch 1:2.33-6.el9      CentOS9stream-AppStream  59 k
 perl-Try-Tiny               noarch 0.30-13.el9       CentOS9stream-AppStream  39 k
 perl-WWW-RobotRules         noarch 6.02-30.el9       CentOS9stream-AppStream  21 k
 perl-lib                    x86_64 0.65-479.el9      CentOS9stream-AppStream  24 k
 perl-libwww-perl            noarch 6.53-4.el9        CentOS9stream-AppStream 211 k
 perl-locale                 noarch 1.09-479.el9      CentOS9stream-AppStream  23 k
 perl-srpm-macros            noarch 1-41.el9          CentOS9stream-AppStream 9.1 k
 perl-version                x86_64 7:0.99.28-4.el9   CentOS9stream-AppStream  63 k
 pkgconf                     x86_64 1.7.3-10.el9      CentOS9stream            41 k
 pkgconf-m4                  noarch 1.7.3-10.el9      CentOS9stream            15 k
 pkgconf-pkg-config          x86_64 1.7.3-10.el9      CentOS9stream            11 k
policycoreutils-python-utils
                             noarch 3.4-4.el9         CentOS9stream-AppStream  75 k
 python-srpm-macros          noarch 3.9-52.el9        CentOS9stream-AppStream  24 k
 python3-audit               x86_64 3.0.7-103.el9     CentOS9stream-AppStream  84 k
 python3-libsemanage         x86_64 3.4-2.el9         CentOS9stream-AppStream  80 k
 python3-policycoreutils     noarch 3.4-4.el9         CentOS9stream-AppStream 2.1 M
 python3-pyparsing           noarch 2.4.7-9.el9       CentOS9stream           150 k
 python3-setools             x86_64 4.4.0-5.el9       CentOS9stream           599 k
 python3-setuptools          noarch 53.0.0-11.el9     CentOS9stream           944 k
 qt5-srpm-macros             noarch 5.15.3-1.el9      CentOS9stream-AppStream 9.7 k
 redhat-rpm-config           noarch 196-1.el9         CentOS9stream-AppStream  73 k
 rust-srpm-macros            noarch 17-4.el9          CentOS9stream-AppStream  10 k
 scl-utils                   x86_64 1:2.0.3-2.el9     CentOS9stream-AppStream  38 k
 spamassassin                x86_64 3.4.6-5.el9       CentOS9stream-AppStream 1.3 M
 systemtap-sdt-devel         x86_64 4.7-2.el9         CentOS9stream-AppStream  74 k
 tcl                         x86_64 1:8.6.10-7.el9    CentOS9stream           1.1 M
 unzip                       x86_64 6.0-56.el9        CentOS9stream           182 k
 vim-filesystem              noarch 2:8.2.2637-16.el9 CentOS9stream            25 k
 zip                         x86_64 3.0-33.el9        CentOS9stream           238 k
Installing weak dependencies:
 gcc                         x86_64 11.3.1-2.1.el9    CentOS9stream-AppStream  32 M
 perl-CPAN-Meta              noarch 2.150010-460.el9  CentOS9stream-AppStream 202 k
 perl-CPAN-Meta-Requirements noarch 2.140-461.el9     CentOS9stream-AppStream  32 k
 perl-Clone                  x86_64 0.45-6.el9        CentOS9stream-AppStream  23 k
 perl-devel                  x86_64 4:5.32.1-479.el9  CentOS9stream-AppStream 685 k
 perl-doc                    noarch 5.32.1-479.el9    CentOS9stream-AppStream 4.6 M

Comment 1 f1outsourcing 2022-10-22 10:19:10 UTC
If I build spamass-milter from source remove the dep spamassassin and sendmail ( ps milter is a standard it is not sendmail, so how do you know if someone is using sendmail)
and just include /usr/bin/spamc

I have an rpm of 77k

Comment 2 Paul Howarth 2022-11-04 09:36:07 UTC
The sendmail dependency is there for support of the "-b" option, which redirects tagged spam to the specified email address. It needs a sendmail binary to do this. The application's configure script looks for this binary at build time and compiles in the path to the binary that it finds.

/usr/bin/spamc is part of the spamassassin package so I don't see how changing that dependency would help.

Comment 3 Graham Leggett 2023-06-25 07:10:12 UTC
Ideally the configure script should look for the binaries at /etc/alternatives/mta-sendmail to use the alternatives mechanism.

Comment 4 Paul Howarth 2023-06-25 10:16:46 UTC
The "sendmail" dependency is actually "/usr/sbin/sendmail", which on Fedora is provided by any of these packages:

$ dnf repoquery --whatprovides /usr/sbin/sendmail
esmtp-0:1.2-20.fc37.x86_64
exim-0:4.96-2.fc37.x86_64
exim-0:4.96-6.fc37.x86_64
msmtp-0:1.8.23-2.fc37.x86_64
opensmtpd-0:6.8.0p2-10.fc37.x86_64
opensmtpd-0:6.8.0p2-9.fc37.x86_64
postfix-2:3.7.2-4.fc37.x86_64
postfix-2:3.7.3-1.fc37.x86_64
sendmail-0:8.17.1-6.fc37.x86_64
sendmail-0:8.17.1-7.fc37.x86_64
sendmail-0:8.17.2-1.0.cf.fc37.x86_64
ssmtp-0:2.64-30.fc37.x86_64

I expect the story is similar on EL-9.


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