Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 347094 Details for
Bug 468224
sci-misc/boinc-7.0.65 version bump latest stable
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
git based package download script
generate_tarball_git.sh (text/plain), 3.46 KB, created by
Greg Trigg
on 2013-05-02 02:38:07 UTC
(
hide
)
Description:
git based package download script
Filename:
MIME Type:
Creator:
Greg Trigg
Created:
2013-05-02 02:38:07 UTC
Size:
3.46 KB
patch
obsolete
>#!/usr/bin/env bash >## $Id: generate_tarball.sh,v 2.01 2013/05/01 21:00:00 trigggl Exp $ >## Modified by trigggl 2013-05-01 >############################################################################### ># functions >############################################################################### ># print out help function >help() { > echo "Welcome to Boinc tarball generator" > echo > echo "For correct usage set VERSION argument" > echo "Example:" > echo "$0 -v 7.0.1" > echo "Only versions 7.0 are supported" > exit 0 >} >############################################################################### ># argument passing >############################################################################### >if [[ $1 == "--help" ]]; then > help >fi >while getopts v: arg ; do > case $arg in > v) VERSION=${OPTARG};; > *) help;; > esac >done >if [ -z "${VERSION}" ]; then > help >fi >############################################################################### ># variable definition >############################################################################### >GIT_URI="git://boinc.berkeley.edu/boinc-v2.git" >BRANCH="client_release/7.0/${VERSION}" >PACKAGE="boinc-${VERSION}" >BUNDLE_PREFIX="boinc-dist" >LOG=linux.log >############################################################################### ># prepare enviroment >############################################################################### >mkdir ${BUNDLE_PREFIX} -p >rm -rf "${BUNDLE_PREFIX}"/* # CLEANUP >cd "${BUNDLE_PREFIX}" >touch "${LOG}" >echo "" > "${LOG}" # LOG CLEANUP >############################################################################### ># git data from repository >############################################################################### >echo "<Cloning git repository>" >echo "<******************************>" >git clone ${GIT_URI} ${PACKAGE} >> "${LOG}" >############################################################################### ># cleanup files we fetched >############################################################################### >echo "<Cleaning up data we fetched>" >echo "<******************************>" >pushd "${PACKAGE}" > /dev/null ># Checkout version >git checkout ${BRANCH} >> "${LOG}" >rm -rf .git* # git rid of other branches > ># First remove NON Linux stuff we will not use >rm -rf mac_installer/ # mac installer scripts >rm -rf clientgui/mac/ # mac windows >rm -rf clientscr/ # windows screensaver >rm -rf clienttray/ # windows systray >rm -rf win_build/ # windows build stuff >rm -rf clientlib/ # only windows stuff >rm -rf client/os2/ # OS2 stuff >rm -rf client/win/ # windows stuff >rm -rf mac_build/ # mac build scripts >rm -rf RSAEuro/ # empty folder >rm -rf html/ # webpages WTF? > > ># BUNDLED STUFF NEEDED REMOVAL >rm -rf coprocs/ # CUDA >rm -rf curl/ >#rm -rf locale/*/*.mo # translations should be generated on user machines ># Actualy they dont generate them >rm -rf zlib/ >rm -rf openssl/ > >popd > /dev/null > >############################################################################### ># create tbz >############################################################################### >tar cJf "${PACKAGE}".tar.xz ${PACKAGE} >> "${LOG}" >find ./ -maxdepth 1 -type f -name \*.tar.xz -print | while read FILE ; do > echo "FILE: ${FILE}" > echo " SIZE: $(`which du` -h ${FILE} |`which awk` -F' ' '{print $1}')" > echo " MD5SUM: $(`which md5sum` ${FILE} |`which awk` -F' ' '{print $1}')" > echo " SHA1SUM: $(`which sha1sum` ${FILE} |`which awk` -F' ' '{print $1}')" > echo >done >echo "<<<All done>>>" >###############################################################################
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 468224
:
347092
| 347094 |
347096
|
347098