summaryrefslogtreecommitdiff
path: root/sci-biology/foldingathome
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
commit623ee73d661e5ed8475cb264511f683407d87365 (patch)
tree993eb27c93ec7a2d2d19550300d888fc1fed9e69 /sci-biology/foldingathome
parentceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff)
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'sci-biology/foldingathome')
-rw-r--r--sci-biology/foldingathome/Manifest2
-rw-r--r--sci-biology/foldingathome/foldingathome-7.5.1-r3.ebuild (renamed from sci-biology/foldingathome/foldingathome-7.5.1.ebuild)25
2 files changed, 17 insertions, 10 deletions
diff --git a/sci-biology/foldingathome/Manifest b/sci-biology/foldingathome/Manifest
index 64563155fe86..71fe4a3400d5 100644
--- a/sci-biology/foldingathome/Manifest
+++ b/sci-biology/foldingathome/Manifest
@@ -1,4 +1,4 @@
AUX 7.3/folding-conf.d 339 BLAKE2B 93a0b3672777ad737ce27694aaca547634c375e180ad3c28c3adb9cae2cb1c054ff9458ee1fe04b70fe9841ae67d41198bcecfc4826d05d5de8df2759bd80910 SHA512 6fd10dc938262c05831e68176e93a24869bb6991508bcc48ece487b701788026561d073025bd347cd77ede13ca26f6b284861f30b07becf72ea77e4db22867b3
DIST fahclient_7.5.1-64bit-release.tar.bz2 3438239 BLAKE2B 69fb60cdd5356fe4f5ad1f106b67d078baf0394c5d3c474dff2f1ac840bcb31bfd9ca9a9c6112b9ee9497dcdc223732627a21c50b455e46c096a52587d5d229b SHA512 5f6f2f882d57fe53ad0a55b48f09fc3803af6aebbbf0e92be39477d4c4da92237d6edabec61dd8183678bdcfe3923ff9b0938647a77edc2c69ce8958defcfdf1
-EBUILD foldingathome-7.5.1.ebuild 4369 BLAKE2B 23ecb21d29838bf874e4890460d020c1591e19e1c0eb61147e2b63df0b78781a9ec933c844d8ddbce02701810952988044b547946ffcb2f119da18bd3f6d6be2 SHA512 93deb4fa7f71fd331f1d08c39da54a500bbd2e32bbbbfe617c70d4fb20aaa017032ade8a2a98a6bb53605bbcb00d448926d3860acdc0e5db0f072dc9f55abefd
+EBUILD foldingathome-7.5.1-r3.ebuild 4454 BLAKE2B 9103461fe2614c5494648827b461cc488e7345f3ad12d45ccda6c44c81de7f700120d582b3ab4371974a5a25a62626b535849e8bafa13ac577c59364102cb7a3 SHA512 4c1a451a5df2e2015594f266761d51b9ac0978711ce93f4bc922937a0fa474bdead787926541ad42d554130cf6168e367f8c090648d52951ca6b7f1533c042f2
MISC metadata.xml 360 BLAKE2B c0ef2b11cc9e6498a420dcd2e6c83ee71f7e286c3e78218257c56350bd2c0921732d48cc4207a31bcfd965a4a9dca65e9bdc4d62831dc430e86541d36fc691f8 SHA512 687f1516a8ec80270fa173b0a7d7c259f3f02ffefa69d3175b72e170bd11aeb786563edb43214390a83b6b61b1231e2734124e50bb2a523d1a564bc3b143f00b
diff --git a/sci-biology/foldingathome/foldingathome-7.5.1.ebuild b/sci-biology/foldingathome/foldingathome-7.5.1-r3.ebuild
index 08e9c15149d7..cb7ce89a604b 100644
--- a/sci-biology/foldingathome/foldingathome-7.5.1.ebuild
+++ b/sci-biology/foldingathome/foldingathome-7.5.1-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -25,7 +25,9 @@ RDEPEND="app-arch/bzip2
)
sys-devel/gcc
sys-libs/glibc
- sys-libs/zlib"
+ sys-libs/zlib
+ acct-group/video
+"
S="${WORKDIR}/fahclient_${PV}-64bit-release"
@@ -43,7 +45,8 @@ pkg_setup() {
elog "(ref: http://foldingforum.org/viewtopic.php?f=16&t=22524&p=241992#p241992 )"
elog ""
- enewuser foldingathome -1 -1 "${EPREFIX}"/opt/foldingathome
+ enewgroup foldingathome
+ enewuser foldingathome -1 -1 "${EPREFIX}"/opt/foldingathome video
}
src_install() {
@@ -62,7 +65,7 @@ src_install() {
newconfd "${FILESDIR}"/7.3/folding-conf.d foldingathome
cat <<EOF >"${T}"/fah-init
#!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
start_stop_daemon_args="--chdir \"${EPREFIX}/opt/foldingathome\""
@@ -82,12 +85,16 @@ Documentation=https://foldingathome.org
[Service]
Type=simple
User=foldingathome
+Group=foldingathome
+Nice=19
WorkingDirectory=${EPREFIX}/opt/foldingathome
-PIDFile=/run/fahclient.pid
-ExecStart=${EPREFIX}/opt/foldingathome/FAHClient -v start
-ExecReload=${EPREFIX}/opt/foldingathome/FAHClient -v restart
-ExecStop=${EPREFIX}/opt/foldingathome/FAHClient -v stop
-KillMode=process
+ExecStart=${EPREFIX}/opt/foldingathome/FAHClient --fork=false --pid=false --respawn=false --service=false
+NoNewPrivileges=yes
+PrivateTmp=yes
+ProtectControlGroups=yes
+ProtectSystem=full
+RestrictRealtime=true
+ProtectControlGroups=yes
[Install]
WantedBy=multi-user.target