From 305f6170e80597ae6d93bc888d102255168c04c2 Mon Sep 17 00:00:00 2001 From: Michael Januszewski Date: Thu, 11 Dec 2008 16:56:08 +0000 Subject: Version bump (bug #245489). Package-Manager: portage-2.1.6/cvs/Linux 2.6.27 x86_64 --- sci-mathematics/gimps/ChangeLog | 8 ++- sci-mathematics/gimps/Manifest | 13 +++-- sci-mathematics/gimps/files/gimps-25.7-init.d | 37 +++++++++++++ sci-mathematics/gimps/files/mprime-25.7.bpatch | Bin 0 -> 159 bytes sci-mathematics/gimps/gimps-25.7.ebuild | 73 +++++++++++++++++++++++++ 5 files changed, 126 insertions(+), 5 deletions(-) create mode 100755 sci-mathematics/gimps/files/gimps-25.7-init.d create mode 100644 sci-mathematics/gimps/files/mprime-25.7.bpatch create mode 100644 sci-mathematics/gimps/gimps-25.7.ebuild (limited to 'sci-mathematics/gimps') diff --git a/sci-mathematics/gimps/ChangeLog b/sci-mathematics/gimps/ChangeLog index 4440c6c935b6..c72658497fc0 100644 --- a/sci-mathematics/gimps/ChangeLog +++ b/sci-mathematics/gimps/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-mathematics/gimps # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gimps/ChangeLog,v 1.24 2008/11/04 20:06:38 spock Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gimps/ChangeLog,v 1.25 2008/12/11 16:56:07 spock Exp $ + +*gimps-25.7 (11 Dec 2008) + + 11 Dec 2008; Michał Januszewski + +files/gimps-25.7-init.d, +files/mprime-25.7.bpatch, +gimps-25.7.ebuild: + Version bump (bug #245489). 04 Nov 2008; Michał Januszewski gimps-25.6.ebuild: Remove unnecessary dependencies from RDEPEND. diff --git a/sci-mathematics/gimps/Manifest b/sci-mathematics/gimps/Manifest index ddf2dd793a0e..3995512330f0 100644 --- a/sci-mathematics/gimps/Manifest +++ b/sci-mathematics/gimps/Manifest @@ -5,20 +5,25 @@ AUX gimps-24.14-conf.d 306 RMD160 e34a2d5bf61717f3860482a52c282fe82a862364 SHA1 AUX gimps-24.14-init.d 644 RMD160 f92618ea5cb33e1afe713ce611b9a61c7b8ed4bd SHA1 30a467d5a423928066914eca267b9724ab5248f3 SHA256 135c10d8e0729f4d2cdca7d078dc858db5fe63a2f162136c5d014ce0cab229a4 AUX gimps-25.6-conf.d 254 RMD160 8edaeed44dafadfd40a10458216d1d5ca85338be SHA1 4378d7de419ca8c3f07ad73111ce9e1147f0b90f SHA256 1eae64e8172c1be714f856bb71df00d35a2f42568b37adfd59fd799e09ad3b3e AUX gimps-25.6-init.d 631 RMD160 4938a0a51fc94a7c63de37d8fc292d5782262ea9 SHA1 9abdb3b74e5413101b3a2171bb895662cd9b98e3 SHA256 d11ca7b10c60ce33eff672711a7655eb780ece3fad89e733a7ddc8b33d807960 +AUX gimps-25.7-init.d 819 RMD160 7cf90ee18e862e7a72379f3faf620da93c2a74ba SHA1 3d4fe6bd101fb699dd64227007364fc0b5eeb3a5 SHA256 9d9cc8c08027e65166bf2779decd3cf3ca4fbf9c4cd69337437f92ea21885271 AUX gimps-conf.d 276 RMD160 90e297b5a1982c8211934293c78ed41701e60529 SHA1 4040e1d5c01679c9879cb57c3dc135f1d4b66d21 SHA256 ddfbcf3ee002ae7901e346bc89ce2806f19469de439011ed6f0f64ea5100779e AUX gimps-init.d 535 RMD160 93b53d68e82e422e21bafbe811d822297bc5db20 SHA1 6bf1b3ad07dc80d28e20e7a72a8a62411475eee0 SHA256 91dc429b761b6d03212bf9dec8a64a127d796b96823f372a65a39bbd57cf7fe0 +AUX mprime-25.7.bpatch 159 RMD160 17ad6b662d265484847aa905c6f2a8b5d177157a SHA1 d4242ebd7a4bd0457c09ab95adaeefba72b1636d SHA256 bb5124de1fb1e90b2329e18890ad48cdc5a8351ec605899f5fb8621aef5edac5 DIST mprime256-linux64.tar.gz 679015 RMD160 b9de74c6b16451553135f68c11307941a8059923 SHA1 7d513c1078fd977c1340c48e30aef8a63a611982 SHA256 581df1f476c81abe2254cf2e1077ac145096f2c27e7260ab5f472e39e6e619f0 DIST mprime256.tar.gz 731193 RMD160 736ec3c4d37f2ae9aacbfd5ece064147853d6d7d SHA1 c1b23ad004fcfdf0383d7b45a1bed9c08e396f85 SHA256 be3ecfe64e43ef157ed6bcb6c7f96f5a7c62011deb4e8c68531d701ab5650fbe +DIST mprime257-linux64.tar.gz 689754 RMD160 92faa8010ce86d7aa1cc754c9b10da47834d5091 SHA1 dd6684c0dcdabd48240343fc86ddb2fb97fbe14a SHA256 b6693975e5232fb51739aa59f774c3e4fd77d038c31f33c4e990f0734e55002d +DIST mprime257.tar.gz 741854 RMD160 ec742ab46751e3b6cbd128350f9aa2492c06e96c SHA1 4fe6507045a075deb2f6e38a0441937be4a5723a SHA256 7102a9272494b18910c6fe5c0f2a74989a4ace2b8f406ef84aefdf8bfed7cd3d DIST sprime2414.tar.gz 885581 RMD160 a04daa85096da35f825c6c907fed1d6457fae911 SHA1 7a345f58073c8dd4ade4b2b09bb607e384d58409 SHA256 e3c7e677884b8a83f45f639270f0062e8935bb65992640035ded2d319c1c4972 EBUILD gimps-24.14-r1.ebuild 1899 RMD160 212d998030003c5de9b5563621a769a0e8702917 SHA1 ee3d7f8ef314e4eee84bad2f1fe1714b117f70f7 SHA256 4e7afb53275f5ccdd506255f03805210c6cd50a2a784756a70bbe642a83842b7 EBUILD gimps-24.14.ebuild 1528 RMD160 aa038b7fb893ed125098cd2c8d130697250cdd4f SHA1 6648169fde60c5c06ca68284f854dec30e2d77d0 SHA256 b74a3c5943605091a9b82ea7c299ee6a3b7f92695d1ef390641460d8d0ecffc2 EBUILD gimps-25.6.ebuild 1713 RMD160 6dfef6305e4f8e095752a257bdef3a361bca2562 SHA1 1c34d3a8129312fb11bc53d6e061c3cb2c516322 SHA256 c973a72e1e0510cd9c701328fbf51f21b94c743949abe4e8d652e01148bfd3d7 -MISC ChangeLog 4620 RMD160 d0e24a2c936fcca31e4df9ca9938a07d2550cc1e SHA1 83eae93041eec41cfed5f8375ae60b46e444f6f5 SHA256 9690108632b5f1eb5d1a7e443ed5d65dda703c65940de854447a2baa562a8af8 +EBUILD gimps-25.7.ebuild 2161 RMD160 8cb93cfad584a90946156fe03d88ed228ed7c8c3 SHA1 8a8a76eaa40599c30f58a6c1be31fc205dce012f SHA256 bab30e39df8d806ca087ad211614e5ac6131f2d32f9f2c37766e3a2485e2f1c4 +MISC ChangeLog 4807 RMD160 caa6cc8ec2b0a0bd5e2152af32f2cee81e3be88a SHA1 be063a521d3bd5ddbccd39f237eee0c49131eff6 SHA256 460b65e6f97a9c7492c700d95a15f5e1816e455e6a96dc143b66b564865dc6ac MISC metadata.xml 255 RMD160 399f78e98260d4f311124e71c6d294e368a76976 SHA1 61f663af9ea0cb4967a12878352e65b095dcd473 SHA256 b2dfe92cb4cae7ec4ecb4af91e94b9aa507a3c8214af32f75cf44f6011a13cc5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAkkQq1IACgkQchej4aZK9/c+nQCfZpK3SJLX4t2DkqqlFmbddTGy -a4AAnA0GIiDRhffkI227DUcnBp6VeXXF -=S11e +iEYEARECAAYFAklBRiIACgkQchej4aZK9/edngCdGVW2aKt8PhpyY92rOOMq4P+9 +ciEAn3wX2hTe+dZkFZ1goPFNk7hZ+0W8 +=mkRN -----END PGP SIGNATURE----- diff --git a/sci-mathematics/gimps/files/gimps-25.7-init.d b/sci-mathematics/gimps/files/gimps-25.7-init.d new file mode 100755 index 000000000000..5f6cb6f35c61 --- /dev/null +++ b/sci-mathematics/gimps/files/gimps-25.7-init.d @@ -0,0 +1,37 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend() { + need net +} + +checkconfig() { + if [ ! -e "${GIMPS_DIR}" ]; then + einfo "Creating ${GIMPS_DIR}" + /bin/mkdir "${GIMPS_DIR}" + fi + + /bin/chown -R ${USER}:${GROUP} ${GIMPS_DIR} + + if [ ! -e "${GIMPS_DIR}/local.txt" ]; then + eerror "GIMPS has not been configured. Please configure it manually before" + eerror "starting this initscript." + return 1 + fi +} + +start() { + checkconfig || return 1 + ebegin "Starting GIMPS" + start-stop-daemon --quiet --start -b --exec /opt/gimps/mprime \ + --chdir ${GIMPS_DIR} --chuid ${USER}:${GROUP} \ + -- -w${GIMPS_DIR} ${GIMPS_OPTIONS} + eend $? +} + +stop() { + ebegin "Stopping GIMPS" + start-stop-daemon --quiet --stop --exec /opt/gimps/mprime + eend $? +} diff --git a/sci-mathematics/gimps/files/mprime-25.7.bpatch b/sci-mathematics/gimps/files/mprime-25.7.bpatch new file mode 100644 index 000000000000..4ddd15628473 Binary files /dev/null and b/sci-mathematics/gimps/files/mprime-25.7.bpatch differ diff --git a/sci-mathematics/gimps/gimps-25.7.ebuild b/sci-mathematics/gimps/gimps-25.7.ebuild new file mode 100644 index 000000000000..9ceceb3d5a2f --- /dev/null +++ b/sci-mathematics/gimps/gimps-25.7.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gimps/gimps-25.7.ebuild,v 1.1 2008/12/11 16:56:07 spock Exp $ + +IUSE="" +DESCRIPTION="GIMPS - The Great Internet Mersenne Prime Search" +HOMEPAGE="http://mersenne.org/" +SRC_URI="amd64? ( ftp://mersenne.org/gimps/mprime${PV/./}-linux64.tar.gz ) + x86? ( ftp://mersenne.org/gimps/mprime${PV/./}.tar.gz )" + +SLOT="0" +LICENSE="as-is" +KEYWORDS="-* ~amd64 ~x86" + +# Since there are no statically linked binaries for this version of mprime, +# and no static binaries for amd64 in general, we use the dynamically linked +# ones and try to cover the .so deps with the packages listed in RDEPEND. +DEPEND="x86? ( dev-util/bsdiff )" +RDEPEND="net-misc/curl" + +S="${WORKDIR}" +I="/opt/gimps" + +QA_EXECSTACK="opt/gimps/mprime" + +src_unpack() { + unpack ${A} + cd "${S}" + + if use x86 ; then + bspatch mprime mprime.fixed "${FILESDIR}/mprime-25.7.bpatch" || \ + die "failed to apply binary patch for libcurl.so.4" + mv mprime.fixed mprime + fi +} + +src_install() { + dodir ${I} /var/lib/gimps + cp mprime "${D}/${I}" + chmod 0555 "${D}/${I}/mprime" + chown root:0 "${D}/${I}" + chown root:0 "${D}/${I}/mprime" + + dodoc license.txt readme.txt stress.txt whatsnew.txt undoc.txt + + newinitd "${FILESDIR}/gimps-25.7-init.d" gimps + newconfd "${FILESDIR}/gimps-25.6-conf.d" gimps +} + +pkg_postinst() { + echo + einfo "You can use \`/etc/init.d/gimps start\` to start a GIMPS client in the" + einfo "background at boot. Have a look at /etc/conf.d/gimps and check some" + einfo "configuration options." + einfo + einfo "If you are a new user, you will need to configure GIMPS before" + einfo "starting the initscript. To do so, run:" + einfo " ${I}/mprime -w/var/lib/gimps" + einfo "followed by:" + einfo " chown nobody:nobody /var/lib/gimps/*" + einfo + einfo "If you have an existing GIMPS account, follow the instructions at:" + einfo " http://mersenne.org/freesoft/#upgradeusers" + einfo "and do not blindy restart gimps." + echo +} + +pkg_postrm() { + echo + einfo "GIMPS data files were not removed." + einfo "Remove them manually from /var/lib/gimps/" + echo +} -- cgit v1.2.3-65-gdbad