unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add GNU acct.
@ 2013-10-10 10:38 Nikita Karetnikov
  2013-10-10 12:07 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Nikita Karetnikov @ 2013-10-10 10:38 UTC (permalink / raw)
  To: guix-devel


[-- Attachment #1.1: Type: text/plain, Size: 24 bytes --]

May I push this patch?


[-- Attachment #1.2: 0001-gnu-Add-GNU-acct.patch --]
[-- Type: text/x-diff, Size: 2745 bytes --]

From 20809203713f119ffaa0fb6d372b73cce5d1cf51 Mon Sep 17 00:00:00 2001
From: Nikita Karetnikov <nikita@karetnikov.org>
Date: Thu, 10 Oct 2013 10:32:15 +0000
Subject: [PATCH] gnu: Add GNU acct.

* gnu/packages/acct.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
---
 gnu-system.am         |    1 +
 gnu/packages/acct.scm |   44 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)
 create mode 100644 gnu/packages/acct.scm

diff --git a/gnu-system.am b/gnu-system.am
index 37a174c..0132187 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -22,6 +22,7 @@
 
 GNU_SYSTEM_MODULES =				\
   gnu/packages.scm				\
+  gnu/packages/acct.scm				\
   gnu/packages/acl.scm				\
   gnu/packages/algebra.scm			\
   gnu/packages/apr.scm				\
diff --git a/gnu/packages/acct.scm b/gnu/packages/acct.scm
new file mode 100644
index 0000000..e892fd8
--- /dev/null
+++ b/gnu/packages/acct.scm
@@ -0,0 +1,44 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages acct)
+  #:use-module (guix licenses)
+  #:use-module (guix packages)
+  #:use-module (guix download)
+  #:use-module (guix build-system gnu))
+
+(define-public acct
+  (package
+    (name "acct")
+    (version "6.6.1")
+    (source
+     (origin
+      (method url-fetch)
+      (uri (string-append "mirror://gnu/acct/acct-"
+                          version ".tar.gz"))
+      (sha256
+       (base32
+        "1jzz601cavml7894fjalw661gz28ia35002inw990agr3rhiaiam"))))
+    (build-system gnu-build-system)
+    (home-page "https://gnu.org/software/acct/")
+    (synopsis "Standard login and process accounting utilities")
+    (description
+     "GNU acct provides a means for system administrators to determine
+system usage patterns.  It provides information on, for example, connections,
+programs executed, and system resources used.")
+    (license gpl3+)))
-- 
1.7.9.5


[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] gnu: Add GNU acct.
  2013-10-10 10:38 [PATCH] gnu: Add GNU acct Nikita Karetnikov
@ 2013-10-10 12:07 ` Ludovic Courtès
  2013-10-11 12:49   ` Nikita Karetnikov
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2013-10-10 12:07 UTC (permalink / raw)
  To: Nikita Karetnikov; +Cc: guix-devel

Nikita Karetnikov <nikita@karetnikov.org> skribis:

> May I push this patch?
>
>
> From 20809203713f119ffaa0fb6d372b73cce5d1cf51 Mon Sep 17 00:00:00 2001
> From: Nikita Karetnikov <nikita@karetnikov.org>
> Date: Thu, 10 Oct 2013 10:32:15 +0000
> Subject: [PATCH] gnu: Add GNU acct.
>
> * gnu/packages/acct.scm: New file.
> * gnu-system.am (GNU_SYSTEM_MODULES): Add it.

Yes, please!  (Make sure ‘make sync-descriptions’ doesn’t complain.)

Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] gnu: Add GNU acct.
  2013-10-10 12:07 ` Ludovic Courtès
@ 2013-10-11 12:49   ` Nikita Karetnikov
  2013-10-11 13:56     ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Nikita Karetnikov @ 2013-10-11 12:49 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 458 bytes --]

> Yes, please!

Done.  By the way, thanks for showing the head of the file, it’s really
helpful.

> (Make sure ‘make sync-descriptions’ doesn’t complain.)

There are other packages that complain.  I’m willing to help with this.
Which should be updated in ‘core-updates’?  Will it be enough to run
‘guix build coreutils -n‘ (as suggested here [1]) to check?

[1] https://lists.gnu.org/archive/html/bug-guix/2013-03/msg00041.html

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] gnu: Add GNU acct.
  2013-10-11 12:49   ` Nikita Karetnikov
@ 2013-10-11 13:56     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2013-10-11 13:56 UTC (permalink / raw)
  To: Nikita Karetnikov; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 436 bytes --]

Nikita Karetnikov <nikita@karetnikov.org> skribis:

>> Yes, please!
>
> Done.  By the way, thanks for showing the head of the file, it’s really
> helpful.

Thanks.

>> (Make sure ‘make sync-descriptions’ doesn’t complain.)
>
> There are other packages that complain.  I’m willing to help with this.

That’s because Karl has started reviewing the descriptions (“blurbs”).
The file has also been renamed:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 546 bytes --]

diff --git a/guix/gnu-maintenance.scm b/guix/gnu-maintenance.scm
index 1b767f3..3dd8874 100644
--- a/guix/gnu-maintenance.scm
+++ b/guix/gnu-maintenance.scm
@@ -86,7 +86,7 @@
   ;; This file contains package descriptions in recutils format.
   ;; See <https://lists.gnu.org/archive/html/guix-devel/2013-10/msg00071.html>.
   (string->uri
-   (string-append %gnumaint-base-url "pkgdescr.txt?root=womb")))
+   (string-append %gnumaint-base-url "pkgblurbs.txt?root=womb")))
 
 (define-record-type* <gnu-package-descriptor>
   gnu-package-descriptor

[-- Attachment #3: Type: text/plain, Size: 366 bytes --]


Maybe we should just wait a few more days for things to settle before
synchronizing again.

> Which should be updated in ‘core-updates’?  Will it be enough to run
> ‘guix build coreutils -n‘ (as suggested here [1]) to check?

Not even necessary: changing descriptions doesn’t affect the hash, so
all that can be done in ‘master’.

Ludo’.

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-10-11 14:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-10 10:38 [PATCH] gnu: Add GNU acct Nikita Karetnikov
2013-10-10 12:07 ` Ludovic Courtès
2013-10-11 12:49   ` Nikita Karetnikov
2013-10-11 13:56     ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).