SPECS: vpnd.spec - up to 1.1.2 - pass %__cc, %rpmcflags - fix conf...

twittner twittner at pld-linux.org
Thu Sep 15 22:51:06 CEST 2005


Author: twittner                     Date: Thu Sep 15 20:51:06 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 1.1.2
- pass %__cc, %rpmcflags
- fix config paths: /etc/vpn.* -> /etc/vpn/
- not tested - rel. 0.1

---- Files affected:
SPECS:
   vpnd.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SPECS/vpnd.spec
diff -u SPECS/vpnd.spec:1.9 SPECS/vpnd.spec:1.10
--- SPECS/vpnd.spec:1.9	Fri Oct 29 17:19:25 2004
+++ SPECS/vpnd.spec	Thu Sep 15 22:51:00 2005
@@ -2,16 +2,16 @@
 Summary:	Virtual Private Network Daemon
 Summary(pl):	Daemon Wirtualnych Sieci Prywatnych (VPN)
 Name:		vpnd
-Version:	1.1.0
-Release:	1
+Version:	1.1.2
+Release:	0.1
 License:	GPL
 Group:		Networking/Daemons
 Source0:	http://sunsite.dk/vpnd/archive/%{name}-%{version}.tar.gz
-# Source0-md5:	6ca958fb5471faf3ebebe4caa75154e7
+# Source0-md5:	6b8e18530b15801d2f0a2e443cc5c6ae
 Source1:	%{name}.init
 Source2:	%{name}.sysconfig
-Patch0:		%{name}-confdir.patch
 URL:		http://sunsite.dk/vpnd/
+BuildRequires:	sed >= 4.0
 BuildRequires:	zlib-devel
 PreReq:		rc-scripts
 Requires(post,preun):	/sbin/chkconfig
@@ -31,14 +31,15 @@
 Wszystkie dane przesyłane pomiędzy sieciami są szyfrowane za pomocą
 nieopatentowanego algorytmu Blowfish (zobacz
 http://www.counterpane.com/) z kluczem długości do 576 bitów
-(zmniejszanym do 0 by sprostać wszelkim prawnym restrykcjom.
+(zmniejszanym do 0 by sprostać wszelkim prawnym restrykcjom).
 
 %prep
 %setup -q -n %{name}
-%patch0 -p1
+find . -type f -print | xargs %{__sed} -i -e "s@/etc/vpnd\.@/etc/vpnd/vpnd. at g"
+%{__sed} -i -e "s at -O3@%{rpmcflags} @g" -e "s at CC=gcc at CC=%{__cc}@" configure
 
 %build
-%configure
+./configure
 %{__make}
 
 %install
@@ -86,6 +87,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2005/09/15 20:51:00  twittner
+- up to 1.1.2
+- pass %__cc, %rpmcflags
+- fix config paths: /etc/vpn.* -> /etc/vpn/
+- not tested - rel. 0.1
+
 Revision 1.9  2004/10/29 15:19:25  paladine
 - spelling fixes
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/vpnd.spec?r1=1.9&r2=1.10&f=u




More information about the pld-cvs-commit mailing list