* [RFU] [1.7] Base-Files
@ 2009-02-13 15:52 John Morrison
2009-02-13 17:40 ` Pierre A. Humblet
2009-02-13 20:43 ` [RFU] [1.7] Base-Files 3.8-2 John Morrison
0 siblings, 2 replies; 15+ messages in thread
From: John Morrison @ 2009-02-13 15:52 UTC (permalink / raw)
To: cygwin-apps
I've updated this with the patch from Herb Maeder (thanks Herb, sorry it
took me so long!). I propose leaving the 1.5 as is and just go forward
with 1.7.
Change Log
----------
3.8-1
* Update to Cygwin 1.7 version - Herb Maeder
<http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-files/base-files-3.8-1.tar.bz2>
md5sum: 22c52ca0ce75300138860b8c16e7bdc5
Incase they're wanted...
<http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-files/md5sum>
<http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-files/setup.hint>
wget
http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-files/base-files-3.8-1.tar.bz2
&& if [ "`md5sum.exe base-files-3.8-1.tar.bz2 | cut -b -32`" !=
"22c52ca0ce75300138860b8c16e7bdc5" ] ; then echo "Download error" ; else
echo "Download validated" ; fi
J.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [RFU] [1.7] Base-Files
2009-02-13 15:52 [RFU] [1.7] Base-Files John Morrison
@ 2009-02-13 17:40 ` Pierre A. Humblet
2009-02-13 18:09 ` John Morrison
2009-02-13 20:43 ` [RFU] [1.7] Base-Files 3.8-2 John Morrison
1 sibling, 1 reply; 15+ messages in thread
From: Pierre A. Humblet @ 2009-02-13 17:40 UTC (permalink / raw)
To: John Morrison, cygwin-apps
----- Original Message -----
From: "John Morrison" <john@morrison.mine.nu>
To: <cygwin-apps@cygwin.com>
Sent: Friday, February 13, 2009 10:50 AM
Subject: [RFU] [1.7] Base-Files
| I've updated this with the patch from Herb Maeder (thanks Herb, sorry it
| took me so long!). I propose leaving the 1.5 as is and just go forward
| with 1.7.
John,
/etc/profile contains
if [ ! -d "${HOME}" ]; then
mkdir -p "${HOME}"
echo "Copying skeleton files."
The skeleton files are copied even if the the mkdir has failed.
This happens to network users who install Cygwin while connected, with HOME on a
network drive, and then later use their laptop while disconnected.
In that case the skeleton files should not be copied, a warning should be issued and HOME should
be set to /tmp, "$TEMP" or some such. It's straightforward and I would be happy to provide a
patch if you wish.
Thanks
Pierre
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [RFU] [1.7] Base-Files
2009-02-13 17:40 ` Pierre A. Humblet
@ 2009-02-13 18:09 ` John Morrison
2009-02-13 18:54 ` Pierre A. Humblet
0 siblings, 1 reply; 15+ messages in thread
From: John Morrison @ 2009-02-13 18:09 UTC (permalink / raw)
To: Pierre A. Humblet; +Cc: cygwin-apps
> | I've updated this with the patch from Herb Maeder (thanks Herb, sorry it
> | took me so long!). I propose leaving the 1.5 as is and just go forward
> | with 1.7.
>
> John,
> /etc/profile contains
> if [ ! -d "${HOME}" ]; then
> mkdir -p "${HOME}"
> echo "Copying skeleton files."
> The skeleton files are copied even if the the mkdir has failed.
> This happens to network users who install Cygwin while connected, with
> HOME on a
> network drive, and then later use their laptop while disconnected.
> In that case the skeleton files should not be copied, a warning should be
> issued and HOME should
> be set to /tmp, "$TEMP" or some such. It's straightforward and I would be
> happy to provide a
> patch if you wish.
> Thanks
>
> Pierre
Patch would be appreciated, thanks Pierre; I've not got an environment
which could test that.
J.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [RFU] [1.7] Base-Files
2009-02-13 18:09 ` John Morrison
@ 2009-02-13 18:54 ` Pierre A. Humblet
2009-02-13 19:57 ` Dave Korn
2009-02-13 20:07 ` John Morrison
0 siblings, 2 replies; 15+ messages in thread
From: Pierre A. Humblet @ 2009-02-13 18:54 UTC (permalink / raw)
To: John Morrison; +Cc: cygwin-apps
----- Original Message -----
From: "John Morrison"
To: "Pierre A. Humblet"
Cc: <cygwin-apps>
Sent: Friday, February 13, 2009 1:09 PM
Subject: Re: [RFU] [1.7] Base-Files
|
| Patch would be appreciated, thanks Pierre; I've not got an environment
| which could test that.
Here it is,
--- profile.orig 2009-02-13 08:32:04.000000000 -0500
+++ profile 2009-02-13 13:45:47.639064800 -0500
@@ -49,20 +49,25 @@ export USER
# If the home directory doesn't exist, create it.
if [ ! -d "${HOME}" ]; then
- mkdir -p "${HOME}"
- echo "Copying skeleton files."
- echo "These files are for the user to personalise"
- echo "their cygwin experience."
- echo
- echo "These will never be overwritten."
- echo
- cd /etc/skel
- /bin/find . -type f | while read f; do
- fDest=`echo ${f} | sed -e 's/^\.//g'`
- if [ ! -e "${HOME}${fDest}" -a ! -L "${HOME}${fDest}" ]; then
- /usr/bin/install -D -p -v "${f}" "${HOME}/${fDest}"
- fi
- done
+ if mkdir -p "${HOME}"; then
+ echo "Copying skeleton files."
+ echo "These files are for the user to personalise"
+ echo "their cygwin experience."
+ echo
+ echo "These will never be overwritten."
+ echo
+ cd /etc/skel
+ /bin/find . -type f | while read f; do
+ fDest=`echo ${f} | sed -e 's/^\.//g'`
+ if [ ! -e "${HOME}${fDest}" -a ! -L "${HOME}${fDest}" ]; then
+ /usr/bin/install -D -p -v "${f}" "${HOME}/${fDest}"
+ fi
+ done
+ else
+ OLDHOME=$HOME
+ { [ -d "$TEMP" ] && HOME="$TMP"; } || { [ -d /tmp ] && HOME=/tmp; } || HOME=/
+ echo "$OLDHOME could no be created. Setting HOME to $HOME."
+ fi
fi
chmod 1777 /tmp 2>/dev/null
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [RFU] [1.7] Base-Files
2009-02-13 18:54 ` Pierre A. Humblet
@ 2009-02-13 19:57 ` Dave Korn
2009-02-13 20:07 ` Pierre A. Humblet
2009-02-13 20:10 ` Pierre A. Humblet
2009-02-13 20:07 ` John Morrison
1 sibling, 2 replies; 15+ messages in thread
From: Dave Korn @ 2009-02-13 19:57 UTC (permalink / raw)
To: cygwin-apps
Pierre A. Humblet wrote:
> + else
> + OLDHOME=$HOME
> + { [ -d "$TEMP" ] && HOME="$TMP"; } || { [ -d /tmp ] && HOME=/tmp; } || HOME=/
Looks like a typo to me. Perhaps you meant
{ [ -d "$TEMP" ] && HOME="$TEMP"; }
|| ( [ -d "$TMP" ] && HOME="$TMP"; }
|| { [ -d /tmp ] && HOME=/tmp; }
|| HOME=/
cheers,
DaveK
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [RFU] [1.7] Base-Files
2009-02-13 19:57 ` Dave Korn
@ 2009-02-13 20:07 ` Pierre A. Humblet
2009-02-13 20:10 ` Pierre A. Humblet
1 sibling, 0 replies; 15+ messages in thread
From: Pierre A. Humblet @ 2009-02-13 20:07 UTC (permalink / raw)
To: Dave Korn; +Cc: cygwin-apps
----- Original Message -----
From: "Dave Korn" <>
To: <cygwin-apps>
Sent: Friday, February 13, 2009 3:05 PM
Subject: Re: [RFU] [1.7] Base-Files
| Pierre A. Humblet wrote:
|
| > + else
| > + OLDHOME=$HOME
| > + { [ -d "$TEMP" ] && HOME="$TMP"; } || { [ -d /tmp ] && HOME=/tmp; } ||
HOME=/
|
| Looks like a typo to me. Perhaps you meant
|
| { [ -d "$TEMP" ] && HOME="$TEMP"; }
| || ( [ -d "$TMP" ] && HOME="$TMP"; }
| || { [ -d /tmp ] && HOME=/tmp; }
| || HOME=/
Yes, thanks. I didn't detect it because $TMP == $TEMP on my system.
I am not sure it's worth checking both TMP and TEMP, not sure which is most prevalent.
Pierre
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [RFU] [1.7] Base-Files
2009-02-13 18:54 ` Pierre A. Humblet
2009-02-13 19:57 ` Dave Korn
@ 2009-02-13 20:07 ` John Morrison
1 sibling, 0 replies; 15+ messages in thread
From: John Morrison @ 2009-02-13 20:07 UTC (permalink / raw)
To: Pierre A. Humblet; +Cc: cygwin-apps
> ----- Original Message -----
> From: "John Morrison"
> To: "Pierre A. Humblet"
> Sent: Friday, February 13, 2009 1:09 PM
> Subject: Re: [RFU] [1.7] Base-Files
>
> |
> | Patch would be appreciated, thanks Pierre; I've not got an environment
> | which could test that.
>
> Here it is,
>
> + { [ -d "$TEMP" ] && HOME="$TMP"; } || { [ -d /tmp ] &&
> HOME=/tmp; } || HOME=/
Did you mean to test for "$TEMP" then use "$TMP"? If not, is...
if [ ! -d "${HOME}" ]; then
if mkdir -p "${HOME}"; then
echo "Copying skeleton files."
echo "These files are for the user to personalise their
cygwin experience."
echo
echo "They will never be overwritten nor automatically
updated."
echo
cd /etc/skel
/bin/find . -type f | while read f; do
fDest=`echo ${f} | sed -e 's/^\.//g'`
if [ ! -e "${HOME}${fDest}" -a ! -L
"${HOME}${fDest}" ]; then
/usr/bin/install -D -p -v "${f}"
"${HOME}/${fDest}"
fi
done
else
echo "${HOME} could not be created."
{ [ -d "${TEMP}" ] && HOME="${TEMP}"; } ||
{ [ -d "${TMP}" ] && HOME="${TMP}"; } ||
{ [ -d /tmp ] && HOME=/tmp; } ||
HOME=/
echo "Setting HOME to ${HOME}."
fi
fi
OK?
J.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [RFU] [1.7] Base-Files
2009-02-13 19:57 ` Dave Korn
2009-02-13 20:07 ` Pierre A. Humblet
@ 2009-02-13 20:10 ` Pierre A. Humblet
1 sibling, 0 replies; 15+ messages in thread
From: Pierre A. Humblet @ 2009-02-13 20:10 UTC (permalink / raw)
To: cygwin-apps
----- Original Message -----
From: "Dave Korn"
To: <cygwin-apps>
Sent: Friday, February 13, 2009 3:05 PM
Subject: Re: [RFU] [1.7] Base-Files
| Pierre A. Humblet wrote:
|
| > + else
| > + OLDHOME=$HOME
| > + { [ -d "$TEMP" ] && HOME="$TMP"; } || { [ -d /tmp ] && HOME=/tmp; } ||
HOME=/
|
| Looks like a typo to me. Perhaps you meant
|
| { [ -d "$TEMP" ] && HOME="$TEMP"; }
| || ( [ -d "$TMP" ] && HOME="$TMP"; }
| || { [ -d /tmp ] && HOME=/tmp; }
| || HOME=/
|
Yes, thanks. I didn't detect it because $TMP == $TEMP on my system.
I am not sure it's worth checking both TMP and TEMP, not sure which is most prevalent.
Pierre
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [RFU] [1.7] Base-Files 3.8-2
2009-02-13 15:52 [RFU] [1.7] Base-Files John Morrison
2009-02-13 17:40 ` Pierre A. Humblet
@ 2009-02-13 20:43 ` John Morrison
2009-02-14 21:05 ` Corinna Vinschen
2009-02-16 8:56 ` [RFU] [1.7] Base-Files 3.8-3 (was 3.8-2) John Morrison
1 sibling, 2 replies; 15+ messages in thread
From: John Morrison @ 2009-02-13 20:43 UTC (permalink / raw)
To: cygwin-apps
Change Log
----------
3.8-2
* The skeleton files are copied even if the the mkdir has
failed. This happens to network users who install Cygwin while
connected, with HOME on a network drive, and then later use their
laptop while disconnected. In that case the skeleton files are not
copied, a warning issued and HOME set to "${TEMP}", "${TMP}", /tmp,
or (finally) / - Pierre A. Humblet
<http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-files/base-files-3.8-2.tar.bz2>
md5sum: 600a176402bd3f9659433cffd1d71aa0
Incase they're wanted...
<http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-files/md5sum>
<http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-files/setup.hint>
wget
http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-files/base-files-3.8-2.tar.bz2
&& if [ "`md5sum.exe base-files-3.8-2.tar.bz2 | cut -b -32`" !=
"600a176402bd3f9659433cffd1d71aa0" ] ; then echo "Download error" ; else
echo "Download validated" ; fi
J.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [RFU] [1.7] Base-Files 3.8-2
2009-02-13 20:43 ` [RFU] [1.7] Base-Files 3.8-2 John Morrison
@ 2009-02-14 21:05 ` Corinna Vinschen
2009-02-15 11:59 ` John Morrison
2009-02-16 8:56 ` [RFU] [1.7] Base-Files 3.8-3 (was 3.8-2) John Morrison
1 sibling, 1 reply; 15+ messages in thread
From: Corinna Vinschen @ 2009-02-14 21:05 UTC (permalink / raw)
To: cygwin-apps
On Feb 13 20:43, John Morrison wrote:
> wget
> http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-files/base-files-3.8-2.tar.bz2
Uploaded.
Thanks,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [RFU] [1.7] Base-Files 3.8-2
2009-02-14 21:05 ` Corinna Vinschen
@ 2009-02-15 11:59 ` John Morrison
2009-02-15 20:05 ` Christopher Faylor
0 siblings, 1 reply; 15+ messages in thread
From: John Morrison @ 2009-02-15 11:59 UTC (permalink / raw)
To: cygwin-apps
> Uploaded.
Thanks Corinna.
Do we do anouncements for 1.7 packages yet and are they
done/marked/prefixed differently from 1.5s?
J.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [RFU] [1.7] Base-Files 3.8-2
2009-02-15 11:59 ` John Morrison
@ 2009-02-15 20:05 ` Christopher Faylor
2009-02-16 8:40 ` John Morrison
0 siblings, 1 reply; 15+ messages in thread
From: Christopher Faylor @ 2009-02-15 20:05 UTC (permalink / raw)
To: cygwin-apps
On Sun, Feb 15, 2009 at 11:59:37AM -0000, John Morrison wrote:
>>Uploaded.
>
>Thanks Corinna.
>
>Do we do anouncements for 1.7 packages yet and are they
>done/marked/prefixed differently from 1.5s?
Er, John, I'm sure you really know how to look at the cygwin-announce
mailing list archives right?
http://cygwin.com/ml/cygwin-announce/2009-02/
cgf
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [RFU] [1.7] Base-Files 3.8-2
2009-02-15 20:05 ` Christopher Faylor
@ 2009-02-16 8:40 ` John Morrison
0 siblings, 0 replies; 15+ messages in thread
From: John Morrison @ 2009-02-16 8:40 UTC (permalink / raw)
To: cygwin-apps
> On Sun, Feb 15, 2009 at 11:59:37AM -0000, John Morrison wrote:
> Er, John, I'm sure you really know how to look at the cygwin-announce
> mailing list archives right?
>
> http://cygwin.com/ml/cygwin-announce/2009-02/
Sorry Chris, I've been (a little) out of touch with the cygwin stuff for a
while... but it looks like I need to patch it anyway before the
announcement. I've not upgraded these packages in, err, years!
J.
^ permalink raw reply [flat|nested] 15+ messages in thread
* [RFU] [1.7] Base-Files 3.8-3 (was 3.8-2)
2009-02-13 20:43 ` [RFU] [1.7] Base-Files 3.8-2 John Morrison
2009-02-14 21:05 ` Corinna Vinschen
@ 2009-02-16 8:56 ` John Morrison
2009-02-16 9:38 ` Corinna Vinschen
1 sibling, 1 reply; 15+ messages in thread
From: John Morrison @ 2009-02-16 8:56 UTC (permalink / raw)
To: cygwin-apps
Change Log
----------
3.8-3
* Ensure that the destination directory exists during postinstall
- Yitzchak Scott-Thoennes
<http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-files/base-files-3.8-3.tar.bz2>
md5sum: 600a176402bd3f9659433cffd1d71aa0
In case they're wanted...
<http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-files/md5sum>
<http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-files/setup.hint>
wget
http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-files/base-files-3.8-3.tar.bz2
J.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [RFU] [1.7] Base-Files 3.8-3 (was 3.8-2)
2009-02-16 8:56 ` [RFU] [1.7] Base-Files 3.8-3 (was 3.8-2) John Morrison
@ 2009-02-16 9:38 ` Corinna Vinschen
0 siblings, 0 replies; 15+ messages in thread
From: Corinna Vinschen @ 2009-02-16 9:38 UTC (permalink / raw)
To: cygwin-apps
On Feb 16 08:56, John Morrison wrote:
> wget
> http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-files/base-files-3.8-3.tar.bz2
Uploaded. I pulled the 3.8-2 version so 3.7-1 is prev.
Thanks,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2009-02-16 9:38 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-13 15:52 [RFU] [1.7] Base-Files John Morrison
2009-02-13 17:40 ` Pierre A. Humblet
2009-02-13 18:09 ` John Morrison
2009-02-13 18:54 ` Pierre A. Humblet
2009-02-13 19:57 ` Dave Korn
2009-02-13 20:07 ` Pierre A. Humblet
2009-02-13 20:10 ` Pierre A. Humblet
2009-02-13 20:07 ` John Morrison
2009-02-13 20:43 ` [RFU] [1.7] Base-Files 3.8-2 John Morrison
2009-02-14 21:05 ` Corinna Vinschen
2009-02-15 11:59 ` John Morrison
2009-02-15 20:05 ` Christopher Faylor
2009-02-16 8:40 ` John Morrison
2009-02-16 8:56 ` [RFU] [1.7] Base-Files 3.8-3 (was 3.8-2) John Morrison
2009-02-16 9:38 ` Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).