diff options
author | Markus Dittrich <markusle@gentoo.org> | 2007-01-12 02:31:40 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2007-01-12 02:31:40 +0000 |
commit | f9acee6bb2099c3c297c25c531edb321d7b1515d (patch) | |
tree | 702bc8e0eb5749206d0ce2cafb825db06536ae25 /sci-astronomy/predict/files | |
parent | Fixing keywords for now - thanks mr. b (diff) | |
download | historical-f9acee6bb2099c3c297c25c531edb321d7b1515d.tar.gz historical-f9acee6bb2099c3c297c25c531edb321d7b1515d.tar.bz2 historical-f9acee6bb2099c3c297c25c531edb321d7b1515d.zip |
Version bump and general ebuild overhaul (see bug #140991). Fixed predict-update script to resolve insecure temp file handling via wget (see bug #160130).
Package-Manager: portage-2.1.2_rc4-r7
Diffstat (limited to 'sci-astronomy/predict/files')
-rw-r--r-- | sci-astronomy/predict/files/digest-predict-2.2.2-r3 | 2 | ||||
-rw-r--r-- | sci-astronomy/predict/files/digest-predict-2.2.3 | 3 | ||||
-rw-r--r-- | sci-astronomy/predict/files/predict-update | 20 |
3 files changed, 17 insertions, 8 deletions
diff --git a/sci-astronomy/predict/files/digest-predict-2.2.2-r3 b/sci-astronomy/predict/files/digest-predict-2.2.2-r3 index 8786565e5599..4e4d2c185c83 100644 --- a/sci-astronomy/predict/files/digest-predict-2.2.2-r3 +++ b/sci-astronomy/predict/files/digest-predict-2.2.2-r3 @@ -1 +1,3 @@ MD5 2512bc6b584ece66de027e46f114ab53 predict-2.2.2.tar.gz 1637893 +RMD160 555db99142521408d2c24065972eaba16d8541e2 predict-2.2.2.tar.gz 1637893 +SHA256 6996bc4219483fb3bb0e33de5bd58bc7a921fad4298a951b5a6a3c97f8d95d7f predict-2.2.2.tar.gz 1637893 diff --git a/sci-astronomy/predict/files/digest-predict-2.2.3 b/sci-astronomy/predict/files/digest-predict-2.2.3 new file mode 100644 index 000000000000..46c28041b991 --- /dev/null +++ b/sci-astronomy/predict/files/digest-predict-2.2.3 @@ -0,0 +1,3 @@ +MD5 8060cd69bcd54a21ec7994ee3665c1b8 predict-2.2.3.tar.gz 1639784 +RMD160 b0ec4efcad5ca530f787b2a83d3ba9bb80489d6e predict-2.2.3.tar.gz 1639784 +SHA256 fbaa7c78227a2216ee22b25c914c4dd538abfc22d96f0bb5d21e3e61976e5166 predict-2.2.3.tar.gz 1639784 diff --git a/sci-astronomy/predict/files/predict-update b/sci-astronomy/predict/files/predict-update index d218fd18ed6d..b0634e148e46 100644 --- a/sci-astronomy/predict/files/predict-update +++ b/sci-astronomy/predict/files/predict-update @@ -1,8 +1,7 @@ #!/bin/sh -PV= +oldpwd=$PWD if [ ! -f ~/.predict/predict.tle ]; then - oldpwd=$PWD mkdir -p ~/.predict cd ~/.predict cat > predict.tle << EOF @@ -79,10 +78,15 @@ STARSHINE 3 1 26929U 02216.67548843 .00042169 00000-0 00000-0 0 9 2 26929 67.0426 246.5544 0011326 237.9129 122.0981 15.57367567 47636 EOF - cd $oldpwd fi -wget -qc www.celestrak.com/NORAD/elements/amateur.txt -O /tmp/amateur.txt -wget -qc www.celestrak.com/NORAD/elements/visual.txt -O /tmp/visual.txt -wget -qc www.celestrak.com/NORAD/elements/weather.txt -O /tmp/weather.txt -predict -u /tmp/amateur.txt /tmp/visual.txt /tmp/weather.txt -rm /tmp/amateur.txt /tmp/visual.txt /tmp/weather.txt + +mkdir /tmp/predict-$$ || exit 1 +cd /tmp/predict-$$ + +wget -qc www.celestrak.com/NORAD/elements/amateur.txt -O ./amateur.txt +wget -qc www.celestrak.com/NORAD/elements/visual.txt -O ./visual.txt +wget -qc www.celestrak.com/NORAD/elements/weather.txt -O ./weather.txt +predict -u ./amateur.txt ./visual.txt ./weather.txt + +cd ${oldpwd} +rm -fr /tmp/predict-$$ |