summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2010-04-02 09:48:24 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2010-04-02 09:48:24 +0000
commit0ef4ff18b7bad91d92189c426306351adb00fdf2 (patch)
tree0fc16f8f1f0ba3a16b30366e3092b2b75d8b4792 /sci-misc
parentGive up maintainership. (diff)
downloadhistorical-0ef4ff18b7bad91d92189c426306351adb00fdf2.tar.gz
historical-0ef4ff18b7bad91d92189c426306351adb00fdf2.tar.bz2
historical-0ef4ff18b7bad91d92189c426306351adb00fdf2.zip
Add tarball generating script for future maintainer.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/boinc/ChangeLog6
-rw-r--r--sci-misc/boinc/Manifest9
-rw-r--r--sci-misc/boinc/files/generate_tarball.sh95
3 files changed, 105 insertions, 5 deletions
diff --git a/sci-misc/boinc/ChangeLog b/sci-misc/boinc/ChangeLog
index 729b1d688a4d..9bc3203dfe2b 100644
--- a/sci-misc/boinc/ChangeLog
+++ b/sci-misc/boinc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-misc/boinc
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/ChangeLog,v 1.87 2010/04/02 09:45:07 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/ChangeLog,v 1.88 2010/04/02 09:48:24 scarabeus Exp $
+
+ 02 Apr 2010; Tomáš Chvátal <scarabeus@gentoo.org>
+ +files/generate_tarball.sh:
+ Add tarball generating script for future maintainer.
02 Apr 2010; Tomáš Chvátal <scarabeus@gentoo.org> metadata.xml:
Give up maintainership.
diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest
index 09d239d846a4..fa69a5f159a3 100644
--- a/sci-misc/boinc/Manifest
+++ b/sci-misc/boinc/Manifest
@@ -4,16 +4,17 @@ Hash: SHA1
AUX 6.4.5-glibc210.patch 300 RMD160 0ca2f52c4265cf5a5763a7c1e2ce27bdc929bde8 SHA1 5a5a51b299e52d8a9ceba8c454b35488260721ea SHA256 b39db0c5208fc3c0a89ae0b0d809e5f8f72e7494c98e1b0b23eadcc5c8243377
AUX boinc.conf 711 RMD160 b6bb25b9d10cbefd3de5d653e701e056e2de4587 SHA1 570929cb4ed50d4fc4408624c4d0d330e208609c SHA256 032f07145ee230f069ffdc93befe90c047fba4314aedfc8024bdb44c06798e9e
AUX boinc.init 3225 RMD160 fbb2ffc29f38ce26a422bff0791bfb74b3a257df SHA1 c97b93ac32a212a5c2c1951e06237efc08540930 SHA256 726d6d96e0c81b235f3a8a4c6f27bbe115bedd9df5eb36c89c2d8169c9173296
+AUX generate_tarball.sh 3416 RMD160 dbf729a669586beab2d79e6f4fb1c246ad778808 SHA1 b7c8aa1f08971d8e5cfa8e2543f4d8ffc83c69ba SHA256 e5ee6e3801bd5d699da6d8acb297b076d11dab61fb6e42263720bf1393bfcafc
DIST boinc-6.10.18.tar.bz2 11392526 RMD160 5fe8fac83181833f8085bac455c6252adb7b4d62 SHA1 07d695ba80faa7761d74a0b6d5cfabd5bb045a00 SHA256 a2d02b9a996ce398d1f32dbc40f8dcb5a7866a54c4936f64350391f624e31ea3
DIST boinc-6.10.36.tar.bz2 11540181 RMD160 9679724c87fa0f6f6674f791b2f09173aebd6458 SHA1 260e9bfc83a0e1982efddd3760eb81973b26bbd7 SHA256 9772b5c43bf73fbd227687b6be1df32123b79a9276ac7704e755f2efa415d966
EBUILD boinc-6.10.18.ebuild 3587 RMD160 e7d2d58f8762847b9e364b371403bd97f6df0917 SHA1 ab0403e3bd0506930611a0294bebbc0bf5e96f26 SHA256 32a6a5011b392b6d54174f9f505dbc38dff51ffc291b4b594ba6a984381a8b81
EBUILD boinc-6.10.36.ebuild 3587 RMD160 90ebab4120a896fb9a118734bc8afeeaa2138b6f SHA1 a157eb2ad53a176aabfa1885213732164e053081 SHA256 30422d7df5dd65e18c3ebb8f3275631f7c1d45cdd84e289fcc9e9794c1cca2e5
-MISC ChangeLog 16211 RMD160 ebb807f7fd3711d7498556f22569a7fabb5458f2 SHA1 8d2663ab77d69fea14aea85a12567f024cd0fc7c SHA256 1db31ed617b9deb375c35f2372d684e5878341389752ae2a7f64c952788f5e38
+MISC ChangeLog 16352 RMD160 7942924780617768fe6c0a57caafa40505e42060 SHA1 968ea42410cba44833afce62ad9a4ba82b310936 SHA256 b85c98332ba01af008dbd5228c86fe80432496027f8fe12ecdd17b022c017422
MISC metadata.xml 774 RMD160 a5a2ec0c50667b20da393a2a18e63fcdc94e2eb0 SHA1 16e144f257f88c1cb7ce996aec900709096ce048 SHA256 c9024478fda0e26c17e3f324090e33dd0954cc0397802dd9872a9bdf1f733e6b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
-iEYEARECAAYFAku1vK8ACgkQHB6c3gNBRYcUUQCcCtxQ3v9iC7rquv/I50OMPH4g
-rPYAn1VYIFzExCQx7bT/RsIWOO6I3Dlo
-=utlT
+iEYEARECAAYFAku1vW8ACgkQHB6c3gNBRYdTegCfRTSptUEWFeagvLvXI1L6QpNm
+qygAoJ9NJnEMi4a5l3psSobzVH04tdBU
+=M3EU
-----END PGP SIGNATURE-----
diff --git a/sci-misc/boinc/files/generate_tarball.sh b/sci-misc/boinc/files/generate_tarball.sh
new file mode 100644
index 000000000000..a6cc4d8868ab
--- /dev/null
+++ b/sci-misc/boinc/files/generate_tarball.sh
@@ -0,0 +1,95 @@
+#!/usr/bin/env bash
+## $Id: generate_tarball.sh,v 1.1 2010/04/02 09:48:24 scarabeus Exp $
+## 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 "$0 -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="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
+###############################################################################
+# 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 "<******************************>"
+pushd "${PACKAGE}" > /dev/null
+
+# 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.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>>>"
+###############################################################################