Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 170399 Details for
Bug 236931
ebuild for sci-misc/boinc-6.2.15
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
generate_tarball.sh ca-bundle.crt fixed
generate_tarball-fixed.sh (text/plain), 3.41 KB, created by
Olivier Mondoloni
on 2008-10-31 10:29:58 UTC
(
hide
)
Description:
generate_tarball.sh ca-bundle.crt fixed
Filename:
MIME Type:
Creator:
Olivier Mondoloni
Created:
2008-10-31 10:29:58 UTC
Size:
3.41 KB
patch
obsolete
>#!/usr/bin/env bash >## $Id: export-tarball 8916 2005-11-23 18:09:55Z korpela $ >## Modified by scarabeus 2008-10-23 >############################################################################### ># functions >############################################################################### ># print out help function >help() { > echo "Welcome to Boinc tarball generator" > echo > echo "For correct usage set VERSION argument" > echo "Example:" > echo "./script -v 6.1.1" > 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 >############################################################################### >SVN_URI="http://boinc.berkeley.edu/svn/tags/boinc_core_release_${VERSION//./_}" >PACKAGE="boinc-${VERSION}" >BUNDLE_PREFIX="${HOME}"/"${PACKAGE}" >LOG="${BUNDLE_PREFIX}"/linux.log >############################################################################### ># prepare enviroment >############################################################################### >mkdir -p "${BUNDLE_PREFIX}" >rm -rf "${BUNDLE_PREFIX}"/* # CLEANUP >cd "${BUNDLE_PREFIX}" >touch "${LOG}" >echo "" > "${LOG}" # LOG CLEANUP >############################################################################### ># get data from svn >############################################################################### >echo "<Downloading files from SVN repository>" >echo "<******************************>" >svn export ${SVN_URI} ${PACKAGE} >> "${LOG}" >############################################################################### ># cleanup files we fetched >############################################################################### >echo "<Cleaning up data we fetched>" >echo "<******************************>" ># define release >sed -i '/#define\ BOINC_PRERELEASE\ 1/ c\//#define\ BOINC_PRERELEASE\ 0' \ > ${PACKAGE}/version.h.in >> "${LOG}" ># remove windows stuff (we create tarball for gentoo) >rm -rf ${PACKAGE}/client/os2 ${PACKAGE}/client/win >rm -rf ${PACKAGE}/clientgui/mac ${PACKAGE}/clientgui/msw >rm -rf ${PACKAGE}/clientlib/ >rm -rf ${PACKAGE}/lib/mac/ >rm -rf ${PACKAGE}/mac_build/ >rm -rf ${PACKAGE}/mac_installer/ >rm -rf ${PACKAGE}/openssl/ >rm -rf ${PACKAGE}/win_build/ >rm -rf ${PACKAGE}/curl/include >rm -rf ${PACKAGE}/curl/mswin >rm -rf ${PACKAGE}/curl/patches >rm -rf ${PACKAGE}/zlib/ >rm -rf ${PACKAGE}/RSAEuro/ >rm -rf ${PACKAGE}/stripchart/ >rm -rf ${PACKAGE}/html/ ># fixup build system >sed -i \ > -e "s:win_build::g" \ > -e "s:doc::g" \ > ${PACKAGE}/Makefile.am >############################################################################### ># create tbz >############################################################################### >tar cjf "${PACKAGE}".tar.bz2 ${PACKAGE} >> "${LOG}" >find ./ -maxdepth 1 -type f -name \*.tar.bz2 -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 236931
:
164777
|
164779
|
164780
|
164947
|
165439
|
165758
|
165760
|
165762
|
165764
|
165804
|
169578
|
169580
|
169582
| 170399 |
170400