[Build-common-hackers] Bug#346382: Please prevent installation of harmful stuff such as mimeinfo.cache

Loïc Minier lool at dooz.org
Sat Jan 7 15:14:15 UTC 2006


Package: cdbs
Version: 0.4.32
Severity: wishlist

        Hi,

 I wish cdbs' gnome.mk or maybe a more central place such as
 debhelper.mk would prevent installation of dangerous stuff, such as
 generated data.  One example of this is #346062 where capplets-data
 shipds /usr/share/applications/mimeinfo.cache which is generated at
 build time but should only be generated at package installation time.
 (The consequence is that people might get an empty
 /usr/share/applications/mimeinfo.cache and borken debsums)

 Please add a protection against this, some ideas:
    DEB_DH_INSTALL_ARGS += -Xmimeinfo.cache
    DEB_MAKE_INSTALL_TARGET += XDG_CACHE_HOME=debian/tmp/tmp

 Perhaps other files would be appropriate to list here.

   Cheers,

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=fr_FR at euro, LC_CTYPE=fr_FR at euro (charmap=ISO-8859-15)

cdbs depends on no packages.

Versions of packages cdbs recommends:
ii  autotools-dev                 20050803.1 Update infrastructure for config.{
ii  debhelper                     5.0.12     helper programs for debian/rules

-- no debconf information

-- 
Loïc Minier <lool at dooz.org>
Current Earth status:   NOT DESTROYED




More information about the Build-common-hackers mailing list