commit wpa_supplicant for openSUSE:Factory
Hello community, here is the log from the commit of package wpa_supplicant for openSUSE:Factory checked in at 2013-09-11 13:24:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/wpa_supplicant (Old) and /work/SRC/openSUSE:Factory/.wpa_supplicant.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "wpa_supplicant" Changes: -------- --- /work/SRC/openSUSE:Factory/wpa_supplicant/wpa_supplicant.changes 2013-04-26 12:37:31.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.wpa_supplicant.new/wpa_supplicant.changes 2013-09-11 13:24:50.000000000 +0200 @@ -1,0 +2,7 @@ +Mon Sep 9 09:18:17 UTC 2013 - fcrozat@suse.com + +- Add systemd service file, to properly track wpa_supplicant in + its own systemd service (and not in dbus one). +- Always enable systemd service, it is still dbus activated. + +------------------------------------------------------------------- New: ---- wpa_supplicant.service ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ wpa_supplicant.spec ++++++ --- /var/tmp/diff_new_pack.HzOlSI/_old 2013-09-11 13:24:50.000000000 +0200 +++ /var/tmp/diff_new_pack.HzOlSI/_new 2013-09-11 13:24:50.000000000 +0200 @@ -23,6 +23,10 @@ BuildRequires: openssl-devel BuildRequires: pkg-config BuildRequires: readline-devel +%if 0%{?suse_version} > 1230 +BuildRequires: systemd-rpm-macros +%systemd_requires +%endif %if 0%{?suse_version} > 1140 BuildRequires: libnl-1_1-devel BuildRequires: libnl3-devel @@ -41,6 +45,7 @@ Source3: fi.epitest.hostap.WPASupplicant.service Source4: logrotate.wpa_supplicant Source5: fi.w1.wpa_supplicant1.service +Source6: wpa_supplicant.service Patch0: wpa_supplicant-driver-wext-debug.patch # wpa_supplicant-flush-debug-output.patch won't go upstream as it might # change timings @@ -115,6 +120,25 @@ install -m 0644 wpa_supplicant/doc/docbook/*.8 %{buildroot}%{_mandir}/man8 install -m 0644 wpa_supplicant/doc/docbook/*.5 %{buildroot}%{_mandir}/man5 install -m 755 wpa_supplicant/wpa_gui-qt4/wpa_gui %{buildroot}%{_sbindir} +%if 0%{?suse_version} > 1230 +install -d %{buildroot}%{_unitdir} +install -m 0644 %{SOURCE6} %{buildroot}%{_unitdir} +%endif + +%if 0%{?suse_version} > 1230 +%pre +%service_add_pre wpa_supplicant.service + +%post +%service_add_post wpa_supplicant.service +systemctl --quiet enable wpa_supplicant.service || : + +%preun +%service_del_preun wpa_supplicant.service + +%postun +%service_del_postun wpa_supplicant.service +%endif %files %defattr(-,root,root) @@ -130,6 +154,9 @@ %if 0%{?suse_version} > 1140 %ghost %{_localstatedir}/run/%{name} %endif +%if 0%{?suse_version} > 1230 +%{_unitdir}/wpa_supplicant.service +%endif %dir %{_sysconfdir}/%{name} %doc %{_mandir}/man8/* %doc %{_mandir}/man5/* ++++++ wpa_supplicant.service ++++++ [Unit] Description=WPA Supplicant daemon Before=network.target [Service] Type=dbus BusName=fi.w1.wpa_supplicant1 ExecStart=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u -f /var/log/wpa_supplicant.log [Install] WantedBy=multi-user.target -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de