diff --git a/.gitignore b/.gitignore index 23ae852..d23988b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,6 @@ -/avahi-0.6.27.tar.gz -/avahi-0.6.28.tar.gz -/avahi-0.6.29.tar.gz /x86_64 /.build-*.log -/avahi-0.6.30.tar.gz +/avahi-0.6.3?/ *.src.rpm /avahi-0.6.31.tar.gz -/avahi-0.6.3?/ +/avahi-0.6.32-rc.tar.gz diff --git a/0001-Disable-publish-workstation-and-publish-hinfo-by-def.patch b/0001-Disable-publish-workstation-and-publish-hinfo-by-def.patch deleted file mode 100644 index 4d8934e..0000000 --- a/0001-Disable-publish-workstation-and-publish-hinfo-by-def.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 850df1a121b8415c8235cbd2395ad94098ef4ce8 Mon Sep 17 00:00:00 2001 -From: Bastien Nocera -Date: Fri, 6 Jun 2014 17:43:45 +0200 -Subject: [PATCH] Disable publish-workstation= and publish-hinfo= by default - -"Publish workstation" and "Publish hinfo" export some metadata about the -machine which aren't necessary for normal operations. If used to monitor -availability of remote machines, such as in a computer lab, system -administrators could enable them remotely. - -https://bugzilla.redhat.com/show_bug.cgi?id=1105647 ---- - avahi-daemon/avahi-daemon.conf | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/avahi-daemon/avahi-daemon.conf b/avahi-daemon/avahi-daemon.conf -index c992842..ce7914e 100644 ---- a/avahi-daemon/avahi-daemon.conf -+++ b/avahi-daemon/avahi-daemon.conf -@@ -46,8 +46,8 @@ enable-wide-area=yes - #disable-user-service-publishing=no - #add-service-cookie=no - #publish-addresses=yes --#publish-hinfo=yes --#publish-workstation=yes -+publish-hinfo=no -+publish-workstation=no - #publish-domain=yes - #publish-dns-servers=192.168.50.1, 192.168.50.2 - #publish-resolv-conf-dns-servers=yes --- -1.9.3 - diff --git a/0001-Python3-support.patch b/0001-Python3-support.patch deleted file mode 100644 index 0bd6c64..0000000 --- a/0001-Python3-support.patch +++ /dev/null @@ -1,51 +0,0 @@ -From 2ab8bc4d4d393d74dacd23b525715fca7356f996 Mon Sep 17 00:00:00 2001 -From: Bastien Nocera -Date: Tue, 16 Jun 2015 20:39:36 +0200 -Subject: [PATCH] Python3 support - ---- - avahi-python/avahi/ServiceTypeDatabase.py.in | 20 ++++++++++---------- - 1 file changed, 10 insertions(+), 10 deletions(-) - -diff --git a/avahi-python/avahi/ServiceTypeDatabase.py.in b/avahi-python/avahi/ServiceTypeDatabase.py.in -index b2035fd..4ddd654 100644 ---- a/avahi-python/avahi/ServiceTypeDatabase.py.in -+++ b/avahi-python/avahi/ServiceTypeDatabase.py.in -@@ -138,24 +138,24 @@ class ServiceTypeDatabase: - if __name__ == "__main__": - - b = ServiceTypeDatabase() -- print b.items() -+ print (b.items()) - -- print b["_http._tcp"] -- print b["_ftp._tcp"] -- print b["_webdav._tcp"] -- print b["_webdavs._tcp"] -+ print (b["_http._tcp"]) -+ print (b["_ftp._tcp"]) -+ print (b["_webdav._tcp"]) -+ print (b["_webdavs._tcp"]) - -- print b.get("gurki._tcp") -- print len(b) -+ print (b.get("gurki._tcp")) -+ print (len(b)) - - for key, _ in zip(b, xrange(3)): - -- print key -+ print (key) - - for key, _ in zip(b.iteritems(), xrange(3)): - -- print key -+ print (key) - - for key, _ in zip(b.itervalues(), xrange(3)): - -- print key -+ print (key) --- -2.4.3 - diff --git a/0001-avahi-daemon-don-t-add-0pointer.de-and-zeroconf.org-.patch b/0001-avahi-daemon-don-t-add-0pointer.de-and-zeroconf.org-.patch deleted file mode 100644 index 63ebf52..0000000 --- a/0001-avahi-daemon-don-t-add-0pointer.de-and-zeroconf.org-.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 938b5f883fbaa642e3acb7720e37f95f3d72be62 Mon Sep 17 00:00:00 2001 -From: Lennart Poettering -Date: Mon, 2 Apr 2012 21:17:19 +0200 -Subject: [PATCH 1/8] avahi-daemon: don't add 0pointer.de and zeroconf.org to - default browse list - ---- - avahi-daemon/avahi-daemon.conf | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/avahi-daemon/avahi-daemon.conf b/avahi-daemon/avahi-daemon.conf -index c992842..1906590 100644 ---- a/avahi-daemon/avahi-daemon.conf -+++ b/avahi-daemon/avahi-daemon.conf -@@ -21,7 +21,7 @@ - [server] - #host-name=foo - #domain-name=local --browse-domains=0pointer.de, zeroconf.org -+#browse-domains=0pointer.de, zeroconf.org - use-ipv4=yes - use-ipv6=no - #allow-interfaces=eth0 --- -1.9.3 - diff --git a/0001-netlink-check-that-the-origin-of-the-rtnetlink-messa.patch b/0001-netlink-check-that-the-origin-of-the-rtnetlink-messa.patch deleted file mode 100644 index bd2186a..0000000 --- a/0001-netlink-check-that-the-origin-of-the-rtnetlink-messa.patch +++ /dev/null @@ -1,41 +0,0 @@ -From b8b2b4a03de019e14e439d30ab2d929aec5d6524 Mon Sep 17 00:00:00 2001 -From: Lubomir Rintel -Date: Mon, 1 Jun 2015 21:13:40 +0200 -Subject: [PATCH] netlink: check that the origin of the rtnetlink messages is - kernel - -Instead of asserting it's from UID 0, which breaks in network namespaces. ---- - avahi-autoipd/iface-linux.c | 2 +- - avahi-core/netlink.c | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/avahi-autoipd/iface-linux.c b/avahi-autoipd/iface-linux.c -index 83e9e41..1888e37 100644 ---- a/avahi-autoipd/iface-linux.c -+++ b/avahi-autoipd/iface-linux.c -@@ -215,7 +215,7 @@ static int process_response(int wait_for_done, unsigned seq) { - - ucred = (struct ucred*) CMSG_DATA(cmsghdr); - -- if (ucred->uid != 0) -+ if (ucred->pid != 0) - return -1; - - bytes = (size_t) r; -diff --git a/avahi-core/netlink.c b/avahi-core/netlink.c -index 4ded5ec..b8c0c06 100644 ---- a/avahi-core/netlink.c -+++ b/avahi-core/netlink.c -@@ -82,7 +82,7 @@ int avahi_netlink_work(AvahiNetlink *nl, int block) { - - cred = (struct ucred*) CMSG_DATA(cmsg); - -- if (cred->uid != 0) -+ if (cred->pid != 0) - return -1; - - p = (struct nlmsghdr *) nl->buffer; --- -2.4.3 - diff --git a/0002-avahi-daemon-don-t-leak-host-info-by-default.patch b/0002-avahi-daemon-don-t-leak-host-info-by-default.patch deleted file mode 100644 index 442a261..0000000 --- a/0002-avahi-daemon-don-t-leak-host-info-by-default.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 530fbb59abafb970ef1dd8f61571b13fb0918b23 Mon Sep 17 00:00:00 2001 -From: Lennart Poettering -Date: Mon, 2 Apr 2012 21:17:36 +0200 -Subject: [PATCH 2/8] avahi-daemon: don't leak host info by default - ---- - avahi-daemon/avahi-daemon.conf | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/avahi-daemon/avahi-daemon.conf b/avahi-daemon/avahi-daemon.conf -index 1906590..27e240d 100644 ---- a/avahi-daemon/avahi-daemon.conf -+++ b/avahi-daemon/avahi-daemon.conf -@@ -46,8 +46,8 @@ enable-wide-area=yes - #disable-user-service-publishing=no - #add-service-cookie=no - #publish-addresses=yes --#publish-hinfo=yes --#publish-workstation=yes -+publish-hinfo=no -+publish-workstation=no - #publish-domain=yes - #publish-dns-servers=192.168.50.1, 192.168.50.2 - #publish-resolv-conf-dns-servers=yes --- -1.9.3 - diff --git a/0003-core-don-t-leak-hinfo-workstation-even-if-the-config.patch b/0003-core-don-t-leak-hinfo-workstation-even-if-the-config.patch deleted file mode 100644 index 69c6247..0000000 --- a/0003-core-don-t-leak-hinfo-workstation-even-if-the-config.patch +++ /dev/null @@ -1,52 +0,0 @@ -From 468519681b09f00851e1d4dd658b939e4e938cf6 Mon Sep 17 00:00:00 2001 -From: Lennart Poettering -Date: Mon, 2 Apr 2012 21:20:34 +0200 -Subject: [PATCH 3/8] core: don't leak hinfo/workstation even if the - configuration file doesn't exist - ---- - avahi-core/server.c | 4 ++-- - man/avahi-daemon.conf.5.xml.in | 4 ++-- - 2 files changed, 4 insertions(+), 4 deletions(-) - -diff --git a/avahi-core/server.c b/avahi-core/server.c -index 86fd4a5..69a1d02 100644 ---- a/avahi-core/server.c -+++ b/avahi-core/server.c -@@ -1582,9 +1582,9 @@ AvahiServerConfig* avahi_server_config_init(AvahiServerConfig *c) { - c->host_name = NULL; - c->domain_name = NULL; - c->check_response_ttl = 0; -- c->publish_hinfo = 1; -+ c->publish_hinfo = 0; - c->publish_addresses = 1; -- c->publish_workstation = 1; -+ c->publish_workstation = 0; - c->publish_domain = 1; - c->use_iff_running = 0; - c->enable_reflector = 0; -diff --git a/man/avahi-daemon.conf.5.xml.in b/man/avahi-daemon.conf.5.xml.in -index 487645b..bea7ed5 100644 ---- a/man/avahi-daemon.conf.5.xml.in -+++ b/man/avahi-daemon.conf.5.xml.in -@@ -244,7 +244,7 @@ - useful for administrative purposes. This is recommended by the - mDNS specification but not required. For the sake of privacy - you might choose to disable this feature. Defaults to -- "yes."

-+ "no".

- - - - - - - -+ -+