?? openswan.26spec
字號:
Summary: Openswan IPSEC implementationName: openswanVersion: 2.4.5rc6%define opensw_release 1suse9%define debug_package %{nil}Release: %{opensw_release}Source: http://www.openswan.org/code/openswan-%{Version}.tar.gzBuildPreReq: gmpBuildRoot: %{_tmppath}/%{name}-buildrootSummary: Openswan IPsec userland toolsUrl: http://www.openswan.org/License: GPLGroup: System Environment/DaemonsProvides: ipsec-userlandRequires: iproute >= 2.6.8 %define __spec_install_post /usr/lib/rpm/brp-compress || :%descriptionOpenswan is a free implementation of IPSEC & IKE for Linux.IPsec is Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks. Everything passing through the untrusted net is encrypted by the ipsec gateway machine and decrypted by the gateway at the other end of the tunnel. The resulting tunnel is a virtual private network or VPN.This package contains the daemons and userland tools for setting upOpenswan on a kernel with either the KLIPS or NETKEY stack.%prep%setup -q -n openswan-%{Version}%build%{__make} \ USERCOMPILE="-g %{optflags}" \ INC_USRLOCAL=%{_prefix} \ MANTREE=%{_mandir} \ INC_RCDEFAULT=%{_initrddir} \ programsFS=$(pwd)%installrm -rf ${RPM_BUILD_ROOT}%{__make} \ DESTDIR=%{buildroot} \ INC_USRLOCAL=%{_prefix} \ INC_RCDEFAULT=%{_initrddir} \ MANTREE=%{buildroot}%{_mandir} \ installrm -rf %{buildroot}/usr/share/doc/openswanrm -rf %{buildroot}/usr/share/maninstall -d -m 0700 %{buildroot}%{_localstatedir}/run/plutoinstall -d %{buildroot}%{_sbindir}# Kill openswan docs.%cleanrm -rf ${RPM_BUILD_ROOT}%files%defattr(-,root,root)%doc BUGS CHANGES COPYING%doc CREDITS README%doc doc/manpage.d/*%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/ipsec.conf%attr(0700,root,root) %dir %{_sysconfdir}/ipsec.d%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/ipsec.d/*%{_localstatedir}/run/pluto%config(noreplace) %{_initrddir}/ipsec%{_libdir}/ipsec%{_sbindir}/ipsec%{_libexecdir}/ipsec%{_localstatedir}/run/pluto%pre%preunif [ $1 = 0 ]; then /sbin/rcipsec stop || :fi%postunif [ $1 -ge 1 ] ; then /sbin/rcipsec stop 2>&1 > /dev/null && /sbin/rcipsec start 2>&1 > /dev/null || :fi%postchkconfig --add ipsecmkdir -p -m 755 /etc/ipsec.dmkdir -p -m 755 /etc/ipsec.d/cacertsmkdir -p -m 755 /etc/ipsec.d/crlsmkdir -p -m 700 /etc/ipsec.d/privateif [ ! -e /sbin/rcipsec ]then ln -s /etc/init.d/ipsec /sbin/rcipsecfi%changelog* Tue Aug 31 2004 Paul Wouters <paul@xelerance.com>- ported redhat spec file to suse.* Tue May 25 2004 Ken Bantoft <ken@xelerance.com>- Initial version, based on FreeS/WAN .spec
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -