polynomial-c    15/06/25 21:13:42

  Modified:             ChangeLog
  Added:                atop-2.2.ebuild
  Log:
  Version bump. Added rewritten init script to fix bug #553246
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
0x981CA6FC)

Revision  Changes    Path
1.51                 sys-process/atop/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/atop/ChangeLog?rev=1.51&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/atop/ChangeLog?rev=1.51&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/atop/ChangeLog?r1=1.50&r2=1.51

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-process/atop/ChangeLog,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- ChangeLog   1 Dec 2014 12:34:41 -0000       1.50
+++ ChangeLog   25 Jun 2015 21:13:42 -0000      1.51
@@ -1,6 +1,12 @@
 # ChangeLog for sys-process/atop
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/atop/ChangeLog,v 1.50 
2014/12/01 12:34:41 jer Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/atop/ChangeLog,v 1.51 
2015/06/25 21:13:42 polynomial-c Exp $
+
+*atop-2.2 (25 Jun 2015)
+
+  25 Jun 2015; Lars Wendler <polynomia...@gentoo.org> +atop-2.2.ebuild,
+  +files/atop-2.2-build.patch, +files/atop.rc-r1, +files/atopacct.rc:
+  Version bump. Added rewritten init script to fix bug #553246.
 
   01 Dec 2014; Jeroen Roovers <j...@gentoo.org> files/atop-2.1-build.patch:
   Fix building against sys-libs/ncurses[tinfo] (bug #531326).



1.1                  sys-process/atop/atop-2.2.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/atop/atop-2.2.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/atop/atop-2.2.ebuild?rev=1.1&content-type=text/plain

Index: atop-2.2.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-process/atop/atop-2.2.ebuild,v 1.1 
2015/06/25 21:13:42 polynomial-c Exp $

EAPI="4"

inherit eutils toolchain-funcs

MY_PV=${PV//_p/-}
MY_P=${PN}-${MY_PV}-3

DESCRIPTION="Resource-specific view of processes"
HOMEPAGE="http://www.atoptool.nl/";
SRC_URI="http://www.atoptool.nl/download/${MY_P}.tar.gz";

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux"
IUSE=""

RDEPEND="
        sys-libs/ncurses
        sys-process/acct
"
DEPEND="
        ${RDEPEND}
        virtual/pkgconfig
"

S=${WORKDIR}/${MY_P}

src_prepare() {
        epatch "${FILESDIR}"/${PN}-2.2-build.patch
        tc-export CC PKG_CONFIG
        sed -i 's: root : :' atop.cronsysv || die #191926
        # prefixify
        sed -i "s:/\(usr\|etc\|var\):${EPREFIX}/\1:g" Makefile
}

src_install() {
        emake DESTDIR="${D}" genericinstall
        # useless -${PV} copies ?
        rm -f "${ED}"/usr/bin/atop*-${MY_PV}
        newinitd "${FILESDIR}"/${PN}.rc-r1 ${PN}
        newinitd "${FILESDIR}"/atopacct.rc atopacct
        dodoc atop.cronsysv AUTHOR ChangeLog README
}




Reply via email to