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 install -d -m 700 %{buildroot}/home/pl_netflow/.ssh
30 install -m 600 authorized_keys %{buildroot}/home/pl_netflow/.ssh/authorized_keys
31 mkdir -p %{buildroot}/home/pl_netflow/.ssh
32 mkdir -p %{buildroot}/pf
41 /home/pl_netflow/.ssh/authorized_keys
46 chkconfig --add pf2slice