avahi: 0.6.31 -> 0.6.32

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).
This commit is contained in:
Bjørn Forsman 2016-07-01 10:21:59 +02:00
parent ae0fa4d980
commit 79ed40cd69
2 changed files with 5 additions and 4 deletions

View File

@ -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 ];

View File

@ -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