summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kahle <tomka@gentoo.org>2014-03-07 19:33:09 +0000
committerThomas Kahle <tomka@gentoo.org>2014-03-07 19:33:09 +0000
commitb06760cd04064da10c788d30abf734cf4387775e (patch)
tree5bf673937d23ce332398e4c39915077962cf18da /sci-mathematics
parentAdd pypy2_0 support. (diff)
downloadhistorical-b06760cd04064da10c788d30abf734cf4387775e.tar.gz
historical-b06760cd04064da10c788d30abf734cf4387775e.tar.bz2
historical-b06760cd04064da10c788d30abf734cf4387775e.zip
bump to 28.5 (bug #503710) and improve systemd files (bug #503714)
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0x565C32BC
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/gimps/ChangeLog8
-rw-r--r--sci-mathematics/gimps/Manifest12
-rw-r--r--sci-mathematics/gimps/files/gimps.service-r119
-rw-r--r--sci-mathematics/gimps/gimps-28.5.ebuild68
4 files changed, 102 insertions, 5 deletions
diff --git a/sci-mathematics/gimps/ChangeLog b/sci-mathematics/gimps/ChangeLog
index 15a5a7003ab1..ecf211caeb8d 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.63 2014/02/15 12:22:34 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/gimps/ChangeLog,v 1.64 2014/03/07 19:32:56 tomka Exp $
+
+*gimps-28.5 (07 Mar 2014)
+
+ 07 Mar 2014; Thomas Kahle <tomka@gentoo.org> +gimps-28.5.ebuild,
+ +files/gimps.service-r1:
+ bump to 28.5 (bug #503710) and improve systemd files (bug #503714)
*gimps-28.3-r1 (15 Feb 2014)
diff --git a/sci-mathematics/gimps/Manifest b/sci-mathematics/gimps/Manifest
index 0450d4c6059f..9989a576a3b5 100644
--- a/sci-mathematics/gimps/Manifest
+++ b/sci-mathematics/gimps/Manifest
@@ -4,20 +4,24 @@ Hash: SHA256
AUX gimps-25.6-conf.d 254 SHA256 1eae64e8172c1be714f856bb71df00d35a2f42568b37adfd59fd799e09ad3b3e SHA512 619f8c385d3c721868d5458f46967d936408db43398326414ad40b66be4092c87c0d8a5018540f949a25c56cc1a0c27ab5a493b77c3095c5870d1facae557bc5 WHIRLPOOL 39610d1ac60dab3b054dde280bc69cba621b0f4381a414abb3225e06fe022336fb30349864b771eb92652b4685bfef3453a3a7af83c1e6aa89a1bd10121b8132
AUX gimps-26.6-r1-init.d 818 SHA256 1ae2fcce5337a95a05753c293ab08bad0eca6719fbabee7617a504c2dfe18d53 SHA512 d6a0051353aa7fe5ec404454643d6e38880a0cb1f86c91189490b9295c3146f1b0674c30e4f18107cf01e50b4c63b1e0d437b9d2f0a553ee066cce2c6e47da9c WHIRLPOOL 21502672c1812cec9a50323dcfa894db3eb588f052f89f311f1ee8a1952b790a0db098ac2d4807ab0633f7281cd9eaf798c0f37ca4055257b00dbd6670e33030
AUX gimps.service 283 SHA256 4a55637b7ef6fd039f0c457fbd360a102049da9c4881145fca4b54a318f27ca8 SHA512 710c7d075d5542364746b837f2b62257011abb8f45862bf0a1fabd53adb182b5fd969256c7f3221506fef38e81ab1b0f4698efafc1ca7908d9e2d42dee386d8b WHIRLPOOL 2a73110c93952129eaeddf7bb639155836f5ea552bd879c84d0239cb812573a21b0b0c17983b0ec3f48ce43eaa79cc370c67dc0834127339206021cd259dddaa
+AUX gimps.service-r1 487 SHA256 e84fe45f0e21afee07100eca6b29e9086ca925422e204e839e4c7ed84958cb2a SHA512 45d3ee951dadf23d20164b9deebaceb33269b5ff7a12648fee041f296c66d60294138eacd9a3313b63475bf9a401bbfc83c0ec4e05d1a81aed48a3fba099d48d WHIRLPOOL fa59082895381f4d5fe353e65100a58d830f283aa7bd0aaa719df63fae94da61fc3ea4481ce31aaed0e3b221f400e78b231de73458a0c0149866f75aaaba28ea
AUX gimps.tmpfiles 38 SHA256 0c8ed02b8ab1fc91cc07562da331599ed19523db827c2700510c783823fd0f07 SHA512 61c5eda13289175cdf55704442ceab4d5391d24cfa49f04155799fc2798e5ad5f1e624802e1c04b99685b1560f9898d1b0fc0c15c82251d1a765dd5de93024d8 WHIRLPOOL c63dec16c7feddf6f5594627dfd24a12b1b4e929d0689e26382e328d96cbcbde7a30f4f39d36ea389ad58efa1645db443ebed7e724d40fcb28ea542729d8eb3c
DIST p95v279.linux32.tar.gz 4539547 SHA256 500d7e0f5a6f19084bdc439f25532ca0b8609ceb4fe88f792fbc01dd844abdbe SHA512 a4391e3767492cd427390206e5e5cd1da70b062214cd2e067914c18df76d8dd4688991e3269cb22f9ea006f208b3659e0940ed555f36749189cc58dad6457254 WHIRLPOOL e6ecc301dcc558906ea523c94ea8cb61c99505de6f171f0b070c75b0999edb9155aa1c2c15aa5c3b6a579fd72aba12c1ff08ff3e0377d7a50e30f7333221cebc
DIST p95v279.linux64.tar.gz 4873050 SHA256 7fb64f49f4825945d0ed470ecaa12f4b1ffc62c5e56edc7a181fb0751785692d SHA512 555a53f46f49131b737b44bd8a8fca018e40812beefd0fe4bc452501c65e68c892460aa3c816bc8f9d38d62f1afd0d031a51aa0936f103bb0f8b9272947bd697 WHIRLPOOL 3424ace005d9453a5ec2633d02f03cbf37bd32ec8bc8c87478ba09c4c6046016b658f2a21a320a62ab2cdb68c9ec1c492006b9a5a7a607fd57c4257caf856e97
DIST p95v283.linux64.tar.gz 5636753 SHA256 2825d3ee51f27283b28422678f615d1c9acdb354d697031a3e753d7c5153dff1 SHA512 433cfad252f8dc7a1e3e691fa1af7d56006bdf2cead01ef5393b12302d00f905661950319e3b61c7726e9fdeb43fcf9de9efb2ee9d6d5c467163990d128efbae WHIRLPOOL ea1c285e5cccfd92059559bb8664b94d53f8cd4c37def36dbc23bcddb4271376b36410a12b55cd2057176987973c024b4679de322643b6bcb0f56f4776ab6677
+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.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
-MISC ChangeLog 10335 SHA256 3e66e9585b8d88ee01834ff1f0a3f8ddf6a9ccd68db2eca9c5b9712cf9ac4336 SHA512 b6debb418c19565dbfe3915361e6ada90e8914f7934b3f494798e8ac8b9dfe12035010b9fd7d96d3e38164feb50007f09a8cb9496775f3a0aaeb361808887e16 WHIRLPOOL aaa867cf1c2079ed46db07294557ed74aec409dc708cb0359f34e7cdf76f9c811163cc445ca9bbbe373ea41b66273a39fa65ad528670a240afa25fb270951dc0
+EBUILD gimps-28.5.ebuild 1938 SHA256 98c4432f1080605c14281085b768770899f533b73b26aeaf566ef6f510113d4d SHA512 0009323c508c4f0d3ef2feab447c56040e33037ef38058e1f27c270b55f6eb8e8d68ae15ee98fc20849c4ec4b0fab964cdec07239965f1f99481a535a3074149 WHIRLPOOL 2dbca5cb6afb299ca4ca21346bffa0bf9e85e7da56b21b00fcb3757d5b728d8c6701c9631433818140f58dfb9aff7f51a65c909cd0d3e7f4cbddff4c45665635
+MISC ChangeLog 10526 SHA256 f7817f70c14de89f5c9f5b6b955d799ac081a0bee80600b628a6388611def733 SHA512 24724f144ce05f548aa2d6433903bbd1bed28ed84e9b7f918da79ae8ca1caf13b1fc9c1c0c3d4555cd0f4385e64780d62cfc7be8d7a7220cbb8dd7ca71e31d76 WHIRLPOOL d39fa735fb900fb1db5894ec46fb960ce9b656b6b7e2bfdbf818ea2fcedf3a266fc983f471b5f51e5f5fe2cd7f0b100d67ae02c343eea339e5b7a3b7b87c3c53
MISC metadata.xml 267 SHA256 16cdc4f98e744ecfbb247baccf51d8b8960acc91170957fc7b2353d9810d2e43 SHA512 f61a03ccc17c246f435dabf2656f494ea85866b75ce09f9b0968b327870ccb20977d369d0cf965b1a9fabc434d1d315f3d9ddf018c153c027fb0856998197765 WHIRLPOOL b642c02d0b769ddbc440058f2bba348f7461462e7cda77693eef950c0e6c96324ae13ec479137c0a624c6807026e01d78900cd8ca6c922169c2d75d992f025f5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iEYEAREIAAYFAlL/XAsACgkQCaWpQKGI+9RUqACff6yOGer6OTrBlyE7B7sTus8E
-DCYAn0I/R/KNP3EfQibgr6mq/E0v8hwb
-=y3ED
+iF4EAREIAAYFAlMaHvIACgkQid6yGVZcMrytiAD+LtdI6o7sa1+1wRW2YCZueAJE
+uH/jrjP3KDCKRKhJwvgA/iJnmOFBzUifRYI8ymFESgQpNlyYGcuRt6ORN8ZbAL1E
+=iYGH
-----END PGP SIGNATURE-----
diff --git a/sci-mathematics/gimps/files/gimps.service-r1 b/sci-mathematics/gimps/files/gimps.service-r1
new file mode 100644
index 000000000000..022c613e77b5
--- /dev/null
+++ b/sci-mathematics/gimps/files/gimps.service-r1
@@ -0,0 +1,19 @@
+[Unit]
+Description=Great Internet Mersenne Prime Search client
+After=network.target local-fs.target
+Wants=local-fs.target
+
+[Service]
+EnvironmentFile=/etc/conf.d/gimps
+User=nobody
+Group=nobody
+PermissionsStartOnly=true
+ConditionPathIsDirectory=${GIMPS_DIR}
+ExecStartPre=-/bin/sh -c "chown %u ${GIMPS_DIR}"
+ConditionPathExist=${GIMPS_DIR}/local.txt
+ExecStart=/opt/gimps/mprime -w${GIMPS_DIR} ${GIMPS_OPTIONS}
+StandardOutput=null
+StandardError=journal
+
+[Install]
+WantedBy=multi-user.target
diff --git a/sci-mathematics/gimps/gimps-28.5.ebuild b/sci-mathematics/gimps/gimps-28.5.ebuild
new file mode 100644
index 000000000000..3f2672ceafed
--- /dev/null
+++ b/sci-mathematics/gimps/gimps-28.5.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-28.5.ebuild,v 1.1 2014/03/07 19:32:56 tomka 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/./}.linux.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-r1" "${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
+}