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