Files
artifacts/artifacts.spec
Greg Freemyer 4fe49e7ec8 Accepting request 628542 from home:susnux:branches:security:forensics
Changed change log as requested

- Cleaned up spec file
  * Use license macro
  * Dropped defattr as it is not required anymore, recent rpms
    add a default defattr line if none is present in the rpm files
    section
- Update to 20180628

OBS-URL: https://build.opensuse.org/request/show/628542
OBS-URL: https://build.opensuse.org/package/show/security:forensics/artifacts?expand=0&rev=4
2018-08-10 18:54:39 +00:00

79 lines
2.9 KiB
RPMSpec

#
# spec file for package artifacts
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define timestamp 20180628
Name: artifacts
Version: %{timestamp}
Release: 0
Summary: Digital Forensics Artifact Repository
License: Apache-2.0
Group: Productivity/Security
URL: https://github.com/ForensicArtifacts/artifacts/wiki
Source: https://github.com/ForensicArtifacts/artifacts/releases/download/%{timestamp}/artifacts-%{timestamp}.tar.gz
BuildArch: noarch
%description
A free, community-sourced, machine-readable knowledge base of forensic artifacts that the world
can use both as an information source and within other tools.
If you'd like to use the artifacts in your own tools, all you need to be able to do is read YAML.
That's it. No other dependencies. The python code in this project is just used to validate all the
artifacts to make sure they follow the spec.
The ForensicArtifacts.com artifact repository was forked from the GRR project artifact collection
into a stand-alone repository that is not tool-specific. The GRR developers will migrate to using
this repository and make contributions here. In addition the ForensicArtifact team will begin
backfilling artifacts in the new format from the ForensicArtifacts.com website.
For some background on the artifacts system and how we expect it to be used see this blackhat
presentation and youtube video from the GRR team.
%package validator
Summary: Digital Forensics Artifact Repository Validator
Group: Productivity/Security
BuildRequires: python-setuptools
Requires: artifacts
%description validator
Python modules and app to validate the artifact data. It is possible some apps directly call these python modules
but by design they should work directly with the YAML files themselves and not use these python modules.
%prep
%setup -q -n artifacts-%{timestamp}
%build
python setup.py build
%install
python setup.py install --root=%{buildroot} --prefix=%{_prefix}
%files
%license LICENSE
%doc ACKNOWLEDGEMENTS AUTHORS README
%{_datadir}/artifacts
%files validator
%license LICENSE
%doc ACKNOWLEDGEMENTS AUTHORS README docs/*
%{python_sitelib}/artifacts-%{timestamp}-py2.7.egg-info
%{python_sitelib}/artifacts
%{_bindir}/validator.py
%{_bindir}/stats.py
%changelog