]> git.pld-linux.org Git - packages/freeradius.git/blobdiff - freeradius.spec
- CVE references
[packages/freeradius.git] / freeradius.spec
index 76c4fc5ffed07c538e2498e6ec70b8030b3c9aee..cb40e706bf523cd8aff72313b75a4d205185b638 100644 (file)
@@ -4,15 +4,17 @@
 # - won't be good to include these contrib examples?
 #   Source1:   http://www.ping.de/~fdc/radius/radacct-replay
 #   Source3:   ftp://ftp.freeradius.org/pub/radius/contrib/radwho.cgi
+# TODO
+# - finish update to 1.1.6
 Summary:       High-performance and highly configurable RADIUS server
-Summary(pl):   Szybki i wysoce konfigurowalny serwer RADIUS
+Summary(pl.UTF-8):     Szybki i wysoce konfigurowalny serwer RADIUS
 Name:          freeradius
-Version:       1.1.0
-Release:       1
+Version:       1.1.6
+Release:       0.1
 License:       GPL
 Group:         Networking/Daemons
 Source0:       ftp://ftp.freeradius.org/pub/radius/%{name}-%{version}.tar.gz
-# Source0-md5: e04ec8a07b8c8dc96e28ef7fdce261e7
+# Source0-md5: a053d353ce5f393cb70795fd363a586f
 Source1:       %{name}.logrotate
 Source2:       %{name}.init
 Source3:       %{name}.pam
@@ -28,6 +30,7 @@ BuildRequires:        autoconf
 BuildRequires: automake
 BuildRequires: cyrus-sasl-devel
 BuildRequires: gdbm-devel
+BuildRequires: krb5-devel
 BuildRequires: libltdl-devel
 BuildRequires: libtool
 BuildRequires: mysql-devel
@@ -41,7 +44,6 @@ BuildRequires:        postgresql-devel
 BuildRequires: python
 BuildRequires: python-devel
 BuildRequires: rpm-perlprov
-BuildRequires: rpmbuild(macros) >= 1.202
 BuildRequires: rpmbuild(macros) >= 1.268
 BuildRequires: unixODBC-devel
 Requires(post,preun):  /sbin/chkconfig
@@ -65,24 +67,23 @@ high-performance and highly configurable GPL'd RADIUS server. It is
 generally similar to the Livingston 2.0 RADIUS server, but has a lot
 more features, and is much more configurable.
 
-%description -l pl
+%description -l pl.UTF-8
 Projekt FreeRadius ma na celu stworzenie szybkiego i wysoce
 konfigurowalnego serwera RADIUS na licencji GPL. Ten jest podobny do
-Livingston 2.0 RADIUS server ale ma o wiele wiêcej funkcji i posiada
-wiêksze mo¿liwo¶ci konfigurowania.
+Livingston 2.0 RADIUS server ale ma o wiele więcej funkcji i posiada
+większe możliwości konfigurowania.
 
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
+#%patch1 -p1
+#%patch2 -p1
+#%patch3 -p1
+#%patch4 -p1
 %patch5 -p1
-%patch6 -p1
+#%patch6 -p1
 
-awk 'BEGIN { printit=0; } { if (printit) print $0; } /## end libtool.m4/ { printit=1;}' \
-       < aclocal.m4 > acinclude.m4
+sed -e '/m4_include..libtool/d' < aclocal.m4 > acinclude.m4
 
 %build
 maindir="$(pwd)"
@@ -91,7 +92,8 @@ for d in rlm_attr_rewrite rlm_checkval rlm_counter rlm_dbm \
        rlm_eap rlm_example rlm_ippool rlm_krb5 rlm_ldap rlm_otp \
        rlm_pam rlm_perl rlm_python rlm_radutmp rlm_smb \
        rlm_sql/drivers/rlm_sql_{db2,iodbc,mysql,oracle,postgresql,unixodbc} \
-       rlm_sql rlm_sql_log rlm_sqlcounter rlm_unix ; do
+       rlm_sql rlm_sqlcounter rlm_unix ; do
+# rlm_sql_log - no configure.{in,ac}
 
        cd src/modules/${d}
        %{__aclocal} -I ${maindir}
@@ -117,7 +119,7 @@ done
        --with-ltdl-include=%{_includedir}/none \
        --with-ltdl-lib=%{_libdir} \
        --disable-ltdl-install \
-       --without-rlm_krb5 \
+       --with-rlm_krb5 \
        --without-rlm_dbm
 %{__make} \
        LIBTOOL="`pwd`/libtool --tag=CC"
@@ -126,7 +128,7 @@ done
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/raddb,%{_libdir}/%{name}} \
        $RPM_BUILD_ROOT/etc/{logrotate.d,pam.d,rc.d/init.d} \
-       $RPM_BUILD_ROOT%{_var}/log/{,archiv}/freeradius/radacct
+       $RPM_BUILD_ROOT%{_var}/log/{,archive}/freeradius/radacct
 
 %{__make} install \
        LIBTOOL="`pwd`/libtool --tag=CC" \
@@ -192,8 +194,8 @@ fi
 
 %attr(771,root,radius) %dir %{_var}/log/%{name}
 %attr(771,root,radius) %dir %{_var}/log/%{name}/radacct
-%attr(771,root,radius) %dir %{_var}/log/archiv/%{name}
-%attr(771,root,radius) %dir %{_var}/log/archiv/%{name}/radacct
+%attr(771,root,radius) %dir %{_var}/log/archive/%{name}
+%attr(771,root,radius) %dir %{_var}/log/archive/%{name}/radacct
 %attr(775,root,radius) %dir /var/run/%{name}
 
 %attr(754,root,root) /etc/rc.d/init.d/%{name}
This page took 0.065143 seconds and 4 git commands to generate.