This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Upload: bash-3.0-6


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Let's try this again.

Changes from 3.0-5:
+ use cp, not ln, when creating /bin/sh

I think this version is ready for primetime, so my setup.hint no longer
mentions a test version.  You can delete 2.05b-16, and 3.0-[345], leaving
2.05b-17 as previous and 3.0-6 as current.  The following needs to be done
with ash, then both packages uploaded simultaneously for minimum confusion
(although the postinstalls should ensure a success path regardless of
which one is done first in isolation):
+ repackage /bin/sh.exe as /bin/ash.exe
+ remove /usr/share/man/man1/sh.1 from the package
+ add a dependency to bash in setup.hint (needed to ensure bash is
installed to provide /bin/sh for all other packages that depended on ash
providing /bin/sh)
+ add /etc/postinstall/00ash.sh:

#!/bin/ash
# Ash postinstall script.  This ensures that /bin/sh exists and is
# runnable, favoring bash, and updating only if it is missing or ash

update=no
# Is /bin/sh missing, or have broken dependencies?
case `(cygcheck /bin/sh.exe) 2>&1` in
    *Error:\ could\ not\ find*) update=yes ;;
    *) # We can run it.  Is the version from ash?
        case `(/bin/sh.exe --version) 2>&1` in
            Illegal\ option\ --*) update=yes ;;
        esac ;;
esac
# Update, if needed.
if test $update = yes ; then
   cp -f /bin/bash.exe /bin/sh.exe || cp -f /bin/ash.exe /bin/sh.exe
fi


file	size	md5sum
http://home.comcast.net/~ericblake/bash-3.0-6.tar.bz2
	415172	333cf8b9dcaeee2d981b5bb583253fb7
http://home.comcast.net/~ericblake/bash-3.0-6-src.tar.bz2
	2493960	8df9afbc8c285a77ae7d6133c5b1c1b2
http://home.comcast.net/~ericblake/bash.setup.hint
	(prev: 2.05b-17, curr: 3.0-6)
	500	c04390db3f9a41ce0dba59eb8a94458d

- --
Life is short - so eat dessert first!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCzJoe84KuGfSFAYARAmgxAJsEDQWDa3UBVvdyYELYjg8qTndABACdEylZ
LUY7M/+jGzxSfoeqtK1tAZs=
=7RQg
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]