From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: [PATCH 1/1] gnu: Add sysstat. Date: Tue, 10 Jan 2017 13:33:21 +0200 Message-ID: <20170110113321.GO24479@macbook42.flashner.co.il> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="oAjj1ZwgLg4oRN9q" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41311) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cQugF-0003rR-1g for guix-devel@gnu.org; Tue, 10 Jan 2017 06:33:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cQugA-0007SI-Ro for guix-devel@gnu.org; Tue, 10 Jan 2017 06:33:31 -0500 Received: from flashner.co.il ([178.62.234.194]:50053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cQugA-0007Ri-Hw for guix-devel@gnu.org; Tue, 10 Jan 2017 06:33:26 -0500 Content-Disposition: inline In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Leo Famulari Cc: guix-devel@gnu.org --oAjj1ZwgLg4oRN9q Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 07, 2017 at 02:01:21PM -0500, Leo Famulari wrote: > * gnu/packages/linux.scm (sysstat): New variable. > --- > gnu/packages/linux.scm | 37 +++++++++++++++++++++++++++++++++++++ > 1 file changed, 37 insertions(+) >=20 > diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm > index 0c191629c..d66c0c9db 100644 > --- a/gnu/packages/linux.scm > +++ b/gnu/packages/linux.scm > @@ -18,6 +18,7 @@ > ;;; Copyright =C2=A9 2016 Marius Bakke > ;;; Copyright =C2=A9 2016 Rene Saavedra > ;;; Copyright =C2=A9 2016 ng0 > +;;; Copyright =C2=A9 2017 Leo Famulari > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -3271,3 +3272,39 @@ Extensible Firmware Interface (EFI) Boot Manager. = This application can > create and destroy boot entries, change the boot order, change the next > running boot option, and more.") > (license license:gpl2+))) > + > +(define-public sysstat > + (package > + (name "sysstat") > + (version "11.4.2") > + (source (origin > + (method url-fetch) > + (uri (string-append "http://perso.orange.fr/sebastien.goda= rd/" > + "sysstat-" version ".tar.xz")) > + (sha256 > + (base32 > + "0f8gk1hma3bk198ziwrhh5jhisnbbgc1v4rxhny58n0zjzw0gm0z"))= )) > + (build-system gnu-build-system) > + (arguments > + `(#:tests? #f ; No test suite. > + ;; Without this flag, it tries to install the man pages with grou= p 'root' > + ;; and fails because /etc/passwd lacks an entry for the root user. > + #:configure-flags > + (list "--disable-file-attr" > + (string-append "conf_dir=3D" (assoc-ref %outputs "out") "/e= tc")) > + #:phases > + (modify-phases %standard-phases > + ;; The build process tries to create '/var/lib/sa', so we skip = that > + ;; instruction. > + (add-after 'build 'skip-touching-var > + (lambda _ > + (substitute* "Makefile" > + (("mkdir -p \\$\\(DESTDIR\\)\\$\\(SA_DIR\\)") > + "")) I would add this to the previous line > + #t))))) > + (home-page "http://sebastien.godard.pagesperso-orange.fr/") > + (synopsis "Performance monitoring tools for Linux") > + (description "The sysstat utilities are a collection of performance > +monitoring tools for Linux. These include mpstat, iostat, tapestat, cif= siostat, > +pidstat, sar, sadc, sadf and sa.") should these be @code{mpstat} ... > + (license license:gpl2+))) > --=20 > 2.11.0 >=20 I have lumina packaged locally, it wants iostat from sysstat for some of its functionality. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --oAjj1ZwgLg4oRN9q Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEkVdB/rIvpOM7bo+N9MHTkX6s7pMFAlh0xmkACgkQ9MHTkX6s 7pOyDA//edZVdJpwKUs77kee9oLqir5tF3NnjeR9o6GvitHCHjBPOiHXwxlxaDtq b1kVNa5SrLVcmE6M0E4AH3xVPw5+unQoifktuzox/xIb8zNl8yrwKuIhdKT8+Ee5 3Wn77fSuUMva6wCZQMkKhRTT7B+xf+4u3O1rcVFjbUQTHIFFNni4wYa8KDEP6PMI vZOasHZw+hWTJRQMHm6yzWfkkV/YFCOaEslc+iEmSccyfE9lfXR2tIIzOdRpdw30 a4c+LKR0IKP3MCQKGN4b9k8Ha1JWjN0mcEIclmXFkmu8y3IqB8IKK8c+V6R8IZZ+ s043cxRetNaqeYeTrXHm62fTPsSwbKg+/L8HJyidTj+ZD7wpC1VwpegF/T3hcdBs bvhfAByUdnq2hAuF/pp93ENn1FIcT1hNfoXH/O6WqW5Dz1jHxvZGw7iX1O0pkz4p Xk7TrhTZ+xLAHoN9DFT9Xah01UhhJLaXaWc4u9jtQWmv4jYeilGZ7ou7s5qHIa1s 3jy0/yLBFq0FW8uzvs3uHH6Owog1UjjuKS5nXKpfvnwdm/m/kkMYta72tC6fx/Wm /ZWrnvljKRPuwWwRsHMyaRUJiMlFyKgTEb2RylqMMRcYtsKF2AvCpKmNyIUu2WyU NeRmZgq5hsxGw4A5lnXTKzzE2jH11+aW3HG9rKaHD7ZfGN+AVR8= =pm8Q -----END PGP SIGNATURE----- --oAjj1ZwgLg4oRN9q--