Commit Graph

23 Commits

Author SHA1 Message Date
Ricardo Wurmus bcdee2dc33
gnu: polkit: Update to 0.115 [fixes CVE-2018-1116].
* gnu/packages/polkit.scm (polkit): Update to 0.115.
[origin]: Adjust snippet.
[inputs]: Replace mozjs with mozjs-52.
* gnu/packages/patches/polkit-drop-test.patch: Remove patch.
* gnu/local.mk (dist_patch_DATA): Remove it.

(cherry picked from commit 50afd712312a4b9fa42d7f9d03464e542b3aeb75)
Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2018-08-09 21:19:47 +02:00
Ludovic Courtès 87b6305e72
gnu: polkit: Fix 'invoke' call.
* gnu/packages/polkit.scm (polkit)[arguments] <'install>: Add 'apply'.
Fixes a regression introduced in 3c4bbb4c52.
2018-02-27 09:22:24 +01:00
Tobias Geerinckx-Rice 57e7d7486b
gnu: Use HTTPS for supported freedesktop.org home pages.
* gnu/packages/fontutils.scm (fontconfig)[home-page]: Use HTTPS.
* gnu/packages/freedesktop.scm (python-pyxdg, accountsservice)
(modem-manager, telepathy-mission-control, telepathy-mission-control)
(colord-gtk, desktop-file-utils)[home-page]: Likewise.
* gnu/packages/ghostscript.scm (libspectre)[home-page]: Likewise.
* gnu/packages/glib.scm (dbus, dbus-glib, telepathy-glib)[home-page]:
Likewise.
* gnu/packages/gnome.scm (shared-mime-info, hicolor-icon-theme)
(libxklavier, colord, upower)[home-page]: Likewise.
* gnu/packages/gstreamer.scm (orc, python-gst)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (sound-theme-freedesktop)[home-page]:
Likewise.
* gnu/packages/libreoffice.scm (libexttextcat)[home-page]: Likewise.
* gnu/packages/polkit.scm (polkit-gnome, polkit-gnome)[home-page]:
Likewise.
* gnu/packages/pulseaudio.scm (pavucontrol)[home-page]: Likewise.
* gnu/packages/python.scm (python-dbus)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (startup-notification)[home-page]: Likewise.
2018-02-26 20:13:10 +01:00
Tobias Geerinckx-Rice 3c4bbb4c52
gnu: polkit: Update phase & snippet style.
* gnu/packages/polkit.scm (polkit)[source]: End snippet with #t.
[arguments]: Substitute INVOKE for SYSTEM* and end phases with #t.
2018-02-26 20:13:09 +01:00
Huang Ying 728dc8fa29
gnu: Add polkit-gnome.
* gnu/packages/polkit.scm (polkit-gnome): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-02-01 23:53:35 +01:00
David Craven 51b1d53987
gnu: polkit-qt: Use modular qt.
* gnu/packages/polkit.scm (polkit-qt)[propagated-inputs]: Add qtbase. Remove qt.
2016-08-18 13:11:03 +02:00
Alex Kost fc1adab148 gnu: packages: Use 'search-patches' everywhere.
* gnu/packages/abiword.scm: Use 'search-patches' for 'patches' field.
* gnu/packages/acl.scm: Likewise.
* gnu/packages/admin.scm: Likewise.
* gnu/packages/algebra.scm: Likewise.
* gnu/packages/animation.scm: Likewise.
* gnu/packages/apr.scm: Likewise.
* gnu/packages/audacity.scm: Likewise.
* gnu/packages/audio.scm: Likewise.
* gnu/packages/autotools.scm: Likewise.
* gnu/packages/avahi.scm: Likewise.
* gnu/packages/backup.scm: Likewise.
* gnu/packages/base.scm: Likewise.
* gnu/packages/bash.scm: Likewise.
* gnu/packages/bioinformatics.scm: Likewise.
* gnu/packages/cdrom.scm: Likewise.
* gnu/packages/ci.scm: Likewise.
* gnu/packages/cmake.scm: Likewise.
* gnu/packages/cpio.scm: Likewise.
* gnu/packages/cross-base.scm: Likewise.
* gnu/packages/dico.scm: Likewise.
* gnu/packages/doxygen.scm: Likewise.
* gnu/packages/ebook.scm: Likewise.
* gnu/packages/elf.scm: Likewise.
* gnu/packages/emacs.scm: Likewise.
* gnu/packages/engineering.scm: Likewise.
* gnu/packages/firmware.scm: Likewise.
* gnu/packages/flashing-tools.scm: Likewise.
* gnu/packages/fltk.scm: Likewise.
* gnu/packages/ftp.scm: Likewise.
* gnu/packages/games.scm: Likewise.
* gnu/packages/gawk.scm: Likewise.
* gnu/packages/gcc.scm: Likewise.
* gnu/packages/gd.scm: Likewise.
* gnu/packages/ghostscript.scm: Likewise.
* gnu/packages/glib.scm: Likewise.
* gnu/packages/gnome.scm: Likewise.
* gnu/packages/gnucash.scm: Likewise.
* gnu/packages/gnunet.scm: Likewise.
* gnu/packages/gnupg.scm: Likewise.
* gnu/packages/gnuzilla.scm: Likewise.
* gnu/packages/graphics.scm: Likewise.
* gnu/packages/grub.scm: Likewise.
* gnu/packages/gtk.scm: Likewise.
* gnu/packages/guile.scm: Likewise.
* gnu/packages/icu4c.scm: Likewise.
* gnu/packages/idutils.scm: Likewise.
* gnu/packages/image.scm: Likewise.
* gnu/packages/imagemagick.scm: Likewise.
* gnu/packages/irc.scm: Likewise.
* gnu/packages/ldc.scm: Likewise.
* gnu/packages/libcanberra.scm: Likewise.
* gnu/packages/libevent.scm: Likewise.
* gnu/packages/libreoffice.scm: Likewise.
* gnu/packages/libunwind.scm: Likewise.
* gnu/packages/libusb.scm: Likewise.
* gnu/packages/linux.scm: Likewise.
* gnu/packages/lirc.scm: Likewise.
* gnu/packages/llvm.scm: Likewise.
* gnu/packages/lsh.scm: Likewise.
* gnu/packages/lua.scm: Likewise.
* gnu/packages/lxqt.scm: Likewise.
* gnu/packages/mail.scm: Likewise.
* gnu/packages/maths.scm: Likewise.
* gnu/packages/mcrypt.scm: Likewise.
* gnu/packages/messaging.scm: Likewise.
* gnu/packages/mit-krb5.scm: Likewise.
* gnu/packages/mp3.scm: Likewise.
* gnu/packages/multiprecision.scm: Likewise.
* gnu/packages/music.scm: Likewise.
* gnu/packages/ninja.scm: Likewise.
* gnu/packages/nvi.scm: Likewise.
* gnu/packages/ocaml.scm: Likewise.
* gnu/packages/orpheus.scm: Likewise.
* gnu/packages/ots.scm: Likewise.
* gnu/packages/parallel.scm: Likewise.
* gnu/packages/patchutils.scm: Likewise.
* gnu/packages/pcre.scm: Likewise.
* gnu/packages/pdf.scm: Likewise.
* gnu/packages/perl.scm: Likewise.
* gnu/packages/plotutils.scm: Likewise.
* gnu/packages/polkit.scm: Likewise.
* gnu/packages/pulseaudio.scm: Likewise.
* gnu/packages/python.scm: Likewise.
* gnu/packages/qemu.scm: Likewise.
* gnu/packages/qt.scm: Likewise.
* gnu/packages/ratpoison.scm: Likewise.
* gnu/packages/rdf.scm: Likewise.
* gnu/packages/readline.scm: Likewise.
* gnu/packages/rush.scm: Likewise.
* gnu/packages/scheme.scm: Likewise.
* gnu/packages/screen.scm: Likewise.
* gnu/packages/sdl.scm: Likewise.
* gnu/packages/slim.scm: Likewise.
* gnu/packages/ssh.scm: Likewise.
* gnu/packages/tcl.scm: Likewise.
* gnu/packages/tcsh.scm: Likewise.
* gnu/packages/texinfo.scm: Likewise.
* gnu/packages/tls.scm: Likewise.
* gnu/packages/tor.scm: Likewise.
* gnu/packages/tv.scm: Likewise.
* gnu/packages/valgrind.scm: Likewise.
* gnu/packages/version-control.scm: Likewise.
* gnu/packages/video.scm: Likewise.
* gnu/packages/vpn.scm: Likewise.
* gnu/packages/vtk.scm: Likewise.
* gnu/packages/w3m.scm: Likewise.
* gnu/packages/web.scm: Likewise.
* gnu/packages/wicd.scm: Likewise.
* gnu/packages/wm.scm: Likewise.
* gnu/packages/xdisorg.scm: Likewise.
* gnu/packages/xfce.scm: Likewise.
* gnu/packages/xiph.scm: Likewise.
* gnu/packages/xml.scm: Likewise.
* gnu/packages/xorg.scm: Likewise.
* gnu/packages/zip.scm: Likewise.
2016-04-14 10:38:21 +03:00
Mark H Weaver b35461748b gnu: Fix misplaced commas (unquote).
Fix many occurrences of comma (unquote) being placed immediately after the
previous list item, e.g. ("ncurses", ncurses) in the inputs.

* gnu/packages/base.scm (patch, gnu-make),
  gnu/packages/bioinformatics.scm (hmmer),
  gnu/packages/bittorrent.scm (aria2),
  gnu/packages/compression.scm (pbzip2),
  gnu/packages/databases.scm (recutils),
  gnu/packages/fonts.scm (font-terminus),
  gnu/packages/freedesktop.scm (xdg-utils, elogind),
  gnu/packages/games.scm (gnujump),
  gnu/packages/gnome.scm (libidl, gnumeric, eog, gedit),
  gnu/packages/gnunet.scm (gnunet),
  gnu/packages/gnuzilla.scm (mozjs, nspr),
  gnu/packages/gtk.scm (gtksourceview, gdk-pixbuf),
  gnu/packages/lua.scm (lua),
  gnu/packages/openstack.scm (python-swiftclient),
  gnu/packages/perl.scm (perl-json-any),
  gnu/packages/polkit.scm (polkit-qt),
  gnu/packages/python.scm (wrap-python3, python-oauthlib)
  (python-mccabe-0.2.1, python-contextlib2, python2-rauth),
  gnu/packages/qt.scm (qtkeychain),
  gnu/packages/ruby.scm (ruby-nokogiri),
  gnu/packages/screen.scm (screen),
  gnu/packages/ssh.scm (libssh),
  gnu/packages/video.scm (ffmpeg, mplayer),
  gnu/packages/vim.scm (vim),
  gnu/packages/xdisorg.scm (redshift),
  gnu/packages/xfce.scm (xfce4-panel, xfce4-settings),
  gnu/packages/xnee.scm (xnee),
  gnu/packages/xorg.scm (font-adobe100dpi, font-adobe75dpi),
  gnu/packages/zsh.scm (zsh): Fix misplaced commas (unquote).
2016-02-27 08:49:26 -05:00
Andy Wingo 5cc3096c73 Update all sources from freedesktop.org to use https
* gnu/packages/xorg.scm:
* gnu/packages/xdisorg.scm:
* gnu/packages/video.scm:
* gnu/packages/tls.scm:
* gnu/packages/python.scm:
* gnu/packages/pulseaudio.scm:
* gnu/packages/polkit.scm:
* gnu/packages/pdf.scm:
* gnu/packages/libcanberra.scm:
* gnu/packages/gtk.scm:
* gnu/packages/gstreamer.scm:
* gnu/packages/gnome.scm:
* gnu/packages/glib.scm:
* gnu/packages/ghostscript.scm:
* gnu/packages/freedesktop.scm:
* gnu/packages/fontutils.scm: Update all sources hosted on freedesktop
  to fetch tarballs via https.  freedesktop.org appears to have updated
  recently to redirect all http to https.  As an exception, we leave
  pkg-config like it is, because pkg-config is needed to build gnutls,
  and without gnutls we can't download https URLs.
2016-02-21 21:11:49 +01:00
Efraim Flashner 7fe8ad7616 gnu: polkit-qt: Build with qt-5.
*gnu/packages/polkit.scm (polkit-qt)[propagated-inputs]: Use qt.
2016-02-15 20:22:28 +02:00
Ludovic Courtès 222e3319bd services: 'polkit-service-type' can now be extended.
* gnu/packages/polkit.scm (polkit)[source]: Adjust snippet so that rules
  and actions are looked for under /etc/polkit-1.
* gnu/services/desktop.scm (<polkit-configuration>): New record type.
  (polkit-directory, polkit-etc-files, polkit-setuid-programs): New
  procedures.
  (polkit-service-type)[compose, extend]: New fields.
  (polkit-service): Refine docstring.
  (colord-service-type): Extend POLKIT-SERVICE-TYPE.
  (elogind-configuration-file): Extend POLKIT-SERVICE-TYPE.
* doc/guix.texi (Desktop Services): Update 'polkit-service'
  documentation.
2015-11-01 17:56:47 +01:00
Andy Wingo 3f130e42e0 gnu: polkit: Look for rules in /run/current-system/profile.
* gnu/packages/polkit.scm (polkit): Configure to look for actions and
  rules in the system profile.  Arrange to look for the setuid helper in
  /run/setuid-programs.  Fix introspection installation.

Based on a patch by Mark H Weaver <mhw@netris.org>.
2015-09-02 22:34:49 +02:00
Andy Wingo 7b6c5c5d74 gnu: polkit: Use elogind for seat management.
* gnu/packages/polkit.scm (polkit): Depend on elogind.
2015-09-02 22:34:12 +02:00
Mark H Weaver 89a39d4e76 Revert "PRELIMINARY: gnu: polkit: Work on making it functional in practice."
This reverts commit e640340b9e.
2015-08-18 23:56:17 -04:00
Mark H Weaver e640340b9e PRELIMINARY: gnu: polkit: Work on making it functional in practice. 2015-08-18 23:52:57 -04:00
Mark H Weaver c7bdc6bb7d gnu: polkit: Update to 0.113.
* gnu/packages/polkit.scm (polkit): Update to 0.113.
2015-07-11 19:03:19 -04:00
Ludovic Courtès cb151c68bf gnu: polkit-qt: Add $libdir to RUNPATH.
* gnu/packages/polkit.scm (polkit-qt)[arguments]: Add
  #:configure-flags.
2015-05-01 17:38:44 +02:00
宋文武 4923e06f21 gnu: Move mozjs and nspr to (gnu packages gnuzilla).
* gnu/packages/polkit.scm (mozjs, nspr): Move to...
* gnu/packages/gnuzilla.scm (mozjs, nspr): ... here. New variables.
2015-01-11 19:14:53 +08:00
Andreas Enge b118401f71 gnu: polkit: Propagate input glib.
* gnu/packages/polkit.scm (polkit): Propagate input glib.
* gnu/packages/polkit.scm (polkit-qt): Drop input glib, now available
    through propagation.
2014-11-11 10:51:52 +01:00
Andreas Enge 054a3921f0 gnu: Add polkit-qt.
* gnu/packages/polkit.scm (polkit-qt): New variable.
2014-11-10 13:15:25 +01:00
Andreas Enge c4bd2aca00 gnu: Add polkit.
* gnu/packages/polkit.scm (polkit): New variable.
* gnu/packages/patches/polkit-drop-test.patch: New file.
* gnu-system.am (dist_patch_DATA): Register patch file.
2014-11-09 18:55:31 +01:00
Andreas Enge 922ea80683 gnu: Add nspr.
* gnu/packages/polkit.scm (nspr): New variable.
2014-11-09 11:09:12 +01:00
Andreas Enge cff1c5c1c6 gnu: Add mozjs (Mozilla Spidermonkey).
* gnu/packages/polkit.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Register new file.
2014-11-08 13:24:21 +01:00