]>
Commit | Line | Data |
---|---|---|
6e7e6b41 | 1 | # |
609e357a | 2 | # TODO: |
00ea86fd AG |
3 | # - add libvhdi bcond and support |
4 | # - add libvmdk bcond and support | |
6e7e6b41 | 5 | # |
afd8a789 AG |
6 | # Conditional build: |
7 | %bcond_without aff # Without Advanced Forensic Format (aff) support | |
8 | # | |
c41f69ba | 9 | Summary: The Sleuth Kit - an forensic toolkit for analyzing file systems and disks |
758f902d | 10 | Summary(pl.UTF-8): The Sleuth Kit - zestaw narzędzi wspomagających analizę systemów plików |
6e7e6b41 | 11 | Name: sleuthkit |
e699c2ac | 12 | Version: 4.6.7 |
00ea86fd | 13 | Release: 1 |
6e7e6b41 | 14 | License: IBM Public License/Common Public License |
15 | Group: Applications | |
00ea86fd | 16 | Source0: https://github.com/sleuthkit/sleuthkit/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz |
e699c2ac | 17 | # Source0-md5: 173216be56d73c89a04631607068af80 |
c41f69ba | 18 | URL: http://www.sleuthkit.org/sleuthkit/ |
9f2cba3f | 19 | %{?with_aff:BuildRequires: afflib-devel} |
ba6b5c4a TP |
20 | #BuildRequires: autoconf |
21 | #BuildRequires: automake | |
22 | BuildRequires: libewf-devel | |
1dac27fe | 23 | BuildRequires: libstdc++-devel |
ba6b5c4a | 24 | #BuildRequires: libtool |
6e7e6b41 | 25 | BuildRequires: openssl-devel |
26 | BuildRequires: perl-base | |
ba6b5c4a | 27 | BuildRequires: sed >= 4.0 |
6e7e6b41 | 28 | Requires: coreutils |
c41f69ba JB |
29 | Requires: file |
30 | # XXX: openssl library (should be autodetected) or openssl-tools or perl-OpenSSL-??? ? | |
6e7e6b41 | 31 | Requires: openssl |
c41f69ba | 32 | Requires: perl-Date-Manip |
6e7e6b41 | 33 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
34 | ||
35 | %description | |
36 | The Sleuth Kit is an open source forensic toolkit for analyzing | |
c41f69ba | 37 | Microsoft and UNIX file systems and disks. The Sleuth Kit enables |
6e7e6b41 | 38 | investigators to identify and recover evidence from images acquired |
c41f69ba JB |
39 | during incident response or from live systems. The Sleuth Kit is open |
40 | source, which allows investigators to verify the actions of the tool | |
41 | or customize it to specific needs. | |
6e7e6b41 | 42 | |
1dac27fe | 43 | It is recommended that these command line tools can be used with the |
44 | Autopsy Forensic Browser. Autopsy, | |
c41f69ba JB |
45 | (<http://www.sleuthkit.org/autopsy/>), is a graphical interface to the |
46 | tools of The Sleuth Kit and automates many of the procedures and | |
47 | provides features such as image searching and MD5 image integrity | |
48 | checks. | |
6e7e6b41 | 49 | |
1dac27fe | 50 | As with any investigation tool, any results found with The Sleuth Kit |
51 | should be be recreated with a second tool to verify the data. | |
6e7e6b41 | 52 | |
f8041a96 JR |
53 | %description -l pl.UTF-8 |
54 | The Sleuth Kit to mający otwarte źródła zestaw narzędzi do analizy | |
55 | systemów plików i dysków z systemami Microsoftu i uniksowymi. The | |
56 | Sleuth Kit umożliwia badającym zidentyfikować i odtworzyć dowody | |
1dac27fe | 57 | uzyskane podczas reakcji na incydent lub z żywych systemów. The Sleuth |
58 | Kit ma otwarte źródła, co pozwala badającym zweryfikować działania | |
59 | narzędzia lub przystosować je do określonych potrzeb. | |
f8041a96 JR |
60 | |
61 | Zalecane jest używanie tych narzędzi działających z linii poleceń wraz | |
62 | z przeglądarką Autopsy (<http://www.sleuthkit.org/autopsy/>), będącą | |
63 | graficznym interfejsem do narzędzi z The Sleuth Kit i automatyzującą | |
64 | wiele procedur oraz udostępniającą możliwości takie jak przeszukiwanie | |
65 | obrazów i sprawdzanie integralności obrazów za pomocą sum MD5. | |
66 | ||
67 | Podobnie jak przy dowolnym narzędziu badawczym wszelkie wyniki | |
68 | uzyskane przy użyciu tego zestawu powinny być odtworzone przy użyciu | |
69 | drugiego narzędzia dla zweryfikowania wiarygodności. | |
c41f69ba | 70 | |
9f2cba3f AG |
71 | %package libs |
72 | Summary: Sleuthkit shared library | |
73 | Summary(pl.UTF-8): Biblioteka współdzielona Sleuthkita | |
74 | Group: Libraries | |
75 | ||
76 | %description libs | |
77 | Sleuthkit shared library. | |
78 | ||
79 | %description libs -l pl.UTF-8 | |
80 | Biblioteka współdzielona Sleuthkita. | |
81 | ||
82 | %package devel | |
83 | Summary: Header files for %{name} library | |
84 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki %{name} | |
85 | Group: Development/Libraries | |
86 | Requires: %{name} = %{version}-%{release} | |
87 | ||
88 | %description devel | |
89 | Header files for %{name} library. | |
90 | ||
91 | %description devel -l pl.UTF-8 | |
92 | Pliki nagłówkowe biblioteki %{name}. | |
93 | ||
94 | %package devel | |
95 | Summary: Header files for %{name} library | |
96 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki %{name} | |
97 | Group: Development/Libraries | |
98 | Requires: %{name} = %{version}-%{release} | |
99 | ||
100 | %description devel | |
101 | Header files for %{name} library. | |
102 | ||
103 | %description devel -l pl.UTF-8 | |
104 | Pliki nagłówkowe biblioteki %{name}. | |
105 | ||
106 | %package static | |
107 | Summary: Static %{name} library | |
108 | Summary(pl.UTF-8): Statyczna biblioteka %{name} | |
109 | Group: Development/Libraries | |
110 | Requires: %{name}-devel = %{version}-%{release} | |
111 | ||
112 | %description static | |
113 | Static %{name} library. | |
114 | ||
115 | %description static -l pl.UTF-8 | |
116 | Statyczna biblioteka %{name}. | |
117 | ||
84d5f8ac AG |
118 | %package java |
119 | Summary: Java bindings for sleuthkit | |
120 | Summary(pl.UTF-8): Dowiązania Javy do sleuthkit | |
121 | Group: Development/Languages/Java | |
122 | Requires: %{name} = %{version}-%{release} | |
123 | ||
124 | %description java | |
125 | Java bindings for sleuthkit. | |
126 | ||
127 | %description java -l pl.UTF-8 | |
128 | Dowiązania Javy do sleuthkit. | |
129 | ||
6e7e6b41 | 130 | %prep |
131 | %setup -q | |
ba6b5c4a | 132 | sed -i -e 's/-static//' {samples,tests,tools/*tools}/Makefile.in |
6e7e6b41 | 133 | |
134 | %build | |
609e357a | 135 | %configure \ |
afd8a789 | 136 | %{!?with_aff:--without-afflib} |
bc13dfb0 | 137 | |
00ea86fd | 138 | sed -i -e 's/^\(LIBS = -lewf\)/\1 -ldl -lpthread/' {tools/autotools,tsk}/Makefile |
6e7e6b41 | 139 | %{__make} |
140 | ||
141 | %install | |
142 | rm -rf $RPM_BUILD_ROOT | |
6e7e6b41 | 143 | |
bc13dfb0 | 144 | %{__make} install \ |
145 | DESTDIR=$RPM_BUILD_ROOT | |
6e7e6b41 | 146 | |
147 | %clean | |
148 | rm -rf $RPM_BUILD_ROOT | |
149 | ||
6e7e6b41 | 150 | %files |
151 | %defattr(644,root,root,755) | |
00ea86fd | 152 | %doc API-CHANGES.txt ChangeLog.txt NEWS.txt README.md licenses/* |
6e7e6b41 | 153 | %attr(755,root,root) %{_bindir}/* |
00ea86fd | 154 | %{_datadir}/tsk |
ba6b5c4a | 155 | %{_mandir}/man1/* |
84d5f8ac | 156 | |
9f2cba3f AG |
157 | %files libs |
158 | %defattr(644,root,root,755) | |
159 | %attr(755,root,root) %{_libdir}/libtsk.so.*.*.* | |
160 | %attr(755,root,root) %{_libdir}/libtsk_jni.so.*.*.* | |
161 | %attr(755,root,root) %ghost %{_libdir}/libtsk.so.13 | |
162 | %attr(755,root,root) %ghost %{_libdir}/libtsk_jni.so.0 | |
163 | ||
164 | %files devel | |
165 | %defattr(644,root,root,755) | |
166 | %attr(755,root,root) %{_libdir}/libtsk.so | |
167 | %attr(755,root,root) %{_libdir}/libtsk_jni.so | |
168 | %{_libdir}/libtsk.la | |
169 | %{_libdir}/libtsk_jni.la | |
170 | %{_includedir}/tsk | |
171 | ||
172 | %files static | |
173 | %defattr(644,root,root,755) | |
174 | %{_libdir}/libtsk.a | |
175 | %{_libdir}/libtsk_jni.a | |
176 | ||
177 | ||
84d5f8ac AG |
178 | %files java |
179 | %defattr(644,root,root,755) | |
00ea86fd | 180 | %{_javadir}/%{name}-%{version}.jar |