packages: openswan/openswan.spec - added buildfix patch - use single quotes...

pawelz pawelz at pld-linux.org
Tue May 4 14:05:28 CEST 2010


Author: pawelz                       Date: Tue May  4 12:05:28 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added buildfix patch
- use single quotes instead of double quotes. Shell was interpreting '$#' in
  sed -i -e "s#a$#b#g" :)

---- Files affected:
packages/openswan:
   openswan.spec (1.44 -> 1.45) 

---- Diffs:

================================================================
Index: packages/openswan/openswan.spec
diff -u packages/openswan/openswan.spec:1.44 packages/openswan/openswan.spec:1.45
--- packages/openswan/openswan.spec:1.44	Tue May  4 13:51:44 2010
+++ packages/openswan/openswan.spec	Tue May  4 14:05:22 2010
@@ -20,6 +20,7 @@
 Source1:	%{name}.init
 Patch0:		%{name}-prefix.patch
 Patch1:		%{name}-bash.patch
+Patch2:		%{name}-buildfix.patch
 URL:		http://www.openswan.org/
 BuildRequires:	bind-devel
 BuildRequires:	bison
@@ -54,10 +55,11 @@
 %setup -q
 %patch0 -p1
 #%patch1 -p1
+%patch2 -p1
 
-%{__sed} -i -e "s#/lib/ipsec#/%{_lib}/ipsec#g#" Makefile
-%{__sed} -i -e "s#/lib/freeswan$#/%{_lib}/freeswan#g#" Makefile
-%{__sed} -i -e "s#/lib/ipsec#/%{_lib}/ipsec#g#" Makefile.inc
+%{__sed} -i -e 's#/lib/ipsec#/%{_lib}/ipsec#g#' Makefile
+%{__sed} -i -e 's#/lib/freeswan$#/%{_lib}/freeswan#g#' Makefile
+%{__sed} -i -e 's#/lib/ipsec#/%{_lib}/ipsec#g#' Makefile.inc
 
 %build
 USE_WEAKSTUFF=true \
@@ -125,6 +127,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.45  2010/05/04 12:05:22  pawelz
+- added buildfix patch
+- use single quotes instead of double quotes. Shell was interpreting '$#' in
+  sed -i -e "s#a$#b#g" :)
+
 Revision 1.44  2010/05/04 11:51:44  pawelz
 - up to 2.6.25
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openswan/openswan.spec?r1=1.44&r2=1.45&f=u



More information about the pld-cvs-commit mailing list