[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Uploaded mime-tools 4.116-1 (source all) to master



  Dirk> Source: mime-tools * Changed debian/rules to change mode of files
  Dirk> that are going to be installed below /usr/lib/perl5/MIME/ from 444 to
  Dirk> 644 (lintian) I suspect that this is a Perl bug as I use 'make
  Dirk> pure_install'

  Darren>  Perl likes to install things with a-w.  It just needs to
  Darren> be dealt with after install.

Thanks for clarifying. I can see why Perl does it that way (given that it
sort-of adds package management for modules in a generic way for systems that
lack it). I added the two lines highlighted below which seems to fix it:

                $(MAKE) PREFIX=$(debtmp)/usr \
                        INSTALLDIRS=perl \
                        INSTALLMAN1DIR=$(debman)/man1 \
                        INSTALLMAN3DIR=$(debman)/man3 \
                        pure_install
                -gzip -9qf $(debman)/man3/*
---------->     # fix file modes from 444 to 644 as discovered by lintian
---------->     find $(debtmp)/usr/lib/perl5 -perm 444 | xargs chmod u+w
                dpkg-gencontrol
                chown -R root.root $(debtmp)
                chmod -R g-ws $(debtmp)
                dpkg --build $(debtmp) ..   
                touch stamp-binary

No big deal.

Dirk  
(a Lintian fan)


-- 
edd@rosebud.ml.org                 According to the latest official figures, 
http://rosebud.ml.org/~edd      43% of all statistics are totally worthless.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: