all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#27151: [PATCH] gnu: sudo: Unbundle zlib.
@ 2017-05-30 16:12 Marius Bakke
  2017-05-30 17:47 ` Leo Famulari
  0 siblings, 1 reply; 4+ messages in thread
From: Marius Bakke @ 2017-05-30 16:12 UTC (permalink / raw)
  To: 27151

* gnu/packages/admin.scm (sudo)[source]: Add 'snippet'.
[inputs]: Add ZLIB.
---
 gnu/packages/admin.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index ba0d7f661..c1d254d48 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -812,7 +812,10 @@ system administrator.")
                                     version ".tar.gz")))
               (sha256
                (base32
-                "07fvh8qy0l1h93lccc625f48d8yp0pkp5rjjykq13pb07ar0x64y"))))
+                "07fvh8qy0l1h93lccc625f48d8yp0pkp5rjjykq13pb07ar0x64y"))
+              (modules '((guix build utils)))
+              (snippet
+               '(delete-file-recursively "lib/zlib"))))
     (build-system gnu-build-system)
     (arguments
      `(#:configure-flags
@@ -860,6 +863,7 @@ system administrator.")
     (inputs
      `(("groff" ,groff)
        ("linux-pam" ,linux-pam)
+       ("zlib" ,zlib)
        ("coreutils" ,coreutils)))
     (home-page "https://www.sudo.ws/")
     (synopsis "Run commands as root")
-- 
2.13.0

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

* bug#27151: [PATCH] gnu: sudo: Unbundle zlib.
  2017-05-30 16:12 bug#27151: [PATCH] gnu: sudo: Unbundle zlib Marius Bakke
@ 2017-05-30 17:47 ` Leo Famulari
  2017-05-30 17:51   ` Marius Bakke
  0 siblings, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2017-05-30 17:47 UTC (permalink / raw)
  To: Marius Bakke; +Cc: 27151

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

On Tue, May 30, 2017 at 06:12:24PM +0200, Marius Bakke wrote:
> * gnu/packages/admin.scm (sudo)[source]: Add 'snippet'.
> [inputs]: Add ZLIB.

Works for me, thanks!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* bug#27151: [PATCH] gnu: sudo: Unbundle zlib.
  2017-05-30 17:47 ` Leo Famulari
@ 2017-05-30 17:51   ` Marius Bakke
  2017-05-31 19:20     ` Danny Milosavljevic
  0 siblings, 1 reply; 4+ messages in thread
From: Marius Bakke @ 2017-05-30 17:51 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 27151-done

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

Leo Famulari <leo@famulari.name> writes:

> On Tue, May 30, 2017 at 06:12:24PM +0200, Marius Bakke wrote:
>> * gnu/packages/admin.scm (sudo)[source]: Add 'snippet'.
>> [inputs]: Add ZLIB.
>
> Works for me, thanks!

Thanks for checking! FWIW 'sudo' builds fine without zlib as well, but
references it when it is available in inputs (did not dig further).

Pushed as 6b7f1b6ce96d4c3bbe85d5c548b0643b4ea78ccf.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* bug#27151: [PATCH] gnu: sudo: Unbundle zlib.
  2017-05-30 17:51   ` Marius Bakke
@ 2017-05-31 19:20     ` Danny Milosavljevic
  0 siblings, 0 replies; 4+ messages in thread
From: Danny Milosavljevic @ 2017-05-31 19:20 UTC (permalink / raw)
  To: Marius Bakke; +Cc: 27151-done

Apparently sudo can log stdin, stdout, stderr of programs it invokes.  If zlib is available, it will compress those logs.

See also <https://unix.stackexchange.com/questions/108577/how-to-log-commands-within-a-sudo-su>.

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

end of thread, other threads:[~2017-05-31 19:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-30 16:12 bug#27151: [PATCH] gnu: sudo: Unbundle zlib Marius Bakke
2017-05-30 17:47 ` Leo Famulari
2017-05-30 17:51   ` Marius Bakke
2017-05-31 19:20     ` Danny Milosavljevic

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.