[root@eGW SPECS]# cat strongswan.spec
Name: strongswan
Version: 5.1.3
Release: 1%{?dist}
Summary: ipsec server
License: GPL
#URL:
Source0: strongswan-5.1.3.tar.gz
BuildRequires: gcc
Requires: gmp-devel
%description
ipsec server
%prep
%setup -q
%build
./configure --prefix=/usr --sysconfdir=/etc --enable-eap-identity --enable-eap-aka --enable-eap-aka-3gpp2 --enable-eap-radius --enable-eap-sim --enable-eap-sim-file
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
%make_install
%files
%defattr(-,root,root,-)
#%attr(0555,root,root)/usr/lib
#%attr(0555,root,root)/usr/bin
#%attr(0555,root,root)/usr/sbin
#%attr(0755,root,root)/usr/lib/systemd
#%attr(0755,root,root)/usr/lib/systemd/system
%doc
%config /etc/ipsec.conf
%config /etc/strongswan.conf
/etc/ipsec.d
/etc/strongswan.d
/usr/bin/pki
/usr/lib/ipsec
/usr/lib/systemd/system/strongswan.service
/usr/libexec/ipsec
/usr/sbin/ipsec
/usr/share/man
/usr/share/strongswan
#%exclude /usr/lib/debug
#%exclude /usr/src
%changelog
linux: strongswan.spec
最后编辑于 :
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。
推荐阅读更多精彩内容
- 相信很多人已经使用Linux命令很长时间了,也习惯了命令行模式,现在通过这样一个游戏对各位进行一下思维发散大挑战,...
- 这里用到的主要是XShell,SSH软件也可以,这里主要还是用XShell 首先确保XShell能连接到Linux...
- Linux命令大全(手册)_Linux常用命令行实例详解_Linux命令学习手册 Linux 命令大全 http...
- 系统调用与程序运行空间 在Linux操作系统中,为了提高系统的稳定性,保证内核的安全,程序运行时的内存空间被分为了...