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