📄 tcp_wrappers.spec
字号:
%define pfx /opt/freescale/rootfs/%{_target_cpu}Summary : A security tool which acts as a wrapper for TCP daemonsName : tcp_wrappersVersion : 7.6Release : 1License : DistributableVendor : FreescalePackager : Stuart HughesGroup : System Environment/DaemonsSource : http://files.ichilton.co.uk/nfs/%{name}_%{version}.tar.gzPatch0 : http://www.linuxfromscratch.org/patches/blfs/5.1/tcp_wrappers-7.6-shared-lib-plus-plus.patchPatch1 : tcp_wrappers-7.6-uclibc.patchPatch2 : tcp_wrappers-7.6-malloc.patchPatch3 : tcp_wrappers-7.6-non-root.patchPatch4 : tcp_wrappers-7.6-uclibc-strerror.patchBuildRoot : %{_tmppath}/%{name}Prefix : %{pfx}%Description%{summary}%Prep%setup -n %{name}_%{version}%patch0 -p1%patch1 -p1%patch2 -p1%patch3 -p1%patch4 -p1%Buildif [ -n "$UCLIBC" ]then make REAL_DAEMON_DIR=/usr/sbin STYLE=-DPROCESS_OPTIONS linux-uclibcelse make REAL_DAEMON_DIR=/usr/sbin STYLE=-DPROCESS_OPTIONS linuxfi%Installrm -rf $RPM_BUILD_ROOTfor i in sbin lib includedo install -m 755 -d $RPM_BUILD_ROOT/%{pfx}/usr/$idonefor i in man3 man5 man8do install -m 755 -d $RPM_BUILD_ROOT/%{pfx}/usr/share/man/$idonemake install DESTDIR=$RPM_BUILD_ROOT/%{pfx}%Cleanrm -rf $RPM_BUILD_ROOT%Files%defattr(-,root,root)%{pfx}/*
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -