?? openvpn.spec.in
字號:
Summary: A Secure UDP Tunneling DaemonName: @PACKAGE@Version: @VERSION@Release: 1URL: http://sourceforge.net/projects/openvpn/Source0: http://prdownloads.sourceforge.net/openvpn/%{name}-%{version}.tar.gzLicense: GPLGroup: Networking/TunnelsVendor: James Yonan <jim@yonan.net>Packager: bishop clark (LC957) <bishop@platypus.bc.ca>BuildRoot: %{_tmppath}/%{name}-%(id -un)%{!?_without_lzo:BuildRequires: lzo-devel}%{!?_without_lzo:Requires: lzo}%descriptionOpenVPN is a robust and highly flexible tunneling application thatuses all of the encryption, authentication, and certification featuresof the OpenSSL library to securely tunnel IP networks over a singleUDP port. It can use the Marcus Franz Xaver Johannes Oberhumer's LZOlibrary 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}%postcase "`uname -r`" in2.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%preunif [ "$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 <matthias.andree@gmx.de> 1.3.2.14-1.- Have the version number filled in by autoconf.* Wed Jul 10 2002 James Yonan <jim@yonan.net> 1.3.1-1- Fixed %preun to only remove service on final uninstall* Mon Jun 17 2002 bishop clark (LC957) <bishop@platypus.bc.ca> 1.2.2-1- Added condrestart to openvpn.spec & openvpn.init.* Wed May 22 2002 James Yonan <jim@yonan.net> 1.2.0-1- Added mknod for Linux 2.4.* Wed May 15 2002 Doug Keller <dsk@voidstar.dyndns.org> 1.1.1.16-2- Added init scripts- Added conf file support* Mon May 13 2002 bishop clark (LC957) <bishop@platypus.bc.ca> 1.1.1.14-1- Added new directories for config examples and such* Sun May 12 2002 bishop clark (LC957) <bishop@platypus.bc.ca> 1.1.1.13-1- Updated buildroot directive and cleanup command- added easy-rsa utilities* Mon Mar 25 2002 bishop clark (LC957) <bishop@platypus.bc.ca> 1.0-1- Initial build.
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -