From: | "Robin H. Johnson (robbat2)" <robbat2@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/smartmontools: smartmontools-5.43.ebuild ChangeLog |
Date: | Sat, 30 Jun 2012 19:16:22 |
Message-Id: | 20120630191612.9533F2004B@flycatcher.gentoo.org |
1 | robbat2 12/06/30 19:16:12 |
2 | |
3 | Modified: ChangeLog |
4 | Added: smartmontools-5.43.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.0_alpha107/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.113 sys-apps/smartmontools/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/smartmontools/ChangeLog?rev=1.113&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/smartmontools/ChangeLog?rev=1.113&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/smartmontools/ChangeLog?r1=1.112&r2=1.113 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/ChangeLog,v |
20 | retrieving revision 1.112 |
21 | retrieving revision 1.113 |
22 | diff -p -w -b -B -u -u -r1.112 -r1.113 |
23 | --- ChangeLog 14 Apr 2012 17:18:25 -0000 1.112 |
24 | +++ ChangeLog 30 Jun 2012 19:16:12 -0000 1.113 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for sys-apps/smartmontools |
27 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/ChangeLog,v 1.112 2012/04/14 17:18:25 zmedico Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/ChangeLog,v 1.113 2012/06/30 19:16:12 robbat2 Exp $ |
30 | + |
31 | +*smartmontools-5.43 (30 Jun 2012) |
32 | + |
33 | + 30 Jun 2012; Robin H. Johnson <robbat2@g.o> +smartmontools-5.43.ebuild: |
34 | + Version bump. |
35 | |
36 | 14 Apr 2012; Zac Medico <zmedico@g.o> smartmontools-5.42.ebuild, |
37 | smartmontools-9999.ebuild: |
38 | |
39 | |
40 | |
41 | 1.1 sys-apps/smartmontools/smartmontools-5.43.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/smartmontools/smartmontools-5.43.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/smartmontools/smartmontools-5.43.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: smartmontools-5.43.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2012 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/smartmontools-5.43.ebuild,v 1.1 2012/06/30 19:16:12 robbat2 Exp $ |
51 | |
52 | EAPI="3" |
53 | |
54 | inherit flag-o-matic |
55 | if [[ ${PV} == "9999" ]] ; then |
56 | ESVN_REPO_URI="https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk/smartmontools" |
57 | ESVN_PROJECT="smartmontools" |
58 | inherit subversion autotools |
59 | SRC_URI="" |
60 | else |
61 | SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
62 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos" |
63 | fi |
64 | |
65 | DESCRIPTION="Self-Monitoring, Analysis and Reporting Technology System (S.M.A.R.T.) monitoring tools" |
66 | HOMEPAGE="http://smartmontools.sourceforge.net/" |
67 | |
68 | LICENSE="GPL-2" |
69 | SLOT="0" |
70 | IUSE="static minimal caps" |
71 | |
72 | DEPEND="!minimal? ( caps? ( sys-libs/libcap-ng ) )" |
73 | RDEPEND="${DEPEND} |
74 | !minimal? ( virtual/mailx )" |
75 | |
76 | src_prepare() { |
77 | if [[ ${PV} == "9999" ]] ; then |
78 | #./autogen.sh |
79 | eautoreconf |
80 | fi |
81 | } |
82 | |
83 | src_configure() { |
84 | local myconf |
85 | use minimal && einfo "Skipping the monitoring daemon for minimal build." |
86 | use static && append-ldflags -static |
87 | |
88 | if ! use minimal; then |
89 | myconf="${myconf} $(use_with caps libcap-ng)" |
90 | else |
91 | # disable it so that we stay safe |
92 | myconf="${myconf} --without-libcap-ng" |
93 | fi |
94 | |
95 | econf \ |
96 | --with-docdir="${EPREFIX}/usr/share/doc/${PF}" \ |
97 | --with-initscriptdir="/toss-it-away" \ |
98 | ${myconf} \ |
99 | || die |
100 | } |
101 | |
102 | src_install() { |
103 | if use minimal ; then |
104 | dosbin smartctl || die |
105 | doman smartctl.8 |
106 | else |
107 | emake install DESTDIR="${D}" || die |
108 | rm -rf "${D}"/toss-it-away |
109 | newinitd "${FILESDIR}"/smartd.rc smartd |
110 | newconfd "${FILESDIR}"/smartd.confd smartd |
111 | fi |
112 | } |