From jjasghar at gmail.com Sun May 2 20:38:05 2010 From: jjasghar at gmail.com (JJ Asghar) Date: Sun, 2 May 2010 15:38:05 -0500 Subject: [crux-devel] Reminder: IRC Meeting for 2.7 on 2010-05-04 Message-ID: 21.00 2010-05-04 CET in #crux-devel Best Regards, JJ Asghar phone: 0x1318B7682 From weigelt at metux.de Sun May 2 22:38:31 2010 From: weigelt at metux.de (Enrico Weigelt) Date: Mon, 3 May 2010 00:38:31 +0200 Subject: [crux-devel] paper on the oss-qm project Message-ID: <20100502223830.GA31478@nibiru.local> Hi folks, JFYI: i've written a little paper on the oss-qm project, which aims to quickly provide fixed sourcetrees to lots of packages+versions and so offload lots of QM/patching works from individual distros to a common place: http://www.metux.de/download/oss-qm-project-2010050101.pdf cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ phone: +49 36207 519931 email: weigelt at metux.de mobile: +49 174 7066481 icq: 210169427 skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- From jjasghar at gmail.com Tue May 4 19:10:21 2010 From: jjasghar at gmail.com (JJ Asghar) Date: Tue, 4 May 2010 14:10:21 -0500 Subject: [crux-devel] Canceled: IRC Meeting for 2.7 on 2010-05-04 Message-ID: Canceled due to requests from Tilman and Juergen. -J Best Regards, JJ Asghar phone: 0x1318B7682 From tilman at crux.nu Tue May 4 20:26:39 2010 From: tilman at crux.nu (Tilman Sauerbeck) Date: Tue, 4 May 2010 22:26:39 +0200 Subject: [crux-devel] Proposed: IRC Meeting for 2.7 on 2010-05-04 In-Reply-To: References: Message-ID: <20100504202639.GA19179@code-monkey.de> JJ Asghar [2010-04-27 10:37]: Hi JJ, > Traditionally the meetings have been on Tuesdays at 20.00 CET. I I think getting together on IRC periodically makes much sense now that we're getting started on merging stuff for 2.7. > propose pushing it back about an hour to 21.00 2010-05-04 CET. I'd Can we make it 18:00 UTC? :) > like to get all of the developers together so i can fill out the > resources and start to track the project. I'd like to look for gaps > and a possible roadmap that we can agree for a release schedule. It's > not set in stone or anything, but i think if we told the users of our > distro to expect it in X days/weeks/months, it would make everyone > happy. Yeah, and then we'd make them unhappy because we wouldn't keep the schedule anyway }:-> Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: From tilman at crux.nu Sun May 16 10:52:39 2010 From: tilman at crux.nu (Tilman Sauerbeck) Date: Sun, 16 May 2010 12:52:39 +0200 Subject: [crux-devel] Compression mode patch Message-ID: <20100516105239.GA9863@code-monkey.de> Hi, Juergen came up with a patch that lets users choose what compression scheme to use for packages created by pkgmk. Supported compression algorithms are gzip, bzip2 and xz. I now extended the patch with some text for the pkgmk.conf manpage and renamed PKGMK_COMPRESS_EXT to PKGMK_COMPRESS_MODE (that feels like a better fit to me). To test this patch, you need pkgadd/pkginfo from pkgutils.git (master branch). Otherwise you won't be able to generate footprints/add/etc packages that use bzip2/xz. Please review the patch and if possible, test this new feature. Let me know what you think/find. Thanks, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? -------------- next part -------------- diff --git a/pkgmk.conf b/pkgmk.conf index 07b1cbd..965df5c 100644 --- a/pkgmk.conf +++ b/pkgmk.conf @@ -13,5 +13,6 @@ export CXXFLAGS="-O2 -march=i686 -pipe" # PKGMK_IGNORE_FOOTPRINT="no" # PKGMK_NO_STRIP="no" # PKGMK_WGET_OPTS="" +# PKGMK_COMPRESS_MODE="gz" # End of file diff --git a/pkgmk.conf.5.in b/pkgmk.conf.5.in index dcb6a20..7787afe 100644 --- a/pkgmk.conf.5.in +++ b/pkgmk.conf.5.in @@ -57,6 +57,13 @@ Default: 'no' If set to 'no', pkgmk will strip built binaries. .br Default: 'no' +.TP +\fBPKGMK_COMPRESS_MODE='STRING'\fP +Specifies how pkgmk will compress created packages. +Supported values are 'gz' for gzip, 'bz2' for bzip2 and 'xz' for xz. +.br +Default: 'gz' + .SH SEE ALSO pkgmk(8) .SH COPYRIGHT diff --git a/pkgmk.in b/pkgmk.in index b8e3e4e..ed92558 100755 --- a/pkgmk.in +++ b/pkgmk.in @@ -353,6 +353,7 @@ remove_work_dir() { build_package() { local BUILD_SUCCESSFUL="no" + local COMPRESS_MODE check_file "$TARGET" make_work_dir @@ -377,8 +378,15 @@ build_package() { cd $PKG info "Build result:" - tar czvvf $TARGET * - + + case $PKGMK_COMPRESS_MODE in + gz) COMPRESS_MODE="-z" ;; + bz2) COMPRESS_MODE="-j" ;; + xz) COMPRESS_MODE="-J" ;; + esac + bsdtar -c $COMPRESS_MODE -f $TARGET * + bsdtar -t -v -f $TARGET + if [ $? = 0 ]; then BUILD_SUCCESSFUL="yes" @@ -606,9 +614,17 @@ main() { check_directory "`dirname $PKGMK_WORK_DIR`" check_pkgfile - - TARGET="$PKGMK_PACKAGE_DIR/$name#$version-$release.pkg.tar.gz" - + + case $PKGMK_COMPRESS_MODE in + gz|bz2|xz) + TARGET="$PKGMK_PACKAGE_DIR/$name#$version-$release.pkg.tar.$PKGMK_COMPRESS_MODE" + ;; + *) + error "Compress type '$PKGMK_COMPRESS_MODE' not supported" + exit 1 + ;; + esac + if [ "$PKGMK_CLEAN" = "yes" ]; then clean exit 0 @@ -682,6 +698,8 @@ PKGMK_SOURCE_DIR="$PWD" PKGMK_PACKAGE_DIR="$PWD" PKGMK_WORK_DIR="$PWD/work" +PKGMK_COMPRESS_MODE="gz" + PKGMK_INSTALL="no" PKGMK_RECURSIVE="no" PKGMK_DOWNLOAD="no" -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: From tilman at crux.nu Sun May 16 11:02:18 2010 From: tilman at crux.nu (Tilman Sauerbeck) Date: Sun, 16 May 2010 13:02:18 +0200 Subject: [crux-devel] Compression mode patch In-Reply-To: <20100516105239.GA9863@code-monkey.de> References: <20100516105239.GA9863@code-monkey.de> Message-ID: <20100516110217.GA9886@code-monkey.de> Tilman Sauerbeck [2010-05-16 12:52]: > Juergen came up with a patch that lets users choose what compression > scheme to use for packages created by pkgmk. Supported compression > algorithms are gzip, bzip2 and xz. > > I now extended the patch with some text for the pkgmk.conf manpage and > renamed PKGMK_COMPRESS_EXT to PKGMK_COMPRESS_MODE (that feels like a > better fit to me). D'oh. I just noticed Juergen already did this work and put an updated patch in Flyspray. Please test the patch attached to http://crux.nu/bugs/index.php?do=details&task_id=581 instead. Thanks, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: From tilman at crux.nu Mon May 24 10:59:12 2010 From: tilman at crux.nu (Tilman Sauerbeck) Date: Mon, 24 May 2010 12:59:12 +0200 Subject: [crux-devel] Configure script speedup due to dash for /bin/sh Message-ID: <20100524105911.GA1225@code-monkey.de> Hi, I made /bin/sh point to dash instead of bash and measure how this change speeds up a few randomly picked configure scripts. The speedup achieved is: pkg-config: 2% libarchive: 3% llvm: 7% gcc: 24% coreutils: 17% openssh: 9% htop: 13% Method used: cd /some/tmpfs bsdtar xf /the/package.tar.gz time ./configure # switch /bin/sh symlink rm -rf the-extracted-package bsdtar xf /the/package.tar.gz time ./configure Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: From alan+crux at mizrahi.com.ve Mon May 24 11:55:23 2010 From: alan+crux at mizrahi.com.ve (Alan) Date: Mon, 24 May 2010 20:55:23 +0900 Subject: [crux-devel] Configure script speedup due to dash for /bin/sh Message-ID: <201005242055.23996.alan+crux@mizrahi.com.ve> On Monday 24 May 2010 7:59:12 pm Tilman Sauerbeck wrote: > Hi, > I made /bin/sh point to dash instead of bash and measure how this change > speeds up a few randomly picked configure scripts. > > The speedup achieved is: > > pkg-config: 2% > libarchive: 3% > llvm: 7% > gcc: 24% > coreutils: 17% > openssh: 9% > htop: 13% > > Method used: > > cd /some/tmpfs > bsdtar xf /the/package.tar.gz > time ./configure > # switch /bin/sh symlink > rm -rf the-extracted-package > bsdtar xf /the/package.tar.gz > time ./configure I've always thought that having sh point to bash could be a waste of resources (cpu and/or memory), but never cared enough to quantify it, although for some time I was using tcsh instead of bash. In my experience there are too many shellscripts out there that start with #!/bin/sh and then expect bash features. I think your findings might be affected by caching, did you take that into consideration? Alan From tilman at crux.nu Mon May 24 12:12:40 2010 From: tilman at crux.nu (Tilman Sauerbeck) Date: Mon, 24 May 2010 14:12:40 +0200 Subject: [crux-devel] Configure script speedup due to dash for /bin/sh In-Reply-To: <201005242055.23996.alan+crux@mizrahi.com.ve> References: <201005242055.23996.alan+crux@mizrahi.com.ve> Message-ID: <20100524121240.GA1556@code-monkey.de> Alan [2010-05-24 20:55]: > On Monday 24 May 2010 7:59:12 pm Tilman Sauerbeck wrote: > > Hi, > > I made /bin/sh point to dash instead of bash and measure how this change > > speeds up a few randomly picked configure scripts. > > > > The speedup achieved is: > > > > pkg-config: 2% > > libarchive: 3% > > llvm: 7% > > gcc: 24% > > coreutils: 17% > > openssh: 9% > > htop: 13% > > > > Method used: > > > > cd /some/tmpfs > > bsdtar xf /the/package.tar.gz > > time ./configure > > # switch /bin/sh symlink > > rm -rf the-extracted-package > > bsdtar xf /the/package.tar.gz > > time ./configure > > [...] > In my experience there are too many shellscripts out there that start with > #!/bin/sh and then expect bash features. They can probably be fixed :p > I think your findings might be affected by caching, did you take that into > consideration? I removed the extracted directory each time before doing another configure run. That should have taken care of caching effects I think. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: From tek at serverop.de Mon May 24 12:54:50 2010 From: tek at serverop.de (Thomas Penteker) Date: Mon, 24 May 2010 14:54:50 +0200 Subject: [crux-devel] Configure script speedup due to dash for /bin/sh In-Reply-To: <20100524121240.GA1556@code-monkey.de> References: <201005242055.23996.alan+crux@mizrahi.com.ve> <20100524121240.GA1556@code-monkey.de> Message-ID: <20100524125450.GC26130@serverop.de> * Tilman Sauerbeck (tilman at crux.nu) wrote: > (...) > > I think your findings might be affected by caching, did you take that into > > consideration? > > I removed the extracted directory each time before doing another > configure run. That should have taken care of caching effects I think. Running this thing in /tmp (i.e. tmpfs) should be just fine. You can always run something like sudo su -c 'echo 3 > /proc/sys/vm/drop_caches' prior configure. Alas, glibc won't build for me if dash is linked to /bin/sh, maybe someone can reproduce this behaviour as I don't think this issue is related to my architecture (x86_64) or gcc version (4.5.0) as the build works just fine with bash as /bin/sh. regards, Thomas -- Someone has messed up the kernel pointers -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: not available URL: From jw at smts.ch Mon May 24 13:57:45 2010 From: jw at smts.ch (Johannes Winkelmann) Date: Mon, 24 May 2010 15:57:45 +0200 Subject: [crux-devel] prt-get 5.17 uploaded Message-ID: <20100524135745.GA8339@selenium.smts.lan> Hi guys, As discussed in flysprax #581, I've uploaded a new version of prt-get supporting the PKGMK_COMPRESSION_MODE option. There's some room for improvement by caching that value, since right now prt-get will check pkgmk.conf and/or /usr/bin/pkgmk for every package. Compared to the compilation, this time should be neglectable though. For now, I just figured I'd commit/upload the new version, to avoid blocking 2.7 preparation work :-). Cheers, Johannes -- Johannes Winkelmann mailto:jw at smts.ch Zurich, Switzerland http://jw.smts.ch From jw at smts.ch Mon May 24 13:47:58 2010 From: jw at smts.ch (Johannes Winkelmann) Date: Mon, 24 May 2010 15:47:58 +0200 Subject: [crux-devel] prt-get 5.17 uploaded In-Reply-To: <20100524135745.GA8339@selenium.smts.lan> References: <20100524135745.GA8339@selenium.smts.lan> Message-ID: On Mon, May 24, 2010 at 3:57 PM, Johannes Winkelmann wrote: > Hi guys, > > As discussed in flysprax #581, I've uploaded a new version of prt-get > supporting the PKGMK_COMPRESSION_MODE option. Forgot to say: a simple version bump will do, but here's the URL for manual download (smts.ch/tks6.net are equivalent) http://jw.smts.ch/files/crux/prt-get-5.17.tar.gz I just realized there's a patch applied in the port, I'll apply that to git and see to do another minor release right away. > Cheers, Johannes -- Johannes Winkelmann jw at smts.ch From tilman at crux.nu Mon May 24 17:45:29 2010 From: tilman at crux.nu (Tilman Sauerbeck) Date: Mon, 24 May 2010 19:45:29 +0200 Subject: [crux-devel] prt-get 5.17 uploaded In-Reply-To: <20100524135745.GA8339@selenium.smts.lan> References: <20100524135745.GA8339@selenium.smts.lan> Message-ID: <20100524174529.GA21234@code-monkey.de> Johannes Winkelmann [2010-05-24 15:57]: Hello Johannes, > As discussed in flysprax #581, I've uploaded a new version of prt-get > supporting the PKGMK_COMPRESSION_MODE option. Thanks for jumping right in when we noticed we needed to touch prt-get. And thanks for providing a sane implementation for the problem (yes, my patch sucked). Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: From tilman at crux.nu Mon May 24 17:51:32 2010 From: tilman at crux.nu (Tilman Sauerbeck) Date: Mon, 24 May 2010 19:51:32 +0200 Subject: [crux-devel] Replacing tftpd for 2.7? Message-ID: <20100524175132.GB21234@code-monkey.de> Hi, currently, CRUX comes with a TFTP daemon from the iputils package. The manpage says: "It is distributed with iputils mostly as good demo of an interesting feature (MSG_CONFIRM) allowing to boot long images by dumb clients not answering ARP requests until they are finally booted. However, this is full functional and can be used in production." Unfortunately, this version of tftpd only works in combination with inetd. Which is a major annoyance to me, because I don't even have inetd running :) Juergen mentioned that the inetutils package also came with a tftpd, but that one also only works together with inetd. I'd like to propose to change core/iputils so that it doesn't install tftp and tftpd, and instead ask users to install the tftp-hpa port. hpa's tftpd can run both with and without inetd and has a load of other features that I have no idea about ;) tftp-hpa currently lives in contrib, but Thomas is willing to move it to opt if we decide to go ahead with this. Opinions? Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: From jue at jue.li Tue May 25 07:34:12 2010 From: jue at jue.li (Juergen Daubert) Date: Tue, 25 May 2010 09:34:12 +0200 Subject: [crux-devel] Replacing tftpd for 2.7? In-Reply-To: <20100524175132.GB21234@code-monkey.de> References: <20100524175132.GB21234@code-monkey.de> Message-ID: <20100525073411.GA24284@jue.netz> On Mon, May 24, 2010 at 07:51:32PM +0200, Tilman Sauerbeck wrote: [...] > I'd like to propose to change core/iputils so that it doesn't install > tftp and tftpd, and instead ask users to install the tftp-hpa port. > hpa's tftpd can run both with and without inetd and has a load of other > features that I have no idea about ;) > > tftp-hpa currently lives in contrib, but Thomas is willing to move it to > opt if we decide to go ahead with this. > > Opinions? Sounds like a nice improvement to me, thanks for your exploration. I've added the task to our TODO27. Greetings Juergen -- Juergen Daubert | mailto:jue at jue.li Korb, Germany | http://jue.li/crux From jue at jue.li Tue May 25 08:37:17 2010 From: jue at jue.li (Juergen Daubert) Date: Tue, 25 May 2010 10:37:17 +0200 Subject: [crux-devel] Configure script speedup due to dash for /bin/sh In-Reply-To: <20100524105911.GA1225@code-monkey.de> References: <20100524105911.GA1225@code-monkey.de> Message-ID: <20100525083717.GA2580@jue.netz> On Mon, May 24, 2010 at 12:59:12PM +0200, Tilman Sauerbeck wrote: > Hi, > I made /bin/sh point to dash instead of bash and measure how this change > speeds up a few randomly picked configure scripts. That looks quite noticable. My only concerns is that there are a lot of programs out, which starts shell scripts in their autoconf stuff with /bin/sh but using bash extensions instead. To get a feeling about that, I've done a complete rebuild of core in my CRUX 2.7 test-drive, but nothing failed at all :) Even not glibc, but using version 2.11.2 there. regards Juergen -- Juergen Daubert | mailto:jue at jue.li Korb, Germany | http://jue.li/crux From tilman at crux.nu Tue May 25 18:40:59 2010 From: tilman at crux.nu (Tilman Sauerbeck) Date: Tue, 25 May 2010 20:40:59 +0200 Subject: [crux-devel] Configure script speedup due to dash for /bin/sh In-Reply-To: <20100524125450.GC26130@serverop.de> References: <201005242055.23996.alan+crux@mizrahi.com.ve> <20100524121240.GA1556@code-monkey.de> <20100524125450.GC26130@serverop.de> Message-ID: <20100525184059.GA571@code-monkey.de> Thomas Penteker [2010-05-24 14:54]: > * Tilman Sauerbeck (tilman at crux.nu) wrote: > > (...) > > > I think your findings might be affected by caching, did you take that into > > > consideration? > > > > I removed the extracted directory each time before doing another > > configure run. That should have taken care of caching effects I think. > > > Running this thing in /tmp (i.e. tmpfs) should be just fine. You can always > run something like > sudo su -c 'echo 3 > /proc/sys/vm/drop_caches' > prior configure. Yeah, but since you may not run ./configure twice in a row (autoconf caches test results itself, too!) in this case I decided to just wipe the whole thing :] > Alas, glibc won't build for me if dash is linked to /bin/sh, maybe someone can > reproduce this behaviour as I don't think this issue is related to my > architecture (x86_64) or gcc version (4.5.0) as the build works just fine > with bash as /bin/sh. Too bad :( Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: From jue at jue.li Thu May 27 10:11:16 2010 From: jue at jue.li (Juergen Daubert) Date: Thu, 27 May 2010 12:11:16 +0200 Subject: [crux-devel] prt-get 5.17 uploaded In-Reply-To: References: <20100524135745.GA8339@selenium.smts.lan> Message-ID: <20100527101116.GA21063@jue.netz> On Mon, May 24, 2010 at 03:47:58PM +0200, Johannes Winkelmann wrote: > On Mon, May 24, 2010 at 3:57 PM, Johannes Winkelmann wrote: > > Hi guys, > > > > As discussed in flysprax #581, I've uploaded a new version of prt-get > > supporting the PKGMK_COMPRESSION_MODE option. > Forgot to say: a simple version bump will do, but here's the URL for > manual download (smts.ch/tks6.net are equivalent) > http://jw.smts.ch/files/crux/prt-get-5.17.tar.gz > > I just realized there's a patch applied in the port, I'll apply that > to git and see to do another minor release right away. Many thanks, Johannes. I've just updated core/prt-get to 5.18. Greetings Juergen -- Juergen Daubert | mailto:jue at jue.li Korb, Germany | http://jue.li/crux From jue at jue.li Thu May 27 10:32:53 2010 From: jue at jue.li (Juergen Daubert) Date: Thu, 27 May 2010 12:32:53 +0200 Subject: [crux-devel] [PATCH] pkgutils, update copyright date Message-ID: <20100527103253.GA24375@jue.netz> Hello, attached patch updates pkgutils copyright date to current year. Greetings Juergen -- Juergen Daubert | mailto:jue at jue.li Korb, Germany | http://jue.li/crux -------------- next part -------------- diff --git a/Makefile b/Makefile index 6c68f2d..40cf0b1 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ # pkgutils # # Copyright (c) 2000-2005 by Per Liden -# Copyright (c) 2006-2007 by CRUX team (http://crux.nu) +# Copyright (c) 2006-2010 by CRUX team (http://crux.nu) # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/README b/README index 1e57cdc..703a8ef 100644 --- a/README +++ b/README @@ -22,7 +22,7 @@ $ make DESTDIR=/some/other/path install Copyright --------- pkgutils is Copyright (c) 2000-2005 Per Liden and -Copyright (c) 2006-2007 CRUX team (http://crux.nu). +Copyright (c) 2006-2010 CRUX team (http://crux.nu). pkgutils is licensed through the GNU General Public License. Read the COPYING file for the complete license. diff --git a/main.cc b/main.cc index 566f4db..6897c8f 100644 --- a/main.cc +++ b/main.cc @@ -2,7 +2,7 @@ // pkgutils // // Copyright (c) 2000-2005 Per Liden -// Copyright (c) 2006-2007 by CRUX team (http://crux.nu) +// Copyright (c) 2006-2010 by CRUX team (http://crux.nu) // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/pkgadd.8.in b/pkgadd.8.in index a4747ca..34dcb52 100644 --- a/pkgadd.8.in +++ b/pkgadd.8.in @@ -58,6 +58,6 @@ Configuration file. .SH SEE ALSO pkgrm(8), pkginfo(8), pkgmk(8), rejmerge(8) .SH COPYRIGHT -pkgadd (pkgutils) is Copyright (c) 2000-2005 Per Liden and Copyright (c) 2006-2007 CRUX team (http://crux.nu). +pkgadd (pkgutils) is Copyright (c) 2000-2005 Per Liden and Copyright (c) 2006-2010 CRUX team (http://crux.nu). pkgadd (pkgutils) is licensed through the GNU General Public License. Read the COPYING file for the complete license. diff --git a/pkgadd.cc b/pkgadd.cc index 4bc1652..527216f 100644 --- a/pkgadd.cc +++ b/pkgadd.cc @@ -2,7 +2,7 @@ // pkgutils // // Copyright (c) 2000-2005 Per Liden -// Copyright (c) 2006-2007 by CRUX team (http://crux.nu) +// Copyright (c) 2006-2010 by CRUX team (http://crux.nu) // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/pkgadd.h b/pkgadd.h index e121dc1..a4a1d4e 100644 --- a/pkgadd.h +++ b/pkgadd.h @@ -2,7 +2,7 @@ // pkgutils // // Copyright (c) 2000-2005 Per Liden -// Copyright (c) 2006-2007 by CRUX team (http://crux.nu) +// Copyright (c) 2006-2010 by CRUX team (http://crux.nu) // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/pkginfo.8.in b/pkginfo.8.in index 8d2f825..ee0da6c 100644 --- a/pkginfo.8.in +++ b/pkginfo.8.in @@ -37,6 +37,6 @@ Print help and exit. .SH SEE ALSO pkgadd(8), pkgrm(8), pkgmk(8), rejmerge(8) .SH COPYRIGHT -pkginfo (pkgutils) is Copyright (c) 2000-2005 Per Liden and Copyright (c) 2006-2007 CRUX team (http://crux.nu). +pkginfo (pkgutils) is Copyright (c) 2000-2005 Per Liden and Copyright (c) 2006-2010 CRUX team (http://crux.nu). pkginfo (pkgutils) is licensed through the GNU General Public License. Read the COPYING file for the complete license. diff --git a/pkginfo.cc b/pkginfo.cc index d4b8270..fb4d993 100644 --- a/pkginfo.cc +++ b/pkginfo.cc @@ -2,7 +2,7 @@ // pkgutils // // Copyright (c) 2000-2005 Per Liden -// Copyright (c) 2006-2007 by CRUX team (http://crux.nu) +// Copyright (c) 2006-2010 by CRUX team (http://crux.nu) // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/pkginfo.h b/pkginfo.h index 535dfbe..8db95da 100644 --- a/pkginfo.h +++ b/pkginfo.h @@ -2,7 +2,7 @@ // pkgutils // // Copyright (c) 2000-2005 Per Liden -// Copyright (c) 2006-2007 by CRUX team (http://crux.nu) +// Copyright (c) 2006-2010 by CRUX team (http://crux.nu) // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/pkgmk.8.in b/pkgmk.8.in index b9fca26..cd126a2 100644 --- a/pkgmk.8.in +++ b/pkgmk.8.in @@ -88,6 +88,6 @@ Used by pkgmk to download source code. .SH SEE ALSO pkgmk.conf(5), pkgadd(8), pkgrm(8), pkginfo(8), rejmerge(8), wget(1) .SH COPYRIGHT -pkgmk (pkgutils) is Copyright (c) 2000-2005 Per Liden and Copyright (c) 2006-2007 CRUX team (http://crux.nu). +pkgmk (pkgutils) is Copyright (c) 2000-2005 Per Liden and Copyright (c) 2006-2010 CRUX team (http://crux.nu). pkgmk (pkgutils) is licensed through the GNU General Public License. Read the COPYING file for the complete license. diff --git a/pkgmk.conf.5.in b/pkgmk.conf.5.in index 216a3e1..6490faf 100644 --- a/pkgmk.conf.5.in +++ b/pkgmk.conf.5.in @@ -65,6 +65,6 @@ Default: 'gz' .SH SEE ALSO pkgmk(8) .SH COPYRIGHT -pkgmk (pkgutils) is Copyright (c) 2000-2005 Per Liden and Copyright (c) 2006-2008 CRUX team (http://crux.nu). +pkgmk (pkgutils) is Copyright (c) 2000-2005 Per Liden and Copyright (c) 2006-2010 CRUX team (http://crux.nu). pkgmk (pkgutils) is licensed through the GNU General Public License. Read the COPYING file for the complete license. diff --git a/pkgmk.in b/pkgmk.in index 2a6a27d..643ba1e 100755 --- a/pkgmk.in +++ b/pkgmk.in @@ -3,7 +3,7 @@ # pkgutils # # Copyright (c) 2000-2005 Per Liden -# Copyright (c) 2006-2007 by CRUX team (http://crux.nu) +# Copyright (c) 2006-2010 by CRUX team (http://crux.nu) # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/pkgrm.8.in b/pkgrm.8.in index 25de6a3..ba78afe 100644 --- a/pkgrm.8.in +++ b/pkgrm.8.in @@ -23,6 +23,6 @@ Print help and exit. .SH SEE ALSO pkgadd(8), pkginfo(8), pkgmk(8), rejmerge(8) .SH COPYRIGHT -pkgrm (pkgutils) is Copyright (c) 2000-2005 Per Liden and Copyright (c) 2006-2007 CRUX team (http://crux.nu). +pkgrm (pkgutils) is Copyright (c) 2000-2005 Per Liden and Copyright (c) 2006-2010 CRUX team (http://crux.nu). pkgrm (pkgutils) is licensed through the GNU General Public License. Read the COPYING file for the complete license. diff --git a/pkgrm.cc b/pkgrm.cc index 18d6169..2a53a26 100644 --- a/pkgrm.cc +++ b/pkgrm.cc @@ -2,7 +2,7 @@ // pkgutils // // Copyright (c) 2000-2005 Per Liden -// Copyright (c) 2006-2007 by CRUX team (http://crux.nu) +// Copyright (c) 2006-2010 by CRUX team (http://crux.nu) // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/pkgrm.h b/pkgrm.h index 5a5ebb0..967c026 100644 --- a/pkgrm.h +++ b/pkgrm.h @@ -2,7 +2,7 @@ // pkgutils // // Copyright (c) 2000-2005 Per Liden -// Copyright (c) 2006-2007 by CRUX team (http://crux.nu) +// Copyright (c) 2006-2010 by CRUX team (http://crux.nu) // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/pkgutil.cc b/pkgutil.cc index 05b7a1a..f549b89 100644 --- a/pkgutil.cc +++ b/pkgutil.cc @@ -2,7 +2,7 @@ // pkgutils // // Copyright (c) 2000-2005 Per Liden -// Copyright (c) 2006-2007 by CRUX team (http://crux.nu) +// Copyright (c) 2006-2010 by CRUX team (http://crux.nu) // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/pkgutil.h b/pkgutil.h index 480c25d..faebf10 100644 --- a/pkgutil.h +++ b/pkgutil.h @@ -2,7 +2,7 @@ // pkgutils // // Copyright (c) 2000-2005 Per Liden -// Copyright (c) 2006-2007 by CRUX team (http://crux.nu) +// Copyright (c) 2006-2010 by CRUX team (http://crux.nu) // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/rejmerge.8.in b/rejmerge.8.in index baf8eb8..cc05c4c 100644 --- a/rejmerge.8.in +++ b/rejmerge.8.in @@ -73,6 +73,6 @@ Directory where rejected files are stored. .SH SEE ALSO pkgadd(8), pkgrm(8), pkginfo(8), pkgmk(8) .SH COPYRIGHT -rejmerge (pkgutils) is Copyright (c) 2000-2005 Per Liden and Copyright (c) 2006-2007 CRUX team (http://crux.nu). +rejmerge (pkgutils) is Copyright (c) 2000-2005 Per Liden and Copyright (c) 2006-2010 CRUX team (http://crux.nu). rejmerge (pkgutils) is licensed through the GNU General Public License. Read the COPYING file for the complete license. diff --git a/rejmerge.in b/rejmerge.in index 6570b77..d6b479a 100755 --- a/rejmerge.in +++ b/rejmerge.in @@ -3,7 +3,7 @@ # rejmerge (pkgutils) # # Copyright (c) 2000-2005 Per Liden -# Copyright (c) 2006-2007 by CRUX team (http://crux.nu) +# Copyright (c) 2006-2010 by CRUX team (http://crux.nu) # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by From jue at jue.li Fri May 28 09:02:58 2010 From: jue at jue.li (Juergen Daubert) Date: Fri, 28 May 2010 11:02:58 +0200 Subject: [crux-devel] Configure script speedup due to dash for /bin/sh In-Reply-To: <20100525083717.GA2580@jue.netz> References: <20100524105911.GA1225@code-monkey.de> <20100525083717.GA2580@jue.netz> Message-ID: <20100528090258.GA19576@jue.netz> On Tue, May 25, 2010 at 10:37:17AM +0200, Juergen Daubert wrote: > On Mon, May 24, 2010 at 12:59:12PM +0200, Tilman Sauerbeck wrote: > > Hi, > > I made /bin/sh point to dash instead of bash and measure how this change > > speeds up a few randomly picked configure scripts. > > That looks quite noticable. My only concerns is that there are a lot > of programs out, which starts shell scripts in their autoconf stuff > with /bin/sh but using bash extensions instead. > To get a feeling about that, I've done a complete rebuild of core in > my CRUX 2.7 test-drive, but nothing failed at all :) Even not glibc, > but using version 2.11.2 there. I'm sorry, made a made a mistake in the first run. Actually 2 ports failed, automake and usbutils. The first is trivial because automake's configure checks for a valid shell, dash isn't one of them. The failure of usbutils is a more fragile one, because there's something wrong with the build of libusb, a dependency of usbutils. It's easy to reproduce the error: #:> ln -sf dash /bin/sh #:> prt-get update -fr libusb usbutils It works if libusb was build with bash as shell. Don't know what's going wrong here, but at all I think it's not worth to hunt bugs like that. Even though it would be nice to have the speed improvments of dash, but well ... Greetings Juergen -- Juergen Daubert | mailto:jue at jue.li Korb, Germany | http://jue.li/crux From tilman at crux.nu Sat May 29 14:29:57 2010 From: tilman at crux.nu (Tilman Sauerbeck) Date: Sat, 29 May 2010 16:29:57 +0200 Subject: [crux-devel] Configure script speedup due to dash for /bin/sh In-Reply-To: <20100528090258.GA19576@jue.netz> References: <20100524105911.GA1225@code-monkey.de> <20100525083717.GA2580@jue.netz> <20100528090258.GA19576@jue.netz> Message-ID: <20100529142957.GA16843@code-monkey.de> Juergen Daubert [2010-05-28 11:02]: > On Tue, May 25, 2010 at 10:37:17AM +0200, Juergen Daubert wrote: > > On Mon, May 24, 2010 at 12:59:12PM +0200, Tilman Sauerbeck wrote: > > > Hi, > > > I made /bin/sh point to dash instead of bash and measure how this change > > > speeds up a few randomly picked configure scripts. > > > > That looks quite noticable. My only concerns is that there are a lot > > of programs out, which starts shell scripts in their autoconf stuff > > with /bin/sh but using bash extensions instead. > > To get a feeling about that, I've done a complete rebuild of core in > > my CRUX 2.7 test-drive, but nothing failed at all :) Even not glibc, > > but using version 2.11.2 there. > > I'm sorry, made a made a mistake in the first run. Actually 2 ports > failed, automake and usbutils. The first is trivial because automake's > configure checks for a valid shell, dash isn't one of them. > > The failure of usbutils is a more fragile one, because there's something > wrong with the build of libusb, a dependency of usbutils. It's easy to > reproduce the error: > > #:> ln -sf dash /bin/sh > #:> prt-get update -fr libusb usbutils > > It works if libusb was build with bash as shell. Don't know what's going > wrong here, but at all I think it's not worth to hunt bugs like that. > Even though it would be nice to have the speed improvments of dash, but > well ... I agree. We *could* change the RC scripts to explicitly ask to be executed by dash, but I'm not sure whether it's worth it. If anyone has numbers on this I'm all ears. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: