-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 3186b91
Showing
18 changed files
with
98 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
*.gz filter=lfs diff=lfs merge=lfs -text | ||
*.zip filter=lfs diff=lfs merge=lfs -text | ||
*.xz filter=lfs diff=lfs merge=lfs -text | ||
*.bz2 filter=lfs diff=lfs merge=lfs -text | ||
*.tgz filter=lfs diff=lfs merge=lfs -text |
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/bin/bash | ||
|
||
DIST=distfiles | ||
|
||
function verify_hash() { | ||
local hash=$1 | ||
local filepath=$2 | ||
echo "$hash $filepath" | sha1sum --status -c - | ||
return $? | ||
} | ||
|
||
echo " * Checking distfiles" | ||
for LINE in `cat files` ; do | ||
FILE=`echo $LINE | cut -d'@' -f1` | ||
HASH=`echo $LINE | cut -d'@' -f2` | ||
URL=`echo $LINE | cut -d'@' -f3` | ||
if [ ! -f $DIST/$FILE ] ; then | ||
echo " * Downloading $FILE" | ||
wget -O $DIST/$FILE $URL | ||
fi | ||
verify_hash $HASH "$DIST/$FILE" | ||
if [ $? != 0 ] ; then | ||
echo " * Resume downloading $FILE" | ||
wget -c -O $DIST/$FILE $URL | ||
|
||
verify_hash $HASH "$DIST/$FILE" | ||
if [ $? != 0 ] ; then | ||
echo " !!! Hash mismatch for $FILE" | ||
exit 1 | ||
fi | ||
fi | ||
done | ||
echo " * Done checking distfiles" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
zlib-1.2.8.tar.gz@a4d316c404ff54ca545ea71a27af7dbc29817088@http://zlib.net/zlib-1.2.8.tar.gz | ||
bzip2-1.0.6.tar.gz@3f89f861209ce81a6bab1fd1998c0ef311712002@http://bzip.org/1.0.6/bzip2-1.0.6.tar.gz | ||
xz-5.0.5.tar.xz@56f1d78117f0c32bbb1cfd40117aa7f55bee8765@http://tukaani.org/xz/xz-5.0.5.tar.xz | ||
glew-1.13.0.tgz@d5b1c499f429aa91c466193b4e8ea94a84019e37@http://downloads.sourceforge.net/glew/glew-1.13.0.tgz | ||
boost_1_56_0.tar.bz2@f94bb008900ed5ba1994a1072140590784b9b5df@http://gentoo.mirrors.tds.net/gentoo/distfiles/boost_1_56_0.tar.bz2 | ||
freetype-2.4.11.tar.bz2@b15e5a0b30c1e854484b410340f6429ad1253c74@http://download.savannah.gnu.org/releases/freetype/freetype-2.4.11.tar.bz2 | ||
oiio-Release-1.3.14.tar.gz@cc46c3d08d848706ff914c2d5e6fda0cb4be049c@https://github.com/OpenImageIO/oiio/archive/Release-1.3.14.tar.gz | ||
jpegsrc.v6b.tar.gz@7079f0d6c42fad0cfba382cf6ad322add1ace8f9@http://www.ijg.org/files/jpegsrc.v6b.tar.gz | ||
libpng-1.5.26.tar.xz@eb1f924c92ddd8ee2e0b4d87a3880d626021765a@ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng15/libpng-1.5.26.tar.xz | ||
qt-everywhere-opensource-src-4.8.6.tar.gz@ddf9c20ca8309a116e0466c42984238009525da6@http://gentoo.mirrors.tds.net/gentoo/distfiles/qt-everywhere-opensource-src-4.8.6.tar.gz | ||
tiff-4.0.3.tar.gz@652e97b78f1444237a82cbcfe014310e776eb6f0@http://gentoo.mirrors.tds.net/gentoo/distfiles/tiff-4.0.3.tar.gz | ||
fftw-3.3.3.tar.gz@11487180928d05746d431ebe7a176b52fe205cf9@ftp://ftp.fftw.org/pub/fftw/fftw-3.3.3.tar.gz | ||
ilmbase-2.1.0.tar.gz@306d76e7a2ac619c2f641f54b59dd95576525192@http://download.savannah.nongnu.org/releases/openexr/ilmbase-2.1.0.tar.gz | ||
openexr-2.1.0.tar.gz@4a3db5ea527856145844556e0ee349f45ed4cbc7@http://download.savannah.nongnu.org/releases/openexr/openexr-2.1.0.tar.gz | ||
embree-bin-2.4_linux.zip@32e8851bb2bcaab2d01264a8a28baf5c9f3a5897@http://github.com/embree/embree-bin/archive/v2.4_linux.zip |