[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2024-04-16 Thread Arthur Zamarin
commit: f768f0105f5b9f8ee337105c89e2f6fef2cc8205
Author: Matoro Mahri  matoro  tk>
AuthorDate: Wed Apr 17 02:04:25 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Apr 17 05:36:51 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f768f010

sys-apps/smartmontools: Stabilize 7.4-r1 hppa, #927699

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild
index bee23fd9d050..406fd096926b 100644
--- a/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} ==  ]] ; then
inherit autotools subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2024-03-24 Thread Sam James
commit: 0c0242cb0540dfe7507f5fbcd44172c804d8c0ef
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar 24 12:11:53 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 24 12:11:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c0242cb

sys-apps/smartmontools: Stabilize 7.4-r1 sparc, #927699

Signed-off-by: Sam James  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild
index 62e0d0491322..bee23fd9d050 100644
--- a/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} ==  ]] ; then
inherit autotools subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2024-03-24 Thread Sam James
commit: 987aa525420d09e52aca85b2c38f735fe0859c1f
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar 24 12:11:52 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 24 12:11:52 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=987aa525

sys-apps/smartmontools: Stabilize 7.4-r1 ppc, #927699

Signed-off-by: Sam James  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild
index 79643c44a13d..62e0d0491322 100644
--- a/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} ==  ]] ; then
inherit autotools subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 
~riscv ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2024-03-24 Thread Sam James
commit: 02322deea180f05f5e275115d2f90a2fb2726db7
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar 24 11:34:17 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 24 11:34:17 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02322dee

sys-apps/smartmontools: Stabilize 7.4-r1 x86, #927699

Signed-off-by: Sam James  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild
index e4229276d650..79643c44a13d 100644
--- a/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} ==  ]] ; then
inherit autotools subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 
~riscv ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2024-03-24 Thread Sam James
commit: b7a7b2f0f863376c6216bde862f2a9c542a31b5c
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar 24 11:34:16 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 24 11:34:16 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7a7b2f0

sys-apps/smartmontools: Stabilize 7.4-r1 ppc64, #927699

Signed-off-by: Sam James  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild
index 731ec381e8cc..e4229276d650 100644
--- a/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} ==  ]] ; then
inherit autotools subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2024-03-24 Thread Sam James
commit: 42add4c1d4d0067e116115abc65edd2e967d1b1b
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar 24 11:28:10 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 24 11:28:10 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42add4c1

sys-apps/smartmontools: Stabilize 7.4-r1 arm, #927699

Signed-off-by: Sam James  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild
index 7ddf8be1ac5c..731ec381e8cc 100644
--- a/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} ==  ]] ; then
inherit autotools subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2024-03-24 Thread Sam James
commit: a8fc1bd497c87fd3437109d918490366275e7f83
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar 24 11:28:07 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 24 11:28:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8fc1bd4

sys-apps/smartmontools: Stabilize 7.4-r1 amd64, #927699

Signed-off-by: Sam James  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild
index e1f1f30e6d30..f63eb384cdaa 100644
--- a/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} ==  ]] ; then
inherit autotools subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2024-03-24 Thread Sam James
commit: 2baed242ab806d02b3366f8e183a963dd0eea9ba
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar 24 11:28:09 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 24 11:28:09 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2baed242

sys-apps/smartmontools: Stabilize 7.4-r1 arm64, #927699

Signed-off-by: Sam James  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild
index f63eb384cdaa..7ddf8be1ac5c 100644
--- a/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} ==  ]] ; then
inherit autotools subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2024-02-19 Thread Dennis Lamm
commit: 49a34318d9702773834a4af66768ec6978dfdec6
Author: Dennis Lamm  gentoo  org>
AuthorDate: Fri Feb 16 13:37:46 2024 +
Commit: Dennis Lamm  gentoo  org>
CommitDate: Mon Feb 19 19:54:32 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49a34318

sys-apps/smartmontools: improved systemd service

Removed undesired reference to EnvironmentFile

Bug: https://bugs.gentoo.org/678990
Signed-off-by: Dennis Lamm  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/35373
Signed-off-by: Dennis Lamm  gentoo.org>

 .../{smartmontools-.ebuild => smartmontools-7.4-r1.ebuild} | 7 ---
 sys-apps/smartmontools/smartmontools-.ebuild   | 7 ---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/sys-apps/smartmontools/smartmontools-.ebuild 
b/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild
similarity index 96%
copy from sys-apps/smartmontools/smartmontools-.ebuild
copy to sys-apps/smartmontools/smartmontools-7.4-r1.ebuild
index deaefc5a3442..e1f1f30e6d30 100644
--- a/sys-apps/smartmontools/smartmontools-.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit flag-o-matic systemd
 if [[ ${PV} ==  ]] ; then
@@ -66,6 +66,7 @@ src_configure() {
--with-drivedbdir="${EPREFIX}/var/db/${PN}" #575292
--with-initscriptdir="${EPREFIX}/etc/init.d"
#--with-smartdscriptdir="${EPREFIX}/usr/share/${PN}"
+   --with-systemdenvfile=no
$(use_with caps libcap-ng)
$(use_with selinux)
$(use_with systemd libsystemd)
@@ -113,7 +114,7 @@ src_install() {
fi
 
# Make sure we never install drivedb.h into the db location
-   # of the acutal image so we don't record hashes because user
+   # of the actual image so we don't record hashes because user
# can modify that file
rm -f "${ED}${db_path}/drivedb.h" || die
 

diff --git a/sys-apps/smartmontools/smartmontools-.ebuild 
b/sys-apps/smartmontools/smartmontools-.ebuild
index deaefc5a3442..e1f1f30e6d30 100644
--- a/sys-apps/smartmontools/smartmontools-.ebuild
+++ b/sys-apps/smartmontools/smartmontools-.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit flag-o-matic systemd
 if [[ ${PV} ==  ]] ; then
@@ -66,6 +66,7 @@ src_configure() {
--with-drivedbdir="${EPREFIX}/var/db/${PN}" #575292
--with-initscriptdir="${EPREFIX}/etc/init.d"
#--with-smartdscriptdir="${EPREFIX}/usr/share/${PN}"
+   --with-systemdenvfile=no
$(use_with caps libcap-ng)
$(use_with selinux)
$(use_with systemd libsystemd)
@@ -113,7 +114,7 @@ src_install() {
fi
 
# Make sure we never install drivedb.h into the db location
-   # of the acutal image so we don't record hashes because user
+   # of the actual image so we don't record hashes because user
# can modify that file
rm -f "${ED}${db_path}/drivedb.h" || die
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2024-01-25 Thread Ionen Wolkens
commit: fe54e8ae4fb5e75aba600455bc19edc0ac2c719b
Author: Matoro Mahri  matoro  tk>
AuthorDate: Thu Jan 25 19:56:56 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Fri Jan 26 01:26:54 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe54e8ae

sys-apps/smartmontools: Stabilize 7.4 ppc, #914891

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.4.ebuild 
b/sys-apps/smartmontools/smartmontools-7.4.ebuild
index 253ed6dc095b..d56f94550d54 100644
--- a/sys-apps/smartmontools/smartmontools-7.4.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.4.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} ==  ]] ; then
inherit autotools subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 
~riscv sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2024-01-25 Thread Ionen Wolkens
commit: 0ba20ed4e9509acf1af3351d170d6a154c56dddf
Author: Matoro Mahri  matoro  tk>
AuthorDate: Thu Jan 25 17:45:38 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Fri Jan 26 01:26:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ba20ed4

sys-apps/smartmontools: Stabilize 7.4 arm, #914891

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.4.ebuild 
b/sys-apps/smartmontools/smartmontools-7.4.ebuild
index 29894f7c677f..253ed6dc095b 100644
--- a/sys-apps/smartmontools/smartmontools-7.4.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.4.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} ==  ]] ; then
inherit autotools subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 
~riscv sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 
~riscv sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2024-01-11 Thread Sam James
commit: f7ac6d49a10a2c94231e0cdd0e069ceca1e6c46e
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan 11 09:36:29 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan 11 09:36:29 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7ac6d49

sys-apps/smartmontools: Stabilize 7.4 x86, #914891

Signed-off-by: Sam James  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.4.ebuild 
b/sys-apps/smartmontools/smartmontools-7.4.ebuild
index 6eda646090a6..29894f7c677f 100644
--- a/sys-apps/smartmontools/smartmontools-7.4.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -10,7 +10,7 @@ if [[ ${PV} ==  ]] ; then
inherit autotools subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 
~riscv sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 
~riscv sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2023-11-24 Thread Sam James
commit: 118e80b58cda4bde3864e5a0e3b0091acf9c5a02
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 25 06:36:23 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 25 06:36:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=118e80b5

sys-apps/smartmontools: Stabilize 7.4 arm64, #914891

Signed-off-by: Sam James  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.4.ebuild 
b/sys-apps/smartmontools/smartmontools-7.4.ebuild
index 62de3e775865..6eda646090a6 100644
--- a/sys-apps/smartmontools/smartmontools-7.4.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.4.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} ==  ]] ; then
inherit autotools subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 
~riscv sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 
~riscv sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2023-10-28 Thread Sam James
commit: fecb264f646ab15fc2e5cfc9bbd59f86c370663f
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sat Oct 28 08:24:24 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct 28 19:37:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fecb264f

sys-apps/smartmontools: stable 7.4 for sparc, bug #914891

Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sam James  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.4.ebuild 
b/sys-apps/smartmontools/smartmontools-7.4.ebuild
index 7a4d4c1bf189..62de3e775865 100644
--- a/sys-apps/smartmontools/smartmontools-7.4.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.4.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} ==  ]] ; then
inherit autotools subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~loong ~mips ~ppc ppc64 
~riscv sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2023-10-21 Thread Sam James
commit: 48e62ca129db97fa387367c14baedc326ec6a746
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct 21 22:48:27 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct 21 22:48:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48e62ca1

sys-apps/smartmontools: Stabilize 7.4 hppa, #914891

Signed-off-by: Sam James  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.4.ebuild 
b/sys-apps/smartmontools/smartmontools-7.4.ebuild
index dfe1c8d0c63d..3791510f37b2 100644
--- a/sys-apps/smartmontools/smartmontools-7.4.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.4.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} ==  ]] ; then
inherit autotools subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2023-10-21 Thread Sam James
commit: e029199c40f18288f16d6d4e2ab25128efd3e35c
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct 21 20:37:10 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct 21 20:37:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e029199c

sys-apps/smartmontools: Stabilize 7.4 amd64, #914891

Signed-off-by: Sam James  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.4.ebuild 
b/sys-apps/smartmontools/smartmontools-7.4.ebuild
index deaefc5a3442..dfe1c8d0c63d 100644
--- a/sys-apps/smartmontools/smartmontools-7.4.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.4.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} ==  ]] ; then
inherit autotools subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2023-08-02 Thread Sam James
commit: ba34b6e9320c82337f92f7ae36eb0f77d8d5503c
Author: Sam James  gentoo  org>
AuthorDate: Wed Aug  2 13:14:02 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Aug  2 13:14:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba34b6e9

sys-apps/smartmontools: add 7.4

Signed-off-by: Sam James  gentoo.org>

 sys-apps/smartmontools/Manifest | 1 +
 .../{smartmontools-.ebuild => smartmontools-7.4.ebuild} | 2 +-
 sys-apps/smartmontools/smartmontools-.ebuild| 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/sys-apps/smartmontools/Manifest b/sys-apps/smartmontools/Manifest
index c8bdef502e27..729a30cb14cd 100644
--- a/sys-apps/smartmontools/Manifest
+++ b/sys-apps/smartmontools/Manifest
@@ -1 +1,2 @@
 DIST smartmontools-7.3.tar.gz 1043932 BLAKE2B 
119fd4aded487796ffd38050ddf8c7dd69cc6f3950650cb0315846292fd4a6594d949d87c51ed46717d6aaadb332c68f655514d1fde89600d51f3fe36f8df1ca
 SHA512 
08afe8b0a6a39e742160cd4e4c03fc7aff7b1ae8681b906360f0932277dc99e361b7606b2373bdf42425cf9453480a5f4344bc040ebc2fa26a03bd52f02a6ac0
+DIST smartmontools-7.4.tar.gz 1094955 BLAKE2B 
fbf7888b92b6be4892a206e1c0fae1cb7c45fe0d62270c5fe713a540616e3599c67dd3297ad8c1cd344987e1fe95ae7c5e92db8e13ef622b3316b3780fbb4052
 SHA512 
439fbf8d0e77fbe1d5a9fb100e655a7e47a82382ce8e1a4e942541a4dfbdff3391caa635e8d354d0e87c10ae79cb97aa6d24915f9f193620d763b384baf2e753

diff --git a/sys-apps/smartmontools/smartmontools-.ebuild 
b/sys-apps/smartmontools/smartmontools-7.4.ebuild
similarity index 99%
copy from sys-apps/smartmontools/smartmontools-.ebuild
copy to sys-apps/smartmontools/smartmontools-7.4.ebuild
index 9772d6259993..deaefc5a3442 100644
--- a/sys-apps/smartmontools/smartmontools-.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7

diff --git a/sys-apps/smartmontools/smartmontools-.ebuild 
b/sys-apps/smartmontools/smartmontools-.ebuild
index 9772d6259993..deaefc5a3442 100644
--- a/sys-apps/smartmontools/smartmontools-.ebuild
+++ b/sys-apps/smartmontools/smartmontools-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/, sys-apps/smartmontools/files/

2022-06-21 Thread David Seifert
commit: 6b5e8085a524f484a1262b2d4181656a56f40f7d
Author: David Seifert  gentoo  org>
AuthorDate: Tue Jun 21 09:40:45 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Jun 21 09:40:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b5e8085

sys-apps/smartmontools: drop 7.2-r2

Signed-off-by: David Seifert  gentoo.org>

 sys-apps/smartmontools/Manifest|   1 -
 ...rtmontools-7.2-update-smart-drivedb-quiet.patch |  86 
 sys-apps/smartmontools/smartmontools-7.2-r2.ebuild | 156 -
 3 files changed, 243 deletions(-)

diff --git a/sys-apps/smartmontools/Manifest b/sys-apps/smartmontools/Manifest
index 90efc5ddec43..c8bdef502e27 100644
--- a/sys-apps/smartmontools/Manifest
+++ b/sys-apps/smartmontools/Manifest
@@ -1,2 +1 @@
-DIST smartmontools-7.2.tar.gz 992256 BLAKE2B 
9f671656e610404b0ab8b6ec51421b4046c64d16331cff821a8d9dbf34dd6c4be4fa63d3a2eaffe2aa869b09acf5f18b9c9750f76e33423710ef9166212e3a92
 SHA512 
d7e724295b5d53797b5e4136eea5f5cc278db81e4016ba65142438b8c68c54f85a32c582c147a1590b9bc8f74a58952bcb57b9923dd69d34582530a0985799ea
 DIST smartmontools-7.3.tar.gz 1043932 BLAKE2B 
119fd4aded487796ffd38050ddf8c7dd69cc6f3950650cb0315846292fd4a6594d949d87c51ed46717d6aaadb332c68f655514d1fde89600d51f3fe36f8df1ca
 SHA512 
08afe8b0a6a39e742160cd4e4c03fc7aff7b1ae8681b906360f0932277dc99e361b7606b2373bdf42425cf9453480a5f4344bc040ebc2fa26a03bd52f02a6ac0

diff --git 
a/sys-apps/smartmontools/files/smartmontools-7.2-update-smart-drivedb-quiet.patch
 
b/sys-apps/smartmontools/files/smartmontools-7.2-update-smart-drivedb-quiet.patch
deleted file mode 100644
index 773375508222..
--- 
a/sys-apps/smartmontools/files/smartmontools-7.2-update-smart-drivedb-quiet.patch
+++ /dev/null
@@ -1,86 +0,0 @@
-commit 56363dff436c12eaa296bbba39dfd65ec3f1f1f2
-Author: chrfranke 
-Date:   Sat Nov 6 15:07:18 2021 +
-
-update-smart-drivedb.in: Add '-q' option to suppress info messages.
-(GH issues/110).
-update-smart-drivedb.8.in: Document new option.
-
-git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5242 
4ea69e1a-61f1-4043-bf83-b5c94c648137
-
 a/update-smart-drivedb.8.in
-+++ b/update-smart-drivedb.8.in
-@@ -1,6 +1,6 @@
- .ig
- Copyright (C) 2013 Hannes von Haugwitz 
--Copyright (C) 2014-20 Christian Franke
-+Copyright (C) 2014-21 Christian Franke
- 
- SPDX-License-Identifier: GPL-2.0-or-later
- 
-@@ -144,6 +144,10 @@ Print the OpenPGP/GPG public key block.
- .B \-\-dryrun
- Print download commands only.
- .TP
-+.B \-q
-+[NEW EXPERIMENTAL UPDATE-SMART-DRIVEDB FEATURE]
-+Suppress info messages.
-+.TP
- .B \-v
- Verbose output.
- .Sp
 a/update-smart-drivedb.in
-+++ b/update-smart-drivedb.in
-@@ -72,6 +72,7 @@ Usage: $myname [OPTIONS] [DESTFILE]
-   --no-verify Don't verify signature
-   --export-keyPrint the OpenPGP/GPG public key block
-   --dryrunPrint download commands only
-+  -q  Suppress info messages
-   -v  Verbose output
- 
- Updates $DRIVEDB
-@@ -131,6 +132,11 @@ inpath()
-   return $rc
- }
- 
-+iecho()
-+{
-+  test -n "$quiet" || echo "$*"
-+}
-+
- vecho()
- {
-   test -n "$q" || echo "$*"
-@@ -522,6 +528,7 @@ mv_all()
- smtctl=$SMARTCTL
- tool=
- urlid="svn"
-+quiet=
- q="-q"
- dryrun=
- trunk=
-@@ -547,6 +554,9 @@ while true; do case $1 in
- shift; test -n "$1" || usage
- urlid=$1 ;;
- 
-+  -q)
-+quiet=t ;;
-+
-   -v)
- q= ;;
- 
-@@ -727,7 +737,7 @@ if [ -f "$DEST" ]; then
- then
-   rm -f "$DEST.new" "$DEST.new.raw" "$DEST.new.raw.asc"
-   touch "$DEST.lastcheck"
--  echo "$DEST is already up to date"
-+  iecho "$DEST is already up to date"
-   exit 0
- fi
- mv_all "$DEST" "" ".old"
-@@ -738,4 +748,4 @@ fi
- 
- mv_all "$DEST" ".new" ""
- 
--echo "$DEST updated from ${trunk:-branches/$brnch}${no_verify:+ (NOT 
VERIFIED)}"
-+iecho "$DEST updated from ${trunk:-branches/$brnch}${no_verify:+ (NOT 
VERIFIED)}"

diff --git a/sys-apps/smartmontools/smartmontools-7.2-r2.ebuild 
b/sys-apps/smartmontools/smartmontools-7.2-r2.ebuild
deleted file mode 100644
index 3059ff0feb50..
--- a/sys-apps/smartmontools/smartmontools-7.2-r2.ebuild
+++ /dev/null
@@ -1,156 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit autotools flag-o-matic systemd
-if [[ ${PV} == "" ]] ; then
-   
ESVN_REPO_URI="https://svn.code.sf.net/p/smartmontools/code/trunk/smartmontools";
-   ESVN_PROJECT="smartmontools"
-   inherit subversion
-else
-   SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
-fi
-
-DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"
-HOMEPAGE="https://www.smartmontools.org";
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="caps +daemon selinux stat

[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2022-05-05 Thread WANG Xuerui
commit: 2fef03bc32f3ce8e9442a44a08bd3f98aaaf11b8
Author: WANG Xuerui  gentoo  org>
AuthorDate: Thu May  5 09:43:43 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Thu May  5 09:51:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fef03bc

sys-apps/smartmontools: keyword 7.3 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.3.ebuild 
b/sys-apps/smartmontools/smartmontools-7.3.ebuild
index 39db70da8bab..5ad4bb1c967d 100644
--- a/sys-apps/smartmontools/smartmontools-7.3.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.3.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} ==  ]] ; then
inherit autotools subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 
~riscv sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2022-05-05 Thread WANG Xuerui
commit: b0dfae7a149053ce53c3b62628ac642d29503b05
Author: WANG Xuerui  gentoo  org>
AuthorDate: Thu May  5 09:43:47 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Thu May  5 09:51:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0dfae7a

sys-apps/smartmontools: forward ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 sys-apps/smartmontools/smartmontools-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-.ebuild 
b/sys-apps/smartmontools/smartmontools-.ebuild
index 2ebbc1a85dc9..9772d6259993 100644
--- a/sys-apps/smartmontools/smartmontools-.ebuild
+++ b/sys-apps/smartmontools/smartmontools-.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} ==  ]] ; then
inherit autotools subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc 
~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2022-05-04 Thread Sam James
commit: 819d9fa71b5063173b14e85cb01c0055925fe14c
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Wed May  4 14:28:28 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May  4 14:41:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=819d9fa7

sys-apps/smartmontools: stable 7.3 for hppa, bug #841650

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sam James  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.3.ebuild 
b/sys-apps/smartmontools/smartmontools-7.3.ebuild
index 777bbd727cb1..39db70da8bab 100644
--- a/sys-apps/smartmontools/smartmontools-7.3.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.3.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} ==  ]] ; then
inherit autotools subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2022-05-03 Thread Sam James
commit: 9d496da13dcdd0ac472eb5239185443ae124fb8a
Author: Sam James  gentoo  org>
AuthorDate: Wed May  4 05:30:56 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May  4 05:31:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d496da1

sys-apps/smartmontools: drop unnecessary eautoreconf

Signed-off-by: Sam James  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.3.ebuild  | 11 +++
 sys-apps/smartmontools/smartmontools-.ebuild | 11 +++
 2 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.3.ebuild 
b/sys-apps/smartmontools/smartmontools-7.3.ebuild
index 121f20999873..777bbd727cb1 100644
--- a/sys-apps/smartmontools/smartmontools-7.3.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.3.ebuild
@@ -3,11 +3,11 @@
 
 EAPI=7
 
-inherit autotools flag-o-matic systemd
-if [[ ${PV} == "" ]] ; then
+inherit flag-o-matic systemd
+if [[ ${PV} ==  ]] ; then

ESVN_REPO_URI="https://svn.code.sf.net/p/smartmontools/code/trunk/smartmontools";
ESVN_PROJECT="smartmontools"
-   inherit subversion
+   inherit autotools subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
@@ -52,7 +52,10 @@ REQUIRED_USE="(
 
 src_prepare() {
default
-   eautoreconf
+
+   if [[ ${PV} ==  ]] ; then
+   eautoreconf
+   fi
 }
 
 src_configure() {

diff --git a/sys-apps/smartmontools/smartmontools-.ebuild 
b/sys-apps/smartmontools/smartmontools-.ebuild
index 1c0502087af3..2ebbc1a85dc9 100644
--- a/sys-apps/smartmontools/smartmontools-.ebuild
+++ b/sys-apps/smartmontools/smartmontools-.ebuild
@@ -3,11 +3,11 @@
 
 EAPI=7
 
-inherit autotools flag-o-matic systemd
-if [[ ${PV} == "" ]] ; then
+inherit flag-o-matic systemd
+if [[ ${PV} ==  ]] ; then

ESVN_REPO_URI="https://svn.code.sf.net/p/smartmontools/code/trunk/smartmontools";
ESVN_PROJECT="smartmontools"
-   inherit subversion
+   inherit autotools subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
@@ -52,7 +52,10 @@ REQUIRED_USE="(
 
 src_prepare() {
default
-   eautoreconf
+
+   if [[ ${PV} ==  ]] ; then
+   eautoreconf
+   fi
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2022-05-03 Thread Sam James
commit: d28221d1f6bd820ecefbc744d0058c826080341c
Author: Sam James  gentoo  org>
AuthorDate: Wed May  4 04:25:46 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May  4 04:25:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d28221d1

sys-apps/smartmontools: Stabilize 7.3 ppc, #841650

Signed-off-by: Sam James  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.3.ebuild 
b/sys-apps/smartmontools/smartmontools-7.3.ebuild
index 6ed4fcf194ca..121f20999873 100644
--- a/sys-apps/smartmontools/smartmontools-7.3.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.3.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2022-05-03 Thread Sam James
commit: 75061594cdf4eb4d8c232d9de7de00c8eb586cf7
Author: Sam James  gentoo  org>
AuthorDate: Wed May  4 00:15:54 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May  4 00:15:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75061594

sys-apps/smartmontools: Stabilize 7.3 x86, #841650

Signed-off-by: Sam James  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.3.ebuild 
b/sys-apps/smartmontools/smartmontools-7.3.ebuild
index f651051a79b2..6ed4fcf194ca 100644
--- a/sys-apps/smartmontools/smartmontools-7.3.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.3.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2022-05-03 Thread Arthur Zamarin
commit: 76d52922cb403e4834614325340a8fd90b493b7c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue May  3 19:17:20 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue May  3 19:17:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76d52922

sys-apps/smartmontools: Stabilize 7.3 arm64, #841650

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.3.ebuild 
b/sys-apps/smartmontools/smartmontools-7.3.ebuild
index 16b77165a5d8..f651051a79b2 100644
--- a/sys-apps/smartmontools/smartmontools-7.3.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.3.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2022-05-03 Thread Arthur Zamarin
commit: b8306e7f9eb022d53b7bde0cc508545aacd546b5
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue May  3 19:12:13 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue May  3 19:12:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8306e7f

sys-apps/smartmontools: Stabilize 7.3 arm, #841650

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.3.ebuild 
b/sys-apps/smartmontools/smartmontools-7.3.ebuild
index a905b133b6b9..16b77165a5d8 100644
--- a/sys-apps/smartmontools/smartmontools-7.3.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.3.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2022-05-03 Thread Arthur Zamarin
commit: aa5adccaa3129efa88bb84617b243f0beea4044d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue May  3 18:09:08 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue May  3 18:09:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa5adcca

sys-apps/smartmontools: Stabilize 7.3 sparc, #841650

Signed-off-by: Arthur Zamarin  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.3.ebuild 
b/sys-apps/smartmontools/smartmontools-7.3.ebuild
index 7d0127bd0970..a905b133b6b9 100644
--- a/sys-apps/smartmontools/smartmontools-7.3.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.3.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2022-05-02 Thread Agostino Sarubbo
commit: 35162283b1480189e25ea61960acb05d70a0da7a
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue May  3 06:21:06 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue May  3 06:21:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35162283

sys-apps/smartmontools: ppc64 stable wrt bug #841650

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.3.ebuild 
b/sys-apps/smartmontools/smartmontools-7.3.ebuild
index 709c4f1d94d8..7d0127bd0970 100644
--- a/sys-apps/smartmontools/smartmontools-7.3.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.3.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2022-05-02 Thread Sam James
commit: 258c24d1e49006a930834230a0f779adf8aeddc4
Author: Sam James  gentoo  org>
AuthorDate: Mon May  2 19:03:02 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May  2 19:03:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=258c24d1

sys-apps/smartmontools: Stabilize 7.3 amd64, #841650

Signed-off-by: Sam James  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.3.ebuild 
b/sys-apps/smartmontools/smartmontools-7.3.ebuild
index 1c0502087af3..709c4f1d94d8 100644
--- a/sys-apps/smartmontools/smartmontools-7.3.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.3.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2022-03-01 Thread Patrick McLean
commit: 3793a1633379b402c2fcb7150378a5fc98cb80e1
Author: Patrick McLean  gentoo  org>
AuthorDate: Wed Mar  2 01:27:49 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Wed Mar  2 01:27:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3793a163

sys-apps/smartmontools: Sync 

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Patrick McLean  gentoo.org>

 sys-apps/smartmontools/smartmontools-.ebuild | 24 +---
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/sys-apps/smartmontools/smartmontools-.ebuild 
b/sys-apps/smartmontools/smartmontools-.ebuild
index c3e86bfcdb7b..1c0502087af3 100644
--- a/sys-apps/smartmontools/smartmontools-.ebuild
+++ b/sys-apps/smartmontools/smartmontools-.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="6"
+EAPI=7
 
 inherit autotools flag-o-matic systemd
 if [[ ${PV} == "" ]] ; then
@@ -22,13 +22,15 @@ IUSE="caps +daemon selinux static systemd +update-drivedb"
 
 DEPEND="
caps? (
-   static? ( sys-libs/libcap-ng[static-libs] )
-   !static? ( sys-libs/libcap-ng )
+   static? ( sys-libs/libcap-ng:=[static-libs] )
+   !static? ( sys-libs/libcap-ng:= )
)
selinux? (
-   sys-libs/libselinux
-   )"
-RDEPEND="${DEPEND}
+   sys-libs/libselinux:=
+   )
+"
+RDEPEND="
+   ${DEPEND}
daemon? ( virtual/mailx )
selinux? ( sec-policy/selinux-smartmon )
systemd? ( sys-apps/systemd )
@@ -110,16 +112,16 @@ src_install() {
# Make sure we never install drivedb.h into the db location
# of the acutal image so we don't record hashes because user
# can modify that file
-   rm -f "${ED%/}${db_path}/drivedb.h" || die
+   rm -f "${ED}${db_path}/drivedb.h" || die
 
# Bug #622072
-   find "${ED%/}"/usr/share/doc -type f -exec chmod a-x '{}' \; || die
+   find "${ED}"/usr/share/doc -type f -exec chmod a-x '{}' \; || die
 }
 
 pkg_postinst() {
if use daemon || use update-drivedb; then
-   local initial_db_file="${EROOT}usr/share/${PN}/drivedb.h"
-   local db_path="${EROOT}var/db/${PN}"
+   local initial_db_file="${EROOT}/usr/share/${PN}/drivedb.h"
+   local db_path="${EROOT}/var/db/${PN}"
 
if [[ ! -f "${db_path}/drivedb.h" ]] ; then
# No initial database found



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2022-03-01 Thread Patrick McLean
commit: 40760573687c42d25397d69cd374cd10ebffa821
Author: Patrick McLean  gentoo  org>
AuthorDate: Wed Mar  2 01:26:55 2022 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Wed Mar  2 01:26:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40760573

sys-apps/smartmontools: Version bump

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Patrick McLean  gentoo.org>

 sys-apps/smartmontools/Manifest |   1 +
 sys-apps/smartmontools/smartmontools-7.3.ebuild | 153 
 2 files changed, 154 insertions(+)

diff --git a/sys-apps/smartmontools/Manifest b/sys-apps/smartmontools/Manifest
index 36fbc466a279..90efc5ddec43 100644
--- a/sys-apps/smartmontools/Manifest
+++ b/sys-apps/smartmontools/Manifest
@@ -1 +1,2 @@
 DIST smartmontools-7.2.tar.gz 992256 BLAKE2B 
9f671656e610404b0ab8b6ec51421b4046c64d16331cff821a8d9dbf34dd6c4be4fa63d3a2eaffe2aa869b09acf5f18b9c9750f76e33423710ef9166212e3a92
 SHA512 
d7e724295b5d53797b5e4136eea5f5cc278db81e4016ba65142438b8c68c54f85a32c582c147a1590b9bc8f74a58952bcb57b9923dd69d34582530a0985799ea
+DIST smartmontools-7.3.tar.gz 1043932 BLAKE2B 
119fd4aded487796ffd38050ddf8c7dd69cc6f3950650cb0315846292fd4a6594d949d87c51ed46717d6aaadb332c68f655514d1fde89600d51f3fe36f8df1ca
 SHA512 
08afe8b0a6a39e742160cd4e4c03fc7aff7b1ae8681b906360f0932277dc99e361b7606b2373bdf42425cf9453480a5f4344bc040ebc2fa26a03bd52f02a6ac0

diff --git a/sys-apps/smartmontools/smartmontools-7.3.ebuild 
b/sys-apps/smartmontools/smartmontools-7.3.ebuild
new file mode 100644
index ..1c0502087af3
--- /dev/null
+++ b/sys-apps/smartmontools/smartmontools-7.3.ebuild
@@ -0,0 +1,153 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools flag-o-matic systemd
+if [[ ${PV} == "" ]] ; then
+   
ESVN_REPO_URI="https://svn.code.sf.net/p/smartmontools/code/trunk/smartmontools";
+   ESVN_PROJECT="smartmontools"
+   inherit subversion
+else
+   SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+fi
+
+DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"
+HOMEPAGE="https://www.smartmontools.org";
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="caps +daemon selinux static systemd +update-drivedb"
+
+DEPEND="
+   caps? (
+   static? ( sys-libs/libcap-ng:=[static-libs] )
+   !static? ( sys-libs/libcap-ng:= )
+   )
+   selinux? (
+   sys-libs/libselinux:=
+   )
+"
+RDEPEND="
+   ${DEPEND}
+   daemon? ( virtual/mailx )
+   selinux? ( sec-policy/selinux-smartmon )
+   systemd? ( sys-apps/systemd )
+   update-drivedb? (
+   app-crypt/gnupg
+   || (
+   net-misc/curl
+   net-misc/wget
+   www-client/lynx
+   dev-vcs/subversion
+   )
+   )
+"
+
+REQUIRED_USE="(
+   caps? ( daemon )
+   static? ( !systemd )
+)"
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   use static && append-ldflags -static
+   # The build installs /etc/init.d/smartd, but we clobber it
+   # in our src_install, so no need to manually delete it.
+   myeconfargs=(
+   --with-drivedbdir="${EPREFIX}/var/db/${PN}" #575292
+   --with-initscriptdir="${EPREFIX}/etc/init.d"
+   #--with-smartdscriptdir="${EPREFIX}/usr/share/${PN}"
+   $(use_with caps libcap-ng)
+   $(use_with selinux)
+   $(use_with systemd libsystemd)
+   $(use_with update-drivedb gnupg)
+   $(use_with update-drivedb update-smart-drivedb)
+   $(usex systemd 
"--with-systemdsystemunitdir=$(systemd_get_systemunitdir)" '')
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   local db_path="/var/db/${PN}"
+   insopts -m0644 -p # preserve timestamps
+
+   if use daemon; then
+   default
+
+   newinitd "${FILESDIR}"/smartd-r1.rc smartd
+   newconfd "${FILESDIR}"/smartd.confd smartd
+   else
+   dosbin smartctl
+   doman smartctl.8
+
+   local DOCS=( AUTHORS ChangeL* COPYING INSTALL NEWS README TODO )
+   einstalldocs
+   fi
+
+   if use update-drivedb ; then
+   if ! use daemon; then
+   dosbin "${S}"/update-smart-drivedb
+   fi
+
+   exeinto /etc/cron.monthly
+   doexe "${FILESDIR}/${PN}-update-drivedb"
+   fi
+
+   if use daemon || use update-drivedb; then
+   keepdir "${db_path}"
+
+   # Install a copy of the initial drivedb.h to /usr/share/${PN}
+   # so that we can access that fi

[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/files/, sys-apps/smartmontools/

2021-11-06 Thread Louis Sautier
commit: 55ea66e73da3b7d76f05bc512d4b01bf4802155a
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Nov  6 20:14:27 2021 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Sat Nov  6 20:34:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55ea66e7

sys-apps/smartmontools: updatedb cron: use new -q option

Signed-off-by: Louis Sautier  gentoo.org>

 ...rtmontools-7.2-update-smart-drivedb-quiet.patch | 86 ++
 .../files/smartmontools-update-drivedb |  4 +-
 ...s-7.2-r1.ebuild => smartmontools-7.2-r2.ebuild} |  5 ++
 3 files changed, 92 insertions(+), 3 deletions(-)

diff --git 
a/sys-apps/smartmontools/files/smartmontools-7.2-update-smart-drivedb-quiet.patch
 
b/sys-apps/smartmontools/files/smartmontools-7.2-update-smart-drivedb-quiet.patch
new file mode 100644
index 000..77337550822
--- /dev/null
+++ 
b/sys-apps/smartmontools/files/smartmontools-7.2-update-smart-drivedb-quiet.patch
@@ -0,0 +1,86 @@
+commit 56363dff436c12eaa296bbba39dfd65ec3f1f1f2
+Author: chrfranke 
+Date:   Sat Nov 6 15:07:18 2021 +
+
+update-smart-drivedb.in: Add '-q' option to suppress info messages.
+(GH issues/110).
+update-smart-drivedb.8.in: Document new option.
+
+git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@5242 
4ea69e1a-61f1-4043-bf83-b5c94c648137
+
+--- a/update-smart-drivedb.8.in
 b/update-smart-drivedb.8.in
+@@ -1,6 +1,6 @@
+ .ig
+ Copyright (C) 2013 Hannes von Haugwitz 
+-Copyright (C) 2014-20 Christian Franke
++Copyright (C) 2014-21 Christian Franke
+ 
+ SPDX-License-Identifier: GPL-2.0-or-later
+ 
+@@ -144,6 +144,10 @@ Print the OpenPGP/GPG public key block.
+ .B \-\-dryrun
+ Print download commands only.
+ .TP
++.B \-q
++[NEW EXPERIMENTAL UPDATE-SMART-DRIVEDB FEATURE]
++Suppress info messages.
++.TP
+ .B \-v
+ Verbose output.
+ .Sp
+--- a/update-smart-drivedb.in
 b/update-smart-drivedb.in
+@@ -72,6 +72,7 @@ Usage: $myname [OPTIONS] [DESTFILE]
+   --no-verify Don't verify signature
+   --export-keyPrint the OpenPGP/GPG public key block
+   --dryrunPrint download commands only
++  -q  Suppress info messages
+   -v  Verbose output
+ 
+ Updates $DRIVEDB
+@@ -131,6 +132,11 @@ inpath()
+   return $rc
+ }
+ 
++iecho()
++{
++  test -n "$quiet" || echo "$*"
++}
++
+ vecho()
+ {
+   test -n "$q" || echo "$*"
+@@ -522,6 +528,7 @@ mv_all()
+ smtctl=$SMARTCTL
+ tool=
+ urlid="svn"
++quiet=
+ q="-q"
+ dryrun=
+ trunk=
+@@ -547,6 +554,9 @@ while true; do case $1 in
+ shift; test -n "$1" || usage
+ urlid=$1 ;;
+ 
++  -q)
++quiet=t ;;
++
+   -v)
+ q= ;;
+ 
+@@ -727,7 +737,7 @@ if [ -f "$DEST" ]; then
+ then
+   rm -f "$DEST.new" "$DEST.new.raw" "$DEST.new.raw.asc"
+   touch "$DEST.lastcheck"
+-  echo "$DEST is already up to date"
++  iecho "$DEST is already up to date"
+   exit 0
+ fi
+ mv_all "$DEST" "" ".old"
+@@ -738,4 +748,4 @@ fi
+ 
+ mv_all "$DEST" ".new" ""
+ 
+-echo "$DEST updated from ${trunk:-branches/$brnch}${no_verify:+ (NOT 
VERIFIED)}"
++iecho "$DEST updated from ${trunk:-branches/$brnch}${no_verify:+ (NOT 
VERIFIED)}"

diff --git a/sys-apps/smartmontools/files/smartmontools-update-drivedb 
b/sys-apps/smartmontools/files/smartmontools-update-drivedb
index b7d1bb95243..270789c53d0 100644
--- a/sys-apps/smartmontools/files/smartmontools-update-drivedb
+++ b/sys-apps/smartmontools/files/smartmontools-update-drivedb
@@ -1,5 +1,3 @@
 #!/bin/sh
 
-# Hide stdout until a --quiet switch is added:
-# https://github.com/smartmontools/smartmontools/issues/110
-/usr/sbin/update-smart-drivedb > /dev/null
+/usr/sbin/update-smart-drivedb -q

diff --git a/sys-apps/smartmontools/smartmontools-7.2-r1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.2-r2.ebuild
similarity index 96%
rename from sys-apps/smartmontools/smartmontools-7.2-r1.ebuild
rename to sys-apps/smartmontools/smartmontools-7.2-r2.ebuild
index 39f90ac1de4..3059ff0feb5 100644
--- a/sys-apps/smartmontools/smartmontools-7.2-r1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.2-r2.ebuild
@@ -48,6 +48,11 @@ REQUIRED_USE="(
static? ( !systemd )
 )"
 
+PATCHES=(
+   # Backport from commit 56363dff436c12eaa296bbba39dfd65ec3f1f1f2
+   "${FILESDIR}/${P}-update-smart-drivedb-quiet.patch"
+)
+
 src_prepare() {
default
eautoreconf



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2021-11-04 Thread Sam James
commit: fba553267b6b1e31da713a91b001b429ebf24510
Author: Sam James  gentoo  org>
AuthorDate: Thu Nov  4 16:27:33 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Nov  4 16:27:33 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fba55326

sys-apps/smartmontools: add github upstream metadata

Signed-off-by: Sam James  gentoo.org>

 sys-apps/smartmontools/metadata.xml | 25 +
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/sys-apps/smartmontools/metadata.xml 
b/sys-apps/smartmontools/metadata.xml
index b1a371e967d..db3a4e7b414 100644
--- a/sys-apps/smartmontools/metadata.xml
+++ b/sys-apps/smartmontools/metadata.xml
@@ -1,16 +1,17 @@
 
 https://www.gentoo.org/dtd/metadata.dtd";>
 
-
-   base-sys...@gentoo.org
-   Gentoo Base System
-
-
-   Build against sys-libs/libcap-ng to allow 
smartd to drop its privileges.
-   Install the monitoring daemon (smartd) and 
associated scripts.
-   Install a script to update the drivedb 
file.
-
-
-   smartmontools
-
+   
+   base-sys...@gentoo.org
+   Gentoo Base System
+   
+   
+   Build against sys-libs/libcap-ng 
to allow smartd to drop its privileges.
+   Install the monitoring daemon (smartd) and 
associated scripts.
+   Install a script to update the 
drivedb file.
+   
+   
+   smartmontools/smartmontools
+   smartmontools
+   
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/, sys-apps/smartmontools/files/

2021-09-28 Thread Louis Sautier
commit: 245ca244680a330525caa4cb0028f875a425e706
Author: Louis Sautier  gentoo  org>
AuthorDate: Tue Sep 28 23:09:45 2021 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Tue Sep 28 23:16:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=245ca244

sys-apps/smartmontools: hide stdout from drivedb update cron task

Signed-off-by: Louis Sautier  gentoo.org>

 sys-apps/smartmontools/files/smartmontools-update-drivedb | 4 +++-
 .../{smartmontools-7.2.ebuild => smartmontools-7.2-r1.ebuild} | 0
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/files/smartmontools-update-drivedb 
b/sys-apps/smartmontools/files/smartmontools-update-drivedb
index 831f1e6541b..b7d1bb95243 100644
--- a/sys-apps/smartmontools/files/smartmontools-update-drivedb
+++ b/sys-apps/smartmontools/files/smartmontools-update-drivedb
@@ -1,3 +1,5 @@
 #!/bin/sh
 
-/usr/sbin/update-smart-drivedb
+# Hide stdout until a --quiet switch is added:
+# https://github.com/smartmontools/smartmontools/issues/110
+/usr/sbin/update-smart-drivedb > /dev/null

diff --git a/sys-apps/smartmontools/smartmontools-7.2.ebuild 
b/sys-apps/smartmontools/smartmontools-7.2-r1.ebuild
similarity index 100%
rename from sys-apps/smartmontools/smartmontools-7.2.ebuild
rename to sys-apps/smartmontools/smartmontools-7.2-r1.ebuild



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2021-07-21 Thread Georgy Yakovlev
commit: efe075887276718c7eb3bda3d1b338970cfe293c
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Thu Jul 22 03:23:49 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Thu Jul 22 03:35:55 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efe07588

sys-apps/smartmontools: sync live ebuild keywords

Signed-off-by: Georgy Yakovlev  gentoo.org>

 sys-apps/smartmontools/smartmontools-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-.ebuild 
b/sys-apps/smartmontools/smartmontools-.ebuild
index 8743a731e87..c3e86bfcdb7 100644
--- a/sys-apps/smartmontools/smartmontools-.ebuild
+++ b/sys-apps/smartmontools/smartmontools-.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2021-07-21 Thread Georgy Yakovlev
commit: 80765871922967ea362a7c8ca1c952faad7dde26
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Thu Jul 22 03:23:21 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Thu Jul 22 03:35:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80765871

sys-apps/smartmontools: keyword 7.2 for ~riscv

Signed-off-by: Georgy Yakovlev  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.2.ebuild 
b/sys-apps/smartmontools/smartmontools-7.2.ebuild
index 0ab20504d08..39f90ac1de4 100644
--- a/sys-apps/smartmontools/smartmontools-7.2.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.2.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2021-05-23 Thread David Seifert
commit: d9a868dc4748908399b80a627a81d72a534a0d07
Author: David Seifert  gentoo  org>
AuthorDate: Sun May 23 12:13:59 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun May 23 12:13:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9a868dc

sys-apps/smartmontools: drop 7.1-r1

Signed-off-by: David Seifert  gentoo.org>

 sys-apps/smartmontools/Manifest|   1 -
 sys-apps/smartmontools/smartmontools-7.1-r1.ebuild | 147 -
 2 files changed, 148 deletions(-)

diff --git a/sys-apps/smartmontools/Manifest b/sys-apps/smartmontools/Manifest
index 5bf7834d177..36fbc466a27 100644
--- a/sys-apps/smartmontools/Manifest
+++ b/sys-apps/smartmontools/Manifest
@@ -1,2 +1 @@
-DIST smartmontools-7.1.tar.gz 971468 BLAKE2B 
de3e1b10997903cb9bf6107f1bd1be9587b66af08a94e368dc9ed3aa6d69ba93d6b41d1ba60076275603702d9d0b47b26e376d3c9f020eb18fde5af4b686485b
 SHA512 
440b2a957da10d240a8ef0008bd3358b83adb9eaca0f8d3e049b25d56a139c61dcd0bb4b27898faef6f189a27e159bdca3331e52e445c0eebf35e5d930f9e295
 DIST smartmontools-7.2.tar.gz 992256 BLAKE2B 
9f671656e610404b0ab8b6ec51421b4046c64d16331cff821a8d9dbf34dd6c4be4fa63d3a2eaffe2aa869b09acf5f18b9c9750f76e33423710ef9166212e3a92
 SHA512 
d7e724295b5d53797b5e4136eea5f5cc278db81e4016ba65142438b8c68c54f85a32c582c147a1590b9bc8f74a58952bcb57b9923dd69d34582530a0985799ea

diff --git a/sys-apps/smartmontools/smartmontools-7.1-r1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.1-r1.ebuild
deleted file mode 100644
index 823bf3d0068..000
--- a/sys-apps/smartmontools/smartmontools-7.1-r1.ebuild
+++ /dev/null
@@ -1,147 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit autotools flag-o-matic systemd
-if [[ ${PV} == "" ]] ; then
-   
ESVN_REPO_URI="https://svn.code.sf.net/p/smartmontools/code/trunk/smartmontools";
-   ESVN_PROJECT="smartmontools"
-   inherit subversion
-else
-   SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
-fi
-
-DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"
-HOMEPAGE="https://www.smartmontools.org";
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="caps +daemon selinux static systemd update-drivedb"
-
-DEPEND="
-   caps? (
-   static? ( sys-libs/libcap-ng[static-libs] )
-   !static? ( sys-libs/libcap-ng )
-   )
-   selinux? (
-   sys-libs/libselinux
-   )"
-RDEPEND="${DEPEND}
-   daemon? ( virtual/mailx )
-   selinux? ( sec-policy/selinux-smartmon )
-   systemd? ( sys-apps/systemd )
-   update-drivedb? (
-   app-crypt/gnupg
-   || (
-   net-misc/curl
-   net-misc/wget
-   www-client/lynx
-   dev-vcs/subversion
-   )
-   )
-"
-
-REQUIRED_USE="( caps? ( daemon ) )"
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   use static && append-ldflags -static
-   # The build installs /etc/init.d/smartd, but we clobber it
-   # in our src_install, so no need to manually delete it.
-   myeconfargs=(
-   --with-drivedbdir="${EPREFIX}/var/db/${PN}" #575292
-   --with-initscriptdir="${EPREFIX}/etc/init.d"
-   #--with-smartdscriptdir="${EPREFIX}/usr/share/${PN}"
-   $(use_with caps libcap-ng)
-   $(use_with selinux)
-   $(use_with systemd libsystemd)
-   $(use_with update-drivedb gnupg)
-   $(use_with update-drivedb update-smart-drivedb)
-   $(usex systemd 
"--with-systemdsystemunitdir=$(systemd_get_systemunitdir)" '')
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   local db_path="/var/db/${PN}"
-
-   if use daemon; then
-   default
-
-   newinitd "${FILESDIR}"/smartd-r1.rc smartd
-   newconfd "${FILESDIR}"/smartd.confd smartd
-   else
-   dosbin smartctl
-   doman smartctl.8
-
-   local DOCS=( AUTHORS ChangeL* COPYING INSTALL NEWS README TODO )
-   einstalldocs
-   fi
-
-   if use update-drivedb ; then
-   if ! use daemon; then
-   dosbin "${S}"/update-smart-drivedb
-   fi
-
-   exeinto /etc/cron.monthly
-   doexe "${FILESDIR}/${PN}-update-drivedb"
-   fi
-
-   if use daemon || use update-drivedb; then
-   keepdir "${db_path}"
-
-   # Install a copy of the initial drivedb.h to /usr/share/${PN}
-   # so that we can access that file later in pkg_postinst
-   # even when dealing with binary packages (bug #575292)
-   insinto /usr/share/${PN}
-   doins

[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2021-05-11 Thread Sergei Trofimovich
commit: 78cc45668c432c81a152edefd90baa8810ecc73d
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Tue May 11 15:33:56 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue May 11 15:44:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78cc4566

sys-apps/smartmontools: stable 7.2 for hppa/sparc, bug #783825

Package-Manager: Portage-3.0.18, Repoman-3.0.2
RepoMan-Options: --include-arches="hppa sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.2.ebuild 
b/sys-apps/smartmontools/smartmontools-7.2.ebuild
index d534a7dc2e2..0ab20504d08 100644
--- a/sys-apps/smartmontools/smartmontools-7.2.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.2.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2021-05-10 Thread Sam James
commit: 685e6b064a390dc0728c8cc315f2604234ea02b9
Author: Sam James  gentoo  org>
AuthorDate: Mon May 10 10:54:31 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May 10 10:54:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=685e6b06

sys-apps/smartmontools: Stabilize 7.2 x86, #783825

Signed-off-by: Sam James  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.2.ebuild 
b/sys-apps/smartmontools/smartmontools-7.2.ebuild
index da2d2c20953..d534a7dc2e2 100644
--- a/sys-apps/smartmontools/smartmontools-7.2.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.2.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc 
~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2021-05-10 Thread Sam James
commit: 2c8ebdaa6f62da81a4c771373d371b865bdbf0a1
Author: Sam James  gentoo  org>
AuthorDate: Mon May 10 10:47:20 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May 10 10:47:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c8ebdaa

sys-apps/smartmontools: Stabilize 7.2 amd64, #783825

Signed-off-by: Sam James  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.2.ebuild 
b/sys-apps/smartmontools/smartmontools-7.2.ebuild
index f5821fb60d5..da2d2c20953 100644
--- a/sys-apps/smartmontools/smartmontools-7.2.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.2.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc 
~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc 
~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2021-05-09 Thread Sam James
commit: fb583d43bf0d0fc4f9c906e17320940a4c5345f6
Author: Sam James  gentoo  org>
AuthorDate: Mon May 10 04:25:44 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May 10 04:25:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb583d43

sys-apps/smartmontools: Stabilize 7.2 ppc64, #783825

Signed-off-by: Sam James  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.2.ebuild 
b/sys-apps/smartmontools/smartmontools-7.2.ebuild
index 0a40d8dae37..aa8934b8225 100644
--- a/sys-apps/smartmontools/smartmontools-7.2.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.2.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc 
~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~sparc 
~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2021-05-09 Thread Sam James
commit: bc2b4159be58ed01bebcbfe5300b07f9b483c362
Author: Sam James  gentoo  org>
AuthorDate: Mon May 10 04:25:52 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May 10 04:25:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc2b4159

sys-apps/smartmontools: Stabilize 7.2 ppc, #783825

Signed-off-by: Sam James  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.2.ebuild 
b/sys-apps/smartmontools/smartmontools-7.2.ebuild
index aa8934b8225..f5821fb60d5 100644
--- a/sys-apps/smartmontools/smartmontools-7.2.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.2.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~sparc 
~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc 
~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2021-05-09 Thread Sam James
commit: 8de52e37afe705cfd3f8232639149ac1eb93250f
Author: Sam James  gentoo  org>
AuthorDate: Mon May 10 04:25:31 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May 10 04:25:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8de52e37

sys-apps/smartmontools: Stabilize 7.2 arm64, #783825

Signed-off-by: Sam James  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.2.ebuild 
b/sys-apps/smartmontools/smartmontools-7.2.ebuild
index 1d0329dd31a..0a40d8dae37 100644
--- a/sys-apps/smartmontools/smartmontools-7.2.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.2.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc 
~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc 
~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2021-05-09 Thread Sam James
commit: f67e5d9242f1ad3453a72b4162bbef494ef3d225
Author: Sam James  gentoo  org>
AuthorDate: Mon May 10 04:25:22 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May 10 04:25:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f67e5d92

sys-apps/smartmontools: Stabilize 7.2 arm, #783825

Signed-off-by: Sam James  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.2.ebuild 
b/sys-apps/smartmontools/smartmontools-7.2.ebuild
index 8743a731e87..1d0329dd31a 100644
--- a/sys-apps/smartmontools/smartmontools-7.2.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.2.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc 
~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2021-01-25 Thread Ben Kohler
commit: 5e10c105ab04561c303d74db9fcd1b5c7c53ec61
Author: Ben Kohler  gentoo  org>
AuthorDate: Mon Jan 25 13:59:16 2021 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Mon Jan 25 13:59:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e10c105

sys-apps/smartmontools: fix EROOT usage for EAPI=6

Remember to restore these extra /'s when moving to EAPI=7

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Ben Kohler  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.1-r1.ebuild | 4 ++--
 sys-apps/smartmontools/smartmontools-7.2.ebuild| 4 ++--
 sys-apps/smartmontools/smartmontools-.ebuild   | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.1-r1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.1-r1.ebuild
index 158bfd6444f..823bf3d0068 100644
--- a/sys-apps/smartmontools/smartmontools-7.1-r1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.1-r1.ebuild
@@ -114,8 +114,8 @@ src_install() {
 
 pkg_postinst() {
if use daemon || use update-drivedb; then
-   local initial_db_file="${EROOT}/usr/share/${PN}/drivedb.h"
-   local db_path="${EROOT}/var/db/${PN}"
+   local initial_db_file="${EROOT}usr/share/${PN}/drivedb.h"
+   local db_path="${EROOT}var/db/${PN}"
 
if [[ ! -f "${db_path}/drivedb.h" ]] ; then
# No initial database found

diff --git a/sys-apps/smartmontools/smartmontools-7.2.ebuild 
b/sys-apps/smartmontools/smartmontools-7.2.ebuild
index bcbd184c16d..8743a731e87 100644
--- a/sys-apps/smartmontools/smartmontools-7.2.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.2.ebuild
@@ -118,8 +118,8 @@ src_install() {
 
 pkg_postinst() {
if use daemon || use update-drivedb; then
-   local initial_db_file="${EROOT}/usr/share/${PN}/drivedb.h"
-   local db_path="${EROOT}/var/db/${PN}"
+   local initial_db_file="${EROOT}usr/share/${PN}/drivedb.h"
+   local db_path="${EROOT}var/db/${PN}"
 
if [[ ! -f "${db_path}/drivedb.h" ]] ; then
# No initial database found

diff --git a/sys-apps/smartmontools/smartmontools-.ebuild 
b/sys-apps/smartmontools/smartmontools-.ebuild
index bcbd184c16d..8743a731e87 100644
--- a/sys-apps/smartmontools/smartmontools-.ebuild
+++ b/sys-apps/smartmontools/smartmontools-.ebuild
@@ -118,8 +118,8 @@ src_install() {
 
 pkg_postinst() {
if use daemon || use update-drivedb; then
-   local initial_db_file="${EROOT}/usr/share/${PN}/drivedb.h"
-   local db_path="${EROOT}/var/db/${PN}"
+   local initial_db_file="${EROOT}usr/share/${PN}/drivedb.h"
+   local db_path="${EROOT}var/db/${PN}"
 
if [[ ! -f "${db_path}/drivedb.h" ]] ; then
# No initial database found



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2021-01-02 Thread Lars Wendler
commit: fbb4c3e23a636402c56c0158d715328d64f1d172
Author: Lars Wendler  gentoo  org>
AuthorDate: Sat Jan  2 20:20:10 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sat Jan  2 20:24:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbb4c3e2

sys-apps/smartmontools: Bump to version 7.2

- Renamed "update_drivedb" USE flag to "update-drivedb" (#695108)
- Enabled "update-drivedb" USE flag by default (#684160)
- USE="static" fails with USE="systemd" - exclude each other (#683328)

Bug: https://bugs.gentoo.org/695108
Closes: https://bugs.gentoo.org/684160
Closes: https://bugs.gentoo.org/683328
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Lars Wendler  gentoo.org>

 sys-apps/smartmontools/Manifest |   1 +
 sys-apps/smartmontools/metadata.xml |   1 +
 sys-apps/smartmontools/smartmontools-7.2.ebuild | 151 
 3 files changed, 153 insertions(+)

diff --git a/sys-apps/smartmontools/Manifest b/sys-apps/smartmontools/Manifest
index cba124633a6..5bf7834d177 100644
--- a/sys-apps/smartmontools/Manifest
+++ b/sys-apps/smartmontools/Manifest
@@ -1 +1,2 @@
 DIST smartmontools-7.1.tar.gz 971468 BLAKE2B 
de3e1b10997903cb9bf6107f1bd1be9587b66af08a94e368dc9ed3aa6d69ba93d6b41d1ba60076275603702d9d0b47b26e376d3c9f020eb18fde5af4b686485b
 SHA512 
440b2a957da10d240a8ef0008bd3358b83adb9eaca0f8d3e049b25d56a139c61dcd0bb4b27898faef6f189a27e159bdca3331e52e445c0eebf35e5d930f9e295
+DIST smartmontools-7.2.tar.gz 992256 BLAKE2B 
9f671656e610404b0ab8b6ec51421b4046c64d16331cff821a8d9dbf34dd6c4be4fa63d3a2eaffe2aa869b09acf5f18b9c9750f76e33423710ef9166212e3a92
 SHA512 
d7e724295b5d53797b5e4136eea5f5cc278db81e4016ba65142438b8c68c54f85a32c582c147a1590b9bc8f74a58952bcb57b9923dd69d34582530a0985799ea

diff --git a/sys-apps/smartmontools/metadata.xml 
b/sys-apps/smartmontools/metadata.xml
index cb72f5108e4..9ac33efa0d5 100644
--- a/sys-apps/smartmontools/metadata.xml
+++ b/sys-apps/smartmontools/metadata.xml
@@ -9,6 +9,7 @@
Build against sys-libs/libcap-ng to allow 
smartd to drop its privileges.
Install the monitoring daemon (smartd) and 
associated scripts.
Install a script to update the drivedb 
file.
+   Install a script to update the drivedb 
file.
 
 
smartmontools

diff --git a/sys-apps/smartmontools/smartmontools-7.2.ebuild 
b/sys-apps/smartmontools/smartmontools-7.2.ebuild
new file mode 100644
index 000..bcbd184c16d
--- /dev/null
+++ b/sys-apps/smartmontools/smartmontools-7.2.ebuild
@@ -0,0 +1,151 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit autotools flag-o-matic systemd
+if [[ ${PV} == "" ]] ; then
+   
ESVN_REPO_URI="https://svn.code.sf.net/p/smartmontools/code/trunk/smartmontools";
+   ESVN_PROJECT="smartmontools"
+   inherit subversion
+else
+   SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+fi
+
+DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"
+HOMEPAGE="https://www.smartmontools.org";
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="caps +daemon selinux static systemd +update-drivedb"
+
+DEPEND="
+   caps? (
+   static? ( sys-libs/libcap-ng[static-libs] )
+   !static? ( sys-libs/libcap-ng )
+   )
+   selinux? (
+   sys-libs/libselinux
+   )"
+RDEPEND="${DEPEND}
+   daemon? ( virtual/mailx )
+   selinux? ( sec-policy/selinux-smartmon )
+   systemd? ( sys-apps/systemd )
+   update-drivedb? (
+   app-crypt/gnupg
+   || (
+   net-misc/curl
+   net-misc/wget
+   www-client/lynx
+   dev-vcs/subversion
+   )
+   )
+"
+
+REQUIRED_USE="(
+   caps? ( daemon )
+   static? ( !systemd )
+)"
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   use static && append-ldflags -static
+   # The build installs /etc/init.d/smartd, but we clobber it
+   # in our src_install, so no need to manually delete it.
+   myeconfargs=(
+   --with-drivedbdir="${EPREFIX}/var/db/${PN}" #575292
+   --with-initscriptdir="${EPREFIX}/etc/init.d"
+   #--with-smartdscriptdir="${EPREFIX}/usr/share/${PN}"
+   $(use_with caps libcap-ng)
+   $(use_with selinux)
+   $(use_with systemd libsystemd)
+   $(use_with update-drivedb gnupg)
+   $(use_with update-drivedb update-smart-drivedb)
+   $(usex systemd 
"--with-systemdsystemunitdir=$(systemd_get_systemunitdir)" '')
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   local db_path="/var/db/${PN}"
+   insopts -m0644 -p # preserve timestamps
+
+

[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2021-01-02 Thread Lars Wendler
commit: 960be4798ed78136a30e38f0087c4cefdc22801c
Author: Lars Wendler  gentoo  org>
AuthorDate: Sat Jan  2 20:21:25 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sat Jan  2 20:24:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=960be479

sys-apps/smartmontools: Synced live ebuild

Bug: https://bugs.gentoo.org/695108
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Lars Wendler  gentoo.org>

 sys-apps/smartmontools/smartmontools-.ebuild | 26 ++--
 1 file changed, 15 insertions(+), 11 deletions(-)

diff --git a/sys-apps/smartmontools/smartmontools-.ebuild 
b/sys-apps/smartmontools/smartmontools-.ebuild
index 9c4544209c1..bcbd184c16d 100644
--- a/sys-apps/smartmontools/smartmontools-.ebuild
+++ b/sys-apps/smartmontools/smartmontools-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -18,7 +18,7 @@ HOMEPAGE="https://www.smartmontools.org";
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="caps +daemon selinux static systemd update_drivedb"
+IUSE="caps +daemon selinux static systemd +update-drivedb"
 
 DEPEND="
caps? (
@@ -32,7 +32,7 @@ RDEPEND="${DEPEND}
daemon? ( virtual/mailx )
selinux? ( sec-policy/selinux-smartmon )
systemd? ( sys-apps/systemd )
-   update_drivedb? (
+   update-drivedb? (
app-crypt/gnupg
|| (
net-misc/curl
@@ -43,7 +43,10 @@ RDEPEND="${DEPEND}
)
 "
 
-REQUIRED_USE="( caps? ( daemon ) )"
+REQUIRED_USE="(
+   caps? ( daemon )
+   static? ( !systemd )
+)"
 
 src_prepare() {
default
@@ -61,8 +64,8 @@ src_configure() {
$(use_with caps libcap-ng)
$(use_with selinux)
$(use_with systemd libsystemd)
-   $(use_with update_drivedb gnupg)
-   $(use_with update_drivedb update-smart-drivedb)
+   $(use_with update-drivedb gnupg)
+   $(use_with update-drivedb update-smart-drivedb)
$(usex systemd 
"--with-systemdsystemunitdir=$(systemd_get_systemunitdir)" '')
)
econf "${myeconfargs[@]}"
@@ -70,6 +73,7 @@ src_configure() {
 
 src_install() {
local db_path="/var/db/${PN}"
+   insopts -m0644 -p # preserve timestamps
 
if use daemon; then
default
@@ -84,7 +88,7 @@ src_install() {
einstalldocs
fi
 
-   if use update_drivedb ; then
+   if use update-drivedb ; then
if ! use daemon; then
dosbin "${S}"/update-smart-drivedb
fi
@@ -93,7 +97,7 @@ src_install() {
doexe "${FILESDIR}/${PN}-update-drivedb"
fi
 
-   if use daemon || use update_drivedb; then
+   if use daemon || use update-drivedb; then
keepdir "${db_path}"
 
# Install a copy of the initial drivedb.h to /usr/share/${PN}
@@ -113,7 +117,7 @@ src_install() {
 }
 
 pkg_postinst() {
-   if use daemon || use update_drivedb; then
+   if use daemon || use update-drivedb; then
local initial_db_file="${EROOT}/usr/share/${PN}/drivedb.h"
local db_path="${EROOT}/var/db/${PN}"
 
@@ -137,10 +141,10 @@ pkg_postinst() {
ewarn ""
ewarn " /usr/sbin/update-smart-drivedb"
 
-   if ! use update_drivedb ; then
+   if ! use update-drivedb ; then
ewarn ""
ewarn "However, 'update-smart-drivedb' requires 
that you re-emerge ${PN}"
-   ewarn "with USE='update_drivedb'."
+   ewarn "with USE='update-drivedb'."
fi
fi
fi



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2021-01-02 Thread Lars Wendler
commit: 13dea100afcf22cfc9ad063b302c0f293aa0490a
Author: Lars Wendler  gentoo  org>
AuthorDate: Sat Jan  2 20:24:23 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sat Jan  2 20:24:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13dea100

sys-apps/smartmontools: Revbump fixing QA issue

Closes: https://bugs.gentoo.org/695108
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Lars Wendler  gentoo.org>

 sys-apps/smartmontools/metadata.xml  |  1 -
 ...ntools-7.1.ebuild => smartmontools-7.1-r1.ebuild} | 20 ++--
 2 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/sys-apps/smartmontools/metadata.xml 
b/sys-apps/smartmontools/metadata.xml
index 9ac33efa0d5..4ee89aff231 100644
--- a/sys-apps/smartmontools/metadata.xml
+++ b/sys-apps/smartmontools/metadata.xml
@@ -8,7 +8,6 @@
 
Build against sys-libs/libcap-ng to allow 
smartd to drop its privileges.
Install the monitoring daemon (smartd) and 
associated scripts.
-   Install a script to update the drivedb 
file.
Install a script to update the drivedb 
file.
 
 

diff --git a/sys-apps/smartmontools/smartmontools-7.1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.1-r1.ebuild
similarity index 90%
rename from sys-apps/smartmontools/smartmontools-7.1.ebuild
rename to sys-apps/smartmontools/smartmontools-7.1-r1.ebuild
index 0b1811bc1f8..158bfd6444f 100644
--- a/sys-apps/smartmontools/smartmontools-7.1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -18,7 +18,7 @@ HOMEPAGE="https://www.smartmontools.org";
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="caps +daemon selinux static systemd update_drivedb"
+IUSE="caps +daemon selinux static systemd update-drivedb"
 
 DEPEND="
caps? (
@@ -32,7 +32,7 @@ RDEPEND="${DEPEND}
daemon? ( virtual/mailx )
selinux? ( sec-policy/selinux-smartmon )
systemd? ( sys-apps/systemd )
-   update_drivedb? (
+   update-drivedb? (
app-crypt/gnupg
|| (
net-misc/curl
@@ -61,8 +61,8 @@ src_configure() {
$(use_with caps libcap-ng)
$(use_with selinux)
$(use_with systemd libsystemd)
-   $(use_with update_drivedb gnupg)
-   $(use_with update_drivedb update-smart-drivedb)
+   $(use_with update-drivedb gnupg)
+   $(use_with update-drivedb update-smart-drivedb)
$(usex systemd 
"--with-systemdsystemunitdir=$(systemd_get_systemunitdir)" '')
)
econf "${myeconfargs[@]}"
@@ -84,7 +84,7 @@ src_install() {
einstalldocs
fi
 
-   if use update_drivedb ; then
+   if use update-drivedb ; then
if ! use daemon; then
dosbin "${S}"/update-smart-drivedb
fi
@@ -93,7 +93,7 @@ src_install() {
doexe "${FILESDIR}/${PN}-update-drivedb"
fi
 
-   if use daemon || use update_drivedb; then
+   if use daemon || use update-drivedb; then
keepdir "${db_path}"
 
# Install a copy of the initial drivedb.h to /usr/share/${PN}
@@ -113,7 +113,7 @@ src_install() {
 }
 
 pkg_postinst() {
-   if use daemon || use update_drivedb; then
+   if use daemon || use update-drivedb; then
local initial_db_file="${EROOT}/usr/share/${PN}/drivedb.h"
local db_path="${EROOT}/var/db/${PN}"
 
@@ -137,10 +137,10 @@ pkg_postinst() {
ewarn ""
ewarn " /usr/sbin/update-smart-drivedb"
 
-   if ! use update_drivedb ; then
+   if ! use update-drivedb ; then
ewarn ""
ewarn "However, 'update-smart-drivedb' requires 
that you re-emerge ${PN}"
-   ewarn "with USE='update_drivedb'."
+   ewarn "with USE='update-drivedb'."
fi
fi
fi



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2020-10-06 Thread Sam James
commit: 59d94781f846bc04f16099e499ee35808a1bebac
Author: Sam James  gentoo  org>
AuthorDate: Tue Oct  6 15:40:40 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Oct  6 15:40:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59d94781

sys-apps/smartmontools: Stabilize 7.1 arm64, #746536

Signed-off-by: Sam James  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.1.ebuild
index bca8212f62b..0b1811bc1f8 100644
--- a/sys-apps/smartmontools/smartmontools-7.1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2020-09-18 Thread Lars Wendler
commit: 52eafa199145220bd2d083a8e37c8c5954410336
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Sep 18 10:43:35 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Sep 18 10:43:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52eafa19

sys-apps/smartmontools: Removed old

Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Lars Wendler  gentoo.org>

 sys-apps/smartmontools/Manifest|   1 -
 sys-apps/smartmontools/smartmontools-7.0-r1.ebuild | 147 -
 2 files changed, 148 deletions(-)

diff --git a/sys-apps/smartmontools/Manifest b/sys-apps/smartmontools/Manifest
index 67556947217..cba124633a6 100644
--- a/sys-apps/smartmontools/Manifest
+++ b/sys-apps/smartmontools/Manifest
@@ -1,2 +1 @@
-DIST smartmontools-7.0.tar.gz 944925 BLAKE2B 
41b3894efa05471bf358fca4ba87a765e3a54df68c9a617804a9e0853752c57b68fdbaa9d55fa1462a8fa7de1d6cb5630c66929dfe521be38b180944cb80acc9
 SHA512 
96e18a201182579f699d541539ce393e7bc2191e027cfdf7f87455a63da3a14451574f8fe391232047ac941ace453a017193d0a4987a4edb8f7ed9d5007f0512
 DIST smartmontools-7.1.tar.gz 971468 BLAKE2B 
de3e1b10997903cb9bf6107f1bd1be9587b66af08a94e368dc9ed3aa6d69ba93d6b41d1ba60076275603702d9d0b47b26e376d3c9f020eb18fde5af4b686485b
 SHA512 
440b2a957da10d240a8ef0008bd3358b83adb9eaca0f8d3e049b25d56a139c61dcd0bb4b27898faef6f189a27e159bdca3331e52e445c0eebf35e5d930f9e295

diff --git a/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
deleted file mode 100644
index bca8212f62b..000
--- a/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
+++ /dev/null
@@ -1,147 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit autotools flag-o-matic systemd
-if [[ ${PV} == "" ]] ; then
-   
ESVN_REPO_URI="https://svn.code.sf.net/p/smartmontools/code/trunk/smartmontools";
-   ESVN_PROJECT="smartmontools"
-   inherit subversion
-else
-   SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
-fi
-
-DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"
-HOMEPAGE="https://www.smartmontools.org";
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="caps +daemon selinux static systemd update_drivedb"
-
-DEPEND="
-   caps? (
-   static? ( sys-libs/libcap-ng[static-libs] )
-   !static? ( sys-libs/libcap-ng )
-   )
-   selinux? (
-   sys-libs/libselinux
-   )"
-RDEPEND="${DEPEND}
-   daemon? ( virtual/mailx )
-   selinux? ( sec-policy/selinux-smartmon )
-   systemd? ( sys-apps/systemd )
-   update_drivedb? (
-   app-crypt/gnupg
-   || (
-   net-misc/curl
-   net-misc/wget
-   www-client/lynx
-   dev-vcs/subversion
-   )
-   )
-"
-
-REQUIRED_USE="( caps? ( daemon ) )"
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   use static && append-ldflags -static
-   # The build installs /etc/init.d/smartd, but we clobber it
-   # in our src_install, so no need to manually delete it.
-   myeconfargs=(
-   --with-drivedbdir="${EPREFIX}/var/db/${PN}" #575292
-   --with-initscriptdir="${EPREFIX}/etc/init.d"
-   #--with-smartdscriptdir="${EPREFIX}/usr/share/${PN}"
-   $(use_with caps libcap-ng)
-   $(use_with selinux)
-   $(use_with systemd libsystemd)
-   $(use_with update_drivedb gnupg)
-   $(use_with update_drivedb update-smart-drivedb)
-   $(usex systemd 
"--with-systemdsystemunitdir=$(systemd_get_systemunitdir)" '')
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   local db_path="/var/db/${PN}"
-
-   if use daemon; then
-   default
-
-   newinitd "${FILESDIR}"/smartd-r1.rc smartd
-   newconfd "${FILESDIR}"/smartd.confd smartd
-   else
-   dosbin smartctl
-   doman smartctl.8
-
-   local DOCS=( AUTHORS ChangeL* COPYING INSTALL NEWS README TODO )
-   einstalldocs
-   fi
-
-   if use update_drivedb ; then
-   if ! use daemon; then
-   dosbin "${S}"/update-smart-drivedb
-   fi
-
-   exeinto /etc/cron.monthly
-   doexe "${FILESDIR}/${PN}-update-drivedb"
-   fi
-
-   if use daemon || use update_drivedb; then
-   keepdir "${db_path}"
-
-   # Install a copy of the initial drivedb.h to /usr/share/${PN}
-   # so that we can access that file later in pkg_postinst
-   # even when dealing with binary packages (bug #575292)
-   in

[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2020-09-13 Thread Sergei Trofimovich
commit: a33e0904efca8cfd1eb1134a281134b85e3cf9b9
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sun Sep 13 10:24:21 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Sep 13 10:50:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a33e0904

sys-apps/smartmontools: stable 7.1 for hppa, bug #733800

Package-Manager: Portage-3.0.4, Repoman-3.0.1
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.1.ebuild
index 71e5a72f6d7..bca8212f62b 100644
--- a/sys-apps/smartmontools/smartmontools-7.1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2020-09-07 Thread Sergei Trofimovich
commit: aaa77cf7dea1a4e7a91d288df92fe2f298e2aa8e
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Sep  7 08:37:25 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Sep  7 08:47:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaa77cf7

sys-apps/smartmontools: stable 7.1 for ppc64

stable wrt bug #733800

Package-Manager: Portage-3.0.5, Repoman-3.0.1
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.1.ebuild
index 9112d252fcd..71e5a72f6d7 100644
--- a/sys-apps/smartmontools/smartmontools-7.1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 sparc 
x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2020-08-29 Thread Sam James
commit: 56e6b9a2243a0dfc5748835c5e50984e4858523d
Author: Sam James  gentoo  org>
AuthorDate: Sat Aug 29 23:57:44 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Aug 29 23:57:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56e6b9a2

sys-apps/smartmontools: ppc stable (bug #733800)

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.1.ebuild
index fb41bdc784b..9112d252fcd 100644
--- a/sys-apps/smartmontools/smartmontools-7.1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc 
x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 sparc 
x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2020-08-23 Thread David Seifert
commit: 2e24c2f37fc512bcfcf2c35b2a6eaa90f14dcd41
Author: Steven Johnson  gmail  com>
AuthorDate: Sun Aug 23 08:02:44 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Aug 23 11:36:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e24c2f3

sys-apps/smartmontools: use EROOT instead of EPREFIX in postinst

Closes: https://bugs.gentoo.org/738668
Closes: https://github.com/gentoo/gentoo/pull/17229
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Steven Johnson  gmail.com>
Signed-off-by: David Seifert  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.0-r1.ebuild | 4 ++--
 sys-apps/smartmontools/smartmontools-7.1.ebuild| 4 ++--
 sys-apps/smartmontools/smartmontools-.ebuild   | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
index 285822cc66a..bca8212f62b 100644
--- a/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
@@ -114,8 +114,8 @@ src_install() {
 
 pkg_postinst() {
if use daemon || use update_drivedb; then
-   local initial_db_file="${EPREFIX}/usr/share/${PN}/drivedb.h"
-   local db_path="${EPREFIX}/var/db/${PN}"
+   local initial_db_file="${EROOT}/usr/share/${PN}/drivedb.h"
+   local db_path="${EROOT}/var/db/${PN}"
 
if [[ ! -f "${db_path}/drivedb.h" ]] ; then
# No initial database found

diff --git a/sys-apps/smartmontools/smartmontools-7.1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.1.ebuild
index 2a8ee6a3de6..fb41bdc784b 100644
--- a/sys-apps/smartmontools/smartmontools-7.1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.1.ebuild
@@ -114,8 +114,8 @@ src_install() {
 
 pkg_postinst() {
if use daemon || use update_drivedb; then
-   local initial_db_file="${EPREFIX}/usr/share/${PN}/drivedb.h"
-   local db_path="${EPREFIX}/var/db/${PN}"
+   local initial_db_file="${EROOT}/usr/share/${PN}/drivedb.h"
+   local db_path="${EROOT}/var/db/${PN}"
 
if [[ ! -f "${db_path}/drivedb.h" ]] ; then
# No initial database found

diff --git a/sys-apps/smartmontools/smartmontools-.ebuild 
b/sys-apps/smartmontools/smartmontools-.ebuild
index 984b82cc76d..9c4544209c1 100644
--- a/sys-apps/smartmontools/smartmontools-.ebuild
+++ b/sys-apps/smartmontools/smartmontools-.ebuild
@@ -114,8 +114,8 @@ src_install() {
 
 pkg_postinst() {
if use daemon || use update_drivedb; then
-   local initial_db_file="${EPREFIX}/usr/share/${PN}/drivedb.h"
-   local db_path="${EPREFIX}/var/db/${PN}"
+   local initial_db_file="${EROOT}/usr/share/${PN}/drivedb.h"
+   local db_path="${EROOT}/var/db/${PN}"
 
if [[ ! -f "${db_path}/drivedb.h" ]] ; then
# No initial database found



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2020-08-18 Thread Agostino Sarubbo
commit: 68d3a4684137e728b04e1c49bb61907c2a236fd1
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Aug 18 11:13:24 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Aug 18 11:13:24 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68d3a468

sys-apps/smartmontools: amd64 stable wrt bug #733800

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.1.ebuild
index 6427eb27746..7f70d703360 100644
--- a/sys-apps/smartmontools/smartmontools-7.1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc 
~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc 
~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2020-08-15 Thread Sergei Trofimovich
commit: e64e7402e4d3073d43c4578f48fc78786347
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Aug 15 07:30:30 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Aug 15 07:30:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e64e7402

sys-apps/smartmontools: stable 7.1 for sparc

stable wrt bug #733800

Package-Manager: Portage-3.0.2, Repoman-2.3.23
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.1.ebuild
index bba300640fa..6427eb27746 100644
--- a/sys-apps/smartmontools/smartmontools-7.1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc 
~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc 
~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2020-08-14 Thread Sam James
commit: 6e1eb9d6df83b68f38c4ac5af38e8066156d5c6d
Author: Sam James  gentoo  org>
AuthorDate: Sat Aug 15 06:05:14 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Aug 15 06:05:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e1eb9d6

sys-apps/smartmontools: Stabilize 7.1 arm, #733800

Signed-off-by: Sam James  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.1.ebuild
index 984b82cc76d..bba300640fa 100644
--- a/sys-apps/smartmontools/smartmontools-7.1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc 
~x86 ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2020-05-06 Thread Michał Górny
commit: 47956d9fe46a5860eead311dabc377cfe89c217d
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May  6 16:57:16 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May  6 17:25:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47956d9f

sys-apps/smartmontools: Remove stale sys-freebsd/ deps

Signed-off-by: Michał Górny  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.0-r1.ebuild | 3 ---
 sys-apps/smartmontools/smartmontools-7.1.ebuild| 3 ---
 sys-apps/smartmontools/smartmontools-.ebuild   | 3 ---
 3 files changed, 9 deletions(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
index d7f4252e149..285822cc66a 100644
--- a/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
@@ -25,9 +25,6 @@ DEPEND="
static? ( sys-libs/libcap-ng[static-libs] )
!static? ( sys-libs/libcap-ng )
)
-   kernel_FreeBSD? (
-   sys-freebsd/freebsd-lib[usb]
-   )
selinux? (
sys-libs/libselinux
)"

diff --git a/sys-apps/smartmontools/smartmontools-7.1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.1.ebuild
index c4df5d73b62..984b82cc76d 100644
--- a/sys-apps/smartmontools/smartmontools-7.1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.1.ebuild
@@ -25,9 +25,6 @@ DEPEND="
static? ( sys-libs/libcap-ng[static-libs] )
!static? ( sys-libs/libcap-ng )
)
-   kernel_FreeBSD? (
-   sys-freebsd/freebsd-lib[usb]
-   )
selinux? (
sys-libs/libselinux
)"

diff --git a/sys-apps/smartmontools/smartmontools-.ebuild 
b/sys-apps/smartmontools/smartmontools-.ebuild
index c4df5d73b62..984b82cc76d 100644
--- a/sys-apps/smartmontools/smartmontools-.ebuild
+++ b/sys-apps/smartmontools/smartmontools-.ebuild
@@ -25,9 +25,6 @@ DEPEND="
static? ( sys-libs/libcap-ng[static-libs] )
!static? ( sys-libs/libcap-ng )
)
-   kernel_FreeBSD? (
-   sys-freebsd/freebsd-lib[usb]
-   )
selinux? (
sys-libs/libselinux
)"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2020-02-08 Thread David Seifert
commit: a46dcbae99370e54eb351057cade59c58a512d3e
Author: David Seifert  gentoo  org>
AuthorDate: Sat Feb  8 16:52:32 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Feb  8 16:52:32 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a46dcbae

sys-apps/smartmontools: [QA] Fix UnnecessarySlashStrip

Signed-off-by: David Seifert  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.0-r1.ebuild | 4 ++--
 sys-apps/smartmontools/smartmontools-7.1.ebuild| 4 ++--
 sys-apps/smartmontools/smartmontools-.ebuild   | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
index b63f007b6df..a0786270391 100644
--- a/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
@@ -117,8 +117,8 @@ src_install() {
 
 pkg_postinst() {
if use daemon || use update_drivedb; then
-   local initial_db_file="${EPREFIX%/}/usr/share/${PN}/drivedb.h"
-   local db_path="${EPREFIX%/}/var/db/${PN}"
+   local initial_db_file="${EPREFIX}/usr/share/${PN}/drivedb.h"
+   local db_path="${EPREFIX}/var/db/${PN}"
 
if [[ ! -f "${db_path}/drivedb.h" ]] ; then
# No initial database found

diff --git a/sys-apps/smartmontools/smartmontools-7.1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.1.ebuild
index 9f111458dc6..4cdbb0a0212 100644
--- a/sys-apps/smartmontools/smartmontools-7.1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.1.ebuild
@@ -117,8 +117,8 @@ src_install() {
 
 pkg_postinst() {
if use daemon || use update_drivedb; then
-   local initial_db_file="${EPREFIX%/}/usr/share/${PN}/drivedb.h"
-   local db_path="${EPREFIX%/}/var/db/${PN}"
+   local initial_db_file="${EPREFIX}/usr/share/${PN}/drivedb.h"
+   local db_path="${EPREFIX}/var/db/${PN}"
 
if [[ ! -f "${db_path}/drivedb.h" ]] ; then
# No initial database found

diff --git a/sys-apps/smartmontools/smartmontools-.ebuild 
b/sys-apps/smartmontools/smartmontools-.ebuild
index 9f111458dc6..4cdbb0a0212 100644
--- a/sys-apps/smartmontools/smartmontools-.ebuild
+++ b/sys-apps/smartmontools/smartmontools-.ebuild
@@ -117,8 +117,8 @@ src_install() {
 
 pkg_postinst() {
if use daemon || use update_drivedb; then
-   local initial_db_file="${EPREFIX%/}/usr/share/${PN}/drivedb.h"
-   local db_path="${EPREFIX%/}/var/db/${PN}"
+   local initial_db_file="${EPREFIX}/usr/share/${PN}/drivedb.h"
+   local db_path="${EPREFIX}/var/db/${PN}"
 
if [[ ! -f "${db_path}/drivedb.h" ]] ; then
# No initial database found



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2019-12-31 Thread Lars Wendler
commit: e1e05db62e800d27b30bb74963df6766b27b2250
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Dec 31 15:47:01 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Dec 31 15:47:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1e05db6

sys-apps/smartmontools: Bump to version 7.1

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Lars Wendler  gentoo.org>

 sys-apps/smartmontools/Manifest |   1 +
 sys-apps/smartmontools/smartmontools-7.1.ebuild | 150 
 2 files changed, 151 insertions(+)

diff --git a/sys-apps/smartmontools/Manifest b/sys-apps/smartmontools/Manifest
index 2d1eba91aa0..67556947217 100644
--- a/sys-apps/smartmontools/Manifest
+++ b/sys-apps/smartmontools/Manifest
@@ -1 +1,2 @@
 DIST smartmontools-7.0.tar.gz 944925 BLAKE2B 
41b3894efa05471bf358fca4ba87a765e3a54df68c9a617804a9e0853752c57b68fdbaa9d55fa1462a8fa7de1d6cb5630c66929dfe521be38b180944cb80acc9
 SHA512 
96e18a201182579f699d541539ce393e7bc2191e027cfdf7f87455a63da3a14451574f8fe391232047ac941ace453a017193d0a4987a4edb8f7ed9d5007f0512
+DIST smartmontools-7.1.tar.gz 971468 BLAKE2B 
de3e1b10997903cb9bf6107f1bd1be9587b66af08a94e368dc9ed3aa6d69ba93d6b41d1ba60076275603702d9d0b47b26e376d3c9f020eb18fde5af4b686485b
 SHA512 
440b2a957da10d240a8ef0008bd3358b83adb9eaca0f8d3e049b25d56a139c61dcd0bb4b27898faef6f189a27e159bdca3331e52e445c0eebf35e5d930f9e295

diff --git a/sys-apps/smartmontools/smartmontools-7.1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.1.ebuild
new file mode 100644
index 000..9f111458dc6
--- /dev/null
+++ b/sys-apps/smartmontools/smartmontools-7.1.ebuild
@@ -0,0 +1,150 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit autotools flag-o-matic systemd
+if [[ ${PV} == "" ]] ; then
+   
ESVN_REPO_URI="https://svn.code.sf.net/p/smartmontools/code/trunk/smartmontools";
+   ESVN_PROJECT="smartmontools"
+   inherit subversion
+else
+   SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+fi
+
+DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"
+HOMEPAGE="https://www.smartmontools.org";
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="caps +daemon selinux static systemd update_drivedb"
+
+DEPEND="
+   caps? (
+   static? ( sys-libs/libcap-ng[static-libs] )
+   !static? ( sys-libs/libcap-ng )
+   )
+   kernel_FreeBSD? (
+   sys-freebsd/freebsd-lib[usb]
+   )
+   selinux? (
+   sys-libs/libselinux
+   )"
+RDEPEND="${DEPEND}
+   daemon? ( virtual/mailx )
+   selinux? ( sec-policy/selinux-smartmon )
+   systemd? ( sys-apps/systemd )
+   update_drivedb? (
+   app-crypt/gnupg
+   || (
+   net-misc/curl
+   net-misc/wget
+   www-client/lynx
+   dev-vcs/subversion
+   )
+   )
+"
+
+REQUIRED_USE="( caps? ( daemon ) )"
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   use static && append-ldflags -static
+   # The build installs /etc/init.d/smartd, but we clobber it
+   # in our src_install, so no need to manually delete it.
+   myeconfargs=(
+   --with-drivedbdir="${EPREFIX}/var/db/${PN}" #575292
+   --with-initscriptdir="${EPREFIX}/etc/init.d"
+   #--with-smartdscriptdir="${EPREFIX}/usr/share/${PN}"
+   $(use_with caps libcap-ng)
+   $(use_with selinux)
+   $(use_with systemd libsystemd)
+   $(use_with update_drivedb gnupg)
+   $(use_with update_drivedb update-smart-drivedb)
+   $(usex systemd 
"--with-systemdsystemunitdir=$(systemd_get_systemunitdir)" '')
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   local db_path="/var/db/${PN}"
+
+   if use daemon; then
+   default
+
+   newinitd "${FILESDIR}"/smartd-r1.rc smartd
+   newconfd "${FILESDIR}"/smartd.confd smartd
+   else
+   dosbin smartctl
+   doman smartctl.8
+
+   local DOCS=( AUTHORS ChangeL* COPYING INSTALL NEWS README TODO )
+   einstalldocs
+   fi
+
+   if use update_drivedb ; then
+   if ! use daemon; then
+   dosbin "${S}"/update-smart-drivedb
+   fi
+
+   exeinto /etc/cron.monthly
+   doexe "${FILESDIR}/${PN}-update-drivedb"
+   fi
+
+   if use daemon || use update_drivedb; then
+   keepdir "${db_path}"
+
+   # Install a copy of the initial drivedb.h to /usr/share/${PN}
+   # so that we can access that file later in pkg_postinst
+ 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/files/

2019-05-13 Thread Aaron Bauman
commit: 9d79d619df41ee06865d9f88fb7553bee166d8a9
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sun May  5 12:30:48 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Mon May 13 17:55:37 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d79d619

sys-apps/smartmontools: remove unused file

Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11909
Signed-off-by: Aaron Bauman  gentoo.org>

 sys-apps/smartmontools/files/smartd.systemd | 11 ---
 1 file changed, 11 deletions(-)

diff --git a/sys-apps/smartmontools/files/smartd.systemd 
b/sys-apps/smartmontools/files/smartd.systemd
deleted file mode 100644
index bdcbdbbe306..000
--- a/sys-apps/smartmontools/files/smartd.systemd
+++ /dev/null
@@ -1,11 +0,0 @@
-[Unit]
-Description=Self Monitoring and Reporting Technology (SMART) Daemon
-Documentation=man:smartd(8) man:smartd.conf(5)
-
-[Service]
-ExecStart=/usr/sbin/smartd -n
-ExecReload=/bin/kill -HUP $MAINPID
-StandardOutput=syslog
-
-[Install]
-WantedBy=multi-user.target



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/, sys-apps/smartmontools/files/

2019-05-03 Thread Lars Wendler
commit: 287b41990dfc178eea5b5ba31227a08073941e9e
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri May  3 16:12:04 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri May  3 16:12:19 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=287b4199

sys-apps/smartmontools: Removed old.

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 sys-apps/smartmontools/Manifest|   1 -
 .../smartmontools-6.6-fix-build-on-musl.patch  |  13 --
 .../smartmontools-6.6-set-broadcast-nsid.patch | 104 --
 sys-apps/smartmontools/smartmontools-6.6-r1.ebuild | 155 -
 sys-apps/smartmontools/smartmontools-6.6.ebuild| 152 
 sys-apps/smartmontools/smartmontools-7.0.ebuild| 151 
 6 files changed, 576 deletions(-)

diff --git a/sys-apps/smartmontools/Manifest b/sys-apps/smartmontools/Manifest
index a076447dcc8..2d1eba91aa0 100644
--- a/sys-apps/smartmontools/Manifest
+++ b/sys-apps/smartmontools/Manifest
@@ -1,2 +1 @@
-DIST smartmontools-6.6.tar.gz 903847 BLAKE2B 
6c18884cf763c146abceed47587de0e77cd434673df6a17e4527d160f06a5a8762e6ae490fc5ed13a33f819ba23c1924b49dd13620f4a51e6a40dac20a217523
 SHA512 
64bb533dac29f62ddd662a16a12c97df1af9cbac9ac526ce7af0b3bff9da49cf265a2030d91a7160452b56a67e80d7f34c9b4e45bbb320114f55695e2cb5cfaf
 DIST smartmontools-7.0.tar.gz 944925 BLAKE2B 
41b3894efa05471bf358fca4ba87a765e3a54df68c9a617804a9e0853752c57b68fdbaa9d55fa1462a8fa7de1d6cb5630c66929dfe521be38b180944cb80acc9
 SHA512 
96e18a201182579f699d541539ce393e7bc2191e027cfdf7f87455a63da3a14451574f8fe391232047ac941ace453a017193d0a4987a4edb8f7ed9d5007f0512

diff --git 
a/sys-apps/smartmontools/files/smartmontools-6.6-fix-build-on-musl.patch 
b/sys-apps/smartmontools/files/smartmontools-6.6-fix-build-on-musl.patch
deleted file mode 100644
index 2cd36e0dce5..000
--- a/sys-apps/smartmontools/files/smartmontools-6.6-fix-build-on-musl.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Bug: https://bugs.gentoo.org/644586
-
-Upstream fix: https://www.smartmontools.org/changeset/4603
-
 smartmontools-6.6/os_linux.cpp
-+++ smartmontools-6.6/os_linux.cpp
-@@ -3177,5 +3177,5 @@
-   char path[128];
-   snprintf(path, sizeof(path), "/sys/block/%s/device", name);
--  char * syshostpath = canonicalize_file_name(path);
-+  char * syshostpath = realpath(name, (char *)0);
-   if (!syshostpath)
- return false;

diff --git 
a/sys-apps/smartmontools/files/smartmontools-6.6-set-broadcast-nsid.patch 
b/sys-apps/smartmontools/files/smartmontools-6.6-set-broadcast-nsid.patch
deleted file mode 100644
index e65504d43c6..000
--- a/sys-apps/smartmontools/files/smartmontools-6.6-set-broadcast-nsid.patch
+++ /dev/null
@@ -1,104 +0,0 @@
-fix from upstream
-
-https://www.smartmontools.org/changeset?new=4671@/&old=4670@/
-
-Index: trunk/smartmontools-6.6/ChangeLog
-===
- 2017-12-27  Douglas Gilbert  
- 
-+  nvmecmds.cpp: according to NVMe 1.3a spec, the SMART/
-+  health information log page is global and should take
-+  the global nsid (all ff_s). It also says the Error
-+  info lpage is "global. Broke WD Black PCIe (NVMe)
-+  SSD but worked on Intel SSDs. Fix; could break others.
-+
-+2017-12-27  Douglas Gilbert  
-+
-   os_freebsd.cpp: on error was setting set_nvme_err() to 1,
-   not the actual NVMe status value; fix.
- 
-Index: trunk/smartmontools-6.6/nvmecmds.cpp
-===
-diff --git smartmontools-6.6/nvmecmds.cpp smartmontools-6.6/nvmecmds.cpp
 smartmontools-6.6/nvmecmds.cpp (revision 4670)
-+++ smartmontools-6.6/nvmecmds.cpp (revision 4671)
-@@ -196,7 +196,8 @@
- }
- 
- // Read NVMe log page with identifier LID.
--bool nvme_read_log_page(nvme_device * device, unsigned char lid, void * data, 
unsigned size)
-+bool nvme_read_log_page(nvme_device * device, unsigned char lid, void * data,
-+  unsigned size, bool broadcast_nsid)
- {
-   if (!(4 <= size && size <= 0x4000 && (size % 4) == 0))
- throw std::logic_error("nvme_read_log_page(): invalid size");
-@@ -204,7 +205,7 @@
-   memset(data, 0, size);
-   nvme_cmd_in in;
-   in.set_data_in(nvme_admin_get_log_page, data, size);
--  in.nsid = device->get_nsid();
-+  in.nsid = broadcast_nsid ? 0x : device->get_nsid();
-   in.cdw10 = lid | (((size / 4) - 1) << 16);
- 
-   return nvme_pass_through(device, in);
-@@ -213,7 +214,7 @@
- // Read NVMe Error Information Log.
- bool nvme_read_error_log(nvme_device * device, nvme_error_log_page * 
error_log, unsigned num_entries)
- {
--  if (!nvme_read_log_page(device, 0x01, error_log, num_entries * 
sizeof(*error_log)))
-+  if (!nvme_read_log_page(device, 0x01, error_log, num_entries * 
sizeof(*error_log), true))
- return false;
- 
-   if (isbigendian()) {
-@@ -234,7 +235,7 @@
- // Read NVMe SMART/Health I

[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2019-05-02 Thread Mikle Kolyada
commit: 5e16d1f187fa2d35500333826945a7ec7807f085
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Thu May  2 21:32:29 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Thu May  2 21:32:29 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e16d1f1

sys-apps/smartmontools: alpha stable wrt bug #682592

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="alpha"

 sys-apps/smartmontools/smartmontools-7.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
index 3dd3f74e6c5..73438dd4dad 100644
--- a/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 
~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 
~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2019-04-27 Thread Sergei Trofimovich
commit: 30041ab0985183608900a67871db4959257b68f0
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Apr 27 15:59:46 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Apr 27 15:59:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30041ab0

sys-apps/smartmontools: stable 7.0-r1 for ppc, bug #682592

Package-Manager: Portage-2.3.65, Repoman-2.3.12
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
index 0d88ffd1fd8..52d8c0020bc 100644
--- a/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ~ppc ~ppc64 sparc x86 
~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ~ppc64 sparc x86 
~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2019-04-14 Thread Mikle Kolyada
commit: 7951d293125f90998c903920f56eb14d2764441d
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Apr 14 16:16:40 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Apr 14 16:18:08 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7951d293

sys-apps/smartmontools: arm stable wrt bug #682592

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="arm"

 sys-apps/smartmontools/smartmontools-7.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
index 38185fd4ada..0d88ffd1fd8 100644
--- a/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~mips ~ppc ~ppc64 sparc 
x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ~ppc ~ppc64 sparc x86 
~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2019-04-08 Thread Sergei Trofimovich
commit: cf0f2721610ecad4cd81bc2ed2b831e79aab1330
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Mon Apr  8 21:31:55 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Apr  8 22:07:14 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf0f2721

sys-apps/smartmontools: stable 7.0-r1 for hppa/sparc, bug #682592

Signed-off-by: Rolf Eike Beer  sf-mail.de>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="hppa sparc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
index df089d0c4d8..38185fd4ada 100644
--- a/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~sparc 
x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~mips ~ppc ~ppc64 sparc 
x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2019-04-08 Thread Mikle Kolyada
commit: 6e1dc6a7191d7348f63c8b2a037033da65cf7484
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon Apr  8 15:35:54 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon Apr  8 15:35:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e1dc6a7

sys-apps/smartmontools: amd64 stable wrt bug #682592

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 sys-apps/smartmontools/smartmontools-7.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
index fd712ecac55..df089d0c4d8 100644
--- a/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~sparc 
x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~sparc 
x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2019-04-07 Thread Thomas Deutschmann
commit: 71bd3dec56fb145536cc4a579dc9d3f0bd2d113f
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Mon Apr  8 02:06:36 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Mon Apr  8 02:06:36 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71bd3dec

sys-apps/smartmontools: x86 stable (bug #682592)

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
index 16fabd5975e..fd712ecac55 100644
--- a/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~sparc 
~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~sparc 
x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2019-04-07 Thread Sergei Trofimovich
commit: a42886d08ae2637bb346cc06f43db203b2123588
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Apr  7 20:58:48 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Apr  7 21:00:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a42886d0

sys-apps/smartmontools: stable 7.0-r1 for ia64, bug #682592

Package-Manager: Portage-2.3.62, Repoman-2.3.12
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-apps/smartmontools/smartmontools-7.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild 
b/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
index 7b807da0322..16fabd5975e 100644
--- a/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~sparc 
~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2019-04-01 Thread Lars Wendler
commit: 679dec1eb076d77ca4ecd51b5b9846f3208bfb8d
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Apr  1 16:04:01 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Apr  1 16:04:41 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=679dec1e

sys-apps/smartmontools: Revbump to install shipped systemd unit file

instead of our own one.

Bug: https://bugs.gentoo.org/678990
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 .../{smartmontools-.ebuild => smartmontools-7.0-r1.ebuild} | 3 +--
 sys-apps/smartmontools/smartmontools-.ebuild   | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/sys-apps/smartmontools/smartmontools-.ebuild 
b/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
similarity index 97%
copy from sys-apps/smartmontools/smartmontools-.ebuild
copy to sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
index 46b1cf2cff3..7b807da0322 100644
--- a/sys-apps/smartmontools/smartmontools-.ebuild
+++ b/sys-apps/smartmontools/smartmontools-7.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -79,7 +79,6 @@ src_install() {
 
newinitd "${FILESDIR}"/smartd-r1.rc smartd
newconfd "${FILESDIR}"/smartd.confd smartd
-   systemd_newunit "${FILESDIR}"/smartd.systemd smartd.service
else
dosbin smartctl
doman smartctl.8

diff --git a/sys-apps/smartmontools/smartmontools-.ebuild 
b/sys-apps/smartmontools/smartmontools-.ebuild
index 46b1cf2cff3..7b807da0322 100644
--- a/sys-apps/smartmontools/smartmontools-.ebuild
+++ b/sys-apps/smartmontools/smartmontools-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -79,7 +79,6 @@ src_install() {
 
newinitd "${FILESDIR}"/smartd-r1.rc smartd
newconfd "${FILESDIR}"/smartd.confd smartd
-   systemd_newunit "${FILESDIR}"/smartd.systemd smartd.service
else
dosbin smartctl
doman smartctl.8



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2018-12-31 Thread Lars Wendler
commit: 58c7d390241abcd498e86f62f2b9183ade7f35e4
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Dec 31 10:36:35 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Dec 31 10:39:04 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58c7d390

sys-apps/smartmontools: Bump to version 7.0

Package-Manager: Portage-2.3.53, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 sys-apps/smartmontools/Manifest |   1 +
 sys-apps/smartmontools/smartmontools-7.0.ebuild | 151 
 2 files changed, 152 insertions(+)

diff --git a/sys-apps/smartmontools/Manifest b/sys-apps/smartmontools/Manifest
index a027c49ebfb..4637fa2c24a 100644
--- a/sys-apps/smartmontools/Manifest
+++ b/sys-apps/smartmontools/Manifest
@@ -1,3 +1,4 @@
 DIST smartmontools-6.4.tar.gz 822539 BLAKE2B 
be76ec24cf24b2388a77758a1df5b5b9b19bd455dda26df6c13184051a51feeb0baf164265fcfe15b1d2ac41767d546109dea53cd7ac290d02f6e03b44da454f
 SHA512 
366cd55ec668da1ca8a3d9ba79d5bee6e0c59032936b7f2f161f8fbb1c9f869c505d715cc10562b6241f808bb8b534feaf9d9fd752f6cb1593ee893611742adc
 DIST smartmontools-6.5.tar.gz 855642 BLAKE2B 
25f78de8fd58497cf052e75aef746c15af8d56d2694007c1d6e2f8e31cae3b517babfc52ef73d3ae4bc5104a49e4bac16a48f23f3b3145228997bef0aad823dd
 SHA512 
dca7a6363ab7280ee4197155025f624c978886dcc94fc47b524f6f849138b62c471e966c0d4bf59c7bba50519dc122264618e5ded80a406863ddd10b43d928d3
 DIST smartmontools-6.6.tar.gz 903847 BLAKE2B 
6c18884cf763c146abceed47587de0e77cd434673df6a17e4527d160f06a5a8762e6ae490fc5ed13a33f819ba23c1924b49dd13620f4a51e6a40dac20a217523
 SHA512 
64bb533dac29f62ddd662a16a12c97df1af9cbac9ac526ce7af0b3bff9da49cf265a2030d91a7160452b56a67e80d7f34c9b4e45bbb320114f55695e2cb5cfaf
+DIST smartmontools-7.0.tar.gz 944925 BLAKE2B 
41b3894efa05471bf358fca4ba87a765e3a54df68c9a617804a9e0853752c57b68fdbaa9d55fa1462a8fa7de1d6cb5630c66929dfe521be38b180944cb80acc9
 SHA512 
96e18a201182579f699d541539ce393e7bc2191e027cfdf7f87455a63da3a14451574f8fe391232047ac941ace453a017193d0a4987a4edb8f7ed9d5007f0512

diff --git a/sys-apps/smartmontools/smartmontools-7.0.ebuild 
b/sys-apps/smartmontools/smartmontools-7.0.ebuild
new file mode 100644
index 000..46b1cf2cff3
--- /dev/null
+++ b/sys-apps/smartmontools/smartmontools-7.0.ebuild
@@ -0,0 +1,151 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit autotools flag-o-matic systemd
+if [[ ${PV} == "" ]] ; then
+   
ESVN_REPO_URI="https://svn.code.sf.net/p/smartmontools/code/trunk/smartmontools";
+   ESVN_PROJECT="smartmontools"
+   inherit subversion
+else
+   SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos"
+fi
+
+DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"
+HOMEPAGE="https://www.smartmontools.org";
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="caps +daemon selinux static systemd update_drivedb"
+
+DEPEND="
+   caps? (
+   static? ( sys-libs/libcap-ng[static-libs] )
+   !static? ( sys-libs/libcap-ng )
+   )
+   kernel_FreeBSD? (
+   sys-freebsd/freebsd-lib[usb]
+   )
+   selinux? (
+   sys-libs/libselinux
+   )"
+RDEPEND="${DEPEND}
+   daemon? ( virtual/mailx )
+   selinux? ( sec-policy/selinux-smartmon )
+   systemd? ( sys-apps/systemd )
+   update_drivedb? (
+   app-crypt/gnupg
+   || (
+   net-misc/curl
+   net-misc/wget
+   www-client/lynx
+   dev-vcs/subversion
+   )
+   )
+"
+
+REQUIRED_USE="( caps? ( daemon ) )"
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   use static && append-ldflags -static
+   # The build installs /etc/init.d/smartd, but we clobber it
+   # in our src_install, so no need to manually delete it.
+   myeconfargs=(
+   --with-drivedbdir="${EPREFIX}/var/db/${PN}" #575292
+   --with-initscriptdir="${EPREFIX}/etc/init.d"
+   #--with-smartdscriptdir="${EPREFIX}/usr/share/${PN}"
+   $(use_with caps libcap-ng)
+   $(use_with selinux)
+   $(use_with systemd libsystemd)
+   $(use_with update_drivedb gnupg)
+   $(use_with update_drivedb update-smart-drivedb)
+   $(usex systemd 
"--with-systemdsystemunitdir=$(systemd_get_systemunitdir)" '')
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   local db_path="/var/db/${PN}"
+
+   if use daemon; then
+   default
+
+   newinitd "${FILESDIR}"/smartd-r1.rc smartd
+   newconfd "${FILESDIR}"/smartd.confd smartd
+   systemd_newunit "${FILESDIR}"/smartd.systemd smartd.service

[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2018-12-31 Thread Lars Wendler
commit: 2f540901e9e8fed3c4e544ca5c0107a51cf192e9
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Dec 31 10:38:50 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Dec 31 10:39:07 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f540901

sys-apps/smartmontools: Removed old.

Package-Manager: Portage-2.3.53, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 sys-apps/smartmontools/Manifest|   2 -
 sys-apps/smartmontools/metadata.xml|   1 -
 sys-apps/smartmontools/smartmontools-6.4-r1.ebuild |  97 --
 sys-apps/smartmontools/smartmontools-6.4.ebuild|  65 -
 sys-apps/smartmontools/smartmontools-6.5-r1.ebuild | 148 -
 5 files changed, 313 deletions(-)

diff --git a/sys-apps/smartmontools/Manifest b/sys-apps/smartmontools/Manifest
index 4637fa2c24a..a076447dcc8 100644
--- a/sys-apps/smartmontools/Manifest
+++ b/sys-apps/smartmontools/Manifest
@@ -1,4 +1,2 @@
-DIST smartmontools-6.4.tar.gz 822539 BLAKE2B 
be76ec24cf24b2388a77758a1df5b5b9b19bd455dda26df6c13184051a51feeb0baf164265fcfe15b1d2ac41767d546109dea53cd7ac290d02f6e03b44da454f
 SHA512 
366cd55ec668da1ca8a3d9ba79d5bee6e0c59032936b7f2f161f8fbb1c9f869c505d715cc10562b6241f808bb8b534feaf9d9fd752f6cb1593ee893611742adc
-DIST smartmontools-6.5.tar.gz 855642 BLAKE2B 
25f78de8fd58497cf052e75aef746c15af8d56d2694007c1d6e2f8e31cae3b517babfc52ef73d3ae4bc5104a49e4bac16a48f23f3b3145228997bef0aad823dd
 SHA512 
dca7a6363ab7280ee4197155025f624c978886dcc94fc47b524f6f849138b62c471e966c0d4bf59c7bba50519dc122264618e5ded80a406863ddd10b43d928d3
 DIST smartmontools-6.6.tar.gz 903847 BLAKE2B 
6c18884cf763c146abceed47587de0e77cd434673df6a17e4527d160f06a5a8762e6ae490fc5ed13a33f819ba23c1924b49dd13620f4a51e6a40dac20a217523
 SHA512 
64bb533dac29f62ddd662a16a12c97df1af9cbac9ac526ce7af0b3bff9da49cf265a2030d91a7160452b56a67e80d7f34c9b4e45bbb320114f55695e2cb5cfaf
 DIST smartmontools-7.0.tar.gz 944925 BLAKE2B 
41b3894efa05471bf358fca4ba87a765e3a54df68c9a617804a9e0853752c57b68fdbaa9d55fa1462a8fa7de1d6cb5630c66929dfe521be38b180944cb80acc9
 SHA512 
96e18a201182579f699d541539ce393e7bc2191e027cfdf7f87455a63da3a14451574f8fe391232047ac941ace453a017193d0a4987a4edb8f7ed9d5007f0512

diff --git a/sys-apps/smartmontools/metadata.xml 
b/sys-apps/smartmontools/metadata.xml
index 0ae4667bf8d..cb72f5108e4 100644
--- a/sys-apps/smartmontools/metadata.xml
+++ b/sys-apps/smartmontools/metadata.xml
@@ -8,7 +8,6 @@
 
Build against sys-libs/libcap-ng to allow 
smartd to drop its privileges.
Install the monitoring daemon (smartd) and 
associated scripts.
-   Do not install the monitoring daemon and 
associated scripts.
Install a script to update the drivedb 
file.
 
 

diff --git a/sys-apps/smartmontools/smartmontools-6.4-r1.ebuild 
b/sys-apps/smartmontools/smartmontools-6.4-r1.ebuild
deleted file mode 100644
index c5512a3aad9..000
--- a/sys-apps/smartmontools/smartmontools-6.4-r1.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit flag-o-matic systemd
-if [[ ${PV} == "" ]] ; then
-   
ESVN_REPO_URI="https://svn.code.sf.net/p/smartmontools/code/trunk/smartmontools";
-   ESVN_PROJECT="smartmontools"
-   inherit subversion autotools
-else
-   SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos"
-fi
-
-DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"
-HOMEPAGE="https://www.smartmontools.org";
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="caps minimal selinux static"
-
-DEPEND="
-   caps? (
-   static? ( sys-libs/libcap-ng[static-libs] )
-   !static? ( sys-libs/libcap-ng )
-   )
-   selinux? (
-   sys-libs/libselinux
-   )"
-RDEPEND="${DEPEND}
-   !minimal? ( virtual/mailx )
-   selinux? ( sec-policy/selinux-smartmon )
-"
-
-src_prepare() {
-   # 580424
-   sed '/^SRCEXPR/s@http:@https:@' \
-   -i update-smart-drivedb.in \
-   || die
-   if [[ ${PV} == "" ]] ; then
-   eautoreconf
-   fi
-}
-
-src_configure() {
-   use minimal && einfo "Skipping the monitoring daemon for minimal build."
-   use static && append-ldflags -static
-   # The build installs /etc/init.d/smartd, but we clobber it
-   # in our src_install, so no need to manually delete it.
-   myeconfargs=(
-   --docdir="${EPREFIX}/usr/share/doc/${PF}"
-   --with-drivedbdir=/var/db/${PN} #575292
-   --with-initscriptdir="${EPREFIX}/etc/init.d"
-   $(use_with caps libcap-ng)
-   $(use_with selinux)
-   $(systemd_with_unitdir)
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
- 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2018-12-31 Thread Lars Wendler
commit: 6c33d4cc1e9ca5b61d1ee2d831b004219ffcb5ff
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Dec 31 10:37:21 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Dec 31 10:39:05 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c33d4cc

sys-apps/smartmontools: Synced live ebuild.

Package-Manager: Portage-2.3.53, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 sys-apps/smartmontools/smartmontools-.ebuild | 13 +++--
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/sys-apps/smartmontools/smartmontools-.ebuild 
b/sys-apps/smartmontools/smartmontools-.ebuild
index a2e1ad35a30..46b1cf2cff3 100644
--- a/sys-apps/smartmontools/smartmontools-.ebuild
+++ b/sys-apps/smartmontools/smartmontools-.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI="6"
 
 inherit autotools flag-o-matic systemd
 if [[ ${PV} == "" ]] ; then
@@ -18,7 +18,7 @@ HOMEPAGE="https://www.smartmontools.org";
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="caps +daemon selinux static update_drivedb"
+IUSE="caps +daemon selinux static systemd update_drivedb"
 
 DEPEND="
caps? (
@@ -34,6 +34,7 @@ DEPEND="
 RDEPEND="${DEPEND}
daemon? ( virtual/mailx )
selinux? ( sec-policy/selinux-smartmon )
+   systemd? ( sys-apps/systemd )
update_drivedb? (
app-crypt/gnupg
|| (
@@ -49,7 +50,6 @@ REQUIRED_USE="( caps? ( daemon ) )"
 
 src_prepare() {
default
-
eautoreconf
 }
 
@@ -58,14 +58,15 @@ src_configure() {
# The build installs /etc/init.d/smartd, but we clobber it
# in our src_install, so no need to manually delete it.
myeconfargs=(
-   --docdir="${EPREFIX}/usr/share/doc/${PF}"
--with-drivedbdir="${EPREFIX}/var/db/${PN}" #575292
--with-initscriptdir="${EPREFIX}/etc/init.d"
+   #--with-smartdscriptdir="${EPREFIX}/usr/share/${PN}"
$(use_with caps libcap-ng)
$(use_with selinux)
-   --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
+   $(use_with systemd libsystemd)
$(use_with update_drivedb gnupg)
$(use_with update_drivedb update-smart-drivedb)
+   $(usex systemd 
"--with-systemdsystemunitdir=$(systemd_get_systemunitdir)" '')
)
econf "${myeconfargs[@]}"
 }



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/, sys-apps/smartmontools/files/

2018-05-31 Thread Mike Frysinger
commit: 539248ba464c744f81d3c297ee20a061d31e88c1
Author: Gwendal Grignou  chromium  org>
AuthorDate: Thu May 31 18:39:17 2018 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Thu May 31 18:40:05 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=539248ba

sys-apps/smartmontools: add upstream fix for broadcast nsid on nvme devices

 .../smartmontools-6.6-set-broadcast-nsid.patch | 104 ++
 sys-apps/smartmontools/smartmontools-6.6-r1.ebuild | 155 +
 2 files changed, 259 insertions(+)

diff --git 
a/sys-apps/smartmontools/files/smartmontools-6.6-set-broadcast-nsid.patch 
b/sys-apps/smartmontools/files/smartmontools-6.6-set-broadcast-nsid.patch
new file mode 100644
index 000..e65504d43c6
--- /dev/null
+++ b/sys-apps/smartmontools/files/smartmontools-6.6-set-broadcast-nsid.patch
@@ -0,0 +1,104 @@
+fix from upstream
+
+https://www.smartmontools.org/changeset?new=4671@/&old=4670@/
+
+Index: trunk/smartmontools-6.6/ChangeLog
+===
+ 2017-12-27  Douglas Gilbert  
+ 
++  nvmecmds.cpp: according to NVMe 1.3a spec, the SMART/
++  health information log page is global and should take
++  the global nsid (all ff_s). It also says the Error
++  info lpage is "global. Broke WD Black PCIe (NVMe)
++  SSD but worked on Intel SSDs. Fix; could break others.
++
++2017-12-27  Douglas Gilbert  
++
+   os_freebsd.cpp: on error was setting set_nvme_err() to 1,
+   not the actual NVMe status value; fix.
+ 
+Index: trunk/smartmontools-6.6/nvmecmds.cpp
+===
+diff --git smartmontools-6.6/nvmecmds.cpp smartmontools-6.6/nvmecmds.cpp
+--- smartmontools-6.6/nvmecmds.cpp (revision 4670)
 smartmontools-6.6/nvmecmds.cpp (revision 4671)
+@@ -196,7 +196,8 @@
+ }
+ 
+ // Read NVMe log page with identifier LID.
+-bool nvme_read_log_page(nvme_device * device, unsigned char lid, void * data, 
unsigned size)
++bool nvme_read_log_page(nvme_device * device, unsigned char lid, void * data,
++  unsigned size, bool broadcast_nsid)
+ {
+   if (!(4 <= size && size <= 0x4000 && (size % 4) == 0))
+ throw std::logic_error("nvme_read_log_page(): invalid size");
+@@ -204,7 +205,7 @@
+   memset(data, 0, size);
+   nvme_cmd_in in;
+   in.set_data_in(nvme_admin_get_log_page, data, size);
+-  in.nsid = device->get_nsid();
++  in.nsid = broadcast_nsid ? 0x : device->get_nsid();
+   in.cdw10 = lid | (((size / 4) - 1) << 16);
+ 
+   return nvme_pass_through(device, in);
+@@ -213,7 +214,7 @@
+ // Read NVMe Error Information Log.
+ bool nvme_read_error_log(nvme_device * device, nvme_error_log_page * 
error_log, unsigned num_entries)
+ {
+-  if (!nvme_read_log_page(device, 0x01, error_log, num_entries * 
sizeof(*error_log)))
++  if (!nvme_read_log_page(device, 0x01, error_log, num_entries * 
sizeof(*error_log), true))
+ return false;
+ 
+   if (isbigendian()) {
+@@ -234,7 +235,7 @@
+ // Read NVMe SMART/Health Information log.
+ bool nvme_read_smart_log(nvme_device * device, nvme_smart_log & smart_log)
+ {
+-  if (!nvme_read_log_page(device, 0x02, &smart_log, sizeof(smart_log)))
++  if (!nvme_read_log_page(device, 0x02, &smart_log, sizeof(smart_log), true))
+ return false;
+ 
+   if (isbigendian()) {
+Index: trunk/smartmontools-6.6/nvmecmds.h
+===
+diff --git smartmontools-6.6/nvmecmds.h smartmontools-6.6/nvmecmds.h
+--- smartmontools-6.6/nvmecmds.h   (revision 4670)
 smartmontools-6.6/nvmecmds.h   (revision 4671)
+@@ -248,7 +248,8 @@
+ bool nvme_read_id_ns(nvme_device * device, unsigned nsid, 
smartmontools::nvme_id_ns & id_ns);
+ 
+ // Read NVMe log page with identifier LID.
+-bool nvme_read_log_page(nvme_device * device, unsigned char lid, void * data, 
unsigned size);
++bool nvme_read_log_page(nvme_device * device, unsigned char lid, void * data,
++  unsigned size, bool broadcast_nsid);
+ 
+ // Read NVMe Error Information Log.
+ bool nvme_read_error_log(nvme_device * device, 
smartmontools::nvme_error_log_page * error_log,
+Index: trunk/smartmontools-6.6/nvmeprint.cpp
+===
+diff --git smartmontools-6.6/nvmeprint.cpp smartmontools-6.6/nvmeprint.cpp
+--- smartmontools-6.6/nvmeprint.cpp(revision 4670)
 smartmontools-6.6/nvmeprint.cpp(revision 4671)
+@@ -473,9 +473,21 @@
+   if (options.log_page_size) {
+ // Align size to dword boundary
+ unsigned size = ((options.log_page_size + 4-1) / 4) * 4;
++bool broadcast_nsid;
+ raw_buffer log_buf(size);
+ 
+-if (!nvme_read_log_page(device, options.log_page, log_buf.data(), size)) {
++switch (options.log_page) {
++case 1:
++case 2:
++case 3:
++  broadcast_nsid = true;
++  break;
++default:
++  broadcast_nsid = false;
++  

[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2018-03-03 Thread Tobias Klausmann
commit: ff834a78690abed8765e6fb891d203f664ea
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Sat Mar  3 12:17:36 2018 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Sat Mar  3 13:12:17 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff834a78

sys-apps/smartmontools-6.6-r0: alpha stable

Gentoo-Bug: http://bugs.gentoo.org/643012

 sys-apps/smartmontools/smartmontools-6.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-6.6.ebuild 
b/sys-apps/smartmontools/smartmontools-6.6.ebuild
index 5edbb8d138d..ec775cb6bee 100644
--- a/sys-apps/smartmontools/smartmontools-6.6.ebuild
+++ b/sys-apps/smartmontools/smartmontools-6.6.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 
~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos"
+   KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 
~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/files/, sys-apps/smartmontools/

2018-01-14 Thread Thomas Deutschmann
commit: 245e296b2cf5918d52b52e33af1822d424732ebe
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Jan 14 19:10:55 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Jan 14 19:11:11 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=245e296b

sys-apps/smartmontools: Fix build on MUSL

Closes: https://bugs.gentoo.org/644586
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 .../files/smartmontools-6.6-fix-build-on-musl.patch | 13 +
 sys-apps/smartmontools/smartmontools-6.6.ebuild |  2 ++
 2 files changed, 15 insertions(+)

diff --git 
a/sys-apps/smartmontools/files/smartmontools-6.6-fix-build-on-musl.patch 
b/sys-apps/smartmontools/files/smartmontools-6.6-fix-build-on-musl.patch
new file mode 100644
index 000..2cd36e0dce5
--- /dev/null
+++ b/sys-apps/smartmontools/files/smartmontools-6.6-fix-build-on-musl.patch
@@ -0,0 +1,13 @@
+Bug: https://bugs.gentoo.org/644586
+
+Upstream fix: https://www.smartmontools.org/changeset/4603
+
+--- smartmontools-6.6/os_linux.cpp
 smartmontools-6.6/os_linux.cpp
+@@ -3177,5 +3177,5 @@
+   char path[128];
+   snprintf(path, sizeof(path), "/sys/block/%s/device", name);
+-  char * syshostpath = canonicalize_file_name(path);
++  char * syshostpath = realpath(name, (char *)0);
+   if (!syshostpath)
+ return false;

diff --git a/sys-apps/smartmontools/smartmontools-6.6.ebuild 
b/sys-apps/smartmontools/smartmontools-6.6.ebuild
index e96fcf91947..5edbb8d138d 100644
--- a/sys-apps/smartmontools/smartmontools-6.6.ebuild
+++ b/sys-apps/smartmontools/smartmontools-6.6.ebuild
@@ -47,6 +47,8 @@ RDEPEND="${DEPEND}
 
 REQUIRED_USE="( caps? ( daemon ) )"
 
+PATCHES=( "${FILESDIR}"/${P}-fix-build-on-musl.patch )
+
 src_prepare() {
default
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2018-01-09 Thread Markus Meier
commit: 72057f31e64f8abdc8ed52701fc0293f523f25f7
Author: Markus Meier  gentoo  org>
AuthorDate: Wed Jan 10 06:13:49 2018 +
Commit: Markus Meier  gentoo  org>
CommitDate: Wed Jan 10 06:17:21 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72057f31

sys-apps/smartmontools: arm stable, bug #643012

Package-Manager: Portage-2.3.13, Repoman-2.3.3
RepoMan-Options: --include-arches="arm"

 sys-apps/smartmontools/smartmontools-6.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-6.6.ebuild 
b/sys-apps/smartmontools/smartmontools-6.6.ebuild
index 457eba7d44c..e96fcf91947 100644
--- a/sys-apps/smartmontools/smartmontools-6.6.ebuild
+++ b/sys-apps/smartmontools/smartmontools-6.6.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 
~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 
~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2018-01-07 Thread Mikle Kolyada
commit: 88fdd8d4ca6b1ae346583790d6f8ed3549e224ef
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Jan  7 23:40:51 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Jan  7 23:40:51 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88fdd8d4

sys-apps/smartmontools: amd64 stable wrt bug #643012

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 sys-apps/smartmontools/smartmontools-6.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-6.6.ebuild 
b/sys-apps/smartmontools/smartmontools-6.6.ebuild
index 12dba68cb90..457eba7d44c 100644
--- a/sys-apps/smartmontools/smartmontools-6.6.ebuild
+++ b/sys-apps/smartmontools/smartmontools-6.6.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 
~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 
~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2018-01-06 Thread Sergei Trofimovich
commit: 466a8d803fc1ae4b9834148fa3789886e381781b
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Jan  6 14:24:49 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Jan  6 14:25:50 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=466a8d80

sys-apps/smartmontools: stable 6.6 for ia64/ppc/ppc64, bug #643012

Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --include-arches="ia64 ppc ppc64"

 sys-apps/smartmontools/smartmontools-6.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-6.6.ebuild 
b/sys-apps/smartmontools/smartmontools-6.6.ebuild
index 349e7421220..12dba68cb90 100644
--- a/sys-apps/smartmontools/smartmontools-6.6.ebuild
+++ b/sys-apps/smartmontools/smartmontools-6.6.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~mips ~ppc ~ppc64 sparc 
x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 
~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2018-01-03 Thread Sergei Trofimovich
commit: 6eadffa44250ac95ae48da9749c487d2dcf84ba4
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Wed Jan  3 07:19:57 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Jan  3 09:03:47 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6eadffa4

sys-apps/smartmontools: stable 6.6 for hppa, bug #643012

Package-Manager: Portage-2.3.13, Repoman-2.3.3
RepoMan-Options: --include-arches="hppa"

 sys-apps/smartmontools/smartmontools-6.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-6.6.ebuild 
b/sys-apps/smartmontools/smartmontools-6.6.ebuild
index bc535759f5c..08ff1631b9c 100644
--- a/sys-apps/smartmontools/smartmontools-6.6.ebuild
+++ b/sys-apps/smartmontools/smartmontools-6.6.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc 
~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~mips ~ppc ~ppc64 sparc 
~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2018-01-02 Thread Sergei Trofimovich
commit: 813e228ec1db9fe378a9a30063aef6fe81b4186a
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Tue Jan  2 11:06:06 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Jan  2 19:54:16 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=813e228e

sys-apps/smartmontools: stable 6.6 for sparc, bug #643012

Package-Manager: Portage-2.3.13, Repoman-2.3.3
RepoMan-Options: --include-arches="sparc"

 sys-apps/smartmontools/smartmontools-6.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/smartmontools/smartmontools-6.6.ebuild 
b/sys-apps/smartmontools/smartmontools-6.6.ebuild
index 4b26ca97c63..bc535759f5c 100644
--- a/sys-apps/smartmontools/smartmontools-6.6.ebuild
+++ b/sys-apps/smartmontools/smartmontools-6.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc 
~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2017-11-06 Thread Lars Wendler
commit: 751e14de3412f452fd51e691be9453b5c36a4faa
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Nov  6 10:24:16 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Nov  6 10:44:30 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=751e14de

sys-apps/smartmontools: Bump to version 6.6

Package-Manager: Portage-2.3.13, Repoman-2.3.4

 sys-apps/smartmontools/Manifest |   1 +
 sys-apps/smartmontools/smartmontools-6.6.ebuild | 150 
 2 files changed, 151 insertions(+)

diff --git a/sys-apps/smartmontools/Manifest b/sys-apps/smartmontools/Manifest
index 6ca4e0b4e1a..2578812e688 100644
--- a/sys-apps/smartmontools/Manifest
+++ b/sys-apps/smartmontools/Manifest
@@ -1,2 +1,3 @@
 DIST smartmontools-6.4.tar.gz 822539 SHA256 
eab75600c1eda9c34b13097db71138ab376f3dad8a6a4667fb4d1d081feb7a85 SHA512 
366cd55ec668da1ca8a3d9ba79d5bee6e0c59032936b7f2f161f8fbb1c9f869c505d715cc10562b6241f808bb8b534feaf9d9fd752f6cb1593ee893611742adc
 WHIRLPOOL 
72af8a0a4754bd75da9e98a008c64c083579fe27bdbd0655da81c8fe7a258dbc305cafd05f2f21d1954918ab8ff040cf1d54b916a1ce82fb8da64ba2e49b4de0
 DIST smartmontools-6.5.tar.gz 855642 SHA256 
89e8bb080130bc6ce148573ba5bb91bfe30236b64b1b5bbca26515d4b5c945bc SHA512 
dca7a6363ab7280ee4197155025f624c978886dcc94fc47b524f6f849138b62c471e966c0d4bf59c7bba50519dc122264618e5ded80a406863ddd10b43d928d3
 WHIRLPOOL 
639bb5c847c4e0e0f7156b764140f4382f650826eb3d59db6a712468e944a40788c87bbbe0149b9a4d1480947492b007b5875969e611213409f247ff4383fbd6
+DIST smartmontools-6.6.tar.gz 903847 SHA256 
51f43d0fb064fccaf823bbe68cf0d317d0895ff895aa353b3339a3b316a53054 SHA512 
64bb533dac29f62ddd662a16a12c97df1af9cbac9ac526ce7af0b3bff9da49cf265a2030d91a7160452b56a67e80d7f34c9b4e45bbb320114f55695e2cb5cfaf
 WHIRLPOOL 
7a3977ae069ecf52f9de67077cf67d56a5888bec159ef7e2b19977f821fed8d8b5bca872c6df17cf12a9cb21c0df37dd9bbb44f295774ef93e93f9552bb3

diff --git a/sys-apps/smartmontools/smartmontools-6.6.ebuild 
b/sys-apps/smartmontools/smartmontools-6.6.ebuild
new file mode 100644
index 000..4b26ca97c63
--- /dev/null
+++ b/sys-apps/smartmontools/smartmontools-6.6.ebuild
@@ -0,0 +1,150 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools flag-o-matic systemd
+if [[ ${PV} == "" ]] ; then
+   
ESVN_REPO_URI="https://svn.code.sf.net/p/smartmontools/code/trunk/smartmontools";
+   ESVN_PROJECT="smartmontools"
+   inherit subversion
+else
+   SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos"
+fi
+
+DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"
+HOMEPAGE="https://www.smartmontools.org";
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="caps +daemon selinux static update_drivedb"
+
+DEPEND="
+   caps? (
+   static? ( sys-libs/libcap-ng[static-libs] )
+   !static? ( sys-libs/libcap-ng )
+   )
+   kernel_FreeBSD? (
+   sys-freebsd/freebsd-lib[usb]
+   )
+   selinux? (
+   sys-libs/libselinux
+   )"
+RDEPEND="${DEPEND}
+   daemon? ( virtual/mailx )
+   selinux? ( sec-policy/selinux-smartmon )
+   update_drivedb? (
+   app-crypt/gnupg
+   || (
+   net-misc/curl
+   net-misc/wget
+   www-client/lynx
+   dev-vcs/subversion
+   )
+   )
+"
+
+REQUIRED_USE="( caps? ( daemon ) )"
+
+src_prepare() {
+   default
+
+   eautoreconf
+}
+
+src_configure() {
+   use static && append-ldflags -static
+   # The build installs /etc/init.d/smartd, but we clobber it
+   # in our src_install, so no need to manually delete it.
+   myeconfargs=(
+   --docdir="${EPREFIX}/usr/share/doc/${PF}"
+   --with-drivedbdir="${EPREFIX}/var/db/${PN}" #575292
+   --with-initscriptdir="${EPREFIX}/etc/init.d"
+   $(use_with caps libcap-ng)
+   $(use_with selinux)
+   --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
+   $(use_with update_drivedb gnupg)
+   $(use_with update_drivedb update-smart-drivedb)
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   local db_path="/var/db/${PN}"
+
+   if use daemon; then
+   default
+
+   newinitd "${FILESDIR}"/smartd-r1.rc smartd
+   newconfd "${FILESDIR}"/smartd.confd smartd
+   systemd_newunit "${FILESDIR}"/smartd.systemd smartd.service
+   else
+   dosbin smartctl
+   doman smartctl.8
+
+   local DOCS=( AUTHORS ChangeL* COPYING INSTALL NEWS README TODO )
+   einstalldocs
+   fi
+
+   if use update_drivedb ; then

[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2017-11-06 Thread Lars Wendler
commit: b0b53323dbce3b22988a67c3c031acbee0d749f7
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Nov  6 10:28:14 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Nov  6 10:44:32 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0b53323

sys-apps/smartmontools: Sync live ebuild.

Package-Manager: Portage-2.3.13, Repoman-2.3.4

 sys-apps/smartmontools/smartmontools-.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-.ebuild 
b/sys-apps/smartmontools/smartmontools-.ebuild
index 499584db4c3..4b26ca97c63 100644
--- a/sys-apps/smartmontools/smartmontools-.ebuild
+++ b/sys-apps/smartmontools/smartmontools-.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="6"
+EAPI=6
 
 inherit autotools flag-o-matic systemd
 if [[ ${PV} == "" ]] ; then
@@ -35,6 +35,7 @@ RDEPEND="${DEPEND}
daemon? ( virtual/mailx )
selinux? ( sec-policy/selinux-smartmon )
update_drivedb? (
+   app-crypt/gnupg
|| (
net-misc/curl
net-misc/wget
@@ -63,6 +64,7 @@ src_configure() {
$(use_with caps libcap-ng)
$(use_with selinux)
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
+   $(use_with update_drivedb gnupg)
$(use_with update_drivedb update-smart-drivedb)
)
econf "${myeconfargs[@]}"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2017-11-06 Thread Lars Wendler
commit: 52b53ded827d83f7ea3769d06c051d12897eb18f
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Nov  6 10:28:44 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Nov  6 10:44:33 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52b53ded

sys-apps/smartmontools: Removed old.

Package-Manager: Portage-2.3.13, Repoman-2.3.4

 sys-apps/smartmontools/smartmontools-6.5.ebuild | 103 
 1 file changed, 103 deletions(-)

diff --git a/sys-apps/smartmontools/smartmontools-6.5.ebuild 
b/sys-apps/smartmontools/smartmontools-6.5.ebuild
deleted file mode 100644
index dfe72e1dfdd..000
--- a/sys-apps/smartmontools/smartmontools-6.5.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit flag-o-matic systemd
-if [[ ${PV} == "" ]] ; then
-   
ESVN_REPO_URI="https://svn.code.sf.net/p/smartmontools/code/trunk/smartmontools";
-   ESVN_PROJECT="smartmontools"
-   inherit subversion autotools
-else
-   SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos"
-fi
-
-DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"
-HOMEPAGE="https://www.smartmontools.org";
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="caps minimal selinux static update_drivedb"
-
-DEPEND="
-   caps? (
-   static? ( sys-libs/libcap-ng[static-libs] )
-   !static? ( sys-libs/libcap-ng )
-   )
-   selinux? (
-   sys-libs/libselinux
-   )"
-RDEPEND="${DEPEND}
-   !minimal? ( virtual/mailx )
-   selinux? ( sec-policy/selinux-smartmon )
-"
-
-src_prepare() {
-   if [[ ${PV} == "" ]] ; then
-   eautoreconf
-   fi
-}
-
-src_configure() {
-   use minimal && einfo "Skipping the monitoring daemon for minimal build."
-   use static && append-ldflags -static
-   # The build installs /etc/init.d/smartd, but we clobber it
-   # in our src_install, so no need to manually delete it.
-   myeconfargs=(
-   --docdir="${EPREFIX}/usr/share/doc/${PF}"
-   --with-drivedbdir="${EPREFIX}/var/db/${PN}" #575292
-   --with-initscriptdir="${EPREFIX}/etc/init.d"
-   $(use_with caps libcap-ng)
-   $(use_with selinux)
-   $(systemd_with_unitdir)
-   $(use_with update_drivedb update-smart-drivedb)
-   )
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   local db_path="/var/db/${PN}"
-
-   if use minimal ; then
-   dosbin smartctl
-   doman smartctl.8
-   else
-   default
-   newinitd "${FILESDIR}"/smartd-r1.rc smartd
-   newconfd "${FILESDIR}"/smartd.confd smartd
-
-   keepdir "${db_path}"
-   if use update_drivedb ; then
-   # Move drivedb.h file out of PM's sight (bug #575292)
-   mv "${ED}${db_path}/drivedb.h" "${T}" || die
-
-   exeinto /etc/cron.monthly
-   doexe "${FILESDIR}/${PN}-update-drivedb"
-   fi
-   fi
-}
-
-pkg_postinst() {
-   if ! use minimal ; then
-   local db_path="/var/db/${PN}"
-
-   if [[ -f "${db_path}/drivedb.h" ]] ; then
-   ewarn "WARNING! The existing copy of the drive database 
has been replaced with the version that"
-   ewarn "was shipped with this release of ${PN}. You may 
want to update the"
-   ewarn "database by: "
-
-   if ! use update_drivedb ; then
-   ewarn "re-merging ${PN} with 
USE='update_drivedb', then"
-   fi
-   ewarn "running the following command as root:"
-   ewarn ""
-   ewarn "/usr/sbin/update-smart-drivedb"
-   fi
-
-   if use update_drivedb ; then
-   # Move drivedb.h to /var/db/${PN} (bug #575292)
-   mv "${T}"/drivedb.h "${db_path}" || die
-   fi
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2017-10-31 Thread Thomas Deutschmann
commit: 2e30c20f28ed66d57cc2af664acd7a0fcc0cc853
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Tue Oct 31 21:54:58 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue Oct 31 21:54:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e30c20f

sys-apps/smartmontools: Update live ebuild

Incorporate changes from commit ad8950f967e37dcff1fb1ab9fcd2e0b4001b0a69.

Package-Manager: Portage-2.3.13, Repoman-2.3.4

 sys-apps/smartmontools/smartmontools-.ebuild | 115 ---
 1 file changed, 80 insertions(+), 35 deletions(-)

diff --git a/sys-apps/smartmontools/smartmontools-.ebuild 
b/sys-apps/smartmontools/smartmontools-.ebuild
index dfe72e1dfdd..499584db4c3 100644
--- a/sys-apps/smartmontools/smartmontools-.ebuild
+++ b/sys-apps/smartmontools/smartmontools-.ebuild
@@ -1,13 +1,13 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI="6"
 
-inherit flag-o-matic systemd
+inherit autotools flag-o-matic systemd
 if [[ ${PV} == "" ]] ; then

ESVN_REPO_URI="https://svn.code.sf.net/p/smartmontools/code/trunk/smartmontools";
ESVN_PROJECT="smartmontools"
-   inherit subversion autotools
+   inherit subversion
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos"
@@ -18,29 +18,41 @@ HOMEPAGE="https://www.smartmontools.org";
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="caps minimal selinux static update_drivedb"
+IUSE="caps +daemon selinux static update_drivedb"
 
 DEPEND="
caps? (
static? ( sys-libs/libcap-ng[static-libs] )
!static? ( sys-libs/libcap-ng )
)
+   kernel_FreeBSD? (
+   sys-freebsd/freebsd-lib[usb]
+   )
selinux? (
sys-libs/libselinux
)"
 RDEPEND="${DEPEND}
-   !minimal? ( virtual/mailx )
+   daemon? ( virtual/mailx )
selinux? ( sec-policy/selinux-smartmon )
+   update_drivedb? (
+   || (
+   net-misc/curl
+   net-misc/wget
+   www-client/lynx
+   dev-vcs/subversion
+   )
+   )
 "
 
+REQUIRED_USE="( caps? ( daemon ) )"
+
 src_prepare() {
-   if [[ ${PV} == "" ]] ; then
-   eautoreconf
-   fi
+   default
+
+   eautoreconf
 }
 
 src_configure() {
-   use minimal && einfo "Skipping the monitoring daemon for minimal build."
use static && append-ldflags -static
# The build installs /etc/init.d/smartd, but we clobber it
# in our src_install, so no need to manually delete it.
@@ -50,7 +62,7 @@ src_configure() {
--with-initscriptdir="${EPREFIX}/etc/init.d"
$(use_with caps libcap-ng)
$(use_with selinux)
-   $(systemd_with_unitdir)
+   --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
$(use_with update_drivedb update-smart-drivedb)
)
econf "${myeconfargs[@]}"
@@ -59,45 +71,78 @@ src_configure() {
 src_install() {
local db_path="/var/db/${PN}"
 
-   if use minimal ; then
-   dosbin smartctl
-   doman smartctl.8
-   else
+   if use daemon; then
default
+
newinitd "${FILESDIR}"/smartd-r1.rc smartd
newconfd "${FILESDIR}"/smartd.confd smartd
+   systemd_newunit "${FILESDIR}"/smartd.systemd smartd.service
+   else
+   dosbin smartctl
+   doman smartctl.8
 
-   keepdir "${db_path}"
-   if use update_drivedb ; then
-   # Move drivedb.h file out of PM's sight (bug #575292)
-   mv "${ED}${db_path}/drivedb.h" "${T}" || die
+   local DOCS=( AUTHORS ChangeL* COPYING INSTALL NEWS README TODO )
+   einstalldocs
+   fi
 
-   exeinto /etc/cron.monthly
-   doexe "${FILESDIR}/${PN}-update-drivedb"
+   if use update_drivedb ; then
+   if ! use daemon; then
+   dosbin "${S}"/update-smart-drivedb
fi
+
+   exeinto /etc/cron.monthly
+   doexe "${FILESDIR}/${PN}-update-drivedb"
fi
+
+   if use daemon || use update_drivedb; then
+   keepdir "${db_path}"
+
+   # Install a copy of the initial drivedb.h to /usr/share/${PN}
+   # so that we can access that file later in pkg_postinst
+   # even when dealing with binary packages (bug #575292)
+   insinto /usr/share/${PN}
+   doins "${S}"/drivedb.h
+   fi
+
+   # Make sure we never install drivedb.h into the db location
+   # of the acutal image 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/files/, sys-apps/smartmontools/

2017-10-31 Thread Thomas Deutschmann
commit: ad8950f967e37dcff1fb1ab9fcd2e0b4001b0a69
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Tue Oct 31 21:51:15 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue Oct 31 21:52:56 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad8950f9

sys-apps/smartmontools: Rev bump to address several problems

- EAPI updated to EAPI 6.

- Depend on sys-freebsd/freebsd-lib[usb] on FreeBSD. (bug #552054)

- Update smartd systemd service to reflect that we don't provide a general
  config file for the service. Users are supposed to overwrite the
  provided service if they want to pass additional
  parameters. (bug #527648)

- We no longer install executable files in /usr/share/{PN}. (bug #622072)

- "minimal" USE flag was replaced by "daemon" USE flag to better indicate
  what the USE flag does.

- "caps" USE flag now requires "daemon" USE flag.

- It is now possible to use the "update_drivedb" USE flag
  alone (i.e. without the "minimal", now "daemon" USE flag). (bug #635700)

- The drive database logic was rewritten: Per default we try to install
  the drive database shipped with the package. If there's already a drive
  database installed we will not replace the database anymore in
  assumption that the user has updated the database in the meantime and
  want to preserve the changes.
  A warning will be displayed in this case with an instruction how to
  update or restore the default drive database shipped with the package.
  The new logic now also works when using binary packages. (bug #575292)

- RDEPENDs on net-misc/curl, net-misc/wget, www-client/lynx and
  dev-vcs/subversion (just one of them is required!) were added when using
  "update_drivedb" USE flag.

Closes: https://bugs.gentoo.org/552054
Closes: https://bugs.gentoo.org/527648
Closes: https://bugs.gentoo.org/622072
Closes: https://bugs.gentoo.org/635700
Closes: https://bugs.gentoo.org/575292
Package-Manager: Portage-2.3.13, Repoman-2.3.4

 sys-apps/smartmontools/files/smartd.systemd|  11 ++
 sys-apps/smartmontools/metadata.xml|   2 +
 sys-apps/smartmontools/smartmontools-6.5-r1.ebuild | 148 +
 3 files changed, 161 insertions(+)

diff --git a/sys-apps/smartmontools/files/smartd.systemd 
b/sys-apps/smartmontools/files/smartd.systemd
new file mode 100644
index 000..bdcbdbbe306
--- /dev/null
+++ b/sys-apps/smartmontools/files/smartd.systemd
@@ -0,0 +1,11 @@
+[Unit]
+Description=Self Monitoring and Reporting Technology (SMART) Daemon
+Documentation=man:smartd(8) man:smartd.conf(5)
+
+[Service]
+ExecStart=/usr/sbin/smartd -n
+ExecReload=/bin/kill -HUP $MAINPID
+StandardOutput=syslog
+
+[Install]
+WantedBy=multi-user.target

diff --git a/sys-apps/smartmontools/metadata.xml 
b/sys-apps/smartmontools/metadata.xml
index b3555884800..0ae4667bf8d 100644
--- a/sys-apps/smartmontools/metadata.xml
+++ b/sys-apps/smartmontools/metadata.xml
@@ -6,6 +6,8 @@
Gentoo Base System
 
 
+   Build against sys-libs/libcap-ng to allow 
smartd to drop its privileges.
+   Install the monitoring daemon (smartd) and 
associated scripts.
Do not install the monitoring daemon and 
associated scripts.
Install a script to update the drivedb 
file.
 

diff --git a/sys-apps/smartmontools/smartmontools-6.5-r1.ebuild 
b/sys-apps/smartmontools/smartmontools-6.5-r1.ebuild
new file mode 100644
index 000..499584db4c3
--- /dev/null
+++ b/sys-apps/smartmontools/smartmontools-6.5-r1.ebuild
@@ -0,0 +1,148 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit autotools flag-o-matic systemd
+if [[ ${PV} == "" ]] ; then
+   
ESVN_REPO_URI="https://svn.code.sf.net/p/smartmontools/code/trunk/smartmontools";
+   ESVN_PROJECT="smartmontools"
+   inherit subversion
+else
+   SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos"
+fi
+
+DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"
+HOMEPAGE="https://www.smartmontools.org";
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="caps +daemon selinux static update_drivedb"
+
+DEPEND="
+   caps? (
+   static? ( sys-libs/libcap-ng[static-libs] )
+   !static? ( sys-libs/libcap-ng )
+   )
+   kernel_FreeBSD? (
+   sys-freebsd/freebsd-lib[usb]
+   )
+   selinux? (
+   sys-libs/libselinux
+   )"
+RDEPEND="${DEPEND}
+   daemon? ( virtual/mailx )
+   selinux? ( sec-policy/selinux-smartmon )
+   update_drivedb? (
+   || (
+   net-misc/curl
+   net-misc/wget
+   www-client/lynx
+   dev-vcs/subversion
+   )
+   )
+"
+
+REQUIRED_USE="( caps? ( daemon ) )"
+
+src_prepar

[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2017-02-14 Thread Robin H. Johnson
commit: 4ff35505002108dd867c86588e1ffeb03c7aef59
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Tue Feb 14 21:26:50 2017 +
Commit: Robin H. Johnson  gentoo  org>
CommitDate: Tue Feb 14 21:31:31 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ff35505

sys-apps/smartmontools: add ~arm64.

Runtime testing performed on Lenovo CaviumX thanks to Packet.net.

Package-Manager: portage-2.3.2
Signed-off-by: Robin H. Johnson  gentoo.org>

 sys-apps/smartmontools/smartmontools-6.5.ebuild  | 2 +-
 sys-apps/smartmontools/smartmontools-.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/smartmontools/smartmontools-6.5.ebuild 
b/sys-apps/smartmontools/smartmontools-6.5.ebuild
index 43244a8b4d..f1def8ba4d 100644
--- a/sys-apps/smartmontools/smartmontools-6.5.ebuild
+++ b/sys-apps/smartmontools/smartmontools-6.5.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion autotools
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"

diff --git a/sys-apps/smartmontools/smartmontools-.ebuild 
b/sys-apps/smartmontools/smartmontools-.ebuild
index 43244a8b4d..f1def8ba4d 100644
--- a/sys-apps/smartmontools/smartmontools-.ebuild
+++ b/sys-apps/smartmontools/smartmontools-.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion autotools
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos"
 fi
 
 DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2017-01-27 Thread Robin H. Johnson
commit: 8bf890eba651c222a76f06d2fd3bfdb076cc811e
Author: James Broadhead  gmail  com>
AuthorDate: Fri Jan 27 20:11:04 2017 +
Commit: Robin H. Johnson  gentoo  org>
CommitDate: Fri Jan 27 22:12:19 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bf890eb

sys-apps/smartmontools: fix update warning

- update warning about updating the drivedb, so that it notices the
useflag
- fix description so that it's short enough (adapted from the
smartmontools website) -- repoman
- quote some variables -- shellcheck
- update the copy of the warning

Fixes: https://bugs.gentoo.org/show_bug.cgi?id=587372
(cherry picked from commit 890093680d63a1b50d02e6408b55d4d748fcdbdb)
Signed-off-by: Robin H. Johnson  gentoo.org>
Fixes: https://github.com/gentoo/gentoo/pull/3114

 sys-apps/smartmontools/smartmontools-6.4-r1.ebuild | 12 ++--
 sys-apps/smartmontools/smartmontools-6.4.ebuild|  4 ++--
 sys-apps/smartmontools/smartmontools-6.5.ebuild| 21 +
 sys-apps/smartmontools/smartmontools-.ebuild   | 21 +
 4 files changed, 34 insertions(+), 24 deletions(-)

diff --git a/sys-apps/smartmontools/smartmontools-6.4-r1.ebuild 
b/sys-apps/smartmontools/smartmontools-6.4-r1.ebuild
index 3746b94..a5f54df 100644
--- a/sys-apps/smartmontools/smartmontools-6.4-r1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-6.4-r1.ebuild
@@ -14,7 +14,7 @@ else
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux 
~x64-macos"
 fi
 
-DESCRIPTION="Self-Monitoring, Analysis and Reporting Technology System 
(S.M.A.R.T.) monitoring tools"
+DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"
 HOMEPAGE="https://www.smartmontools.org";
 
 LICENSE="GPL-2"
@@ -72,8 +72,8 @@ src_install() {
newconfd "${FILESDIR}"/smartd.confd smartd
 
# Move drivedb.h file out of PM's sight (bug #575292)
-   mv "${ED}"${db_path}/drivedb.h "${T}" || die
-   keepdir ${db_path}
+   mv "${ED}${db_path}/drivedb.h" "${T}" || die
+   keepdir "${db_path}"
 
exeinto /etc/cron.monthly
doexe "${FILESDIR}"/${PN}-update-drivedb
@@ -85,14 +85,14 @@ pkg_postinst() {
local db_path="/var/db/${PN}"
 
if [[ -f "${db_path}/drivedb.h" ]] ; then
-   ewarn "WARNING! The drive database file has been 
replaced with the version that"
-   ewarn "got shipped with this release of ${PN}. You may 
want to update the"
+   ewarn "WARNING! The existing copy of the drive database 
has been replaced with the version that"
+   ewarn "was shipped with this release of ${PN}. You may 
want to update the"
ewarn "database by running the following command as 
root:"
ewarn ""
ewarn "/usr/sbin/update-smart-drivedb"
fi
 
# Move drivedb.h to /var/db/${PN} (bug #575292)
-   mv "${T}"/drivedb.h ${db_path} || die
+   mv "${T}"/drivedb.h "${db_path}" || die
fi
 }

diff --git a/sys-apps/smartmontools/smartmontools-6.4.ebuild 
b/sys-apps/smartmontools/smartmontools-6.4.ebuild
index ca0d4ff..49a2c8c 100644
--- a/sys-apps/smartmontools/smartmontools-6.4.ebuild
+++ b/sys-apps/smartmontools/smartmontools-6.4.ebuild
@@ -14,8 +14,8 @@ else
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd 
~x86-freebsd ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~x64-macos"
 fi
 
-DESCRIPTION="Self-Monitoring, Analysis and Reporting Technology System 
(S.M.A.R.T.) monitoring tools"
-HOMEPAGE="http://smartmontools.sourceforge.net/";
+DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"
+HOMEPAGE="https://www.smartmontools.org";
 
 LICENSE="GPL-2"
 SLOT="0"

diff --git a/sys-apps/smartmontools/smartmontools-6.5.ebuild 
b/sys-apps/smartmontools/smartmontools-6.5.ebuild
index 5d33f5c..ff73205 100644
--- a/sys-apps/smartmontools/smartmontools-6.5.ebuild
+++ b/sys-apps/smartmontools/smartmontools-6.5.ebuild
@@ -14,7 +14,7 @@ else
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux 
~x64-macos"
 fi
 
-DESCRIPTION="Self-Monitoring, Analysis and Reporting Technology System 
(S.M.A.R.T.) monitoring tools"
+DESCRIPTION="Tools to monitor storage systems to provide advanced warning of 
disk degradation"
 HOMEPAGE="https://www.smartmontools.org";
 
 LICENSE="GPL-2"
@@ -68,13 +68,13 @@ src_install() {
newinitd "${FILESDIR}"/smartd-r1.rc smartd
newconfd "${FILESDIR}"/smartd.confd smartd
 
-   keepdir ${db_path}
+   keepdir "${db_path}"

[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2016-10-30 Thread Sven Wegener
commit: 8add81a374cfbfcaeb56cc414e52bf95b065caa1
Author: Sven Wegener  gentoo  org>
AuthorDate: Sun Aug 21 10:49:06 2016 +
Commit: Sven Wegener  gentoo  org>
CommitDate: Sun Oct 30 20:04:25 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8add81a3

sys-apps/smartmontools: Update SourceForge SVN URLs

Package-Manager: portage-2.2.28

 sys-apps/smartmontools/smartmontools-6.4-r1.ebuild | 2 +-
 sys-apps/smartmontools/smartmontools-6.4.ebuild| 4 ++--
 sys-apps/smartmontools/smartmontools-6.5.ebuild| 2 +-
 sys-apps/smartmontools/smartmontools-.ebuild   | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/sys-apps/smartmontools/smartmontools-6.4-r1.ebuild 
b/sys-apps/smartmontools/smartmontools-6.4-r1.ebuild
index dc78a90..3746b94 100644
--- a/sys-apps/smartmontools/smartmontools-6.4-r1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-6.4-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=5
 
 inherit flag-o-matic systemd
 if [[ ${PV} == "" ]] ; then
-   
ESVN_REPO_URI="https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk/smartmontools";
+   
ESVN_REPO_URI="https://svn.code.sf.net/p/smartmontools/code/trunk/smartmontools";
ESVN_PROJECT="smartmontools"
inherit subversion autotools
 else

diff --git a/sys-apps/smartmontools/smartmontools-6.4.ebuild 
b/sys-apps/smartmontools/smartmontools-6.4.ebuild
index 380f99f..ca0d4ff 100644
--- a/sys-apps/smartmontools/smartmontools-6.4.ebuild
+++ b/sys-apps/smartmontools/smartmontools-6.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -6,7 +6,7 @@ EAPI="4"
 
 inherit flag-o-matic systemd
 if [[ ${PV} == "" ]] ; then
-   
ESVN_REPO_URI="https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk/smartmontools";
+   
ESVN_REPO_URI="https://svn.code.sf.net/p/smartmontools/code/trunk/smartmontools";
ESVN_PROJECT="smartmontools"
inherit subversion autotools
 else

diff --git a/sys-apps/smartmontools/smartmontools-6.5.ebuild 
b/sys-apps/smartmontools/smartmontools-6.5.ebuild
index cea715a..5d33f5c 100644
--- a/sys-apps/smartmontools/smartmontools-6.5.ebuild
+++ b/sys-apps/smartmontools/smartmontools-6.5.ebuild
@@ -6,7 +6,7 @@ EAPI=5
 
 inherit flag-o-matic systemd
 if [[ ${PV} == "" ]] ; then
-   
ESVN_REPO_URI="https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk/smartmontools";
+   
ESVN_REPO_URI="https://svn.code.sf.net/p/smartmontools/code/trunk/smartmontools";
ESVN_PROJECT="smartmontools"
inherit subversion autotools
 else

diff --git a/sys-apps/smartmontools/smartmontools-.ebuild 
b/sys-apps/smartmontools/smartmontools-.ebuild
index cea715a..5d33f5c 100644
--- a/sys-apps/smartmontools/smartmontools-.ebuild
+++ b/sys-apps/smartmontools/smartmontools-.ebuild
@@ -6,7 +6,7 @@ EAPI=5
 
 inherit flag-o-matic systemd
 if [[ ${PV} == "" ]] ; then
-   
ESVN_REPO_URI="https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk/smartmontools";
+   
ESVN_REPO_URI="https://svn.code.sf.net/p/smartmontools/code/trunk/smartmontools";
ESVN_PROJECT="smartmontools"
inherit subversion autotools
 else



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2016-07-02 Thread Zac Medico
commit: f3e3daffb4dfa66b836974297763538f707692f5
Author: Zac Medico  gentoo  org>
AuthorDate: Sun Jul  3 00:55:04 2016 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sun Jul  3 00:55:38 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3e3daff

sys-apps/smartmontools: add ${EPREFIX} to econf --with-drivedbdir

Package-Manager: portage-2.3.0

 sys-apps/smartmontools/smartmontools-6.5.ebuild  | 2 +-
 sys-apps/smartmontools/smartmontools-.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/smartmontools/smartmontools-6.5.ebuild 
b/sys-apps/smartmontools/smartmontools-6.5.ebuild
index ff70dcf..cea715a 100644
--- a/sys-apps/smartmontools/smartmontools-6.5.ebuild
+++ b/sys-apps/smartmontools/smartmontools-6.5.ebuild
@@ -47,7 +47,7 @@ src_configure() {
# in our src_install, so no need to manually delete it.
myeconfargs=(
--docdir="${EPREFIX}/usr/share/doc/${PF}"
-   --with-drivedbdir=/var/db/${PN} #575292
+   --with-drivedbdir="${EPREFIX}/var/db/${PN}" #575292
--with-initscriptdir="${EPREFIX}/etc/init.d"
$(use_with caps libcap-ng)
$(use_with selinux)

diff --git a/sys-apps/smartmontools/smartmontools-.ebuild 
b/sys-apps/smartmontools/smartmontools-.ebuild
index ff70dcf..cea715a 100644
--- a/sys-apps/smartmontools/smartmontools-.ebuild
+++ b/sys-apps/smartmontools/smartmontools-.ebuild
@@ -47,7 +47,7 @@ src_configure() {
# in our src_install, so no need to manually delete it.
myeconfargs=(
--docdir="${EPREFIX}/usr/share/doc/${PF}"
-   --with-drivedbdir=/var/db/${PN} #575292
+   --with-drivedbdir="${EPREFIX}/var/db/${PN}" #575292
--with-initscriptdir="${EPREFIX}/etc/init.d"
$(use_with caps libcap-ng)
$(use_with selinux)



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2016-05-07 Thread Lars Wendler
commit: 214e57f5eb11f3f00dd62246cb7b3085e0b958d0
Author: Lars Wendler  gentoo  org>
AuthorDate: Sat May  7 19:02:20 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sat May  7 19:02:20 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=214e57f5

sys-apps/smartmontools: Bump to version 6.5

Synced live ebuild.

Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler  gentoo.org>

 sys-apps/smartmontools/Manifest|  1 +
 sys-apps/smartmontools/metadata.xml|  1 +
 ...ntools-.ebuild => smartmontools-6.5.ebuild} | 46 --
 sys-apps/smartmontools/smartmontools-.ebuild   | 46 --
 4 files changed, 54 insertions(+), 40 deletions(-)

diff --git a/sys-apps/smartmontools/Manifest b/sys-apps/smartmontools/Manifest
index 66f21cd..6ca4e0b 100644
--- a/sys-apps/smartmontools/Manifest
+++ b/sys-apps/smartmontools/Manifest
@@ -1 +1,2 @@
 DIST smartmontools-6.4.tar.gz 822539 SHA256 
eab75600c1eda9c34b13097db71138ab376f3dad8a6a4667fb4d1d081feb7a85 SHA512 
366cd55ec668da1ca8a3d9ba79d5bee6e0c59032936b7f2f161f8fbb1c9f869c505d715cc10562b6241f808bb8b534feaf9d9fd752f6cb1593ee893611742adc
 WHIRLPOOL 
72af8a0a4754bd75da9e98a008c64c083579fe27bdbd0655da81c8fe7a258dbc305cafd05f2f21d1954918ab8ff040cf1d54b916a1ce82fb8da64ba2e49b4de0
+DIST smartmontools-6.5.tar.gz 855642 SHA256 
89e8bb080130bc6ce148573ba5bb91bfe30236b64b1b5bbca26515d4b5c945bc SHA512 
dca7a6363ab7280ee4197155025f624c978886dcc94fc47b524f6f849138b62c471e966c0d4bf59c7bba50519dc122264618e5ded80a406863ddd10b43d928d3
 WHIRLPOOL 
639bb5c847c4e0e0f7156b764140f4382f650826eb3d59db6a712468e944a40788c87bbbe0149b9a4d1480947492b007b5875969e611213409f247ff4383fbd6

diff --git a/sys-apps/smartmontools/metadata.xml 
b/sys-apps/smartmontools/metadata.xml
index 997fef2..b355588 100644
--- a/sys-apps/smartmontools/metadata.xml
+++ b/sys-apps/smartmontools/metadata.xml
@@ -7,6 +7,7 @@
 
 
Do not install the monitoring daemon and 
associated scripts.
+   Install a script to update the drivedb 
file.
 
 
smartmontools

diff --git a/sys-apps/smartmontools/smartmontools-.ebuild 
b/sys-apps/smartmontools/smartmontools-6.5.ebuild
similarity index 67%
copy from sys-apps/smartmontools/smartmontools-.ebuild
copy to sys-apps/smartmontools/smartmontools-6.5.ebuild
index 9b4bce3..ff70dcf 100644
--- a/sys-apps/smartmontools/smartmontools-.ebuild
+++ b/sys-apps/smartmontools/smartmontools-6.5.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="https://www.smartmontools.org";
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="caps minimal selinux static"
+IUSE="caps minimal selinux static update_drivedb"
 
 DEPEND="
caps? (
@@ -35,10 +35,6 @@ RDEPEND="${DEPEND}
 "
 
 src_prepare() {
-   # 580424
-   sed '/^SRCEXPR/s@http:@https:@' \
-   -i update-smart-drivedb.in \
-   || die
if [[ ${PV} == "" ]] ; then
eautoreconf
fi
@@ -56,11 +52,14 @@ src_configure() {
$(use_with caps libcap-ng)
$(use_with selinux)
$(systemd_with_unitdir)
+   $(use_with update_drivedb update-smart-drivedb)
)
econf "${myeconfargs[@]}"
 }
 
 src_install() {
+   local db_path="/var/db/${PN}"
+
if use minimal ; then
dosbin smartctl
doman smartctl.8
@@ -68,26 +67,33 @@ src_install() {
default
newinitd "${FILESDIR}"/smartd-r1.rc smartd
newconfd "${FILESDIR}"/smartd.confd smartd
-   fi
 
-   # Move drivedb.h file out of PM's sight (bug #575292)
-   mv "${ED}"/var/db/${PN}/drivedb.h "${T}" || die
+   keepdir ${db_path}
+   if use update_drivedb ; then
+   # Move drivedb.h file out of PM's sight (bug #575292)
+   mv "${ED}"${db_path}/drivedb.h "${T}" || die
 
-   exeinto /etc/cron.monthly
-   doexe "${FILESDIR}"/${PN}-update-drivedb
+   exeinto /etc/cron.monthly
+   doexe "${FILESDIR}"/${PN}-update-drivedb
+   fi
+   fi
 }
 
 pkg_postinst() {
-   local db_path="/var/db/${PN}"
+   if ! use minimal ; then
+   local db_path="/var/db/${PN}"
 
-   if [[ -f "${db_path}/drivedb.h" ]] ; then
-   ewarn "WARNING! The drive database file has been replaced with 
the version that"
-   ewarn "got shipped with this release of ${PN}. You may want to 
update the"
-   ewarn "database by running the following command as root:"
-   ewarn ""
-   ewarn "/usr/sbin/update-smart-drivedb"
-   fi
+   if [[ -f "${db_path}/drivedb.h" ]] ; then
+   ewarn "WARNING! The drive database file has been 
replaced with the version that"
+   ewarn "got shipped with this release of ${PN}. You may 
want to update the"
+   ewar

[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2016-04-18 Thread Lars Wendler
commit: 3c73a8c4682e8dc02d69cbbfe073af19da744d4b
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Apr 19 06:01:56 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Apr 19 06:01:56 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c73a8c4

sys-apps/smartmontools: Fixed installation with USE=minimal.

Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler  gentoo.org>

 sys-apps/smartmontools/smartmontools-6.4-r1.ebuild | 34 --
 1 file changed, 18 insertions(+), 16 deletions(-)

diff --git a/sys-apps/smartmontools/smartmontools-6.4-r1.ebuild 
b/sys-apps/smartmontools/smartmontools-6.4-r1.ebuild
index b000e3b..dc78a90 100644
--- a/sys-apps/smartmontools/smartmontools-6.4-r1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-6.4-r1.ebuild
@@ -70,27 +70,29 @@ src_install() {
default
newinitd "${FILESDIR}"/smartd-r1.rc smartd
newconfd "${FILESDIR}"/smartd.confd smartd
-   fi
 
-   # Move drivedb.h file out of PM's sight (bug #575292)
-   mv "${ED}"${db_path}/drivedb.h "${T}" || die
-   keepdir ${db_path}
+   # Move drivedb.h file out of PM's sight (bug #575292)
+   mv "${ED}"${db_path}/drivedb.h "${T}" || die
+   keepdir ${db_path}
 
-   exeinto /etc/cron.monthly
-   doexe "${FILESDIR}"/${PN}-update-drivedb
+   exeinto /etc/cron.monthly
+   doexe "${FILESDIR}"/${PN}-update-drivedb
+   fi
 }
 
 pkg_postinst() {
-   local db_path="/var/db/${PN}"
+   if ! use minimal ; then
+   local db_path="/var/db/${PN}"
 
-   if [[ -f "${db_path}/drivedb.h" ]] ; then
-   ewarn "WARNING! The drive database file has been replaced with 
the version that"
-   ewarn "got shipped with this release of ${PN}. You may want to 
update the"
-   ewarn "database by running the following command as root:"
-   ewarn ""
-   ewarn "/usr/sbin/update-smart-drivedb"
-   fi
+   if [[ -f "${db_path}/drivedb.h" ]] ; then
+   ewarn "WARNING! The drive database file has been 
replaced with the version that"
+   ewarn "got shipped with this release of ${PN}. You may 
want to update the"
+   ewarn "database by running the following command as 
root:"
+   ewarn ""
+   ewarn "/usr/sbin/update-smart-drivedb"
+   fi
 
-   # Move drivedb.h to /var/db/${PN} (bug #575292)
-   mv "${T}"/drivedb.h ${db_path} || die
+   # Move drivedb.h to /var/db/${PN} (bug #575292)
+   mv "${T}"/drivedb.h ${db_path} || die
+   fi
 }



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2016-04-18 Thread Lars Wendler
commit: 73c52170e46f94aa54947291e1c31249b32326f5
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Apr 18 17:25:38 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Apr 18 17:25:53 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73c52170

sys-apps/smartmontools: Keep temporarily empty /var/db/smartmontools directory.

This should fix isntallation with paludis.

Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler  gentoo.org>

 sys-apps/smartmontools/smartmontools-6.4-r1.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-6.4-r1.ebuild 
b/sys-apps/smartmontools/smartmontools-6.4-r1.ebuild
index 9b4bce3..b000e3b 100644
--- a/sys-apps/smartmontools/smartmontools-6.4-r1.ebuild
+++ b/sys-apps/smartmontools/smartmontools-6.4-r1.ebuild
@@ -61,6 +61,8 @@ src_configure() {
 }
 
 src_install() {
+   local db_path="/var/db/${PN}"
+
if use minimal ; then
dosbin smartctl
doman smartctl.8
@@ -71,7 +73,8 @@ src_install() {
fi
 
# Move drivedb.h file out of PM's sight (bug #575292)
-   mv "${ED}"/var/db/${PN}/drivedb.h "${T}" || die
+   mv "${ED}"${db_path}/drivedb.h "${T}" || die
+   keepdir ${db_path}
 
exeinto /etc/cron.monthly
doexe "${FILESDIR}"/${PN}-update-drivedb



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2016-04-18 Thread Lars Wendler
commit: 61db8396562ecc08ba98ae491e453ec74f4a69d3
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Apr 18 13:45:37 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Apr 18 13:56:26 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61db8396

sys-apps/smartmontools: Removed old.

Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler  gentoo.org>

 sys-apps/smartmontools/Manifest |  1 -
 sys-apps/smartmontools/smartmontools-6.3.ebuild | 66 -
 2 files changed, 67 deletions(-)

diff --git a/sys-apps/smartmontools/Manifest b/sys-apps/smartmontools/Manifest
index 6128fd7..66f21cd 100644
--- a/sys-apps/smartmontools/Manifest
+++ b/sys-apps/smartmontools/Manifest
@@ -1,2 +1 @@
-DIST smartmontools-6.3.tar.gz 809790 SHA256 
a777065d1a5965d71b3672e054b09b7696200ec73aaf45ab636f34016538fe19 SHA512 
59f13ca510618a65d4d227978fbcf9d0f67efbf75c425357ff79b283db650e1fc2ffb27cd37c32dc963c43130a2b982ef7b50e11673c92ae5a4369965fabe524
 WHIRLPOOL 
4574df8f2e01b1ef7b7874f0376021c6cce2ddd152de5d3db4c055d2e134d77d9a1cbbb372f43525f3ee2fcde2857c27f5feca96c7056dce4b5f86d7324a2087
 DIST smartmontools-6.4.tar.gz 822539 SHA256 
eab75600c1eda9c34b13097db71138ab376f3dad8a6a4667fb4d1d081feb7a85 SHA512 
366cd55ec668da1ca8a3d9ba79d5bee6e0c59032936b7f2f161f8fbb1c9f869c505d715cc10562b6241f808bb8b534feaf9d9fd752f6cb1593ee893611742adc
 WHIRLPOOL 
72af8a0a4754bd75da9e98a008c64c083579fe27bdbd0655da81c8fe7a258dbc305cafd05f2f21d1954918ab8ff040cf1d54b916a1ce82fb8da64ba2e49b4de0

diff --git a/sys-apps/smartmontools/smartmontools-6.3.ebuild 
b/sys-apps/smartmontools/smartmontools-6.3.ebuild
deleted file mode 100644
index 2792ca6..000
--- a/sys-apps/smartmontools/smartmontools-6.3.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-
-inherit flag-o-matic systemd
-if [[ ${PV} == "" ]] ; then
-   
ESVN_REPO_URI="https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk/smartmontools";
-   ESVN_PROJECT="smartmontools"
-   inherit subversion autotools
-else
-   SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd 
~x86-freebsd ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~x64-macos"
-fi
-
-DESCRIPTION="Self-Monitoring, Analysis and Reporting Technology System 
(S.M.A.R.T.) monitoring tools"
-HOMEPAGE="http://smartmontools.sourceforge.net/";
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="caps minimal selinux static"
-
-DEPEND="
-   caps? (
-   static? ( sys-libs/libcap-ng[static-libs] )
-   !static? ( sys-libs/libcap-ng )
-   )
-   selinux? (
-   sys-libs/libselinux
-   )"
-RDEPEND="${DEPEND}
-   !minimal? ( virtual/mailx )
-   selinux? ( sec-policy/selinux-smartmon )
-"
-
-src_prepare() {
-   if [[ ${PV} == "" ]] ; then
-   #./autogen.sh
-   eautoreconf
-   fi
-}
-
-src_configure() {
-   use minimal && einfo "Skipping the monitoring daemon for minimal build."
-   use static && append-ldflags -static
-   # The build installs /etc/init.d/smartd, but we clobber it
-   # in our src_install, so no need to manually delete it.
-   econf \
-   --with-docdir="${EPREFIX}/usr/share/doc/${PF}" \
-   --with-initscriptdir="${EPREFIX}/etc/init.d" \
-   $(use_with caps libcap-ng) \
-   $(use_with selinux) \
-   $(systemd_with_unitdir)
-}
-
-src_install() {
-   if use minimal ; then
-   dosbin smartctl
-   doman smartctl.8
-   else
-   default
-   newinitd "${FILESDIR}"/smartd-r1.rc smartd
-   newconfd "${FILESDIR}"/smartd.confd smartd
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/files/, sys-apps/smartmontools/

2016-04-18 Thread Lars Wendler
commit: 13b11d0a5c7a197c66ef8cd986d475c2b215cc64
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Apr 18 13:44:31 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Apr 18 13:56:23 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13b11d0a

sys-apps/smartmontools: Revbump to fix bugs #575292 and #580424

Don't install drivedb.h into /usr and don't add it to the PM's file
database (#575292). Fix download location of latest drivedb.h file
(#580424).

Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler  gentoo.org>

 sys-apps/smartmontools/files/smartd-r1.rc  |  4 +-
 .../files/smartmontools-update-drivedb |  3 ++
 ...ols-.ebuild => smartmontools-6.4-r1.ebuild} | 53 +-
 sys-apps/smartmontools/smartmontools-.ebuild   | 53 +-
 4 files changed, 89 insertions(+), 24 deletions(-)

diff --git a/sys-apps/smartmontools/files/smartd-r1.rc 
b/sys-apps/smartmontools/files/smartd-r1.rc
index 336bc4e..32e12b7 100644
--- a/sys-apps/smartmontools/files/smartd-r1.rc
+++ b/sys-apps/smartmontools/files/smartd-r1.rc
@@ -1,5 +1,5 @@
-#!/sbin/runscript
-# Copyright 1999-2014 Gentoo Foundation
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 

diff --git a/sys-apps/smartmontools/files/smartmontools-update-drivedb 
b/sys-apps/smartmontools/files/smartmontools-update-drivedb
new file mode 100644
index 000..831f1e6
--- /dev/null
+++ b/sys-apps/smartmontools/files/smartmontools-update-drivedb
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+/usr/sbin/update-smart-drivedb

diff --git a/sys-apps/smartmontools/smartmontools-.ebuild 
b/sys-apps/smartmontools/smartmontools-6.4-r1.ebuild
similarity index 50%
copy from sys-apps/smartmontools/smartmontools-.ebuild
copy to sys-apps/smartmontools/smartmontools-6.4-r1.ebuild
index 241fec4..9b4bce3 100644
--- a/sys-apps/smartmontools/smartmontools-.ebuild
+++ b/sys-apps/smartmontools/smartmontools-6.4-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="4"
+EAPI=5
 
 inherit flag-o-matic systemd
 if [[ ${PV} == "" ]] ; then
@@ -11,17 +11,21 @@ if [[ ${PV} == "" ]] ; then
inherit subversion autotools
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~x86-fbsd ~amd64-linux ~arm-linux ~ia64-linux ~x86-freebsd ~x86-linux 
~x64-macos"
+   KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux 
~x64-macos"
 fi
 
 DESCRIPTION="Self-Monitoring, Analysis and Reporting Technology System 
(S.M.A.R.T.) monitoring tools"
-HOMEPAGE="http://smartmontools.sourceforge.net/";
+HOMEPAGE="https://www.smartmontools.org";
 
 LICENSE="GPL-2"
 SLOT="0"
 IUSE="caps minimal selinux static"
 
-DEPEND="caps? ( sys-libs/libcap-ng )
+DEPEND="
+   caps? (
+   static? ( sys-libs/libcap-ng[static-libs] )
+   !static? ( sys-libs/libcap-ng )
+   )
selinux? (
sys-libs/libselinux
)"
@@ -31,8 +35,11 @@ RDEPEND="${DEPEND}
 "
 
 src_prepare() {
+   # 580424
+   sed '/^SRCEXPR/s@http:@https:@' \
+   -i update-smart-drivedb.in \
+   || die
if [[ ${PV} == "" ]] ; then
-   #./autogen.sh
eautoreconf
fi
 }
@@ -42,12 +49,15 @@ src_configure() {
use static && append-ldflags -static
# The build installs /etc/init.d/smartd, but we clobber it
# in our src_install, so no need to manually delete it.
-   econf \
-   --docdir="${EPREFIX}/usr/share/doc/${PF}" \
-   --with-initscriptdir="${EPREFIX}/etc/init.d" \
-   $(use_with caps libcap-ng) \
-   $(use_with selinux) \
+   myeconfargs=(
+   --docdir="${EPREFIX}/usr/share/doc/${PF}"
+   --with-drivedbdir=/var/db/${PN} #575292
+   --with-initscriptdir="${EPREFIX}/etc/init.d"
+   $(use_with caps libcap-ng)
+   $(use_with selinux)
$(systemd_with_unitdir)
+   )
+   econf "${myeconfargs[@]}"
 }
 
 src_install() {
@@ -59,4 +69,25 @@ src_install() {
newinitd "${FILESDIR}"/smartd-r1.rc smartd
newconfd "${FILESDIR}"/smartd.confd smartd
fi
+
+   # Move drivedb.h file out of PM's sight (bug #575292)
+   mv "${ED}"/var/db/${PN}/drivedb.h "${T}" || die
+
+   exeinto /etc/cron.monthly
+   doexe "${FILESDIR}"/${PN}-update-drivedb
+}
+
+pkg_postinst() {
+   local db_path="/var/db/${PN}"
+
+   if [[ -f "${db_path}/drivedb.h" ]] ; then
+   ewarn "WARNING! The drive database file has been replaced with

[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2015-09-06 Thread Jeroen Roovers
commit: 5549a011bb532ed73e4405456acba2d727b80f20
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Sep  7 05:32:15 2015 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Sep  7 05:32:15 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5549a011

sys-apps/smartmontools: Stable for PPC64 (bug #28).

Package-Manager: portage-2.2.20.1

 sys-apps/smartmontools/smartmontools-6.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-6.4.ebuild 
b/sys-apps/smartmontools/smartmontools-6.4.ebuild
index ad1587a..3ce5fc1 100644
--- a/sys-apps/smartmontools/smartmontools-6.4.ebuild
+++ b/sys-apps/smartmontools/smartmontools-6.4.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion autotools
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ~ppc64 ~sparc x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux 
~x64-macos"
+   KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sparc x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux 
~x64-macos"
 fi
 
 DESCRIPTION="Self-Monitoring, Analysis and Reporting Technology System 
(S.M.A.R.T.) monitoring tools"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2015-08-21 Thread Markus Meier
commit: 8f49a16b51acd75999e4cad586e864dca4e09710
Author: Markus Meier  gentoo  org>
AuthorDate: Fri Aug 21 16:42:21 2015 +
Commit: Markus Meier  gentoo  org>
CommitDate: Fri Aug 21 16:42:21 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f49a16b

sys-apps/smartmontools arm stable, bug #28

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="arm"

 sys-apps/smartmontools/smartmontools-6.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-6.4.ebuild 
b/sys-apps/smartmontools/smartmontools-6.4.ebuild
index 27afa16..92e8c86 100644
--- a/sys-apps/smartmontools/smartmontools-6.4.ebuild
+++ b/sys-apps/smartmontools/smartmontools-6.4.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion autotools
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ~ppc ~ppc64 ~sparc x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux 
~x64-macos"
+   KEYWORDS="alpha amd64 arm hppa ia64 ~mips ~ppc ~ppc64 ~sparc x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux 
~x64-macos"
 fi
 
 DESCRIPTION="Self-Monitoring, Analysis and Reporting Technology System 
(S.M.A.R.T.) monitoring tools"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2015-08-17 Thread Jeroen Roovers
commit: ca20703e4b90ed4d20c7ee1c1fec4f7d893e910e
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Aug 18 04:27:46 2015 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Aug 18 04:32:48 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca20703e

sys-apps/smartmontools: Stable for HPPA (bug #28).

Package-Manager: portage-2.2.20.1

 sys-apps/smartmontools/smartmontools-6.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-6.4.ebuild 
b/sys-apps/smartmontools/smartmontools-6.4.ebuild
index 2f60f4b..27afa16 100644
--- a/sys-apps/smartmontools/smartmontools-6.4.ebuild
+++ b/sys-apps/smartmontools/smartmontools-6.4.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion autotools
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="alpha amd64 ~arm ~hppa ia64 ~mips ~ppc ~ppc64 ~sparc x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux 
~x64-macos"
+   KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ~ppc ~ppc64 ~sparc x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux 
~x64-macos"
 fi
 
 DESCRIPTION="Self-Monitoring, Analysis and Reporting Technology System 
(S.M.A.R.T.) monitoring tools"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/smartmontools/

2015-08-16 Thread Mikle Kolyada
commit: 8c1f83921f0d7ffac1fa7c76a7a5d2dfff22c027
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Aug 16 20:40:29 2015 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Aug 16 20:40:29 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c1f8392

sys-apps/smartmontools: ia64 stable wrt bug #28

Package-Manager: portage-2.2.20.1

 sys-apps/smartmontools/smartmontools-6.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/smartmontools/smartmontools-6.4.ebuild 
b/sys-apps/smartmontools/smartmontools-6.4.ebuild
index 157de5e..2f60f4b 100644
--- a/sys-apps/smartmontools/smartmontools-6.4.ebuild
+++ b/sys-apps/smartmontools/smartmontools-6.4.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} == "" ]] ; then
inherit subversion autotools
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-   KEYWORDS="alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux 
~x64-macos"
+   KEYWORDS="alpha amd64 ~arm ~hppa ia64 ~mips ~ppc ~ppc64 ~sparc x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux 
~x64-macos"
 fi
 
 DESCRIPTION="Self-Monitoring, Analysis and Reporting Technology System 
(S.M.A.R.T.) monitoring tools"