avahi-vl.spec 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801
  1. %bcond_with systemd
  2. %define avahi_user_uid 70
  3. %global unitfiles avahi-daemon.socket avahi-daemon.service avahi-dnsconfd.service
  4. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  5. Summary: Local network service discovery
  6. Summary(ja): ローカルネットワークサービス検出システム
  7. Name: avahi
  8. Version: 0.8
  9. Release: 3%{?_dist_release}%{?with_systemd:.systemd}
  10. Group: system
  11. Vendor: Project Vine
  12. Distribution: Vine Linux
  13. License: LGPL
  14. URL: http://avahi.org
  15. Source0: %{name}-%{version}.tar.gz
  16. ## upstream patches
  17. Patch6: 0006-avahi-dnsconfd.service-Drop-Also-avahi-daemon.socket.patch
  18. Patch7: 0007-man-add-missing-bshell.1-symlink.patch
  19. Patch8: 0008-Ship-avahi-discover-1-bssh-1-and-bvnc-1-also-for-GTK.patch
  20. Patch9: 0009-fix-requires-in-pc-file.patch
  21. Patch10: 0010-fix-bytestring-decoding-for-proper-display.patch
  22. Patch11: 0011-avahi_dns_packet_consume_uint32-fix-potential-undefi.patch
  23. Patch1000: avahi-0.6.31-vine.patch
  24. # this patch also fixes CVE-2021-36217.
  25. Patch2000: CVE-2021-3502.patch
  26. Patch2001: CVE-2021-3468.patch
  27. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  28. BuildRequires: dbus-devel, dbus-glib-devel
  29. BuildRequires: desktop-file-utils
  30. BuildRequires: expat-devel
  31. BuildRequires: glib2-devel
  32. BuildRequires: gobject-introspection-devel
  33. BuildRequires: gtk3-devel
  34. #BuildRequires: python, dbus-python, libxml2-python
  35. BuildRequires: gdbm-devel
  36. BuildRequires: intltool
  37. BuildRequires: libcap-devel
  38. BuildRequires: libdaemon-devel >= 0.12
  39. BuildRequires: libevent-devel
  40. BuildRequires: mesa-libGL-devel
  41. BuildRequires: xmltoman
  42. Requires: dbus
  43. Requires(post): dbus
  44. Requires(pre): shadow-utils
  45. Requires(pre): coreutils
  46. %if %{with systemd}
  47. BuildRequires: systemd
  48. %{?systemd_requires}
  49. %else
  50. Requires(post): initscripts, chkconfig >= 1.3.34
  51. %endif
  52. Obsoletes: howl, howl-libs
  53. %description
  54. Avahi is a system which facilitates service discovery on
  55. a local network -- this means that you can plug your laptop or
  56. computer into a network and instantly be able to view other people who
  57. you can chat with, find printers to print to or find files being
  58. shared. This kind of technology is already found in MacOS X (branded
  59. 'Rendezvous', 'Bonjour' and sometimes 'ZeroConf') and is very
  60. convenient.
  61. %package tools
  62. Summary: Tools for mDNS browsing and publishing
  63. Group: admin-tools
  64. Requires: %{name} = %{version}, gdbm
  65. %description tools
  66. Tools that use avahi to browse and publish mDNS services and hosts.
  67. %package ui-gtk3
  68. Summary: Gtk user interface library for Avahi (Gtk+ 3 version)
  69. Group: admin-tools
  70. Provides: avahi-ui = %{version}-%{release}
  71. Obsoletes: avahi-ui < %{version}-%{release}
  72. Requires: %{name} = %{version}-%{release}
  73. Requires: gtk3
  74. %description ui-gtk3
  75. This library contains a Gtk 3.x widget for browsing services.
  76. %package ui-gtk3-devel
  77. Summary: Libraries and header files for avahi ui development
  78. Group: programming
  79. Provides: avahi-ui-devel = %{version}-%{release}
  80. Obsoletes: avahi-ui-devel < %{version}-%{release}
  81. Requires: %{name}-devel = %{version}
  82. Requires: %{name}-ui-gtk3 = %{version}
  83. Requires: gtk3-devel
  84. %description ui-gtk3-devel
  85. The avahi-ui-devel package contains the header files and libraries
  86. necessary for developing programs using avahi with gtk+.
  87. %package glib
  88. Summary: Glib libraries for avahi
  89. Summary(ja): avahi 用 glib ライブラリ
  90. Group: system
  91. Requires: %{name} = %{version}
  92. Requires: glib2
  93. %description glib
  94. Libraries for easy use of avahi from glib applications.
  95. %package glib-devel
  96. Summary: Libraries and header files for avahi glib development
  97. Group: programming
  98. Requires: %{name}-devel = %{version}
  99. Requires: %{name}-glib = %{version}
  100. Requires: glib2-devel
  101. %description glib-devel
  102. The avahi-glib-devel package contains the header files and libraries
  103. necessary for developing programs using avahi with glib.
  104. %package gobject
  105. Summary: GObject library for Avahi
  106. Summary(ja): Avahi 用 GObject ライブラリ
  107. Group: system
  108. Requires: glib2
  109. Requires: %{name}-glib = %{version}-%{release}
  110. %description gobject
  111. This library contains a GObject wrapper for the Avahi API
  112. %package gobject-devel
  113. Summary: Libraries and header files for Avahi GObject development
  114. Summary(ja): Avahi GObject 開発用ライブラリとヘッダファイル
  115. Group: programming
  116. Requires: %{name}-gobject = %{version}-%{release}
  117. Requires: %{name}-devel = %{version}-%{release}
  118. Requires: %{name}-glib-devel = %{version}-%{release}
  119. %description gobject-devel
  120. The avahi-gobject-devel package contains the header files and libraries
  121. necessary for developing programs using avahi-gobject.
  122. %package devel
  123. Summary: Libraries and header files for avahi development
  124. Group: programming
  125. Requires: %{name} = %{version}
  126. Obsoletes: howl-devel
  127. %description devel
  128. The avahi-devel package contains the header files and libraries
  129. necessary for developing programs using avahi.
  130. # compat32
  131. %package -n compat32-%{name}
  132. Summary: Local network service discovery
  133. Summary(ja): ローカルネットワークサービス検出システム
  134. Group: system
  135. Requires: %{name} = %{version}-%{release}
  136. %description -n compat32-%{name}
  137. Avahi is a system which facilitates service discovery on
  138. a local network -- this means that you can plug your laptop or
  139. computer into a network and instantly be able to view other people who
  140. you can chat with, find printers to print to or find files being
  141. shared. This kind of technology is already found in MacOS X (branded
  142. 'Rendezvous', 'Bonjour' and sometimes 'ZeroConf') and is very
  143. convenient.
  144. %package -n compat32-%{name}-ui-gtk3
  145. Summary: Gtk user interface library for Avahi (Gtk+ 3 version)
  146. Group: admin-tools,legacy
  147. Provides: compat32-avahi-ui = %{version}-%{release}
  148. Obsoletes: compat32-avahi-ui < %{version}-%{release}
  149. Requires: %{name}-ui-gtk3 = %{version}-%{release}
  150. Requires: compat32-%{name} = %{version}-%{release}
  151. Requires: compat32-gtk3
  152. %description -n compat32-%{name}-ui-gtk3
  153. This library contains a Gtk 3.x widget for browsing services.
  154. %package -n compat32-%{name}-ui-gtk3-devel
  155. Summary: Libraries and header files for avahi ui development
  156. Group: programming,legacy
  157. Provides: compat32-avahi-ui-devel = %{version}-%{release}
  158. Obsoletes: compat32-avahi-ui-devel < %{version}-%{release}
  159. Requires: %{name}-ui-devel = %{version}-%{release}
  160. Requires: compat32-%{name}-devel = %{version}-%{release}
  161. Requires: compat32-%{name}-ui-gtk3 = %{version}-%{release}
  162. Requires: compat32-gtk3-devel
  163. %description -n compat32-%{name}-ui-gtk3-devel
  164. The avahi-ui-devel package contains the header files and libraries
  165. necessary for developing programs using avahi with gtk+.
  166. %package -n compat32-%{name}-glib
  167. Summary: Glib libraries for avahi
  168. Summary(ja): avahi 用 glib ライブラリ
  169. Group: system,legacy
  170. Requires: %{name}-glib = %{version}-%{release}
  171. Requires: compat32-%{name} = %{version}-%{release}
  172. Requires: compat32-glib2
  173. %description -n compat32-%{name}-glib
  174. Libraries for easy use of avahi from glib applications.
  175. %package -n compat32-%{name}-glib-devel
  176. Summary: Libraries and header files for avahi glib development
  177. Group: programming,legacy
  178. Requires: %{name}-glib-devel = %{version}-%{release}
  179. Requires: compat32-%{name}-devel = %{version}-%{release}
  180. Requires: compat32-%{name}-glib = %{version}-%{release}
  181. Requires: compat32-glib2-devel
  182. %description -n compat32-%{name}-glib-devel
  183. The avahi-glib-devel package contains the header files and libraries
  184. necessary for developing programs using avahi with glib.
  185. %package -n compat32-%{name}-gobject
  186. Summary: GObject library for Avahi
  187. Summary(ja): Avahi 用 GObject ライブラリ
  188. Group: system,legacy
  189. Requires: %{name}-gobject = %{version}-%{release}
  190. Requires: compat32-glib2
  191. Requires: compat32-%{name}-glib = %{version}-%{release}
  192. %description -n compat32-%{name}-gobject
  193. This library contains a GObject wrapper for the Avahi API
  194. %package -n compat32-%{name}-gobject-devel
  195. Summary: Libraries and header files for Avahi GObject development
  196. Summary(ja): Avahi GObject 開発用ライブラリとヘッダファイル
  197. Group: programming,legacy
  198. Requires: %{name}-gobject-devel = %{version}-%{release}
  199. Requires: compat32-%{name}-gobject = %{version}-%{release}
  200. Requires: compat32-%{name}-devel = %{version}-%{release}
  201. Requires: compat32-%{name}-glib-devel = %{version}-%{release}
  202. %description -n compat32-%{name}-gobject-devel
  203. The avahi-gobject-devel package contains the header files and libraries
  204. necessary for developing programs using avahi-gobject.
  205. %package -n compat32-%{name}-devel
  206. Summary: Libraries and header files for avahi development
  207. Group: programming,legacy
  208. Requires: %{name}-devel = %{version}-%{release}
  209. Requires: compat32-%{name} = %{version}-%{release}
  210. %description -n compat32-%{name}-devel
  211. The avahi-devel package contains the header files and libraries
  212. necessary for developing programs using avahi.
  213. %debug_package
  214. %prep
  215. %setup -q
  216. %autopatch -p1
  217. rm -fv docs/INSTALL
  218. %build
  219. autoreconf -ivf
  220. %configure --with-distro=vine \
  221. --disable-monodoc \
  222. --without-python-twisted \
  223. --disable-pygobject \
  224. --with-avahi-user=avahi --with-avahi-group=avahi \
  225. --enable-compat-howl --enable-compat-libdns_sd \
  226. --with-avahi-priv-access-group=avahi \
  227. --with-autoipd-user=avahi-autoipd \
  228. --with-autoipd-group=avahi-autoipd \
  229. --enable-gtk3 \
  230. --disable-gtk \
  231. --disable-qt3 \
  232. --disable-qt4 \
  233. --disable-qt5 \
  234. --disable-mono \
  235. --disable-python \
  236. --enable-shared=yes \
  237. --enable-static=no \
  238. --disable-silent-rules \
  239. %if %{with systemd}
  240. --with-systemdsystemunitdir=%{_unitdir} \
  241. %endif
  242. --enable-introspection=no
  243. %__make %{?_smp_mflags}
  244. %install
  245. rm -rf $RPM_BUILD_ROOT
  246. make install DESTDIR=$RPM_BUILD_ROOT
  247. # omit libtool .la files
  248. rm -fv %{buildroot}%{_libdir}/lib*.la
  249. # remove example
  250. rm -fv %{buildroot}%{_sysconfdir}/avahi/services/ssh.service
  251. rm -fv %{buildroot}%{_sysconfdir}/avahi/services/sftp-ssh.service
  252. # remove desktop file for avahi-discover
  253. rm -f $RPM_BUILD_ROOT%{_datadir}/applications/avahi-discover.desktop
  254. # create /var/run/avahi-daemon to ensure correct selinux policy for it:
  255. mkdir -p %{buildroot}%{_localstatedir}/run/avahi-daemon
  256. mkdir -p %{buildroot}%{_localstatedir}/lib/avahi-autoipd
  257. # remove the documentation directory - let % doc handle it:
  258. rm -rfv %{buildroot}%{_datadir}/%{name}-%{version}
  259. # remove avahi-bookmarks - unusable without python-twisted,
  260. # which has been judged dangerous and is removed from the
  261. # Fedora Core distribution:
  262. rm -f $RPM_BUILD_ROOT/%{_bindir}/avahi-bookmarks $RPM_BUILD_ROOT/%{_mandir}/man1/avahi-bookmarks*
  263. #
  264. %if %{with systemd}
  265. rm -fv %{buildroot}%{_sysconfdir}/init.d/avahi-daemon
  266. rm -fv %{buildroot}%{_sysconfdir}/init.d/avahi-dnsconfd
  267. %else
  268. # move initscripts into /etc/rc.d/init.d :
  269. mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d
  270. mv $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/* $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d
  271. rm -rf $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/*
  272. %endif
  273. # Make /etc/avahi/etc/localtime owned by avahi:
  274. mkdir -p %{buildroot}/etc/avahi/etc
  275. touch %{buildroot}/etc/avahi/etc/localtime
  276. # fix bug 197414 - add missing symlinks for avahi-compat-howl and avahi-compat-dns-sd
  277. ln -s avahi-compat-howl.pc %{buildroot}/%{_libdir}/pkgconfig/howl.pc
  278. ln -s avahi-compat-libdns_sd.pc %{buildroot}/%{_libdir}/pkgconfig/libdns_sd.pc
  279. ln -s avahi-compat-libdns_sd/dns_sd.h %{buildroot}/%{_includedir}/
  280. # unpackaged files
  281. rm -fv %{buildroot}%{_datadir}/applications/{bssh,bvnc}.desktop
  282. rm -fv %{buildroot}%{_datadir}/avahi/interfaces/avahi-discover.ui
  283. %find_lang %{name}
  284. %clean
  285. rm -rf $RPM_BUILD_ROOT
  286. %pre
  287. # Add the "avahi" group
  288. getent group avahi >/dev/null || /usr/sbin/groupadd -f -r avahi
  289. # Add the "avahi" user
  290. if ! getent passwd avahi > /dev/null ; then
  291. if ! getent passwd %{avahi_user_uid} > /dev/null ; then
  292. useradd -r -l -u %{avahi_user_uid} -g avahi -d %{_localstatedir}/run/avahi-daemon -s /sbin/nologin -c "Avahi mDNS/DNS-SD Stack" avahi
  293. else
  294. useradd -r -l -g avahi -d %{_localstatedir}/run/avahi-daemon -s /sbin/nologin -c "Avahi mDNS/DNS-SD Stack" avahi
  295. fi
  296. fi
  297. getent group avahi-autoipd >/dev/null || groupadd -f -g 170 -r avahi-autoipd
  298. if ! getent passwd avahi-autoipd > /dev/null ; then
  299. if ! getent passwd 170 > /dev/null; then
  300. useradd -r -u 170 -l -g avahi-autoipd -d %{_localstatedir}/lib/avahi-autoipd -s /sbin/nologin -c "Avahi IPv4LL Stack" avahi-autoipd
  301. else
  302. useradd -r -l -g avahi-autoipd -d %{_localstatedir}/lib/avahi-autoipd -s /sbin/nologin -c "Avahi IPv4LL Stack" avahi-autoipd
  303. fi
  304. fi
  305. exit 0
  306. %post
  307. dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig >/dev/null 2>&1 || :
  308. if [ "$1" -eq 1 ]; then
  309. if [ -s /etc/localtime ]; then
  310. cp -fp /etc/localtime /etc/avahi/etc/localtime || :;
  311. fi
  312. fi
  313. %if %{with systemd}
  314. %systemd_post %{unitfiles}
  315. %else
  316. /sbin/chkconfig --add avahi-daemon >/dev/null 2>&1 ||:
  317. /sbin/chkconfig avahi-daemon resetpriorities >/dev/null 2>&1 ||:
  318. /sbin/chkconfig --add avahi-dnsconfd >/dev/null 2>&1 ||:
  319. /sbin/chkconfig avahi-dnsconfd resetpriorities >/dev/null 2>&1 ||:
  320. %endif
  321. %preun
  322. %if %{with systemd}
  323. %systemd_preun %{unitfiles}
  324. %else
  325. if [ "$1" -eq "0" ]; then
  326. /sbin/service avahi-daemon stop > /dev/null 2>&1
  327. /sbin/chkconfig --del avahi-daemon
  328. /sbin/service avahi-dnsconfd stop >/dev/null 2>&1
  329. /sbin/chkconfig --del avahi-dnsconfd
  330. fi
  331. %endif
  332. %postun
  333. %if %{with systemd}
  334. %systemd_postun_with_restart %{unitfiles}
  335. %else
  336. if [ "$1" -eq "0" ]; then
  337. /sbin/service avahi-daemon condrestart >/dev/null 2>&1
  338. /sbin/service avahi-dnsconfd condrestart >/dev/null 2>&1
  339. fi
  340. %endif
  341. %files -f %{name}.lang
  342. %defattr(-,root,root)
  343. %doc docs/* avahi-daemon/example.service avahi-daemon/ssh.service
  344. %if %{with systemd}
  345. %{_unitdir}/*
  346. %{_datadir}/dbus-1/system-services/org.freedesktop.Avahi.service
  347. %else
  348. %attr(755,root,root) %{_sysconfdir}/rc.d/init.d/*
  349. %endif
  350. %dir %{_sysconfdir}/avahi
  351. %dir %{_sysconfdir}/avahi/etc
  352. %ghost %{_sysconfdir}/avahi/etc/localtime
  353. %{_sysconfdir}/avahi/hosts
  354. %dir %{_sysconfdir}/avahi/services
  355. %dir %{_localstatedir}/run/avahi-daemon
  356. %config %{_sysconfdir}/avahi/avahi-autoipd.action
  357. %config %{_sysconfdir}/avahi/avahi-daemon.conf
  358. %config %{_sysconfdir}/avahi/avahi-dnsconfd.action
  359. %config %{_sysconfdir}/dbus-1/system.d/avahi-dbus.conf
  360. %attr(755,root,root) %{_sbindir}/*
  361. %{_libdir}/libavahi-common.so.*
  362. %{_libdir}/libavahi-core.so.*
  363. %{_libdir}/libavahi-client.so.*
  364. %{_libdir}/libavahi-libevent.so.*
  365. %{_libdir}/libhowl.so.*
  366. %{_libdir}/libdns_sd.so.*
  367. %attr(755,root,root) %{_datadir}/avahi
  368. %{_datadir}/dbus-1/interfaces/*.xml
  369. %{_libdir}/avahi
  370. %exclude %{_datadir}/avahi/interfaces
  371. %{_mandir}/man5/*
  372. %{_mandir}/man8/*
  373. %files tools
  374. %defattr(-, root, root)
  375. %{_bindir}/*
  376. #%{python_sitelib}/*
  377. %{_mandir}/man1/*
  378. %{_datadir}/avahi/interfaces/
  379. #%{_datadir}/applications/*
  380. %files devel
  381. %defattr(-, root, root)
  382. %{_libdir}/libavahi-common.so
  383. %{_libdir}/libavahi-core.so
  384. %{_libdir}/libavahi-client.so
  385. %{_libdir}/libavahi-libevent.so
  386. %{_libdir}/libhowl.so
  387. %{_libdir}/libdns_sd.so
  388. %{_includedir}/avahi-client
  389. %{_includedir}/avahi-common
  390. %{_includedir}/avahi-core
  391. %{_includedir}/avahi-compat-howl
  392. %{_includedir}/avahi-compat-libdns_sd
  393. %{_includedir}/avahi-libevent
  394. %{_includedir}/dns_sd.h
  395. %{_libdir}/pkgconfig/avahi-core.pc
  396. %{_libdir}/pkgconfig/avahi-client.pc
  397. %{_libdir}/pkgconfig/avahi-compat-howl.pc
  398. %{_libdir}/pkgconfig/avahi-compat-libdns_sd.pc
  399. %{_libdir}/pkgconfig/avahi-libevent.pc
  400. %{_libdir}/pkgconfig/howl.pc
  401. %{_libdir}/pkgconfig/libdns_sd.pc
  402. %files ui-gtk3
  403. %defattr(-, root, root)
  404. %{_libdir}/libavahi-ui-gtk3.so.*
  405. %files ui-gtk3-devel
  406. %defattr(-, root, root)
  407. %{_libdir}/libavahi-ui-gtk3.so
  408. %{_includedir}/avahi-ui
  409. %{_libdir}/pkgconfig/avahi-ui-gtk3.pc
  410. %files glib
  411. %defattr(-, root, root)
  412. %{_libdir}/libavahi-glib.so.*
  413. %files glib-devel
  414. %defattr(-, root, root)
  415. %{_libdir}/libavahi-glib.so
  416. %{_includedir}/avahi-glib
  417. %{_libdir}/pkgconfig/avahi-glib.pc
  418. %files gobject
  419. %defattr(-, root, root)
  420. %{_libdir}/libavahi-gobject.so.*
  421. %files gobject-devel
  422. %defattr(-, root, root)
  423. %{_libdir}/libavahi-gobject.so
  424. %{_includedir}/avahi-gobject
  425. %{_libdir}/pkgconfig/avahi-gobject.pc
  426. # compat32
  427. %if %{build_compat32}
  428. %files -n compat32-%{name}
  429. %defattr(-, root, root)
  430. %{_libdir}/libavahi-common.so.*
  431. %{_libdir}/libavahi-core.so.*
  432. %{_libdir}/libavahi-client.so.*
  433. %{_libdir}/libhowl.so.*
  434. %{_libdir}/libdns_sd.so.*
  435. %{_libdir}/avahi
  436. %files -n compat32-%{name}-devel
  437. %defattr(-, root, root)
  438. %{_libdir}/libavahi-common.so
  439. %{_libdir}/libavahi-core.so
  440. %{_libdir}/libavahi-client.so
  441. %{_libdir}/libhowl.so
  442. %{_libdir}/libdns_sd.so
  443. %files -n compat32-%{name}-ui-gtk3
  444. %defattr(-, root, root)
  445. %{_libdir}/libavahi-ui-gtk3.so.*
  446. %files -n compat32-%{name}-ui-gtk3-devel
  447. %defattr(-, root, root)
  448. %{_libdir}/libavahi-ui-gtk3.so
  449. %files -n compat32-%{name}-glib
  450. %defattr(-, root, root)
  451. %{_libdir}/libavahi-glib.so.*
  452. %files -n compat32-%{name}-glib-devel
  453. %defattr(-, root, root)
  454. %{_libdir}/libavahi-glib.so
  455. %files -n compat32-%{name}-gobject
  456. %defattr(-, root, root)
  457. %{_libdir}/libavahi-gobject.so.*
  458. %files -n compat32-%{name}-gobject-devel
  459. %defattr(-, root, root)
  460. %{_libdir}/libavahi-gobject.so
  461. %endif
  462. %changelog
  463. * Tue Jul 13 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.8-3
  464. - imported Patch2001 from upstream PR to fix CVE-2021-3468.
  465. * Fri Jun 04 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.8-2
  466. - imported Patch2000 from upstream PR to fix CVE-2021-3502.
  467. - dropped ldconfig scriptlets.
  468. * Sat Apr 25 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.8-1
  469. - new upstream release.
  470. - added systemd support (disabled as default).
  471. * Mon May 13 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.7-2
  472. - rebuilt with gdbm-1.18.1.
  473. - dropped GTK+2, Qt3 and Qt4 support.
  474. * Tue Feb 27 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.7-1
  475. - new upstream release.
  476. - fixed illegal %%attr.
  477. * Thu Jun 30 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.31-5
  478. - rebuild with gcc-5.4.0
  479. * Sat Jul 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.31-4
  480. - rebuild with VineSeed environment
  481. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.31-3
  482. - rebuild with VineSeed environment
  483. - add Patch0 (avahi-0.6.31-no-deprecations.patch) from Fedora
  484. * Tue Aug 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.31-2
  485. - update Patch10 (avahi-0.6.31-vine.patch)
  486. * Sun Apr 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.31-1
  487. - new upstream release
  488. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.30-3
  489. - rebuild with python-2.7.2
  490. * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.30-2
  491. - add -ui-gtk3 sub package
  492. - add BuildRequires: gtk3-devel
  493. * Sun Jul 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.30-1
  494. - new upstream release
  495. * Tue Apr 26 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.6.25-5
  496. - add patch120 for fix CVE-2011-1002 (incorrect fix CVE-2010-2244)
  497. - add patch110 for fix CVE-2010-2244 (DNS packets)
  498. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.25-4
  499. - rebuild with rpm-4.8.1 for pkg-config file
  500. * Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.6.25-3
  501. - rebuilt with gcc-4.4.3-3 on ppc
  502. * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.6.25-2
  503. - rebuilt with python-2.6.4
  504. * Sat Sep 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.25-1
  505. - new upstream release
  506. - update vine patch
  507. - startup avahi-daemon earlier
  508. * Mon Jul 13 2009 NAKAMURA Kenta <kenta@vinelinux.org> 0.6.24-2
  509. - added qt4 subpackage
  510. - added compat32 package for x86_64 arch support
  511. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.24-1
  512. - new upstream release
  513. * Fri Jan 09 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.6.23-2
  514. - fixed %%pre: add the "avahi" user to the "avahi" group
  515. * Mon Sep 22 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.23-1
  516. - new upstream release
  517. * Thu Jul 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.22-1
  518. - new upstream release
  519. - add gobject, gobject-devel sub package
  520. - enable avahi-autoipd
  521. * Wed Jul 23 2008 Shu KONNO <owa@bg.wakwak.com> 0.6.20-1vl5
  522. - built with python-2.5.2
  523. - s/automake-1.9/automake/
  524. - fixed python library path
  525. - applied new versioning policy
  526. * Wed Feb 20 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.6.20-0vl2
  527. - rebuild with expat-2.0.1
  528. * Mon Jul 23 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.20-0vl1
  529. - new upstream release
  530. * Thu May 10 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.18-0vl2
  531. - rebuild with new environment/toolchain
  532. * Tue May 08 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.18-0vl1
  533. - new upstream release
  534. * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.17-0vl2
  535. - require new chkconfig to reset initscript priorities
  536. * Thu Apr 26 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.17-0vl1
  537. - new upstream release
  538. * Fri Jan 12 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.6.13-0vl3
  539. - add patch110 for fix CVE-2006-6870
  540. - add Vendor/Distribution Tag
  541. * Wed Dec 27 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.13-0vl2
  542. - rebuilt for VineSeed
  543. * Thu Dec 07 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.6.13-0vl1.1
  544. - add patch100 for fix CVE-2006-5461
  545. - add BuildRequires: XOrg-gl-devel tag
  546. * Thu Sep 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.13-0vl1
  547. - new upstream release
  548. - refine %%post scripts
  549. - add condrestart daemon in %%postun
  550. * Mon May 08 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.10-0vl1
  551. - new upstream release
  552. * Thu Mar 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.9-0vl2
  553. - move /var/lib/run/avahi-daemon to /var/run
  554. * Sun Mar 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.9-0vl1
  555. - initial build for Vine Linux based on FC package
  556. - add Patch10 to support Vine Linux
  557. * Thu Feb 23 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.8-1
  558. - Upgrade to upstream version 0.6.8
  559. - fix bug 182462: +Requires(post): initscripts, chkconfig, ldconfig
  560. * Fri Feb 17 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.7-1
  561. - Upgrade to upstream version 0.6.7
  562. * Fri Feb 17 2006 Karsten Hopp <karsten@redhat.de> - 0.6.6-4
  563. - BuildRequires pygtk2
  564. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.6.6-3.1
  565. - bump again for double-long bug on ppc(64)
  566. * Fri Feb 10 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.6-3
  567. - rebuild for new gcc (again)
  568. - further fix for bug 178746: fix avahi-dnsconfd initscript
  569. * Tue Feb 07 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.6-2
  570. - rebuild for new gcc, glibc, glibc-kernheaders
  571. * Wed Feb 01 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.6-1
  572. - fix bug 179448: mis-alignment of input cmsghdr msg->msg_control buffer on ia64
  573. - Upgrade to 0.6.6
  574. * Thu Jan 26 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.5-1
  575. - Upgrade to upstream version 0.6.5
  576. - Make /etc/avahi/etc and /etc/avahi/etc/localtime owned by avahi
  577. package; copy system localtime into chroot in post
  578. * Mon Jan 23 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.4-4
  579. - fix bug 178689: copy localtime to chroot
  580. - fix bug 178784: fix avahi-dnsconfd initscript
  581. * Fri Jan 20 2006 Peter Jones <pjones@redhat.com> - 0.6.4-3
  582. - fix subsystem locking in the initscript
  583. * Thu Jan 19 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.4-2
  584. - fix bug 178127: fully localize the initscript
  585. * Mon Jan 16 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.4-1
  586. - Upgrade to upstream version 0.6.4
  587. * Thu Jan 12 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.3-2
  588. - fix bug 177610: Enable mono support with new avahi-sharp package
  589. - fix bug 177609: add gdbm / gdbm-devel Requires for avahi-browse
  590. * Mon Jan 09 2006 Jason Vas Dias <jvdias@redhat.com> - 0.6.3-1
  591. - Upgrade to upstream version 0.6.3
  592. - fix bug 177148: initscript start should not fail if avahi-daemon running
  593. * Thu Dec 22 2005 Jason Vas Dias <jvdias@redhat.com> - 0.6.1-3
  594. - move initscripts from /etc/init.d to /etc/rc.d/init.d
  595. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  596. - rebuilt
  597. * Fri Dec 09 2005 Jason Vas Dias<jvdias@redhat.com> - 0.6.1-2
  598. - fix bug 175352: Do not chkconfig --add avahi-daemon
  599. if user has already configured it
  600. * Wed Dec 07 2005 Jason Vas Dias<jvdias@redhat.com> - 0.6.1-1
  601. - Upgrade to 0.6.1
  602. * Mon Dec 05 2005 Jason Vas Dias<jvdias@redhat.com> - 0.6-6
  603. - fix bug 174799 - fix .spec file \%files permissions
  604. * Fri Dec 02 2005 Jason Vas Dias<jvdias@redhat.com> - 0.6-5
  605. - python-twisted has been removed from the FC-5 distribution - disable its use
  606. * Thu Dec 01 2005 Jason Vas Dias<jvdias@redhat.com> - 0.6-4
  607. - Rebuild for dbus-0.6 - remove use of DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT
  608. * Wed Nov 30 2005 Jason Vas Dias<jvdias@redhat.com> - 0.6-3
  609. - fix bug 172047 - tools should require python-twisted
  610. - fix bug 173985 - docs directory permissions
  611. * Mon Nov 21 2005 Jason Vas Dias<jvdias@redhat.com> - 0.6-1
  612. - Upgrade to upstream version 0.6 - now provides 'avahi-howl-compat'
  613. libraries / includes.
  614. * Mon Nov 14 2005 Jason Vas Dias<jvdias@redhat.com> - 0.5.2-7
  615. - fix bug 172034: fix ownership of /var/run/avahi-daemon/
  616. - fix bug 172772: .spec file improvements from matthias@rpmforge.net
  617. * Mon Oct 31 2005 Jason Vas Dias<jvdias@redhat.com> - 0.5.2-6
  618. - put back avahi-devel Obsoletes: howl-devel
  619. * Mon Oct 31 2005 Alexander Larsson <alexl@redhat.com> - 0.5.2-5
  620. - Obsoletes howl, howl-libs, as we want to get rid of them on updates
  621. - No provides yet, as the howl compat library is in Avahi 0.6.0.
  622. * Sun Oct 30 2005 Florian La Roche <laroche@redhat.com>
  623. - disable the Obsoletes: howl until the transition is complete
  624. * Fri Oct 28 2005 Jason Vas Dias<jvdias@redhat.com> - 0.5.2-3
  625. - change initscript to start avahi-daemon AFTER messagebus
  626. * Wed Oct 26 2005 Karsten Hopp <karsten@redhat.de> 0.5.2-2
  627. - add buildrequires dbus-python
  628. * Fri Oct 21 2005 Alexander Larsson <alexl@redhat.com> - 0.5.2-1
  629. - Initial package