Package: ssmtp
Version: 2.64-8+b2
Severity: normal

Bug:
 ssmtp lists Uncompressed Size: 2,048
Cause:
 not invoking dpkg-gencontrol
Remedy
 Use debhelper in modern ways. (dh)

Background
> On 11/09/17 15:11, Osamu Aoki wrote:
> > I am wondering what makes aptitude screen to print:
> >   Compressed Size: 54.2 k
> >   Uncompressed Size: 2,048
> >   Source Package: ssmtp
> > for ssmtp package.
> >
> > Uncompressed size is usually bigger than compressed Size.
> > Am I missing something.
> >
> > INFO file in the ssmtp deb package has:
> >
> >  new debian package, version 2.0.
> >  size 54172 bytes: control archive=17623 bytes.
> >       58 bytes,     2 lines      conffiles
> >     1082 bytes,    64 lines   *  config               #!/bin/sh
> >      940 bytes,    21 lines      control
> >     2312 bytes,    96 lines   *  postinst             #!/bin/sh
> >      362 bytes,    26 lines   *  postrm               #!/bin/sh
> >      367 bytes,    21 lines   *  preinst              #!/bin/sh
> >    38672 bytes,   317 lines      templates
> >  Package: ssmtp
> >  Source: ssmtp (2.64-8)
> >  Version: 2.64-8+b2
> >  Architecture: amd64
> >  Maintainer: Anibal Monsalve Salazar <[email protected]>
> >  Installed-Size: 2
> >
> > This 2 is in KB.  Consistent with aptitude but why so small???

On Mon, Sep 11, 2017 at 03:20:36PM +0100, James Cowgill wrote:
> The debian/rules file calls dpkg-gencontrol before installing anything,
> so dpkg-gencontrol doesn't "see" any of the binaries when calculating
> the installed size.
>
> https://sources.debian.net/src/ssmtp/2.64-8/debian/rules/
>
> Maybe it should start using debhelper...

-- System Information:
Debian Release: 9.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 
'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ssmtp depends on:
ii  debconf [debconf-2.0]  1.5.61
ii  libc6                  2.24-11+deb9u1
pn  libgnutls-openssl27    <none>

ssmtp recommends no packages.

ssmtp suggests no packages.

Reply via email to