summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Add (guix pki).Ludovic Courtès2013-12-29
| | | | | | * guix/pki.scm, tests/pki.scm: New files. * Makefile.am (MODULES): Add 'guix/pki.scm'. (SCM_TESTS): Add 'tests/pki.scm'.
* config: Export '%config-directory'.Ludovic Courtès2013-12-29
| | | | | * configure.ac: Define and substitute 'guix_sysconfdir'. * guix/config.scm.in (%config-directory): New variable.
* Move 'with-atomic-file-output' to (guix utils).Ludovic Courtès2013-12-29
| | | | | * guix/scripts/substitute-binary.scm (with-atomic-file-output): Move to... * guix/utils.scm (with-atomic-file-output): ... here.
* pk-crypto: Add canonical-sexp to sexp conversion procedures.Ludovic Courtès2013-12-29
| | | | | | | * guix/pk-crypto.scm (canonical-sexp-fold, canonical-sexp->sexp, sexp->canonical-sexp): New procedures. * tests/pk-crypto.scm ("canonical-sexp->sexp", "sexp->canonical-sexp->sexp"): New tests.
* pk-crypto: Add 'canonical-sexp-length' and related procedures.Ludovic Courtès2013-12-29
| | | | | | | * guix/pk-crypto.scm (canonical-sexp-length, canonical-sexp-null?, canonical-sexp-list?): New procedures. * tests/pk-crypto.scm ("canonical-sexp-length", "canonical-sexp-list?"): New tests.
* pk-crypto: 'canonical-sexp-nth-data' returns a symbol for "tokens".Ludovic Courtès2013-12-29
| | | | | | | | | | * guix/pk-crypto.scm (token-string?): New procedure. (canonical-sexp-nth-data): Return a symbol when the element is a "token", and a bytevector otherwise. (latin1-string->bytevector): Remove. (hash-data->bytevector): Adjust accordingly. * tests/pk-crypto.scm ("canonical-sexp-nth"): Adjust accordingly. Add octet string example.
* authenticate: Store the public key as part of the signature.Ludovic Courtès2013-12-29
| | | | | | | * guix/scripts/authenticate.scm (signature-sexp): New procedure. (guix-authenticate): Use it to produce the signature. Adjust verification code accordingly. * tests/store.scm ("import corrupt path"): Adjust test accordingly.
* pk-crypto: Rename 'gcry-sexp' to 'canonical-sexp'.Ludovic Courtès2013-12-29
| | | | | | | * guix/pk-crypto.scm: Rename procedures, variables, etc. from 'gcry-sexp' to 'canonical-sexp'. Add comment with references. * guix/scripts/authenticate.scm, tests/pk-crypto.scm: Adjust accordingly.
* gnu: python: Update to 3.3.3.Andreas Enge2013-12-28
| | | | * gnu/packages/python.scm (python): Update to 3.3.3.
* gnu: python-2: Update to 2.7.6.Andreas Enge2013-12-28
| | | | * gnu/packages/python.scm (python-2): Update to 2.7.6.
* gnu: parallel: Update to 20131122.Andreas Enge2013-12-28
| | | | * gnu/packages/parallel.scm (parallel): Update to 20131122.
* gnu: xorriso: Update to 1.3.4.Andreas Enge2013-12-28
| | | | * gnu/packages/cdrom.scm (xorriso): Update to 1.3.4.
* gnu: libcdio: Update to 0.92.Andreas Enge2013-12-28
| | | | * gnu/packages/cdrom.scm (libcdio): Update to 0.92.
* gnu: libextractor: Update to 1.3.Andreas Enge2013-12-28
| | | | * gnu/packages/gnunet.scm (libextractor): Update to 1.3.
* gnu: vim: Update to 7.4.Andreas Enge2013-12-22
| | | | * gnu/packages/vim.scm (vim): Update to 7.4.
* Update 'TODO'.Ludovic Courtès2013-12-22
|
* Add 'guix archive'.Ludovic Courtès2013-12-22
| | | | | | | | | * guix/scripts/archive.scm, tests/guix-archive.sh: New files. * Makefile.am (MODULES): Add 'archive.scm'. (SH_TESTS): Add 'guix-archive.sh'. * doc/guix.texi (Invoking guix archive): New section. * guix/scripts/build.scm: Export 'derivation-from-expression'. * guix/scripts/package.scm: Export 'specification->package+output'.
* build: Install 'guix-authenticate'.Ludovic Courtès2013-12-22
| | | | * daemon.am (nodist_libexec_SCRIPTS): New variable.
* guix build: Improve procedural decomposition.Ludovic Courtès2013-12-21
| | | | | | | | | | * guix/scripts/build.scm (%store): Remove. (derivation-from-expression): Add 'store' parameter. Adjust caller accordingly. (register-root): New procedure, formerly within 'guix-build'. (options->derivations): New procedure, formerly inline within 'guix-build'. (guix-build): Adjust accordingly.
* Factorize package search between 'guix package' and 'guix build'.Ludovic Courtès2013-12-21
| | | | | | | | | | * guix/scripts/package.scm (newest-available-packages): Remove. (find-best-packages-by-name): Move to... * gnu/packages.scm (find-best-packages-by-name): ... here. (find-newest-available-packages): Memoize. * guix/scripts/build.scm (specification->package): New procedure, formerly called 'find-package' within 'guix-build'. (guix-build): Adjust accordingly.
* authenticate: Add test.Ludovic Courtès2013-12-21
| | | | | * tests/guix-authenticate.sh: New file. * Makefile.am (SH_TESTS): Add it.
* build: Adjust pk-crypto tests to Libgcrypt 1.5.3.Ludovic Courtès2013-12-21
| | | | | | | | 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.
* daemon: Implement signed archive import/export.Ludovic Courtès2013-12-20
| | | | | | | | | | | | | | | | | | | | | * 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.
* pk-crypto: Add a few sexp utility procedures.Ludovic Courtès2013-12-20
| | | | | | | | * 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.
* Update 'TODO'.Ludovic Courtès2013-12-20
|
* Add (guix pk-crypto).Ludovic Courtès2013-12-20
| | | | | * guix/pk-crypto.scm, tests/pk-crypto.scm: New files. * Makefile.am (MODULES, SCM_TESTS): Add them.
* sync-with-upstream: Work around limitation of dash.Ludovic Courtès2013-12-19
| | | | | | Reported by Andreas Enge <andreas@enge.fr>. * nix/sync-with-upstream: Expand use of {cc,hh}, to placate dash.
* daemon: Fix 'HashSink::currentHash()'.Ludovic Courtès2013-12-19
| | | | | | | | | | | | | 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'.
* daemon: Add libgcrypt call to state that the initialization is over.Ludovic Courtès2013-12-19
| | | | * nix/nix-daemon/guix-daemon.cc (main): Add 'gcry_control' call.
* gnu: xf86-video-vmware: Add input xorg-server.Andreas Enge2013-12-18
| | | | * gnu/packages/xorg.scm (xf86-video-vmware): Add input xorg-server.
* gnu: iso-codes: Update to 3.49.Andreas Enge2013-12-18
| | | | * gnu/packages/iso-codes.scm (iso-codes): Update to 3.49.
* gnu: shishi: Use libgcrypt-1.5.Andreas Enge2013-12-18
| | | | * gnu/packages/shishi.scm (shishi): Use input libgcrypt-1.5 instead of 1.6.
* gnu: libgcrypt: Make old version 1.5.3 public.Andreas Enge2013-12-18
| | | | | | * gnu/packages/gnupg.scm (libgcrypt-1.5): New variable. * gnu/packages/ssh.scm (libssh): Use libgcrypt-1.5 instead of defining it ad-hoc.
* gnu: libssh: Upgrade to 0.5.5.Ludovic Courtès2013-12-17
| | | | * gnu/packages/ssh.scm (libssh): Upgrade to 0.5.5.
* gnu: libssh: Build against an older libgcrypt.Ludovic Courtès2013-12-17
| | | | * gnu/packages/ssh.scm (libssh): Use libgcrypt 1.5.3 as an input.
* gnu: ffmpeg: Modify runpath of binaries to include output library path.Andreas Enge2013-12-17
| | | | | * gnu/packages/video.scm (ffmpeg): Patch binaries to add output library path to runpath.
* gnu: tor: Upgrade to 0.2.4.19.Ludovic Courtès2013-12-16
| | | | * gnu/packages/tor.scm (tor): Upgrade to 0.2.4.19.
* gnu: freeipmi: Upgrade to 1.3.4.Ludovic Courtès2013-12-16
| | | | * gnu/packages/freeipmi.scm (freeipmi): Upgrade to 1.3.4.
* gnu: libgcrypt: Upgrade to 1.6.0.Ludovic Courtès2013-12-16
| | | | * gnu/packages/gnupg.scm (libgcrypt): Upgrade to 1.6.0.
* pull: Move build code to (guix build pull).Ludovic Courtès2013-12-16
| | | | | | * guix/build/pull.scm: New file. * Makefile.am (MODULES): Add it. * guix/scripts/pull.scm (unpack): Use it.
* gnu: Add gnome-desktop.Cyril Roelandt2013-12-16
| | | | * gnu/packages/gnome.scm (gnome-desktop): New variable.
* gnu: Add iso-codes.Cyril Roelandt2013-12-15
| | | | | * gnu/packages/iso-codes.scm: New file. * gnu-system.am: Add it.
* gnu: Add libpeas.Cyril Roelandt2013-12-15
| | | | * gnu/packages/gnome.scm (libpeas): New variable.
* gnu: gtk+: enable introspection.Cyril Roelandt2013-12-15
| | | | | * gnu/packages/gtk.scm (atk, gdk-pixbuf, gtk+, pango): enable introspection * guix/build/gnome.scm: New file.
* gnu: gobject-introspection: look for 'gcc' when no compiler seems available.Cyril Roelandt2013-12-15
| | | | * gnu/packages/patches/gobject-introspection.patch: New file.
* gnu: Move libelf and patchelf to (gnu packages elf).Ludovic Courtès2013-12-15
| | | | | | | | | | | | * gnu/packages/patchelf.scm (patchelf): Move to... * gnu/packages/elf.scm (patchelf): ... here. * gnu/packages/patchelf.scm: Remove. * gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly. * gnu/packages/gcc.scm (libelf): Move to... * gnu/packages/elf.scm (libelf): ... here. * gnu/packages/cdrom.scm, gnu/packages/icu4c.scm, gnu/packages/samba.scm, gnu/packages/scheme.scm, gnu/packages/ssh.scm: Adjust references to (gnu packages patchelf).
* gnu: Add elfutils.Ludovic Courtès2013-12-15
| | | | | * gnu/packages/elf.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu: Move numerous "inputs" which should be "native-inputs".John Darrington2013-12-15
| | | | | | | | | | | | | | | | | | | | | | * gnu/packages/avahi.scm, gnu/packages/cdrom.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm, gnu/packages/emacs.scm, gnu/packages/fontutils.scm, gnu/packages/gdb.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/graphviz.scm, gnu/packages/groff.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/gv.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm, gnu/packages/libcanberra.scm, gnu/packages/libtiff.scm, gnu/packages/linux.scm, gnu/packages/lvm.scm, gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/parted.scm, gnu/packages/pdf.scm, gnu/packages/pulseaudio.scm, gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/ratpoison.scm, gnu/packages/rdf.scm, gnu/packages/slim.scm, gnu/packages/texlive.scm, gnu/packages/version-control.scm, gnu/packages/video.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm, gnu/packages/xml.scm, gnu/packages/xnee.scm, gnu/packages/xorg.scm, gnu/packages/zip.scm: Move some build-time dependencies from `inputs' to `native-inputs'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: gnupg: Fix cross-compile issues.John Darrington2013-12-15
| | | | | | | | | | | | | * gnu/packages/gnupg.scm (libgpg-error): Add gcc as a native input, and set the CC_FOR_BUILD variable. * gnu/packages/gnupg.scm (libgcrypt): Add libgpg-error as a native input and set the --with-gpg-error-prefix configure option. * gnu/packages/gnupg.scm (libksba): Add libgpg-error as a native input and set the --with-gpg-error-prefix configure option. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: openssl: Fix cross-compile issues.John Darrington2013-12-15
| | | | | | | | | * gnu/packages/openssl.scm (openssl): Move perl from inputs to native-inputs. Replace reference to target bash with the native bash or target bash as appropriate. Signed-off-by: Ludovic Courtès <ludo@gnu.org>