Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/smartmontools: ChangeLog smartmontools-6.1.ebuild smartmontools-9999.ebuild
Date: Fri, 31 May 2013 05:48:55
Message-Id: 20130531054850.EC7102171D@flycatcher.gentoo.org
1 radhermit 13/05/31 05:48:50
2
3 Modified: ChangeLog smartmontools-9999.ebuild
4 Added: smartmontools-6.1.ebuild
5 Log:
6 Version bump (bug #462414) and update to EAPI 4.
7
8 (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.121 sys-apps/smartmontools/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/smartmontools/ChangeLog?rev=1.121&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/smartmontools/ChangeLog?rev=1.121&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/smartmontools/ChangeLog?r1=1.120&r2=1.121
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/ChangeLog,v
20 retrieving revision 1.120
21 retrieving revision 1.121
22 diff -u -r1.120 -r1.121
23 --- ChangeLog 21 Feb 2013 02:17:07 -0000 1.120
24 +++ ChangeLog 31 May 2013 05:48:50 -0000 1.121
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sys-apps/smartmontools
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/ChangeLog,v 1.120 2013/02/21 02:17:07 zmedico Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/ChangeLog,v 1.121 2013/05/31 05:48:50 radhermit Exp $
30 +
31 +*smartmontools-6.1 (31 May 2013)
32 +
33 + 31 May 2013; Tim Harder <radhermit@g.o> +smartmontools-6.1.ebuild,
34 + smartmontools-9999.ebuild:
35 + Version bump (bug #462414) and update to EAPI 4.
36
37 21 Feb 2013; Zac Medico <zmedico@g.o> smartmontools-6.0.ebuild,
38 smartmontools-9999.ebuild:
39
40
41
42 1.14 sys-apps/smartmontools/smartmontools-9999.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/smartmontools/smartmontools-9999.ebuild?rev=1.14&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/smartmontools/smartmontools-9999.ebuild?rev=1.14&content-type=text/plain
46 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/smartmontools/smartmontools-9999.ebuild?r1=1.13&r2=1.14
47
48 Index: smartmontools-9999.ebuild
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/smartmontools-9999.ebuild,v
51 retrieving revision 1.13
52 retrieving revision 1.14
53 diff -u -r1.13 -r1.14
54 --- smartmontools-9999.ebuild 21 Feb 2013 02:17:07 -0000 1.13
55 +++ smartmontools-9999.ebuild 31 May 2013 05:48:50 -0000 1.14
56 @@ -1,15 +1,14 @@
57 # Copyright 1999-2013 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/smartmontools-9999.ebuild,v 1.13 2013/02/21 02:17:07 zmedico Exp $
60 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/smartmontools-9999.ebuild,v 1.14 2013/05/31 05:48:50 radhermit Exp $
61
62 -EAPI="3"
63 +EAPI="4"
64
65 inherit flag-o-matic systemd
66 if [[ ${PV} == "9999" ]] ; then
67 ESVN_REPO_URI="https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk/smartmontools"
68 ESVN_PROJECT="smartmontools"
69 inherit subversion autotools
70 - SRC_URI=""
71 else
72 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
73 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"
74 @@ -49,10 +48,10 @@
75
76 src_install() {
77 if use minimal ; then
78 - dosbin smartctl || die
79 + dosbin smartctl
80 doman smartctl.8
81 else
82 - emake install DESTDIR="${D}" || die
83 + default
84 newinitd "${FILESDIR}"/smartd.rc smartd
85 newconfd "${FILESDIR}"/smartd.confd smartd
86 fi
87
88
89
90 1.1 sys-apps/smartmontools/smartmontools-6.1.ebuild
91
92 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/smartmontools/smartmontools-6.1.ebuild?rev=1.1&view=markup
93 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/smartmontools/smartmontools-6.1.ebuild?rev=1.1&content-type=text/plain
94
95 Index: smartmontools-6.1.ebuild
96 ===================================================================
97 # Copyright 1999-2013 Gentoo Foundation
98 # Distributed under the terms of the GNU General Public License v2
99 # $Header: /var/cvsroot/gentoo-x86/sys-apps/smartmontools/smartmontools-6.1.ebuild,v 1.1 2013/05/31 05:48:50 radhermit Exp $
100
101 EAPI="4"
102
103 inherit flag-o-matic systemd
104 if [[ ${PV} == "9999" ]] ; then
105 ESVN_REPO_URI="https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk/smartmontools"
106 ESVN_PROJECT="smartmontools"
107 inherit subversion autotools
108 else
109 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
110 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"
111 fi
112
113 DESCRIPTION="Self-Monitoring, Analysis and Reporting Technology System (S.M.A.R.T.) monitoring tools"
114 HOMEPAGE="http://smartmontools.sourceforge.net/"
115
116 LICENSE="GPL-2"
117 SLOT="0"
118 IUSE="caps minimal selinux static"
119
120 DEPEND="caps? ( sys-libs/libcap-ng )
121 selinux? ( sys-libs/libselinux )"
122 RDEPEND="${DEPEND}
123 !minimal? ( virtual/mailx )"
124
125 src_prepare() {
126 if [[ ${PV} == "9999" ]] ; then
127 #./autogen.sh
128 eautoreconf
129 fi
130 }
131
132 src_configure() {
133 use minimal && einfo "Skipping the monitoring daemon for minimal build."
134 use static && append-ldflags -static
135 # The build installs /etc/init.d/smartd, but we clobber it
136 # in our src_install, so no need to manually delete it.
137 econf \
138 --with-docdir="${EPREFIX}/usr/share/doc/${PF}" \
139 --with-initscriptdir="${EPREFIX}/etc/init.d" \
140 $(use_with caps libcap-ng) \
141 $(use_with selinux) \
142 $(systemd_with_unitdir)
143 }
144
145 src_install() {
146 if use minimal ; then
147 dosbin smartctl
148 doman smartctl.8
149 else
150 default
151 newinitd "${FILESDIR}"/smartd.rc smartd
152 newconfd "${FILESDIR}"/smartd.confd smartd
153 fi
154 }