Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions data/projects.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ description_long: Fast multi-keyword search engine for text strings

[acstore]
version: >=20221230
build_system: setuptools
download_url: https://github.com/log2timeline/acstore/releases
git_url: https://github.com/log2timeline/acstore.git

Expand Down Expand Up @@ -52,6 +53,7 @@ description_long: A library for parsing ISO 8601 strings.

[artifacts]
version: >=20150409
build_system: setuptools
homepage_url: https://artifacts.readthedocs.io/en/latest/
download_url: https://github.com/ForensicArtifacts/artifacts/releases
git_url: https://github.com/ForensicArtifacts/artifacts.git
Expand Down Expand Up @@ -325,21 +327,25 @@ description_long: XML bomb protection for Python stdlib modules

[dfdatetime]
version: >=20181025
build_system: setuptools
download_url: https://github.com/log2timeline/dfdatetime/releases
git_url: https://github.com/log2timeline/dfdatetime.git

[dfimagetools]
version: >=20181025
build_system: setuptools
download_url: https://github.com/log2timeline/dfimagetools/releases
git_url: https://github.com/log2timeline/dfimagetools.git

[dfvfs]
version: >=20150129
build_system: setuptools
download_url: https://github.com/log2timeline/dfvfs/releases
git_url: https://github.com/log2timeline/dfvfs.git

[dfwinreg]
version: >=20151105
build_system: setuptools
download_url: https://github.com/log2timeline/dfwinreg/releases
git_url: https://github.com/log2timeline/dfwinreg.git

Expand Down Expand Up @@ -367,6 +373,7 @@ description_long: Docutils is a modular system for processing documentation

[dtfabric]
version: >=20170413
build_system: setuptools
dpkg_build_dependencies: python3-build,python3-wheel
rpm_build_dependencies: python3-build,python3-wheel
download_url: https://github.com/libyal/dtfabric/releases
Expand Down Expand Up @@ -1460,6 +1467,7 @@ description_short: Interface Python with pkg-config
description_long: Interface Python with pkg-config

[plaso]
build_system: setuptools
homepage_url: https://plaso.readthedocs.io/en/latest
download_url: https://github.com/log2timeline/plaso/releases
git_url: https://github.com/log2timeline/plaso.git
Expand Down
7 changes: 3 additions & 4 deletions data/rpm_templates/artifacts.spec
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,10 @@ A free, community-sourced, machine-readable knowledge base of forensic artifacts
%autosetup -n %{{name}}-%{{version}}

%build
%py3_build
%pyproject_wheel

%install
%py3_install
rm -rf %{{buildroot}}/usr/lib/python*/site-packages/*.egg-info/requires.txt
%pyproject_install
rm -rf %{{buildroot}}/usr/share/doc/%{{name}}/
mkdir -p %{{buildroot}}/usr/share/artifacts/
mv %{{buildroot}}/usr/lib/python*/site-packages/artifacts/data/* %{{buildroot}}/usr/share/artifacts/
Expand All @@ -69,7 +68,7 @@ rm -rf %{{buildroot}}
%license LICENSE
%doc README.md
%{{python3_sitelib}}/artifacts
%{{python3_sitelib}}/artifacts*.egg-info
%{{python3_sitelib}}/artifacts*.dist-info

%files -n %{{name}}-tools
%{{_bindir}}/*
Expand Down
7 changes: 3 additions & 4 deletions data/rpm_templates/plaso.spec
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,10 @@ Plaso (log2timeline) is a framework to create super timelines. Its purpose is to
%autosetup -n %{{name}}-%{{version}}

%build
%py3_build
%pyproject_wheel

%install
%py3_install
rm -rf %{{buildroot}}/usr/lib/python*/site-packages/*.egg-info/requires.txt
%pyproject_install
rm -rf %{{buildroot}}/usr/share/doc/%{{name}}/
mkdir -p %{{buildroot}}/usr/share/plaso/
mv %{{buildroot}}/usr/lib/python*/site-packages/plaso/data/* %{{buildroot}}/usr/share/plaso/
Expand All @@ -69,7 +68,7 @@ rm -rf %{{buildroot}}
%license LICENSE
%doc README.md
%{{python3_sitelib}}/plaso
%{{python3_sitelib}}/plaso*.egg-info
%{{python3_sitelib}}/plaso*.dist-info

%files -n %{{name}}-tools
%{{_bindir}}/*
Expand Down
Loading