Packaging crosstool-ng

Oron Peled oron@actcom.co.il
Wed Oct 14 08:46:00 GMT 2009


Hi,

I've started packaging CT-NG for Fedora. The current results
are in http://oron.fedorapeople.org/crosstool-ng

Checking the results with rpmlint, I did some cleanups:
1. The populate script was configured during toolchain build.
   I moved most of this to configuration time, like other .in
   files. The only thing that's still postponed to toolchain build
   is CT_TARGET substitution.
   This change is contained in the attached patch.

2. Two scripts have 644 permissions instead of 755:
     /usr/share/ct-ng-1.4.2/kconfig/lxdialog/check-lxdialog.sh
     /usr/share/ct-ng-1.4.2/kconfig/check-gettext.sh
   I changed it in my package, but IMO it should be done in the
   upstream tarball.

3. There are other 3 "scripts" with 644 perms:
     /usr/share/ct-ng-1.5.0/scripts/toolchain-config.in
     /usr/share/ct-ng-1.5.0/scripts/build/debug/duma.in
     /usr/share/ct-ng-1.5.0/scripts/wrapper.in
   I didn't change their permissions, as they are actually
   templates used to generate scripts. Just making them
   executable to silence rpmlint does not seem right to me.
   Hmmm.... re-thinking of this, the populate script also
   belong to the same category, so maybe I shouldn't have
   made it executable in the new Makefile.

What do you think?

-- 
Oron Peled                                 Voice: +972-4-8228492
oron@actcom.co.il                  http://users.actcom.co.il/~oron
...there are two types of command interfaces in the world of
             computing: good interfaces and user interfaces.
                            - Dan Bernstein, Author of qmail
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crosstool-ng-1.5.0.populate.patch
Type: text/x-patch
Size: 2375 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20091014/e27f413e/attachment.bin>
-------------- next part --------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq


More information about the crossgcc mailing list