|
@@ -18,7 +18,7 @@ endif
|
18
|
18
|
|
19
|
19
|
PKG_NAME:=avahi
|
20
|
20
|
PKG_VERSION:=0.6.31
|
21
|
|
-PKG_RELEASE:=7
|
|
21
|
+PKG_RELEASE:=8
|
22
|
22
|
|
23
|
23
|
|
24
|
24
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
@@ -103,6 +103,7 @@ define Package/avahi-daemon
|
103
|
103
|
DEPENDS:=+libavahi +libexpat +librt +libdaemon
|
104
|
104
|
endif
|
105
|
105
|
TITLE+= (daemon)
|
|
106
|
+ MENU:=1
|
106
|
107
|
endef
|
107
|
108
|
|
108
|
109
|
define Package/avahi-daemon/description
|
|
@@ -113,7 +114,39 @@ endef
|
113
|
114
|
|
114
|
115
|
define Package/avahi-daemon/conffiles
|
115
|
116
|
/etc/avahi/avahi-daemon.conf
|
|
117
|
+endef
|
|
118
|
+
|
|
119
|
+define Package/avahi-daemon-service-http
|
|
120
|
+ $(call Package/avahi/Default)
|
|
121
|
+ SUBMENU:=IP Addresses and Names
|
|
122
|
+ DEPENDS:=avahi-daemon
|
|
123
|
+ TITLE:=Announce HTTP service
|
|
124
|
+endef
|
|
125
|
+
|
|
126
|
+define Package/avahi-daemon-service-http/description
|
|
127
|
+$(call Package/avahi/Default/description)
|
|
128
|
+ .
|
|
129
|
+ This package contains the service definition for announcing HTTP service.
|
|
130
|
+endef
|
|
131
|
+
|
|
132
|
+define Package/avahi-daemon-service-http/conffiles
|
116
|
133
|
/etc/avahi/services/http.service
|
|
134
|
+endef
|
|
135
|
+
|
|
136
|
+define Package/avahi-daemon-service-ssh
|
|
137
|
+ $(call Package/avahi/Default)
|
|
138
|
+ SUBMENU:=IP Addresses and Names
|
|
139
|
+ DEPENDS:=avahi-daemon
|
|
140
|
+ TITLE:=Announce SSH service
|
|
141
|
+endef
|
|
142
|
+
|
|
143
|
+define Package/avahi-daemon-service-ssh/description
|
|
144
|
+$(call Package/avahi/Default/description)
|
|
145
|
+ .
|
|
146
|
+ This package contains the service definition for announcing SSH service.
|
|
147
|
+endef
|
|
148
|
+
|
|
149
|
+define Package/avahi-daemon-service-ssh/conffiles
|
117
|
150
|
/etc/avahi/services/ssh.service
|
118
|
151
|
endef
|
119
|
152
|
|
|
@@ -322,6 +355,16 @@ define Package/avahi-daemon/install
|
322
|
355
|
$(INSTALL_BIN) ./files/avahi-daemon.init $(1)/etc/init.d/avahi-daemon
|
323
|
356
|
endef
|
324
|
357
|
|
|
358
|
+define Package/avahi-daemon-service-http/install
|
|
359
|
+ $(INSTALL_DIR) $(1)/etc/avahi/services
|
|
360
|
+ $(INSTALL_DATA) ./files/service-http $(1)/etc/avahi/services/http.service
|
|
361
|
+endef
|
|
362
|
+
|
|
363
|
+define Package/avahi-daemon-service-ssh/install
|
|
364
|
+ $(INSTALL_DIR) $(1)/etc/avahi/services
|
|
365
|
+ $(INSTALL_DATA) ./files/service-ssh $(1)/etc/avahi/services/ssh.service
|
|
366
|
+endef
|
|
367
|
+
|
325
|
368
|
define Package/avahi-dnsconfd/install
|
326
|
369
|
$(INSTALL_DIR) $(1)/etc/avahi
|
327
|
370
|
$(CP) $(PKG_INSTALL_DIR)/etc/avahi/avahi-dnsconfd.action $(1)/etc/avahi/
|
|
@@ -336,4 +379,6 @@ $(eval $(call BuildPackage,libavahi-dbus-support))
|
336
|
379
|
$(eval $(call BuildPackage,libavahi))
|
337
|
380
|
$(eval $(call BuildPackage,avahi-autoipd))
|
338
|
381
|
$(eval $(call BuildPackage,avahi-daemon))
|
|
382
|
+$(eval $(call BuildPackage,avahi-daemon-service-http))
|
|
383
|
+$(eval $(call BuildPackage,avahi-daemon-service-ssh))
|
339
|
384
|
$(eval $(call BuildPackage,avahi-dnsconfd))
|