~ruther/guix-local

0820098d — Ludovic Courtès 12 years ago
authenticate: Add test.

* tests/guix-authenticate.sh: New file.
* Makefile.am (SH_TESTS): Add it.
0a66781e — Ludovic Courtès 12 years ago
build: Adjust pk-crypto tests to Libgcrypt 1.5.3.

Reported by Andreas Enge <andreas@enge.fr>.

* tests/pk-crypto.scm ("string->gcry-sexp->string"): Remove "#C0FFEE#"
  from SEXPS.
  ("gcry-sexp-nth"): Start at index 1.
526382ff — Ludovic Courtès 12 years ago
daemon: Implement signed archive import/export.

* guix/scripts/authenticate.scm, nix/scripts/guix-authenticate.in,
  tests/signing-key.pub, tests/signing-key.sec: New files.
* po/POTFILES.in: Add 'guix/scripts/authenticate.scm'.
* guix/store.scm (dump-port): New procedure.
  (process-stderr): Add 'user-port' optional parameter.  Handle
  the %STDERR-WRITE and %STDERR-READ cases as expected.
  (import-paths, export-path, export-paths): New procedures.
* tests/store.scm ("export/import several paths", "import corrupt
  path"): New tests.
* Makefile.am (MODULES): Add 'guix/scripts/authenticate.scm'.
  (EXTRA_DIST): Add 'tests/signing-key.{pub,sec}'.
* daemon.am (libstore_a_CPPFLAGS)[-DNIX_CONF_DIR]: Change 'NIX_CONF_DIR'
  to .../guix.  Change 'OPENSSL_PATH' to 'guix-authenticate'.
* config-daemon.ac: Instantiate 'nix/scripts/guix-authenticate'.
* nix/nix-daemon/guix-daemon.cc (main): Augment $PATH to include
  'settings.nixLibexecDir'.
* test-env.in: Export 'NIX_CONF_DIR' and 'NIX_LIBEXEC_DIR'.  Populate
  $NIX_CONF_DIR.
ce507041 — Ludovic Courtès 12 years ago
pk-crypto: Add a few sexp utility procedures.

* guix/pk-crypto.scm (gcry-sexp-car, gcry-sexp-cdr, gcry-sexp-nth,
  gcry-sexp-nth-data, dereference-size_t, latin1-string->bytevector,
  hash-data->bytevector): New procedures.
* tests/pk-crypto.scm ("gcry-sexp-car + cdr", "gcry-sexp-nth",
  "gcry-sexp-nth-data", "bytevector->hash-data->bytevector"): New tests.
971cb56d — Ludovic Courtès 12 years ago
Update 'TODO'.
3476ded9 — Ludovic Courtès 12 years ago
Add (guix pk-crypto).

* guix/pk-crypto.scm, tests/pk-crypto.scm: New files.
* Makefile.am (MODULES, SCM_TESTS): Add them.
b1aa25be — Ludovic Courtès 12 years ago
sync-with-upstream: Work around limitation of dash.

Reported by Andreas Enge <andreas@enge.fr>.

* nix/sync-with-upstream: Expand use of {cc,hh}, to placate dash.
0c5028fa — Ludovic Courtès 12 years ago
daemon: Fix 'HashSink::currentHash()'.

Before that, calls to 'HashSink::currentHash()' would eventually lead to
a segfault because the underlying gcrypt handle has been closed.  (Note
that this method is only used via 'importPaths' and 'exportPath', though.)

* nix/libutil/gcrypt-hash.hh (struct guix_hash_context): Add a
  constructor and a copy constructor; move out of 'extern "C"'.
* nix/libutil/gcrypt-hash.cc (guix_hash_final): Clear 'md_handle' upon
  exit.
* nix/sync-with-upstream (top_srcdir): Change hash.{cc,hh} to read
  'struct Ctx' instead of 'union Ctx'.
37dd969c — Ludovic Courtès 12 years ago
daemon: Add libgcrypt call to state that the initialization is over.

* nix/nix-daemon/guix-daemon.cc (main): Add 'gcry_control' call.
7eb71d7a — Andreas Enge 12 years ago
gnu: xf86-video-vmware: Add input xorg-server.

* gnu/packages/xorg.scm (xf86-video-vmware): Add input xorg-server.
217a67c0 — Andreas Enge 12 years ago
gnu: iso-codes: Update to 3.49.

* gnu/packages/iso-codes.scm (iso-codes): Update to 3.49.
e1482035 — Andreas Enge 12 years ago
gnu: shishi: Use libgcrypt-1.5.

* gnu/packages/shishi.scm (shishi): Use input libgcrypt-1.5 instead of 1.6.
a53421fd — Andreas Enge 12 years ago
gnu: libgcrypt: Make old version 1.5.3 public.

* gnu/packages/gnupg.scm (libgcrypt-1.5): New variable.
* gnu/packages/ssh.scm (libssh): Use libgcrypt-1.5 instead of defining it
    ad-hoc.
d44da8b0 — Ludovic Courtès 12 years ago
gnu: libssh: Upgrade to 0.5.5.

* gnu/packages/ssh.scm (libssh): Upgrade to 0.5.5.
678110b9 — Ludovic Courtès 12 years ago
gnu: libssh: Build against an older libgcrypt.

* gnu/packages/ssh.scm (libssh): Use libgcrypt 1.5.3 as an input.
f22e0e26 — Andreas Enge 12 years ago
gnu: ffmpeg: Modify runpath of binaries to include output library path.

* gnu/packages/video.scm (ffmpeg): Patch binaries to add output library path
    to runpath.
f733c4c8 — Ludovic Courtès 12 years ago
gnu: tor: Upgrade to 0.2.4.19.

* gnu/packages/tor.scm (tor): Upgrade to 0.2.4.19.
ec9a2561 — Ludovic Courtès 12 years ago
gnu: freeipmi: Upgrade to 1.3.4.

* gnu/packages/freeipmi.scm (freeipmi): Upgrade to 1.3.4.
375c6297 — Ludovic Courtès 12 years ago
gnu: libgcrypt: Upgrade to 1.6.0.

* gnu/packages/gnupg.scm (libgcrypt): Upgrade to 1.6.0.
3dbeecd2 — Ludovic Courtès 12 years ago
pull: Move build code to (guix build pull).

* guix/build/pull.scm: New file.
* Makefile.am (MODULES): Add it.
* guix/scripts/pull.scm (unpack): Use it.
Next