[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/gimps/files/

2017-01-09 Thread Michael Orlitzky
commit: 45acf363966b139e8e0acba4d97c7d811a284fce
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Mon Jan  9 17:15:49 2017 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Mon Jan  9 17:46:19 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45acf363

sci-mathematics/gimps: remove trailing whitespace in README.gentoo.

Package-Manager: portage-2.3.0

 sci-mathematics/gimps/files/README.gentoo | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-mathematics/gimps/files/README.gentoo 
b/sci-mathematics/gimps/files/README.gentoo
index d85d77b..f034cd1 100644
--- a/sci-mathematics/gimps/files/README.gentoo
+++ b/sci-mathematics/gimps/files/README.gentoo
@@ -18,7 +18,7 @@ nobody:nobody:
 Then you can use `/etc/init.d/gimps start` to start a GIMPS client in the
 background at boot. Have a look at /etc/conf.d/gimps and check some
 configuration options.
-   
+
 If you don't want to use the init script to start gimps, remember to
 pass it an additional command line parameter specifying where the data
 files are to be stored, e.g.:



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/gimps/files/, sci-mathematics/gimps/

2016-12-23 Thread Michael Orlitzky
commit: 5676e8711c2164af9ed300213e3acbabeb8d3700
Author: PPed72  iol  it>
AuthorDate: Fri Dec 23 13:09:45 2016 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Fri Dec 23 15:56:21 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5676e871

sci-mathematics/gimps: Fix potential privilege escalation through hardlinks in 
configuration directory. Gentoo-bug: 
https://bugs.gentoo.org/show_bug.cgi?id=603408

Signed-off-by: Michael Orlitzky  gentoo.org>

 .../gimps/files/{gimps-26.6-r1-init.d => gimps-28.9-init.d}| 7 +--
 sci-mathematics/gimps/gimps-28.10.ebuild   | 2 +-
 sci-mathematics/gimps/gimps-28.9.ebuild| 2 +-
 3 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/sci-mathematics/gimps/files/gimps-26.6-r1-init.d 
b/sci-mathematics/gimps/files/gimps-28.9-init.d
similarity index 82%
rename from sci-mathematics/gimps/files/gimps-26.6-r1-init.d
rename to sci-mathematics/gimps/files/gimps-28.9-init.d
index 73ef6a9..00eca82 100644
--- a/sci-mathematics/gimps/files/gimps-26.6-r1-init.d
+++ b/sci-mathematics/gimps/files/gimps-28.9-init.d
@@ -7,12 +7,7 @@ depend() {
 }
 
 checkconfig() {
-   if [ ! -e "${GIMPS_DIR}" ]; then
-   einfo "Creating ${GIMPS_DIR}"
-   /bin/mkdir "${GIMPS_DIR}"
-   fi
-
-   /bin/chown -R ${USER}:${GROUP} ${GIMPS_DIR}
+   checkpath -d -o ${USER}:${GROUP} ${GIMPS_DIR}
 
if [ ! -e "${GIMPS_DIR}/local.txt" ]; then
eerror "GIMPS has not been configured.  Please configure it 
manually before"

diff --git a/sci-mathematics/gimps/gimps-28.10.ebuild 
b/sci-mathematics/gimps/gimps-28.10.ebuild
index d92f5fb..34a48f2 100644
--- a/sci-mathematics/gimps/gimps-28.10.ebuild
+++ b/sci-mathematics/gimps/gimps-28.10.ebuild
@@ -40,7 +40,7 @@ src_install() {
 
einstalldocs
 
-   newinitd "${FILESDIR}/${PN}-26.6-r1-init.d" gimps
+   newinitd "${FILESDIR}/${PN}-28.9-init.d" gimps
newconfd "${FILESDIR}/${PN}-25.6-conf.d" gimps
 
systemd_dounit "${FILESDIR}/${PN}.service"

diff --git a/sci-mathematics/gimps/gimps-28.9.ebuild 
b/sci-mathematics/gimps/gimps-28.9.ebuild
index 6e0d02e..d477320 100644
--- a/sci-mathematics/gimps/gimps-28.9.ebuild
+++ b/sci-mathematics/gimps/gimps-28.9.ebuild
@@ -40,7 +40,7 @@ src_install() {
 
einstalldocs
 
-   newinitd "${FILESDIR}/${PN}-26.6-r1-init.d" gimps
+   newinitd "${FILESDIR}/${PN}-28.9-init.d" gimps
newconfd "${FILESDIR}/${PN}-25.6-conf.d" gimps
 
systemd_dounit "${FILESDIR}/${PN}.service"