1 # please keep these three lines as they are used by the tagging script
2 # see build/module-tag.py for details
7 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
12 Summary: pf2slice - Tools for starting and managing the PF2 slice
13 Group: Network/Monitoring
15 Source0: %{name}-%{version}.tar.bz2
16 Buildroot: %{_tmppath}/%{name}-buildroot
20 pf2slice - Populates the planetflow slice with the right initscript, keychains and so on
27 install -d -v %{buildroot}/etc/init.d
28 install -m 755 -v pf2slice-initscript %{buildroot}/etc/init.d/pf2slice
29 mkdir -p %{buildroot}/home/pl_netflow/.ssh
30 mkdir -p %{buildroot}/pf
31 cp authorized_keys %{buildroot}/home/pl_netflow/.ssh
39 /root/.ssh/authorized_keys
43 chkconfig --add pf2slice