⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 openvpn.spec

📁 一个开源的VPN原码
💻 SPEC
字号:
Summary:	A Secure UDP Tunneling DaemonName:		openvpnVersion:	1.3.2Release:	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)#Requires:	tun%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.%prep%setup -q%build./pre-touch%configure --enable-pthread%__make%install[ %{buildroot} != "/" ] && rm -rf %{buildroot}#makeinstall%__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 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* 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.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -