From dd8d99af41d079ba794269133bf29f6ddb40550e Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Mon, 7 Apr 2014 18:21:47 +0000 Subject: Backport systemd unit files for faster stabilization (#506792 by Paolo Pedroni) Package-Manager: portage-2.2.10/cvs/Linux x86_64 Manifest-Sign-Key: 0xA188FBD4 --- sci-mathematics/gimps/ChangeLog | 8 +++- sci-mathematics/gimps/Manifest | 9 ++-- sci-mathematics/gimps/gimps-27.9-r2.ebuild | 68 ++++++++++++++++++++++++++++++ 3 files changed, 80 insertions(+), 5 deletions(-) create mode 100644 sci-mathematics/gimps/gimps-27.9-r2.ebuild (limited to 'sci-mathematics') diff --git a/sci-mathematics/gimps/ChangeLog b/sci-mathematics/gimps/ChangeLog index 24eef81809d6..996847564069 100644 --- a/sci-mathematics/gimps/ChangeLog +++ b/sci-mathematics/gimps/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-mathematics/gimps # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gimps/ChangeLog,v 1.65 2014/03/07 21:40:07 tomka Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gimps/ChangeLog,v 1.66 2014/04/07 18:21:46 pacho Exp $ + +*gimps-27.9-r2 (07 Apr 2014) + + 07 Apr 2014; Pacho Ramos +gimps-27.9-r2.ebuild: + Backport systemd unit files for faster stabilization (#506792 by Paolo + Pedroni) 07 Mar 2014; Thomas Kahle -files/gimps.service-r1, gimps-28.5.ebuild: diff --git a/sci-mathematics/gimps/Manifest b/sci-mathematics/gimps/Manifest index 0966eba2aff1..b951065ba62f 100644 --- a/sci-mathematics/gimps/Manifest +++ b/sci-mathematics/gimps/Manifest @@ -11,16 +11,17 @@ DIST p95v283.linux64.tar.gz 5636753 SHA256 2825d3ee51f27283b28422678f615d1c9acdb DIST p95v285.linux.tar.gz 4631889 SHA256 93db373411347678e63904b05fb22eb0de36e1ba0481f374c0f095ac47680a2c SHA512 d1118c842e8d7ed98324dd351e331f5f43c9788a04e2f82fafc7842836afb7586f04450461e983e77d226f6bcc7489ab8fbe5914adb939df721d7d7b3d245b59 WHIRLPOOL 96263fa134b098b30762eced6a4a7501920bbdfaffd6e509a12fe98c4348e17bed6df10847652b374c0d17ac7107b6ad081e6be00e65691a83c59ec52bc7f090 DIST p95v285.linux64.tar.gz 5657209 SHA256 402b898fa50f74bd48f2f8d60aa12e44cbbd95b5a356d6656109266cb4e5a57f SHA512 925113718160b17dc0c5b798f12dbaa56b5df76999cef8cda6352e94b943dcbd0a1a2a9b156e71278d8dab777783c5275af20594169629a06a9cd6afc12929e8 WHIRLPOOL 81f05abbc36bf3026f91eabf14bc22dfa6e24265a512a7595a2b047e0b272ad7678280a8f96f9e76f6e81a9d7d0ce2a9ce9cd47cb70e83f41a8782e20e4ec458 EBUILD gimps-27.9-r1.ebuild 1807 SHA256 df8ffc6cc4c51984432bda64553052a542d23a4a9b7db367669bee7e4cc7b535 SHA512 11049f74a0ede76c0f4907b9dfd794ee1806fb65a9aa1ebc1b4af685d67c03603a12821328de5cb621f6272f758b8953bafb0ce6ba534d35e8da5e9ccf7e0ab5 WHIRLPOOL 945bc9b2faadfc7d382aa52bccc58f74b471561d2ffd34a5c87c1b02db73e0583dbd35d00f2213d45834623bea60bc4049a919276af24ffe46fc2c37a725b92b +EBUILD gimps-27.9-r2.ebuild 1924 SHA256 941c19b66c3d204089dd5162d6a9259e42cbdd3fb0679f3c298bbfb61a423deb SHA512 62c4f5eea7ed3c2086efe5f3fac017d3ac94ed98ede664624e3a2a9ec74272d7a4c81316a80bf76ee6e597ecc58a0cefe1569a9968babe1235bee3ad32bf7746 WHIRLPOOL fbb611ad9ebc07bb599cc8db0b3cc33c1a48fb67efd2ff9ff9aea5725f2dab34d6d99bdd4b5a69ca5b32393a43dec772ee44e4f75bc09d8919ee3c8e6c47a7c8 EBUILD gimps-27.9.ebuild 1764 SHA256 d2cf5726047fa73adcb4ea2b571a6eff4abc6fc5b4712cbbc2cb4e4bb10a133e SHA512 2f0e5cbca30c23efd49122fc5fbbb3cf078a49a29f1b2b59c5474f5a21745abe555be525890f85b19ece2340b20c77f9da19dcb1199db5c77b98c90cfafec174 WHIRLPOOL 1aa48381f69c42557a7edb8fa61f4796da3fe7d9ec56a8daabac40b4410c36643e5b987e8b7c41948e0bb2643cdafbb5f8fb392ff5012e19c83a34017abe6fc4 EBUILD gimps-28.3-r1.ebuild 1856 SHA256 7d6b57cb023ff151ed33c170c380f240db24557bb89fed87865dd2a392ba3e37 SHA512 a5650a7ed7038ce7f3f7b478427805a2ea1d737831c8b58df8f97213e0bc92750272da7f8a903fe696d96d50a5969a67942fb50912a8d5fc534ac8bc885db57c WHIRLPOOL dc23666933396fa876516d2fcf94979fc617f292a49f8eefdea8445227eb3ce281320981acad48b43bda6409dce81214959fb7ecbedea4c04001d930a25da3b4 EBUILD gimps-28.3.ebuild 1736 SHA256 c5f518b7cd68e2f1de0152e7c218ae7955ab20fc70fb5a06fd64bddca0f01187 SHA512 a0ba46d7c0af92524b0f00891f474900b54b029651aab479c8951222c1fdfa0b8ac9cc841e87f8d8c444cc158972ebcb20168bddb5b4f14be0b080581fc884f6 WHIRLPOOL 5d128a8f6701246c6d6c75e1dd2ec97f3bc72dbc6009e4584d8f1e68ffd208c5fa088295e588ad41685ec2ff7129b3b1232a8c2f9f8a53b6ecc8675f35a278bf EBUILD gimps-28.5.ebuild 1919 SHA256 fb44c9c48f22f126ab3b6e9baadb24a39276afd462269e10f59c24c5d82c50c6 SHA512 0d68db9813c7281cd0bf0ea76e7aed2f3c9d668b5d418bd959ae35b08f7cdff92dbadb2dbd296f75a9efa98ce9f2a8bd77afef427dd413a1b730cc129af620c2 WHIRLPOOL c2a10fea59ac604cedb0d30b773c85bf15747b4695b97aa507981e580bde072ce88bb08ea7d5d6169ee2f6925016c7cfbc0d04db723b2b81d18c2a592511cc1b -MISC ChangeLog 10694 SHA256 34cb12701b85b8f89888b398bcd021dfddddd6cf26c2379093c5da45922b3934 SHA512 858dd7a6c575c7a0664bfa169e5db88deac9575b785d372e6caad58cefbfb159ff83b1ad21c1a3e1b6d0887c3a4ffdd06ef7b529231b8de9d3d72acd8e5b5d1b WHIRLPOOL 4ecf25215568e3cd282580d29c6817e49fcbaec8267aba2a37b0f4ee3e7fdd20bff5ca09667a53039a6c3bd5dda9cd5d8a5cda2eb3de66bcd4a56e1a3e822f67 +MISC ChangeLog 10878 SHA256 5d8025da25ffeff2980636b07e09aecfbb98f1382fff6e325c569298cb641fe4 SHA512 c06c4ebb4f1be8a7dea51849e22b3dd5f4e0b6a83d4ee08e58910f0dccbca0ade3031e61f1b6329f20104062b664557872ac62b6b74b1ffa5c5d039f3f93cd1c WHIRLPOOL b2032616eea6c29f856131dcf41b762320f3000ec3f0a24bbd170a4d57e1d87632437aa59519667910c46cef2e301142b8fec339f5f71374f803b36b66a711b9 MISC metadata.xml 267 SHA256 16cdc4f98e744ecfbb247baccf51d8b8960acc91170957fc7b2353d9810d2e43 SHA512 f61a03ccc17c246f435dabf2656f494ea85866b75ce09f9b0968b327870ccb20977d369d0cf965b1a9fabc434d1d315f3d9ddf018c153c027fb0856998197765 WHIRLPOOL b642c02d0b769ddbc440058f2bba348f7461462e7cda77693eef950c0e6c96324ae13ec479137c0a624c6807026e01d78900cd8ca6c922169c2d75d992f025f5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iF4EAREIAAYFAlMaPLsACgkQid6yGVZcMryKfQEAmIhh3R7YaJdMgh8OUYiVBXSz -oWDWYxOSztJzdQ/riqcA/iUJ6h1IFpWTuIiLQiyqGrkwx7dFvUcvJAZgdQ0AQdyn -=J2hl +iEYEAREIAAYFAlNC7LsACgkQCaWpQKGI+9TxdACZAVin2l1vHuxyk5B+uspoyWYV +oIQAoIiZq3gXPRobDoAdyQMAySBAd4OR +=i1uZ -----END PGP SIGNATURE----- diff --git a/sci-mathematics/gimps/gimps-27.9-r2.ebuild b/sci-mathematics/gimps/gimps-27.9-r2.ebuild new file mode 100644 index 000000000000..92a68d6bd967 --- /dev/null +++ b/sci-mathematics/gimps/gimps-27.9-r2.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gimps/gimps-27.9-r2.ebuild,v 1.1 2014/04/07 18:21:46 pacho Exp $ + +EAPI=4 + +inherit pax-utils systemd + +DESCRIPTION="The Great Internet Mersenne Prime Search" +HOMEPAGE="http://mersenne.org/" +SRC_URI=" + amd64? ( ftp://mersenne.org/gimps/p95v${PV/./}.linux64.tar.gz ) + x86? ( ftp://mersenne.org/gimps/p95v${PV/./}.linux32.tar.gz )" + +SLOT="0" +LICENSE="GIMPS" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" + +# 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="" +RDEPEND="net-misc/curl" + +RESTRICT="binchecks" + +S="${WORKDIR}" +I="/opt/gimps" + +QA_PREBUILT="opt/gimps/mprime" + +src_install() { + dodir ${I} /var/lib/gimps + pax-mark m mprime + cp mprime "${D}/${I}" + fperms a-w "${I}/mprime" + fowners root:0 "${I}" + fowners root:0 "${I}/mprime" + + dodoc license.txt readme.txt stress.txt whatsnew.txt undoc.txt + + newinitd "${FILESDIR}/${PN}-26.6-r1-init.d" gimps + newconfd "${FILESDIR}/${PN}-25.6-conf.d" gimps + + systemd_dounit "${FILESDIR}/${PN}.service" + systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles" "${PN}.conf" +} + +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 don't want to use the init script to start gimps, remember to" + einfo "pass it an additional command line parameter specifying where the data" + einfo "files are to be stored, e.g.:" + einfo " ${I}/mprime -w/var/lib/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