Skip to content

Commit

Permalink
avahi: 0.6.31 -> 0.6.32
Browse files Browse the repository at this point in the history
Bugfix release, backwards compatible:

  https://github.com/lathiat/avahi/releases/tag/v0.6.32

* Update src URL to github (the latest release is only available there).
* Change "$(mkdir_p)" to "$(MKDIR_P)" in the patch to keep it working
  (apply'able).

(cherry picked from commit 79ed40c)
  • Loading branch information
bjornfor committed Jul 16, 2016
1 parent ff2c69e commit 3480e79
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions pkgs/development/libraries/avahi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@
assert qt4Support -> qt4 != null;

stdenv.mkDerivation rec {
name = "avahi-0.6.31";
name = "avahi-${version}";
version = "0.6.32";

src = fetchurl {
url = "${meta.homepage}/download/${name}.tar.gz";
sha256 = "0j5b5ld6bjyh3qhd2nw0jb84znq0wqai7fsrdzg7bpg24jdp2wl3";
url = "https://github.com/lathiat/avahi/releases/download/v${version}/avahi-${version}.tar.gz";
sha256 = "0m5l3ny9i2z1l27y4wm731c0zdkmfn6l1szbajx0ljjiblc92jfm";
};

patches = [ ./no-mkdir-localstatedir.patch ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Don't "mkdir $(localstatedir)" since we can't do it (/var).
done

install-data-local:
- test -z "$(localstatedir)/run" || $(mkdir_p) "$(DESTDIR)$(localstatedir)/run"
- test -z "$(localstatedir)/run" || $(MKDIR_P) "$(DESTDIR)$(localstatedir)/run"

update-systemd:
curl http://cgit.freedesktop.org/systemd/plain/src/sd-daemon.c > sd-daemon.c

0 comments on commit 3480e79

Please sign in to comment.