avahi: 0.6.12 -> 0.7

This commit is contained in:
Franz Pletz 2017-08-01 06:34:56 +02:00
parent 6ddbe2e34c
commit 1c5ab2f639
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4
2 changed files with 6 additions and 6 deletions

View File

@ -8,11 +8,11 @@ assert qt4Support -> qt4 != null;
stdenv.mkDerivation rec {
name = "avahi-${version}";
version = "0.6.32";
version = "0.7";
src = fetchurl {
url = "https://github.com/lathiat/avahi/releases/download/v${version}/avahi-${version}.tar.gz";
sha256 = "0m5l3ny9i2z1l27y4wm731c0zdkmfn6l1szbajx0ljjiblc92jfm";
sha256 = "0128n7jlshw4bpx0vg8lwj8qwdisjxi7mvniwfafgnkzzrfrpaap";
};
patches = [ ./no-mkdir-localstatedir.patch ];

View File

@ -1,12 +1,12 @@
Don't "mkdir $(localstatedir)" since we can't do it (/var).
--- avahi-0.6.27/avahi-daemon/Makefile.in 2010-07-13 05:06:35.000000000 +0200
+++ avahi-0.6.27/avahi-daemon/Makefile.in 2010-07-13 18:03:45.000000000 +0200
@@ -1554,7 +1554,6 @@ xmllint:
--- a/avahi-daemon/Makefile.in
+++ b/avahi-daemon/Makefile.in
@@ -1625,7 +1625,6 @@ xmllint:
done
install-data-local:
- test -z "$(localstatedir)/run" || $(MKDIR_P) "$(DESTDIR)$(localstatedir)/run"
- test -z "$(avahi_runtime_dir)" || $(MKDIR_P) "$(DESTDIR)$(avahi_runtime_dir)"
update-systemd:
curl http://cgit.freedesktop.org/systemd/plain/src/sd-daemon.c > sd-daemon.c