?? firestorm.spec
字號:
Summary: A Network Intrusion Detection System (NIDS)Name: firestormVersion: 0.5.2Release: 1License: GPLGroup: System Environment/DaemonsSource: firestorm-%{version}.tar.gzBuildroot: %{_tmppath}/%{name}-%{version}-root%descriptionFirestorm is an extremely high performance network intrusion detectionsystem (NIDS). At the moment it is just a sensor but plans are to includereal support for analysis, reporting, remote console and on-the-flysensor configuration. It is fully pluggable and hence extremely flexible.%prep%setup -q./configure \ --sysconfdir=/etc \ --mandir=%_mandir \ --host=%_target \ --build=%_build%buildmake%installrm -f $RPM_BUILD_ROOT/%_mandir/man1/*rm -f $RPM_BUILD_ROOT/%_mandir/man5/*rm -f $RPM_BUILD_ROOT/%_mandir/man8/*make install DESTDIR=$RPM_BUILD_ROOTinstall -d -m 750 $RPM_BUILD_ROOT/etc/init.dinstall -m 750 rc.firestorm $RPM_BUILD_ROOT/etc/init.d/firestorminstall -m 640 firestorm.rpm.conf $RPM_BUILD_ROOT/etc/firestorm.conf# Add user and group before installing%pre# old versions used thisuserdel firestorm 2>/dev/null || truegroupdel firestorm 2>/dev/null || trueuserdel fstorm 2>/dev/null || truegroupdel fstorm 2>/dev/null || truegroupadd -g 303 fstorm || trueuseradd -M -s /bin/false -d /var/firestorm -u 303 -g 303 fstorm || true%postchkconfig --level 235 firestorm on%preunchkconfig --level 235 firestorm del 2>/dev/null || true%cleanrm -rf $RPM_BUILD_ROOT%files%defattr(-,root,root)# Configuration%config(noreplace) /etc/firestorm.conf/etc/init.d/firestorm# Binaries%attr(755,root,root) /usr/bin/*# Documentation%doc %_mandir/man1/*%doc %_mandir/man5/*%doc %_mandir/man8/*%doc ChangeLog NEWS README INSTALL CREDITS HACKING AUTHORS# Plugins%dir /usr/lib/firestorm/%dir /usr/lib/firestorm/capture/usr/lib/firestorm/capture/*.so%dir /usr/lib/firestorm/protocols/usr/lib/firestorm/protocols/*.so%dir /usr/lib/firestorm/detection/usr/lib/firestorm/detection/*.so%dir /usr/lib/firestorm/output/usr/lib/firestorm/output/*.so# Firestorm root dir%defattr(-,fstorm,fstorm)%dir /var/firestorm/%config(noreplace) /var/firestorm/firestorm.rules/var/firestorm/log/var/firestorm/snort-rules
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -