From: morcego Date: Wed, 3 Jul 2002 20:46:24 +0000 (+0000) Subject: - Changing sed expression that removed CR from the end of the lines. This X-Git-Tag: v_2_9_16~30 X-Git-Url: http://www.privoxy.org/gitweb/?a=commitdiff_plain;h=e24ff541551d8630e97f950c21d4c203be99b3d6;p=privoxy.git - Changing sed expression that removed CR from the end of the lines. This new one removes any control caracter, and should work with older versions of sed --- diff --git a/privoxy-rh.spec b/privoxy-rh.spec index 23f93ca6..f4a777d7 100644 --- a/privoxy-rh.spec +++ b/privoxy-rh.spec @@ -1,4 +1,4 @@ -# $Id: privoxy-rh.spec,v 1.33.2.6 2002/07/02 17:38:10 morcego Exp $ +# $Id: privoxy-rh.spec,v 1.33.2.7 2002/07/02 18:16:48 morcego Exp $ # # Written by and Copyright (C) 2001 the SourceForge # Privoxy team. http://www.privoxy.org/ @@ -38,7 +38,7 @@ Name: privoxy # Version and release should be updated acordingly on configure.in and # configure. Otherwise, the package can be build with the wrong value Version: 2.9.15 -Release: 6 +Release: 7 Summary: Privoxy - privacy enhancing proxy License: GPL Source0: http://www.waldherr.org/%{name}/%{name}-%{version}.tar.gz @@ -113,15 +113,15 @@ install -s -m 744 %{name} %{buildroot}%{_sbindir}/%{name} # wrong format for i in `ls *.action` do - cat $i | sed -e 's/\r$//' > %{buildroot}%{privoxyconf}/$i + cat $i | sed -e 's/[[:cntrl:]]*$//' > %{buildroot}%{privoxyconf}/$i done -cat default.filter | sed -e 's/\r$//' > %{buildroot}%{privoxyconf}/default.filter -cat trust | sed -e 's/\r$//' > %{buildroot}%{privoxyconf}/trust +cat default.filter | sed -e 's/[[:cntrl:]]*$//' > %{buildroot}%{privoxyconf}/default.filter +cat trust | sed -e 's/[[:cntrl:]]*$//' > %{buildroot}%{privoxyconf}/trust ( cd templates for i in `ls` do - cat $i | sed -e 's/\r$//' > %{buildroot}%{privoxyconf}/templates/$i + cat $i | sed -e 's/[[:cntrl:]]*$//' > %{buildroot}%{privoxyconf}/templates/$i done ) @@ -143,7 +143,7 @@ cat config | \ # sed 's/^forward.*/forward \/etc\/%{name}\/forward/g' | \ # sed 's/^aclfile.*/aclfile \/etc\/%{name}\/aclfile/g' > \ sed 's@^logdir.*@logdir %{_localstatedir}/log/%{name}@g' | \ - sed -e 's/\r$//' > \ + sed -e 's/[[:cntrl:]]*$//' > \ %{buildroot}%{privoxyconf}/config perl -pe 's/{-no-cookies}/{-no-cookies}\n\.redhat.com/' default.action >\ %{buildroot}%{privoxyconf}/default.action @@ -332,6 +332,12 @@ fi %{_mandir}/man1/%{name}.* %changelog +* Wed Jul 03 2002 Rodrigo Barbosa ++ privoxy-2.9.15-7 +- Changing sed expression that removed CR from the end of the lines. This + new one removes any control caracter, and should work with older versions + of sed + * Tue Jul 02 2002 Rodrigo Barbosa + privoxy-2.9.15-6 - Fixing defattr values. File and directory modes where swapped @@ -717,6 +723,9 @@ fi additional "-r @" flag. # $Log: privoxy-rh.spec,v $ +# Revision 1.33.2.7 2002/07/02 18:16:48 morcego +# - Fixing defattr values. File and directory modes where swapped +# # Revision 1.33.2.6 2002/07/02 17:38:10 morcego # Bumping Release number #