--- rpms/e-smith-radiusd/sme10/e-smith-radiusd.spec 2016/04/01 16:51:57 1.2 +++ rpms/e-smith-radiusd/sme10/e-smith-radiusd.spec 2016/04/07 07:16:22 1.6 @@ -1,16 +1,18 @@ -# $Id: e-smith-radiusd.spec,v 1.1 2016/02/05 21:34:35 stephdl Exp $ +# $Id: e-smith-radiusd.spec,v 1.5 2016/04/07 05:52:20 unnilennium Exp $ Summary: e-smith server and gateway - configure PPTP inbound VPN %define name e-smith-radiusd Name: %{name} %define version 2.6.0 -%define release 2 +%define release 6 Version: %{version} Release: %{release}%{?dist} License: GPL Group: Networking/Daemons Source: %{name}-%{version}.tar.xz Patch0: e-smith-radiusd-2.6.0-freeradius3.patch +Patch1: e-smith-radiusd-2.6.0-freeradius3bis.patch +Patch2: e-smith-radiusd-2.6.0-freeradius3ter.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot Requires: e-smith-base >= 4.13.16-27 Requires: e-smith-lib >= 1.15.1-16 @@ -26,6 +28,14 @@ BuildArchitectures: noarch e-smith server and gateway - configure radius server %changelog +* Wed Apr 06 2016 Jean-Philipe Pialasse 2.6.0-6.sme +- more adjustements regarding [SME: 9425] +- e-smith-radiusd-2.6.0-freeradius3bis.patch +- e-smith-radiusd-2.6.0-freeradius3ter.patch + +* Fri Apr 01 2016 Jean-Philipe Pialasse 2.6.0-3.sme +- fix directorie rpm ownership [SME: 9425] + * Fri Apr 01 2016 Jean-Philipe Pialasse 2.6.0-2.sme - updated syntax and conf files for freeradius3 server [SME: 9409] @@ -159,7 +169,8 @@ e-smith server and gateway - configure r %prep %setup %patch0 -p1 - +%patch1 -p1 +%patch2 -p1 %build perl createlinks @@ -175,6 +186,8 @@ rm -f %{name}-%{version}-%{release}-file --file /var/service/radiusd/log/run 'attr(0755,root,root)' \ --dir /var/service/radiusd/supervise 'attr(0700,root,root)' \ --dir /var/log/radiusd 'attr(0755,smelog,smelog)' \ + |sed -e '/%dir %attr(0755,root,root) \/etc\/raddb/d' \ + |sed -e '/%dir %attr(0755,root,root) \/etc\/raddb\/mods-enabled/d' \ > %{name}-%{version}-%{release}-filelist echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist