From 1118fe3d7f850591ab77e313f1fa4ddc307c8381 Mon Sep 17 00:00:00 2001 From: John W. Linville Date: Nov 24 2010 19:51:31 +0000 Subject: - Use ghost directive for /var/run/hostapd - Remove some rpmlint warnings --- diff --git a/hostapd.spec b/hostapd.spec index 968a6bb..6733197 100644 --- a/hostapd.spec +++ b/hostapd.spec @@ -1,12 +1,12 @@ Name: hostapd Version: 0.6.10 -Release: 2%{?dist} +Release: 3%{?dist} Summary: IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator Group: System Environment/Daemons License: BSD URL: http://w1.fi/hostapd BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Source0: %{URL}/%{name}-%{version}.tar.gz +Source0: http://w1.fi/releases/%{name}-%{version}.tar.gz Source1: %{name}.init Source2: %{name}.conf Source3: %{name}.sysconfig @@ -56,10 +56,10 @@ Logwatch scripts for hostapd %build cd hostapd cat defconfig | sed -e '/^#CONFIG_DRIVER_NL80211=y/s/^#//' \ - -e '/^#CONFIG_RADIUS_SERVER=y/s/^#//' \ - -e '/^#CONFIG_DRIVER_WIRED=y/s/^#//' \ - -e '/^#CONFIG_DRIVER_NONE=y/s/^#//' \ - -e '/^#CONFIG_IEEE80211N=y/s/^#//' > .config + -e '/^#CONFIG_RADIUS_SERVER=y/s/^#//' \ + -e '/^#CONFIG_DRIVER_WIRED=y/s/^#//' \ + -e '/^#CONFIG_DRIVER_NONE=y/s/^#//' \ + -e '/^#CONFIG_IEEE80211N=y/s/^#//' > .config make %{?_smp_mflags} EXTRA_CFLAGS="$RPM_OPT_FLAGS" @@ -120,7 +120,7 @@ rm -rf %{buildroot} %{_sbindir}/hostapd %{_sbindir}/hostapd_cli %dir %{_sysconfdir}/%{name} -%dir %{_localstatedir}/run/%{name} +%ghost %{_localstatedir}/run/%{name} %{_mandir}/man1/* %{_mandir}/man8/* @@ -143,6 +143,10 @@ fi %changelog +* Wed Nov 24 2010 John W. Linville - 0.6.10-3 +- Use ghost directive for /var/run/hostapd +- Remove some rpmlint warnings + * Thu May 27 2010 John W. Linville - 0.6.10-2 - Move DTIM period configuration into Beacon set operation @@ -165,14 +169,14 @@ fi - Use openssl instead of gnutls (broken) * Wed Dec 16 2009 John W. Linville - 0.6.9-4 -- Remove wired.conf from %doc (not in chosen configuration) +- Remove wired.conf from doc (not in chosen configuration) - Use $RPM_OPT_FLAGS -- Add %{?dist} tag +- Add dist tag * Wed Dec 16 2009 John W. Linville - 0.6.9-3 - Use gnutls instead of openssl - Turn-off internal EAP server (broken w/ gnutls) -- Remove %doc files not applicable to chosen configuration +- Remove doc files not applicable to chosen configuration - Un-mangle README filename for logwatch sub-package * Wed Dec 16 2009 John W. Linville - 0.6.9-2