[Pkg-giraffe-discuss] Python script kopano-cachestat.py in /usr/sbin ?

Carsten Schoenert c.schoenert at t-online.de
Tue Nov 1 18:37:16 UTC 2016


Hello Mark,

On 01.11.2016 13:13, Mark Dufour wrote:
> hi carsten,
> 
> thanks! I just added a docstring on our side, and removed the 'diff'
> function, which was probably copy-pasted from elsewhere.

great, I applied your changes to the patch queue. If the 8.2.0 is going
to be released the PQ will be automatically cleaned up by the things
from upstream.

> I can see we package it in kopano-utils ourselves, in /usr/sbin.

Yes, that's there I found it while fixing the man page issue for the
archiver. :-)
The only thing Debian is not happy is the file extension *.py for files
in /bin /usr/bin and /sbin /usr/sbin. I will fix this then by dh-exec
which can do such renaming while install files into the packages.

BTW: kopano-cachstat.py got no man page, otherwise it looks good so far. :-)

Here a current log from a Lintian run

> root at x201s:/build/kopanocore-8.1.0# lintian -IE --no-tag-display-limit ../kopanocore_8.1.0-2~1.gbp4ca7a7_amd64.changes
> warning: the authors of lintian do not recommend running it with root privileges!
> W: kopanocore source: maintainer-upload-has-incorrect-version-number 8.1.0-2~1.gbp4ca7a7
> I: kopano-dagent: hardening-no-fortify-functions usr/sbin/kopano-dagent
> I: kopano-monitor: hardening-no-fortify-functions usr/sbin/kopano-monitor
> I: kopano-ical: hardening-no-fortify-functions usr/sbin/kopano-ical
> I: php5-mapi: hardening-no-fortify-functions usr/lib/php5/20131226/mapi.so
> I: kopano-archiver: hardening-no-fortify-functions usr/sbin/kopano-archiver
> I: kopano-libs: hardening-no-fortify-functions usr/lib/x86_64-linux-gnu/kopano/libkcclient.so
> I: kopano-libs: hardening-no-fortify-functions usr/lib/x86_64-linux-gnu/libkcarchiver.so.0.0.0
> I: kopano-libs: hardening-no-fortify-functions usr/lib/x86_64-linux-gnu/libkcarchivercore.so.0.0.0
> I: kopano-libs: hardening-no-fortify-functions usr/lib/x86_64-linux-gnu/libkcfreebusy.so.0.0.0
> I: kopano-libs: hardening-no-fortify-functions usr/lib/x86_64-linux-gnu/libkcicalmapi.so.0.0.0
> I: kopano-libs: hardening-no-fortify-functions usr/lib/x86_64-linux-gnu/libkcinetmapi.so.0.0.0
> I: kopano-libs: hardening-no-fortify-functions usr/lib/x86_64-linux-gnu/libkcmapi.so.0.0.0
> I: kopano-libs: hardening-no-fortify-functions usr/lib/x86_64-linux-gnu/libkcserver.so.0.0.0
> I: kopano-libs: hardening-no-fortify-functions usr/lib/x86_64-linux-gnu/libkcssl.so.0.0.0
> I: kopano-libs: hardening-no-fortify-functions usr/lib/x86_64-linux-gnu/libkcutil.so.0.0.0
> I: kopano-libs: hardening-no-fortify-functions usr/lib/x86_64-linux-gnu/libmapi.so.1.0.0
> W: kopano-libs: package-name-doesnt-match-sonames libkcarchiver0 libkcarchivercore0 libkcfreebusy0 libkcicalmapi0 libkcinetmapi0 libkcmapi0 libkcpyconv0 libkcpydirector0 libkcserver0 libkcservice0 libkcsoapclient0 libkcsoapserver0 libkcssl0 libkcsync0 libkcutil0 libmapi1
> X: kopano-libs: shlib-calls-exit usr/lib/x86_64-linux-gnu/libkcserver.so.0.0.0
> X: kopano-libs: shlib-calls-exit usr/lib/x86_64-linux-gnu/libkcssl.so.0.0.0
> I: kopano-spooler: hardening-no-fortify-functions usr/sbin/kopano-spooler
> I: kopano-contacts: hardening-no-fortify-functions usr/lib/x86_64-linux-gnu/kopano/ldapplugin.so
> I: kopano-contacts: hardening-no-fortify-functions usr/sbin/kopano-server
> I: kopano-gateway: hardening-no-fortify-functions usr/sbin/kopano-gateway
> I: kopano-utils: hardening-no-fortify-functions usr/bin/kopano-fsck
> I: kopano-utils: hardening-no-fortify-functions usr/bin/kopano-passwd
> I: kopano-utils: hardening-no-fortify-functions usr/bin/kopano-stats
> I: kopano-utils: hardening-no-fortify-functions usr/sbin/kopano-admin
> W: kopano-utils: binary-without-manpage usr/sbin/kopano-archiver-aclset
> W: kopano-utils: binary-without-manpage usr/sbin/kopano-archiver-aclsync
> W: kopano-utils: binary-without-manpage usr/sbin/kopano-archiver-restore
> W: kopano-utils: binary-without-manpage usr/sbin/kopano-cachestat
> N: 1 tag overridden (1 info)

I added a override for the wrong detected word 'Nam' which is obviously
a translation.

> root at x201s:/build/kopanocore-8.1.0# cat debian/kopano-libs.lintian-overrides 
> # No spelling issue -> common/ustringutil.cpp: {"vi",42,"Vietnamese_Viet Nam"}
> kopano-libs: spelling-error-in-binary usr/lib/x86_64-linux-gnu/libkcutil.so.0.0.0 Nam Name

After some small testing I uploaded my changes to Alioth.

-- 
Regards
Carsten Schoenert




More information about the Pkg-giraffe-discuss mailing list