sys-apps/smartmontools: Sync with gentoo

It's from gentoo commit fba553267b6b1e31da713a91b001b429ebf24510.
This commit is contained in:
Krzesimir Nowak 2021-11-05 21:26:15 +01:00
parent 63e4696251
commit c180145f66
11 changed files with 261 additions and 1103 deletions

View File

@ -1,166 +0,0 @@
# ChangeLog for sys-apps/smartmontools
# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2
# (auto-generated from git log)
*smartmontools-9999 (09 Aug 2015)
*smartmontools-6.4 (09 Aug 2015)
*smartmontools-6.3 (09 Aug 2015)
09 Aug 2015; Robin H. Johnson <robbat2@gentoo.org> +files/smartd-r1.rc,
+files/smartd.confd, +metadata.xml, +smartmontools-6.3.ebuild,
+smartmontools-6.4.ebuild, +smartmontools-9999.ebuild:
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration
tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this
project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo
developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve
cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014
work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on
the bikeshed
16 Aug 2015; Mikle Kolyada <zlogene@gentoo.org> smartmontools-6.4.ebuild:
ia64 stable wrt bug #555528
Package-Manager: portage-2.2.20.1
18 Aug 2015; Jeroen Roovers <jer@gentoo.org> smartmontools-6.4.ebuild:
Stable for HPPA (bug #555528).
Package-Manager: portage-2.2.20.1
21 Aug 2015; Markus Meier <maekke@gentoo.org> smartmontools-6.4.ebuild:
arm stable, bug #555528
Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="arm"
24 Aug 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
Use https by default
Convert all URLs for sites supporting encrypted connections from http to
https
Signed-off-by: Justin Lecher <jlec@gentoo.org>
24 Aug 2015; Mike Gilbert <floppym@gentoo.org> metadata.xml:
Revert DOCTYPE SYSTEM https changes in metadata.xml
repoman does not yet accept the https version.
This partially reverts eaaface92ee81f30a6ac66fe7acbcc42c00dc450.
Bug: https://bugs.gentoo.org/552720
06 Sep 2015; Agostino Sarubbo <ago@gentoo.org> smartmontools-6.4.ebuild:
ppc stable wrt bug #555528
Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="ppc"
07 Sep 2015; Jeroen Roovers <jer@gentoo.org> smartmontools-6.4.ebuild:
Stable for PPC64 (bug #555528).
Package-Manager: portage-2.2.20.1
21 Sep 2015; Agostino Sarubbo <ago@gentoo.org> smartmontools-6.4.ebuild:
sparc stable wrt bug #555528
Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="sparc"
24 Nov 2015; Mike Frysinger <vapier@gentoo.org> metadata.xml:
standardize various metadata.xml style
24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml:
Unify quoting in metadata.xml files for machine processing
Force unified quoting in all metadata.xml files since lxml does not
preserve original use of single and double quotes. Ensuring unified
quoting before the process allows distinguishing the GLEP 67-related
metadata.xml changes from unrelated quoting changes.
24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml:
Replace all herds with appropriate projects (GLEP 67)
Replace all uses of herd with appropriate project maintainers, or no
maintainers in case of herds requested to be disbanded.
24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml:
Set appropriate maintainer types in metadata.xml (GLEP 67)
*smartmontools-6.4-r1 (18 Apr 2016)
18 Apr 2016; Lars Wendler <polynomial-c@gentoo.org> files/smartd-r1.rc,
+files/smartmontools-update-drivedb, +smartmontools-6.4-r1.ebuild,
smartmontools-9999.ebuild:
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 <polynomial-c@gentoo.org>
18 Apr 2016; Lars Wendler <polynomial-c@gentoo.org>
-smartmontools-6.3.ebuild:
Removed old.
Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
18 Apr 2016; Lars Wendler <polynomial-c@gentoo.org>
smartmontools-6.4-r1.ebuild:
Keep temporarily empty /var/db/smartmontools directory.
This should fix isntallation with paludis.
Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
19 Apr 2016; Lars Wendler <polynomial-c@gentoo.org>
smartmontools-6.4-r1.ebuild:
Fixed installation with USE=minimal.
Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
*smartmontools-6.5 (07 May 2016)
07 May 2016; Lars Wendler <polynomial-c@gentoo.org> metadata.xml,
+smartmontools-6.5.ebuild, smartmontools-9999.ebuild:
Bump to version 6.5
Synced live ebuild.
Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
03 Jul 2016; Zac Medico <zmedico@gentoo.org> smartmontools-6.5.ebuild,
smartmontools-9999.ebuild:
add ${EPREFIX} to econf --with-drivedbdir
Package-Manager: portage-2.3.0

View File

@ -1,608 +0,0 @@
# ChangeLog for sys-apps/smartmontools
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/ChangeLog,v 1.150 2015/08/06 13:40:36 klausman Exp $
06 Aug 2015; Tobias Klausmann <klausman@gentoo.org> smartmontools-6.4.ebuild:
Stable on alpha, bug 555528
02 Aug 2015; Agostino Sarubbo <ago@gentoo.org> smartmontools-6.4.ebuild:
Stable for x86, wrt bug #555528
31 Jul 2015; Agostino Sarubbo <ago@gentoo.org> smartmontools-6.4.ebuild:
Stable for amd64, wrt bug #555528
*smartmontools-6.4 (07 Jun 2015)
07 Jun 2015; Lars Wendler <polynomial-c@gentoo.org>
-smartmontools-6.1.ebuild, -smartmontools-6.2.ebuild,
+smartmontools-6.4.ebuild, smartmontools-9999.ebuild, -files/smartd.rc:
Version bump. Removed old.
11 Nov 2014; Agostino Sarubbo <ago@gentoo.org> smartmontools-6.3.ebuild:
Stable for ia64, wrt bug #526444
10 Nov 2014; Agostino Sarubbo <ago@gentoo.org> smartmontools-6.3.ebuild:
Stable for ppc, wrt bug #526444
04 Nov 2014; Agostino Sarubbo <ago@gentoo.org> smartmontools-6.3.ebuild:
Stable for sparc, wrt bug #526444
03 Nov 2014; Agostino Sarubbo <ago@gentoo.org> smartmontools-6.3.ebuild:
Stable for x86, wrt bug #526444
02 Nov 2014; Sven Vermeulen <swift@gentoo.org> smartmontools-6.3.ebuild,
smartmontools-9999.ebuild:
Remove sec-policy/selinux-* dependency from DEPEND but keep in RDEPEND (bug
#527698)
02 Nov 2014; Agostino Sarubbo <ago@gentoo.org> smartmontools-6.3.ebuild:
Stable for alpha, wrt bug #526444
31 Oct 2014; Agostino Sarubbo <ago@gentoo.org> smartmontools-6.3.ebuild:
Stable for ppc64, wrt bug #526444
30 Oct 2014; Markus Meier <maekke@gentoo.org> smartmontools-6.3.ebuild:
arm stable, bug #526444
30 Oct 2014; Agostino Sarubbo <ago@gentoo.org> smartmontools-6.3.ebuild:
Stable for amd64, wrt bug #526444
23 Oct 2014; Jeroen Roovers <jer@gentoo.org> smartmontools-6.3.ebuild:
Stable for HPPA (bug #526444).
*smartmontools-6.3 (09 Aug 2014)
09 Aug 2014; Lars Wendler <polynomial-c@gentoo.org>
+smartmontools-6.3.ebuild, smartmontools-9999.ebuild, +files/smartd-r1.rc:
Version bump (bug #519456). Added rewritten init script.
07 Jan 2014; Lars Wendler <polynomial-c@gentoo.org>
-smartmontools-5.38.ebuild, -smartmontools-5.39.1.ebuild,
-smartmontools-5.40.ebuild, -smartmontools-5.41-r1.ebuild,
-smartmontools-5.42.ebuild, -smartmontools-5.43.ebuild,
-smartmontools-6.0.ebuild:
Removed old versions and files.
30 Nov 2013; Markos Chandras <hwoarang@gentoo.org> smartmontools-6.2.ebuild:
Depend on libcap-ng[static-libs] if USE=static is used. Bug #481692 by Peter
Gantner
14 Sep 2013; Markos Chandras <hwoarang@gentoo.org> files/smartd.rc:
Use /run instead of /var/run. Bug #476242
11 Aug 2013; Sven Vermeulen <swift@gentoo.org> smartmontools-6.1.ebuild,
smartmontools-6.2.ebuild, smartmontools-9999.ebuild:
Adding USE=selinux dependency on selinux-smartmon
*smartmontools-6.2 (10 Aug 2013)
10 Aug 2013; Tim Harder <radhermit@gentoo.org> +smartmontools-6.2.ebuild:
Version bump.
03 Aug 2013; Agostino Sarubbo <ago@gentoo.org> smartmontools-6.1.ebuild:
Stable for sparc, wrt bug #475894
13 Jul 2013; Agostino Sarubbo <ago@gentoo.org> smartmontools-6.1.ebuild:
Stable for ppc64, wrt bug #475894
13 Jul 2013; Agostino Sarubbo <ago@gentoo.org> smartmontools-6.1.ebuild:
Stable for ppc, wrt bug #475894
08 Jul 2013; Jeroen Roovers <jer@gentoo.org> smartmontools-6.1.ebuild:
Stable for HPPA (bug #475894).
07 Jul 2013; Agostino Sarubbo <ago@gentoo.org> smartmontools-6.1.ebuild:
Stable for ia64, wrt bug #475894
07 Jul 2013; Agostino Sarubbo <ago@gentoo.org> smartmontools-6.1.ebuild:
Stable for arm, wrt bug #475894
06 Jul 2013; Agostino Sarubbo <ago@gentoo.org> smartmontools-6.1.ebuild:
Stable for alpha, wrt bug #475894
06 Jul 2013; Agostino Sarubbo <ago@gentoo.org> smartmontools-6.1.ebuild:
Stable for x86, wrt bug #475894
06 Jul 2013; Agostino Sarubbo <ago@gentoo.org> smartmontools-6.1.ebuild:
Stable for amd64, wrt bug #475894
*smartmontools-6.1 (31 May 2013)
31 May 2013; Tim Harder <radhermit@gentoo.org> +smartmontools-6.1.ebuild,
smartmontools-9999.ebuild:
Version bump (bug #462414) and update to EAPI 4.
21 Feb 2013; Zac Medico <zmedico@gentoo.org> smartmontools-6.0.ebuild,
smartmontools-9999.ebuild:
Add ~arm-linux keywords.
12 Nov 2012; Anthony G. Basile <blueness@gentoo.org>
smartmontools-5.42.ebuild:
stable ppc64, bug #441654
*smartmontools-6.0 (10 Oct 2012)
10 Oct 2012; Robin H. Johnson <robbat2@gentoo.org> +smartmontools-6.0.ebuild:
Version bump.
25 Aug 2012; Mike Frysinger <vapier@gentoo.org> smartmontools-5.43.ebuild,
smartmontools-9999.ebuild:
Fix paths encoded in man pages #432668 by Diego Elio Pettenò.
19 Aug 2012; Christoph Junghans <ottxor@gentoo.org> smartmontools-5.43.ebuild,
smartmontools-9999.ebuild:
added prefix keywords
18 Aug 2012; Mike Frysinger <vapier@gentoo.org> smartmontools-5.43.ebuild,
smartmontools-9999.ebuild:
Add systemd support #371367 by Opportunist. Also add USE=selinux support.
18 Aug 2012; Mike Frysinger <vapier@gentoo.org> smartmontools-5.43.ebuild,
smartmontools-9999.ebuild:
Add mips love #406917 by Jim Faulkner.
*smartmontools-5.43 (30 Jun 2012)
30 Jun 2012; Robin H. Johnson <robbat2@gentoo.org> +smartmontools-5.43.ebuild:
Version bump.
14 Apr 2012; Zac Medico <zmedico@gentoo.org> smartmontools-5.42.ebuild,
smartmontools-9999.ebuild:
Add ~amd64-linux keyword.
07 Mar 2012; Jeremy Olexa <darkside@gentoo.org> smartmontools-5.42.ebuild:
add ~x64-macos, bug 395011
04 Jan 2012; Brent Baude <ranger@gentoo.org> smartmontools-5.42.ebuild:
Marking smartmontools-5.42 ppc for bug 391825
04 Dec 2011; Raúl Porcel <armin76@gentoo.org> smartmontools-5.42.ebuild:
alpha/arm/ia64/sparc/x86 stable wrt #391825
30 Nov 2011; Jeroen Roovers <jer@gentoo.org> smartmontools-5.42.ebuild:
Stable for HPPA (bug #391825).
29 Nov 2011; Tony Vroon <chainsaw@gentoo.org> smartmontools-5.42.ebuild:
Marked stable on AMD64 based on arch testing by Tomáš "Mepho" Pružina &
Agostino "ago" Sarubbo in bug #391825.
*smartmontools-5.42 (21 Oct 2011)
21 Oct 2011; Robin H. Johnson <robbat2@gentoo.org>
+smartmontools-5.42.ebuild:
Version bump.
*smartmontools-5.41-r1 (15 Sep 2011)
15 Sep 2011; Lars Wendler <polynomial-c@gentoo.org>
-smartmontools-5.41.ebuild, +smartmontools-5.41-r1.ebuild, files/smartd.rc:
non-maintainer commit: Removed deprecated --oknodo option (bug #377769).
Replaced deprecated opts variable (bug #381879) and removed --stop option
from reload function. All done with kind permission from vapier.
20 Aug 2011; Mike Frysinger <vapier@gentoo.org> smartmontools-5.41.ebuild,
smartmontools-9999.ebuild:
Add libcap-ng to DEPEND too #379401.
29 Jul 2011; Zac Medico <zmedico@gentoo.org> smartmontools-5.41.ebuild,
smartmontools-9999.ebuild:
Add ~x86-linux keyword.
28 Jul 2011; Zac Medico <zmedico@gentoo.org> smartmontools-5.41.ebuild,
smartmontools-9999.ebuild:
Bump to EAPI 3 and fix for prefix.
*smartmontools-5.41 (13 Jun 2011)
13 Jun 2011; Jeroen Roovers <jer@gentoo.org> +smartmontools-5.41.ebuild:
Version bump by Opportunist (bug #371367).
08 Feb 2011; Kacper Kowalik <xarthisius@gentoo.org>
smartmontools-5.40.ebuild:
ppc stable wrt #352599. Add ~ppc64 wrt #354125. Thanks to Stephen Lewis
<lewis+gentoo@freeshell.org> for the report.
29 Jan 2011; Raúl Porcel <armin76@gentoo.org> smartmontools-5.40.ebuild:
alpha/arm/ia64/sparc stable wrt #352599
26 Jan 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org>
smartmontools-5.40.ebuild:
x86 stable wrt bug #352599
26 Jan 2011; Jeroen Roovers <jer@gentoo.org> smartmontools-5.40.ebuild:
Stable for HPPA (bug #352599).
25 Jan 2011; Markos Chandras <hwoarang@gentoo.org> smartmontools-5.40.ebuild:
Stable on amd64 wrt bug #352599
17 Dec 2010; Diego E. Pettenò <flameeyes@gentoo.org>
smartmontools-5.38.ebuild, smartmontools-5.39.1.ebuild,
smartmontools-5.40.ebuild, smartmontools-9999.ebuild:
Shorten the description to make repoman happy.
17 Dec 2010; Diego E. Pettenò <flameeyes@gentoo.org>
smartmontools-5.40.ebuild, smartmontools-9999.ebuild:
Add a caps USE flag to avoid automagic dependency over libcap-ng. Thanks to
Joost Ruis and Rafał Mużyło in bug #348951.
13 Nov 2010; Raúl Porcel <armin76@gentoo.org>
smartmontools-5.39.1.ebuild:
alpha/ia64/sparc stable wrt #341827
27 Oct 2010; Michael Weber <xmw@gentoo.org> smartmontools-5.38.ebuild,
smartmontools-5.39.1.ebuild, smartmontools-5.40.ebuild:
Added ~arm keyword (bug #302981).
26 Oct 2010; Christian Faulhammer <fauli@gentoo.org>
smartmontools-5.39.1.ebuild:
stable x86, bug 341827
24 Oct 2010; Jeroen Roovers <jer@gentoo.org> smartmontools-5.39.1.ebuild:
Stable for HPPA (bug #341827).
21 Oct 2010; Brent Baude <ranger@gentoo.org> smartmontools-5.39.1.ebuild:
stable ppc, bug 341827
20 Oct 2010; Markos Chandras <hwoarang@gentoo.org>
smartmontools-5.39.1.ebuild:
Stable on amd64 wrt bug #341827
*smartmontools-5.40 (19 Oct 2010)
19 Oct 2010; Mike Frysinger <vapier@gentoo.org>
+smartmontools-5.40.ebuild:
Version bump #341701.
*smartmontools-5.39.1 (06 Mar 2010)
06 Mar 2010; Mike Frysinger <vapier@gentoo.org>
+smartmontools-5.39.1.ebuild:
Version bump #305405 by Walther which also fixes #299962 by Dennis
Schridde.
*smartmontools-5.39 (05 Jan 2010)
05 Jan 2010; Mike Frysinger <vapier@gentoo.org>
+smartmontools-5.39.ebuild:
Version bump #296785 by Michał Guminiak.
11 Oct 2009; Mike Frysinger <vapier@gentoo.org> files/smartd.rc:
Switch killall to ssd.
*smartmontools-9999 (23 Sep 2009)
23 Sep 2009; Robin H. Johnson <robbat2@gentoo.org>
+smartmontools-9999.ebuild:
Add a live version for testing upstream changes on new hardware.
*smartmontools-5.38-r1 (26 Aug 2009)
26 Aug 2009; Robin H. Johnson <robbat2@gentoo.org>
+smartmontools-5.38-r1.ebuild:
Per bug #140192 and bug #282371: re-add the dep on mailx, and put it
behind USE=!minimal.
01 May 2009; Robin H. Johnson <robbat2@gentoo.org> metadata.xml,
smartmontools-5.38.ebuild:
Per bug #267982, add a description of what USE=minimal does, and issue an
info message when you have it enabled.
16 Jun 2008; Jeroen Roovers <jer@gentoo.org> smartmontools-5.38.ebuild:
Stable for HPPA (bug #225935).
14 Jun 2008; Christoph Mende <angelos@gentoo.org>
smartmontools-5.38.ebuild:
Stable on amd64, bug #225935
14 Jun 2008; nixnut <nixnut@gentoo.org> smartmontools-5.38.ebuild:
Stable on ppc wrt bug 225935
12 Jun 2008; Raúl Porcel <armin76@gentoo.org> smartmontools-5.38.ebuild:
alpha/ia64/sparc stable wrt #225935
11 Jun 2008; Christian Faulhammer <opfer@gentoo.org>
smartmontools-5.38.ebuild:
stable x86, bug 225935
*smartmontools-5.38 (10 Mar 2008)
10 Mar 2008; Robin H. Johnson <robbat2@gentoo.org>
+smartmontools-5.38.ebuild:
Version bump.
*smartmontools-5.37-r1 (10 Mar 2008)
10 Mar 2008; Robin H. Johnson <robbat2@gentoo.org>
+smartmontools-5.37-r1.ebuild:
Add USE=minimal support for setups without the smartd.
07 Feb 2008; Raúl Porcel <armin76@gentoo.org> smartmontools-5.37.ebuild:
alpha/ia64 stable
04 Feb 2008; Fabian Groffen <grobian@gentoo.org>
smartmontools-5.36-r1.ebuild, smartmontools-5.37.ebuild:
Dropped ppc-macos keyword, see you in prefix
29 Jan 2008; Diego Pettenò <flameeyes@gentoo.org> files/smartd.rc:
Fix init script dependencies to work without a boot runlevel.
28 Dec 2007; Guy Martin <gmsoft@gentoo.org> smartmontools-5.37.ebuild:
Added hppa to KEYWORDS.
29 Sep 2007; Christian Birchinger <joker@gentoo.org>
smartmontools-5.37.ebuild:
Added sparc stable keyword
02 Sep 2007; Christian Faulhammer <opfer@gentoo.org>
smartmontools-5.37.ebuild:
stable x86, bug 190306
29 Aug 2007; Christoph Mende <angelos@gentoo.org>
smartmontools-5.37.ebuild:
Stable on amd64 wrt bug #190306
*smartmontools-5.37 (10 Feb 2007)
10 Feb 2007; Mike Frysinger <vapier@gentoo.org>
+smartmontools-5.37.ebuild:
Version bump #166198 by Rafal Boniecki.
15 Jan 2007; Jose Luis Rivero <yoswink@gentoo.org>
smartmontools-5.36-r1.ebuild:
Stable on alpha wrt bug #145947
04 Nov 2006; Timothy Redaelli <drizzt@gentoo.org>
smartmontools-5.36-r1.ebuild:
Added ~x86-fbsd keyword.
14 Oct 2006; Tim Yamin <plasmaroo@gentoo.org> smartmontools-5.36-r1.ebuild:
Stable on IA64; bug #145947.
17 Sep 2006; <nixnut@gentoo.org> smartmontools-5.36-r1.ebuild:
Stable on ppc wrt bug 145947
13 Sep 2006; Danny van Dyk <kugelfang@gentoo.org>
smartmontools-5.36-r1.ebuild:
Marked stable on amd64 wrt to bug #145947.
04 Sep 2006; Saleem Abdulrasool <compnerd@gentoo.org>
smartmontools-5.36-r1.ebuild:
stable on x86 (bug #145947)
03 Sep 2006; Stefan Schweizer <genstef@gentoo.org>
smartmontools-5.36.ebuild, smartmontools-5.36-r1.ebuild:
Fix bug 140192 properly, do not depend on a mailer but tell the user how to
get one if he needs one thanks to Grzegorz Kulewski <kangur@polcom.net>,
jakub and chainsaw
03 Sep 2006; Fabian Groffen <grobian@gentoo.org>
smartmontools-5.36-r1.ebuild:
Marked ppc-macos stable (bug #145947)
02 Sep 2006; Jason Wever <weeve@gentoo.org> smartmontools-5.36-r1.ebuild:
Stable on SPARC wrt bug #145947.
*smartmontools-5.36-r1 (17 Jul 2006)
17 Jul 2006; Mike Frysinger <vapier@gentoo.org>
+files/smartmontools-5.36-utf8.patch, +smartmontools-5.36-r1.ebuild:
Fix separator usage in UTF8 output #139409 by Samuli Suominen.
15 Jul 2006; Mike Frysinger <vapier@gentoo.org> smartmontools-5.36.ebuild:
Add mailx to RDEPEND #140192 by Jacek Sieka.
12 Jul 2006; Aron Griffis <agriffis@gentoo.org> smartmontools-5.36.ebuild:
Mark 5.36 stable on ia64. #136093
15 Jun 2006; Tobias Scherbaum <dertobi123@gentoo.org>
smartmontools-5.36.ebuild:
ppc stable, bug #136093
11 Jun 2006; Fabian Groffen <grobian@gentoo.org>
smartmontools-5.36.ebuild:
Marked ppc-macos stable (bug #136093)
11 Jun 2006; Simon Stelling <blubb@gentoo.org> smartmontools-5.36.ebuild:
stable on amd64
10 Jun 2006; Jason Wever <weeve@gentoo.org> smartmontools-5.36.ebuild:
Stable on SPARC wrt bug #136093.
10 Jun 2006; Chris Gianelloni <wolf31o2@gentoo.org>
smartmontools-5.36.ebuild:
Stable on x86 wrt bug #136093.
*smartmontools-5.36 (15 Apr 2006)
15 Apr 2006; Mike Frysinger <vapier@gentoo.org>
+smartmontools-5.36.ebuild:
Version bump #129941 by Raymond Lewis Rebbeck.
*smartmontools-5.33-r1 (08 Feb 2006)
08 Feb 2006; Roy Marples <uberlord@gentoo.org> files/smartd.rc,
+smartmontools-5.33-r1.ebuild:
Bump for new init script that works across all baselayout versions.
05 Nov 2005; Fabian Groffen <grobian@gentoo.org>
smartmontools-5.33.ebuild:
Marked ~ppc-macos (bug #109130)
24 Aug 2005; Mike Frysinger <vapier@gentoo.org> smartmontools-5.33.ebuild:
Add support for USE=static #103390 by Sascha Silbe.
09 May 2005; Aron Griffis <agriffis@gentoo.org> smartmontools-5.33.ebuild:
stable on ia64
19 Apr 2005; <plasmaroo@gentoo.org> smartmontools-5.33.ebuild:
Add ~ia64 keyword, bug #89548.
06 Apr 2005; Marcus D. Hanwell <cryos@gentoo.org>
smartmontools-5.33.ebuild:
Marked stable on amd64.
19 Mar 2005; Bryan Østergaard <kloeri@gentoo.org>
smartmontools-5.33.ebuild:
Stable on alpha.
21 Jan 2005; Lars Weiler <pylon@gentoo.org> smartmontools-5.33.ebuild:
Stable on ppc.
03 Jan 2005; Gustavo Zacarias <gustavoz@gentoo.org>
smartmontools-5.33.ebuild:
Stable on sparc
03 Jan 2005; Mike Frysinger <vapier@gentoo.org> files/smartd.rc,
smartmontools-5.33.ebuild:
Update docs #76337 by Daniel Holth.
02 Jan 2005; Ciaran McCreesh <ciaranm@gentoo.org> :
Change encoding to UTF-8 for GLEP 31 compliance
*smartmontools-5.33 (09 Oct 2004)
09 Oct 2004; Mike Frysinger <vapier@gentoo.org> +files/smartd.confd,
files/smartd.rc, +smartmontools-5.33.ebuild:
Version bump #62717 by Ziga Boehm.
24 May 2004; Bryan Østergaard <kloeri@gentoo.org> smartmontools-5.30.ebuild:
Keyworded ~alpha, requested in bug #51550.
01 Apr 2004; David Holm <dholm@gentoo.org> smartmontools-5.30.ebuild:
Added to ~ppc.
*smartmontools-5.30 (31 Mar 2004)
31 Mar 2004; Martin Holzer <mholzer@gentoo.org> smartmontools-5.30.ebuild:
Version bumped.
*smartmontools-5.29 (24 Feb 2004)
24 Feb 2004; Martin Holzer <mholzer@gentoo.org> smartmontools-5.29.ebuild:
Version bumped.
14 Feb 2004; Christian Birchinger <joker@gentoo.org>
smartmontools-5.26.ebuild:
Added sparc stable keyword
13 Feb 2004; Martin Holzer <mholzer@gentoo.org> smartmontools-5.26.ebuild:
x86 stable
*smartmontools-5.27 (13 Feb 2004)
13 Feb 2004; Martin Holzer <mholzer@gentoo.org> smartmontools-5.27.ebuild:
Version bumped.
20 Dec 2003; Christian Birchinger <joker@gentoo.org>
smartmontools-5.25.ebuild:
Added sparc stable keyword
*smartmontools-5.26 (01 Dec 2003)
01 Dec 2003; Martin Holzer <mholzer@gentoo.org> smartmontools-5.26.ebuild:
Version bumped.
*smartmontools-5.25 (29 Nov 2003)
29 Nov 2003; Martin Holzer <mholzer@gentoo.org> smartmontools-5.25.ebuild:
Version bumped.
*smartmontools-5.23 (05 Nov 2003)
05 Nov 2003; Martin Holzer <mholzer@gentoo.org> smartmontools-5.23.ebuild:
Version bumped.
02 Nov 2003; Christian Birchinger <joker@gentoo.org>
smartmontools-5.21.ebuild:
Added sparc stable keyword
*smartmontools-5.21 (18 Oct 2003)
18 Oct 2003; Martin Holzer <mholzer@gentoo.org> smartmontools-5.21.ebuild:
Version bumped.
*smartmontools-5.20 (09 Oct 2003)
09 Oct 2003; Martin Holzer <mholzer@gentoo.org> smartmontools-5.20.ebuild:
Version bumped.
*smartmontools-5.19 (08 Oct 2003)
08 Oct 2003; Martin Holzer <mholzer@gentoo.org> smartmontools-5.19.ebuild:
Version bumped.
19 Sep 2003; Christian Birchinger <joker@gentoo.org>
smartmontools-5.1.18.ebuild:
Added sparc stable keyword
12 Sep 2003; Martin Holzer <mholzer@gentoo.org> smartmontools-5.1.18.ebuild:
Marked x86 stable.
28 Aug 2003; Christian Birchinger <joker@gentoo.org>
smartmontools-5.1.16.ebuild:
Added sparc stable keyword
*smartmontools-5.1.18 (22 Aug 2003)
22 Aug 2003; Martin Holzer <mholzer@gentoo.org> smartmontools-5.1.18.ebuild:
Version bumped.
20 Aug 2003; Martin Holzer <mholzer@gentoo.org> smartmontools-5.1.16.ebuild:
Marked x86 stable.
*smartmontools-5.1.17 (20 Aug 2003)
20 Aug 2003; Martin Holzer <mholzer@gentoo.org> smartmontools-5.1.17.ebuild:
Version bumped.
*smartmontools-5.1.16 (06 Aug 2003)
06 Aug 2003; Martin Holzer <mholzer@gentoo.org> smartmontools-5.1.16.ebuild:
Version bumped.
16 Jul 2003; Christian Birchinger <joker@gentoo.org>
smartmontools-5.1.14.ebuild:
Added sparc stable keyword
16 Jul 2003; Martin Holzer <mholzer@gentoo.org> smartmontools-5.1.14.ebuild:
Marked x86 stable
*smartmontools-5.1.14 (01 Jul 2003)
01 Jul 2003; Patrick Kursawe <phosphan@gentoo.org>
smartmontools-5.1.14.ebuild:
Version bump
03 Jun 2003; Christian Birchinger <joker@gentoo.org>
smartmontools-5.1.11.ebuild:
Added sparc stable keyword
27 May 2003; Martin Holzer <mholzer@gentoo.org> smartmontools-5.1.11.ebuild:
Marked stable on x86
*smartmontools-5.1.11 (19 May 2003)
19 May 2003; Martin Holzer <mholzer@gentoo.org> smartmontools-5.1.10.ebuild,
smartmontools-5.1.10.ebuild, smartmontools-5.1.11.ebuild,
smartmontools-5.1.9.ebuild, smartmontools-5.1.9.ebuild:
Version bumped & cleanup
*smartmontools-5.1.10 (22 Apr 2003)
22 Apr 2003; Martin Holzer <mholzer@gentoo.org> Manifest,
smartmontools-5.1.10.ebuild:
Version bumped.
*smartmontools-5.1.9 (15 Apr 2003)
15 Apr 2003; Martin Holzer <mholzer@gentoo.org> Manifest,
smartmontools-5.1.9.ebuild:
Version bumped.
30 Jan 2002; Christian Birchinger <joker@gentoo.org> :
Added sparc keyword.
*smartmontools-5.0.45 (27 Nov 2002)
27 Nov 2002; Mike Frysinger <vapier@gentoo.org> :
Initial import. Ebuild submitted by Nicolas Lidzborski <cpc@freeshell.org>.

View File

@ -1,12 +1 @@
AUX smartd-r1.rc 621 SHA256 ab06df01453c754649be911577464bb7c1379b236d420450f5ce1b1b480a136d SHA512 fed706bff5e45e207f90962a6185ab3f14166108eddd4f6f142cedb5489dfa05cab3e2e21593aa0d6361d02707cdb5f19cc35be5abbb3d4be51fdb976d959097 WHIRLPOOL b2b0cad7395edd40c29081abd4f9d9e4eb31d10efaf2f6bfc8e39d5faea8908ba4ccc60d3ea473fe197bd257f9fa7be4b086a576ded834c0c987677f41ba408c DIST smartmontools-7.2.tar.gz 992256 BLAKE2B 9f671656e610404b0ab8b6ec51421b4046c64d16331cff821a8d9dbf34dd6c4be4fa63d3a2eaffe2aa869b09acf5f18b9c9750f76e33423710ef9166212e3a92 SHA512 d7e724295b5d53797b5e4136eea5f5cc278db81e4016ba65142438b8c68c54f85a32c582c147a1590b9bc8f74a58952bcb57b9923dd69d34582530a0985799ea
AUX smartd.confd 107 SHA256 714cc1b253e1f59b884be89693757fec91ca878c62f37451a49ef6bb72263e85 SHA512 ff45462944f01c0e7cac99443078b253dcbaed4f99ffab85052b12361d9eec4beec81cab334fbede9148b3dd503d5205add32ef4327a788f02a8b1e37f460437 WHIRLPOOL 773405a2cc669f6eaae835bc3a6415151891b91ccf4111147f8b12d9763be26cbf65815879a70cd64ae12a36f59840ffcb15ff7e527479f88d9816130e704e76
AUX smartmontools-update-drivedb 42 SHA256 53a766a094ef63b925e2c3f8c08322b67c2ab40b1f2b84d414e5de4f6747aca8 SHA512 8ad70fc85ab67b7c32eda95dd37517382c2447862df08b810a54dcdedb1eb8148f3a0e29f402a54adff31d1e88d80d09a258ed9e1e13b597ab2a358ebeda0ce8 WHIRLPOOL 3dd62cd6e26a18c9fe5555a1d3feb2597eea6773c857a2cf559331486fc0ef2ef67a0bcb7d1e03b14631d0c8809daae7688d6e1f83f02e8867b0dc23dfcafb55
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
EBUILD smartmontools-6.4-r1.ebuild 2572 SHA256 ee0b953c9e9af448a6a445c1e8f8db615f202f8499666c3bc36d4a9f597080de SHA512 7033ec1fbfcad25a4f8feaa5415860fb7686ddbd449be7cfdec7d3558a5f06cf8266c8b791b9a450060ffde1d0e293b089346275b545f46c872310905efe1c4e WHIRLPOOL 7fcd3e008b9cc0bda3c257461a0c480c4087fc7771c2c037f2f7dbd99b4196e590e774fb287672dcb6294d45e0bd4c74da78cd92027ae3309ee31c7a71221231
EBUILD smartmontools-6.4.ebuild 1705 SHA256 e56ccbddf213419a5b31138b14bd4e95e13b8bc5eeed599c0a20ddbb3de5136f SHA512 921f4e55fe7e025e17b746438ec722c5acb6db48845187df7c35a150c6020bb3ba4267e206f2b707631c44abd28fe80a441fdce8ab3374c25f964b962902ec9e WHIRLPOOL a87c36ed6515a8b1b1fd4acb4b58a2a12f813695858ff224687c63259faa4cf2c7de26047c6920ee53805f106ff5fb486c287fa21b382d640db7748ddbf8efe5
EBUILD smartmontools-6.5.ebuild 2642 SHA256 efbdb590866af78877825291c1efa6c4d69ddc361b4536e37d5fbe00d3672cad SHA512 6527b00b0de8765f41b88d710ed11c8f8b27aef593b8ac87b03b366fcfca42c2b19ed4cef7801661d2b3217f0f240562362a8a954e8916b7efa66d9c8409426e WHIRLPOOL 7e15c47a714add445f0dc09550f69e7b2ed60d913b35671f8e986ccd962c47986bdb8f7da852e343879443fac86754eca3df5f5a691ddffac3f079e85950c730
EBUILD smartmontools-9999.ebuild 2642 SHA256 efbdb590866af78877825291c1efa6c4d69ddc361b4536e37d5fbe00d3672cad SHA512 6527b00b0de8765f41b88d710ed11c8f8b27aef593b8ac87b03b366fcfca42c2b19ed4cef7801661d2b3217f0f240562362a8a954e8916b7efa66d9c8409426e WHIRLPOOL 7e15c47a714add445f0dc09550f69e7b2ed60d913b35671f8e986ccd962c47986bdb8f7da852e343879443fac86754eca3df5f5a691ddffac3f079e85950c730
MISC ChangeLog 5750 SHA256 d14be56a3d14a0d496fe9295f52a9ea43695ecb99d67a7f92ad31cc8d02d6c7a SHA512 e2381af22e0ee7d5b66067b70f4f530d4951b74bf69df80b52886631ccd01d9408f0fee3bd53eb202a25e7de7f16f2cb867ae97604f910cae58b9d26b3be6e19 WHIRLPOOL 782ccbddebfa044b3de855a2c81908a7a8c68ecf4645901d219021f12f66488ee26a691e37467d77633316b884b855e47e4da06eae3ffe7e43fda9a39f044d52
MISC ChangeLog-2015 20152 SHA256 f3ec99b8e802612e8f3dccf301c1f8ce46066fa26b1bf58c1eb34ec4e606fb3e SHA512 3969af254861ddb1bef5c129fc691732356ee56fd5ed29f3a76273593182c90d21239050c7d449560334976ae7d315d06fb25d3f815fe6c98b4ce93771b68d6c WHIRLPOOL 2c7d3763680d2572c2ee8f8f3c5a2da0bf6f602c06deb57d842ceea07f0a695d36ed92829166b4d29c10eb21090e65cc064d297d8f2a537c3a4aab93d0bcff8b
MISC metadata.xml 517 SHA256 9498d60f66b4e752d70f5f34e5bcf2ed20bb9d113310d9f4344049dde7fc6087 SHA512 63c3af11414b2a8ac83351486b600c16dec940d01c07bacfefb762b3acb152f87db3f630772c0ec32cdc4b316ab3a98ed3efbda82d0af5680d76f0b24459ba14 WHIRLPOOL 4a7af5fe7bd02387df2ebd7c34379eff330710a4ffc7beed20953cac8c4ab2cfae4d1283c71bf1f79d1d765e681761b2e1a5ab19557ebb7e84c16aa143429f5c

View File

@ -1,7 +1,6 @@
#!/sbin/openrc-run #!/sbin/openrc-run
# Copyright 1999-2016 Gentoo Foundation # Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Id$
pidfile="/run/smartd.pid" pidfile="/run/smartd.pid"
command="/usr/sbin/smartd" command="/usr/sbin/smartd"

View File

@ -1,3 +1,5 @@
#!/bin/sh #!/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

View File

@ -1,15 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata> <pkgmetadata>
<maintainer type="project"> <maintainer type="project">
<email>base-system@gentoo.org</email> <email>base-system@gentoo.org</email>
<name>Gentoo Base System</name> <name>Gentoo Base System</name>
</maintainer> </maintainer>
<use> <use>
<flag name="minimal">Do not install the monitoring daemon and associated scripts.</flag> <flag name="caps">Build against <pkg>sys-libs/libcap-ng</pkg> to allow smartd to drop its privileges.</flag>
<flag name="update_drivedb">Install a script to update the drivedb file.</flag> <flag name="daemon">Install the monitoring daemon (smartd) and associated scripts.</flag>
</use> <flag name="update-drivedb">Install a script to update the drivedb file.</flag>
<upstream> </use>
<remote-id type="sourceforge">smartmontools</remote-id> <upstream>
</upstream> <remote-id type="github">smartmontools/smartmontools</remote-id>
<remote-id type="sourceforge">smartmontools</remote-id>
</upstream>
</pkgmetadata> </pkgmetadata>

View File

@ -1,98 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit flag-o-matic systemd
if [[ ${PV} == "9999" ]] ; 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="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} == "9999" ]] ; 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() {
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
# 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
fi
}
pkg_postinst() {
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
# Move drivedb.h to /var/db/${PN} (bug #575292)
mv "${T}"/drivedb.h ${db_path} || die
fi
}

View File

@ -1,66 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="4"
inherit flag-o-matic systemd
if [[ ${PV} == "9999" ]] ; 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} == "9999" ]] ; 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 \
--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
}

View File

@ -1,99 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit flag-o-matic systemd
if [[ ${PV} == "9999" ]] ; 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="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} == "9999" ]] ; 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 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 use update_drivedb ; then
# Move drivedb.h to /var/db/${PN} (bug #575292)
mv "${T}"/drivedb.h ${db_path} || die
fi
fi
}

View File

@ -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} == "9999" ]] ; 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 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 so we don't record hashes because user
# can modify that file
rm -f "${ED%/}${db_path}/drivedb.h" || die
# Bug #622072
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}"
if [[ ! -f "${db_path}/drivedb.h" ]] ; then
# No initial database found
cp "${initial_db_file}" "${db_path}" || die
einfo "Default drive database which was shipped with this release of ${PN}"
einfo "has been installed to '${db_path}'."
else
ewarn "WARNING: There's already a drive database in '${db_path}'!"
ewarn "Because we cannot determine if this database is untouched"
ewarn "or was modified by the user you have to manually update the"
ewarn "drive database:"
ewarn ""
ewarn "a) Replace '${db_path}/drivedb.h' by the database shipped with this"
ewarn " release which can be found in '${initial_db_file}', i.e."
ewarn ""
ewarn " cp \"${initial_db_file}\" \"${db_path}\""
ewarn ""
ewarn "b) Run the following command as root:"
ewarn ""
ewarn " /usr/sbin/update-smart-drivedb"
if ! use update-drivedb ; then
ewarn ""
ewarn "However, 'update-smart-drivedb' requires that you re-emerge ${PN}"
ewarn "with USE='update-drivedb'."
fi
fi
fi
}

View File

@ -1,25 +1,24 @@
# Copyright 1999-2016 Gentoo Foundation # Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5 EAPI="6"
inherit flag-o-matic systemd inherit autotools flag-o-matic systemd
if [[ ${PV} == "9999" ]] ; then if [[ ${PV} == "9999" ]] ; 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" ESVN_PROJECT="smartmontools"
inherit subversion autotools inherit subversion
else else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" 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 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
fi 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" HOMEPAGE="https://www.smartmontools.org"
LICENSE="GPL-2" LICENSE="GPL-2"
SLOT="0" SLOT="0"
IUSE="caps minimal selinux static update_drivedb" IUSE="caps +daemon selinux static systemd +update-drivedb"
DEPEND=" DEPEND="
caps? ( caps? (
@ -30,70 +29,123 @@ DEPEND="
sys-libs/libselinux sys-libs/libselinux
)" )"
RDEPEND="${DEPEND} RDEPEND="${DEPEND}
!minimal? ( virtual/mailx ) daemon? ( virtual/mailx )
selinux? ( sec-policy/selinux-smartmon ) 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() { src_prepare() {
if [[ ${PV} == "9999" ]] ; then default
eautoreconf eautoreconf
fi
} }
src_configure() { src_configure() {
use minimal && einfo "Skipping the monitoring daemon for minimal build."
use static && append-ldflags -static use static && append-ldflags -static
# The build installs /etc/init.d/smartd, but we clobber it # The build installs /etc/init.d/smartd, but we clobber it
# in our src_install, so no need to manually delete it. # in our src_install, so no need to manually delete it.
myeconfargs=( myeconfargs=(
--docdir="${EPREFIX}/usr/share/doc/${PF}"
--with-drivedbdir="${EPREFIX}/var/db/${PN}" #575292 --with-drivedbdir="${EPREFIX}/var/db/${PN}" #575292
--with-initscriptdir="${EPREFIX}/etc/init.d" --with-initscriptdir="${EPREFIX}/etc/init.d"
#--with-smartdscriptdir="${EPREFIX}/usr/share/${PN}"
$(use_with caps libcap-ng) $(use_with caps libcap-ng)
$(use_with selinux) $(use_with selinux)
$(systemd_with_unitdir) $(use_with systemd libsystemd)
$(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[@]}" econf "${myeconfargs[@]}"
} }
src_install() { src_install() {
local db_path="/var/db/${PN}" local db_path="/var/db/${PN}"
insopts -m0644 -p # preserve timestamps
if use minimal ; then if use daemon; then
dosbin smartctl
doman smartctl.8
else
default default
newinitd "${FILESDIR}"/smartd-r1.rc smartd newinitd "${FILESDIR}"/smartd-r1.rc smartd
newconfd "${FILESDIR}"/smartd.confd smartd newconfd "${FILESDIR}"/smartd.confd smartd
else
dosbin smartctl
doman smartctl.8
keepdir ${db_path} local DOCS=( AUTHORS ChangeL* COPYING INSTALL NEWS README TODO )
if use update_drivedb ; then einstalldocs
# 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 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 "${S}"/drivedb.h
fi
# 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
# Bug #622072
find "${ED%/}"/usr/share/doc -type f -exec chmod a-x '{}' \; || die
} }
pkg_postinst() { pkg_postinst() {
if ! use minimal ; then if use daemon || use update-drivedb; then
local db_path="/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 if [[ ! -f "${db_path}/drivedb.h" ]] ; then
ewarn "WARNING! The drive database file has been replaced with the version that" # No initial database found
ewarn "got shipped with this release of ${PN}. You may want to update the" cp "${initial_db_file}" "${db_path}" || die
ewarn "database by running the following command as root:" einfo "Default drive database which was shipped with this release of ${PN}"
einfo "has been installed to '${db_path}'."
else
ewarn "WARNING: There's already a drive database in '${db_path}'!"
ewarn "Because we cannot determine if this database is untouched"
ewarn "or was modified by the user you have to manually update the"
ewarn "drive database:"
ewarn "" ewarn ""
ewarn "/usr/sbin/update-smart-drivedb" ewarn "a) Replace '${db_path}/drivedb.h' by the database shipped with this"
fi ewarn " release which can be found in '${initial_db_file}', i.e."
ewarn ""
ewarn " cp \"${initial_db_file}\" \"${db_path}\""
ewarn ""
ewarn "b) Run the following command as root:"
ewarn ""
ewarn " /usr/sbin/update-smart-drivedb"
if use update_drivedb ; then if ! use update-drivedb ; then
# Move drivedb.h to /var/db/${PN} (bug #575292) ewarn ""
mv "${T}"/drivedb.h ${db_path} || die ewarn "However, 'update-smart-drivedb' requires that you re-emerge ${PN}"
ewarn "with USE='update-drivedb'."
fi
fi fi
fi fi
} }