diff options
Diffstat (limited to 'crypto/polarssl/DETAILS')
-rwxr-xr-x | crypto/polarssl/DETAILS | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/crypto/polarssl/DETAILS b/crypto/polarssl/DETAILS index be2300ccef..81b7a4e42f 100755 --- a/crypto/polarssl/DETAILS +++ b/crypto/polarssl/DETAILS @@ -1,10 +1,20 @@ +. "$GRIMOIRE/FUNCTIONS" SPELL=polarssl - VERSION=1.2.5 - SOURCE_HASH=sha512:f493df565dd8c9b5de1124e846415e5c9ad1e5f4805c751e96e687829dc8340e0bf259f3055cd5b38b0e42bc7134d074b91a3eed4c780e471238f55cbece2bc2 - SECURITY_PATCH=1 - SOURCE=$SPELL-$VERSION-gpl.tgz - SOURCE_URL[0]=http://polarssl.org/code/releases/$SOURCE -SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION +if [[ "$POLARSSL_BRANCH" == scm ]]; then + VERSION=$(get_scm_version) + SOURCE_IGNORE=volatile + FORCE_DOWNLOAD=on + SOURCE=$SPELL-git.tar.bz2 + SOURCE_URL[0]=git://github.com/$SPELL/$SPELL.git:$SPELL-git +SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-git" +else + VERSION=1.3.9 + SOURCE_HASH=sha512:eac720913ece5ac7da92773f64e21acce740474ae1c82d1b992c31a49b254852933970dd69a763a643ffcfa2189c2cd2e1f18a892b1253b1060fa049238f04c4 + SECURITY_PATCH=2 + SOURCE=$SPELL-$VERSION.tar.gz + SOURCE_URL[0]=https://github.com/$SPELL/$SPELL/archive/$SOURCE +SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$SPELL-$VERSION" +fi WEB_SITE=http://polarssl.org/ LICENSE[0]=GPL ENTERED=20110812 |