mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Update to 0.6.19.
This commit is contained in:
parent
c3ae8a8590
commit
9b0d2dff10
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=193114
@ -6,8 +6,8 @@
|
||||
# $MCom: ports/net/avahi/Makefile,v 1.19 2006/10/12 16:44:41 marcus Exp $
|
||||
|
||||
PORTNAME= avahi
|
||||
PORTVERSION= 0.6.18
|
||||
PORTREVISION?= 1
|
||||
PORTVERSION= 0.6.19
|
||||
PORTREVISION?= 0
|
||||
CATEGORIES?= net dns
|
||||
MASTER_SITES= http://www.avahi.org/download/
|
||||
|
||||
@ -77,6 +77,8 @@ PLIST_SUB+= LIBDNS="@comment "
|
||||
.if defined(WITH_GTK2)
|
||||
USE_GNOME+= libglade2
|
||||
PLIST_SUB+= GTK=""
|
||||
MAN1+= bssh.1
|
||||
MLINKS+= bssh.1 bvnc.1
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-gtk
|
||||
PLIST_SUB+= GTK="@comment "
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (avahi-0.6.18.tar.gz) = ab3d67cb743d16cf38ad69b4b76ca989
|
||||
SHA256 (avahi-0.6.18.tar.gz) = 11a0270cdf1220943ce8f3a79b705c6de6e57d94a058ee2efa9592037b4a4274
|
||||
SIZE (avahi-0.6.18.tar.gz) = 961748
|
||||
MD5 (avahi-0.6.19.tar.gz) = a06782435d1c994ecd00a66e95a5d9d4
|
||||
SHA256 (avahi-0.6.19.tar.gz) = a742dceda38f242f5eac72f2c3bc1bda76adf497d6913e88a9cbc624bf2dd68a
|
||||
SIZE (avahi-0.6.19.tar.gz) = 973381
|
||||
|
@ -1,26 +1,19 @@
|
||||
--- avahi-daemon/main.c.orig Sat Apr 14 20:34:33 2007
|
||||
+++ avahi-daemon/main.c Fri Apr 20 20:06:05 2007
|
||||
@@ -42,11 +42,19 @@
|
||||
#include <sys/resource.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
+#ifdef HAVE_INOTIFY
|
||||
#ifdef HAVE_SYS_INOTIFY_H
|
||||
#include <sys/inotify.h>
|
||||
#else
|
||||
#include "inotify-nosys.h"
|
||||
--- avahi-daemon/main.c.orig Wed May 9 09:09:19 2007
|
||||
+++ avahi-daemon/main.c Sat Jun 9 13:56:02 2007
|
||||
@@ -50,6 +50,12 @@
|
||||
#endif
|
||||
+#endif
|
||||
+
|
||||
#endif
|
||||
|
||||
+#ifdef HAVE_KQUEUE
|
||||
+#include <sys/types.h>
|
||||
+#include <sys/event.h>
|
||||
+#include <unistd.h>
|
||||
+#endif
|
||||
|
||||
+
|
||||
#include <libdaemon/dfork.h>
|
||||
#include <libdaemon/dsignal.h>
|
||||
@@ -681,6 +689,53 @@ static void add_inotify_watches(void) {
|
||||
#include <libdaemon/dlog.h>
|
||||
@@ -691,6 +697,53 @@ static void add_inotify_watches(void) {
|
||||
|
||||
#endif
|
||||
|
||||
@ -74,7 +67,7 @@
|
||||
static void reload_config(void) {
|
||||
|
||||
#ifdef HAVE_INOTIFY
|
||||
@@ -688,6 +743,10 @@ static void reload_config(void) {
|
||||
@@ -698,6 +751,10 @@ static void reload_config(void) {
|
||||
add_inotify_watches();
|
||||
#endif
|
||||
|
||||
@ -85,7 +78,7 @@
|
||||
#ifdef ENABLE_CHROOT
|
||||
static_service_load(config.use_chroot);
|
||||
static_hosts_load(config.use_chroot);
|
||||
@@ -736,6 +795,31 @@ static void inotify_callback(AvahiWatch
|
||||
@@ -746,6 +803,31 @@ static void inotify_callback(AvahiWatch
|
||||
|
||||
#endif
|
||||
|
||||
@ -117,7 +110,7 @@
|
||||
static void signal_callback(AvahiWatch *watch, AVAHI_GCC_UNUSED int fd, AVAHI_GCC_UNUSED AvahiWatchEvent event, AVAHI_GCC_UNUSED void *userdata) {
|
||||
int sig;
|
||||
const AvahiPoll *poll_api;
|
||||
@@ -791,6 +875,10 @@ static int run_server(DaemonConfig *c) {
|
||||
@@ -801,6 +883,10 @@ static int run_server(DaemonConfig *c) {
|
||||
#ifdef HAVE_INOTIFY
|
||||
AvahiWatch *inotify_watch = NULL;
|
||||
#endif
|
||||
@ -128,7 +121,7 @@
|
||||
|
||||
assert(c);
|
||||
|
||||
@@ -866,6 +954,19 @@ static int run_server(DaemonConfig *c) {
|
||||
@@ -876,6 +962,19 @@ static int run_server(DaemonConfig *c) {
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -148,7 +141,7 @@
|
||||
load_resolv_conf();
|
||||
#ifdef ENABLE_CHROOT
|
||||
static_service_load(config.use_chroot);
|
||||
@@ -934,6 +1035,17 @@ finish:
|
||||
@@ -944,6 +1043,17 @@ finish:
|
||||
poll_api->watch_free(inotify_watch);
|
||||
if (inotify_fd >= 0)
|
||||
close(inotify_fd);
|
||||
|
11
net/avahi/files/patch-man_Makefile.in
Normal file
11
net/avahi/files/patch-man_Makefile.in
Normal file
@ -0,0 +1,11 @@
|
||||
--- man/Makefile.in.orig Sat Jun 9 14:04:44 2007
|
||||
+++ man/Makefile.in Sat Jun 9 14:05:41 2007
|
||||
@@ -861,7 +861,7 @@ uninstall-man: uninstall-man1 uninstall-
|
||||
@HAVE_DBUS_TRUE@ $(LN_S) avahi-browse.1 avahi-browse-domains.1 && \
|
||||
@HAVE_DBUS_TRUE@ $(LN_S) avahi-publish.1 avahi-publish-address.1 && \
|
||||
@HAVE_DBUS_TRUE@ $(LN_S) avahi-publish.1 avahi-publish-service.1 && \
|
||||
-@HAVE_DBUS_TRUE@ $(LN_S) bssh.1 bvnc.1
|
||||
+@HAVE_DBUS_TRUE@@HAVE_GTK_TRUE@ $(LN_S) bssh.1 bvnc.1
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
@ -8,8 +8,8 @@ bin/avahi-resolve
|
||||
bin/avahi-resolve-address
|
||||
bin/avahi-resolve-host-name
|
||||
bin/avahi-set-host-name
|
||||
%%GTK%%bin/zssh
|
||||
%%GTK%%bin/zvnc
|
||||
%%GTK%%bin/bssh
|
||||
%%GTK%%bin/bvnc
|
||||
etc/avahi/avahi-daemon.conf
|
||||
etc/avahi/avahi-dnsconfd.action
|
||||
etc/avahi/hosts
|
||||
@ -100,8 +100,8 @@ libdata/pkgconfig/avahi-glib.pc
|
||||
%%GTK%%libdata/pkgconfig/avahi-ui.pc
|
||||
sbin/avahi-daemon
|
||||
sbin/avahi-dnsconfd
|
||||
%%GTK%%share/applications/zssh.desktop
|
||||
%%GTK%%share/applications/zvnc.desktop
|
||||
%%GTK%%share/applications/bssh.desktop
|
||||
%%GTK%%share/applications/bvnc.desktop
|
||||
%%DATADIR%%/avahi-service.dtd
|
||||
%%GTK%%%%DATADIR%%/interfaces/avahi-discover.glade
|
||||
%%DATADIR%%/introspection/AddressResolver.introspect
|
||||
|
Loading…
Reference in New Issue
Block a user