Summary: A Secure UDP Tunneling Daemon Name: openvpn Version: 2.0_beta15 Release: 1 URL: http://sourceforge.net/projects/openvpn/ Source0: http://prdownloads.sourceforge.net/openvpn/%{name}-%{version}.tar.gz License: GPL Group: Networking/Tunnels Vendor: James Yonan Packager: bishop clark (LC957) BuildRoot: %{_tmppath}/%{name}-%(id -un) %{!?_without_lzo:BuildRequires: lzo-devel} %{!?_without_lzo:Requires: lzo} %description OpenVPN is a robust and highly flexible tunneling application that uses all of the encryption, authentication, and certification features of the OpenSSL library to securely tunnel IP networks over a single UDP port. It can use the Marcus Franz Xaver Johannes Oberhumer's LZO library for compression. %define debug_package %{nil} %prep %setup -q %build %configure %{?_without_lzo:--disable-lzo} %__make %install [ %{buildroot} != "/" ] && rm -rf %{buildroot} %__install -c -d -m 755 %{buildroot}%{_mandir}/man8 %__install -c -m 755 %{name}.8 %{buildroot}%{_mandir}/man8 %__install -c -d -m 755 %{buildroot}%{_sbindir} %__install -c -m 755 %{name} %{buildroot}%{_sbindir} %__install -c -d -m 755 %{buildroot}/etc/rc.d/init.d %__install -c -m 755 sample-scripts/%{name}.init %{buildroot}/etc/rc.d/init.d/%{name} %__install -c -d -m 755 %{buildroot}/etc/%{name} %__mkdir_p %{buildroot}%{_datadir}/%{name} %__cp -pr contrib easy-rsa sample-{config-file,key,script}s %{buildroot}%{_datadir}/%{name} %clean [ %{buildroot} != "/" ] && rm -rf %{buildroot} %post case "`uname -r`" in 2.4*) /bin/mkdir /dev/net >/dev/null 2>&1 /bin/mknod /dev/net/tun c 10 200 >/dev/null 2>&1 ;; esac /sbin/chkconfig --add %{name} /sbin/service %{name} condrestart %preun if [ "$1" = 0 ] then /sbin/service %{name} stop /sbin/chkconfig --del %{name} fi %files %defattr(-,root,root) %doc AUTHORS COPYING COPYRIGHT.GPL INSTALL NEWS PORTS README %{_mandir}/man8/%{name}.8* %{_sbindir}/%{name} %{_datadir}/%{name} /etc %changelog * Sun Feb 23 2003 Matthias Andree 1.3.2.14-1. - Have the version number filled in by autoconf. * Wed Jul 10 2002 James Yonan 1.3.1-1 - Fixed %preun to only remove service on final uninstall * Mon Jun 17 2002 bishop clark (LC957) 1.2.2-1 - Added condrestart to openvpn.spec & openvpn.init. * Wed May 22 2002 James Yonan 1.2.0-1 - Added mknod for Linux 2.4. * Wed May 15 2002 Doug Keller 1.1.1.16-2 - Added init scripts - Added conf file support * Mon May 13 2002 bishop clark (LC957) 1.1.1.14-1 - Added new directories for config examples and such * Sun May 12 2002 bishop clark (LC957) 1.1.1.13-1 - Updated buildroot directive and cleanup command - added easy-rsa utilities * Mon Mar 25 2002 bishop clark (LC957) 1.0-1 - Initial build.