Skip to content

Commit 2449049

Browse files
authored
Changes for dpkg files (#616)
1 parent 422d7fe commit 2449049

File tree

9 files changed

+30
-15
lines changed

9 files changed

+30
-15
lines changed

.github/workflows/test_docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
version: ['38']
10+
version: ['39']
1111
container:
1212
image: registry.fedoraproject.org/fedora:${{ matrix.version }}
1313
steps:

artifacts/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# -*- coding: utf-8 -*-
22
"""ForensicArtifacts.com Artifact Repository."""
33

4-
__version__ = '20240210'
4+
__version__ = '20240303'

config/dpkg/artifacts-data.install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
data/* usr/share/artifacts
1+
usr/share/artifacts

config/dpkg/changelog

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
artifacts (20240210-1) unstable; urgency=low
1+
artifacts (20240303-1) unstable; urgency=low
22

33
* Auto-generated
44

5-
-- Forensic artifacts <[email protected]> Sat, 10 Feb 2024 08:20:40 +0100
5+
-- Forensic artifacts <[email protected]> Sun, 03 Mar 2024 10:03:58 +0100

config/dpkg/control

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,16 @@ Standards-Version: 4.1.4
77
X-Python3-Version: >= 3.6
88
Homepage: https://github.com/ForensicArtifacts/artifacts
99

10+
Package: artifacts-data
11+
Architecture: all
12+
Depends: ${misc:Depends}
13+
Description: Data files for Digital Forensics Artifacts Repository
14+
A free, community-sourced, machine-readable knowledge base of forensic
15+
artifacts that the world can use both as an information source and within other tools.
16+
1017
Package: python3-artifacts
1118
Architecture: all
12-
Depends: python3-yaml (>= 3.10), ${misc:Depends}
19+
Depends: artifacts-data (>= ${binary:Version}), python3-yaml (>= 3.10), ${misc:Depends}
1320
Description: Python 3 module of Digital Forensics Artifacts Repository
1421
A free, community-sourced, machine-readable knowledge base of forensic
1522
artifacts that the world can use both as an information source and within other tools.

config/dpkg/rules

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,11 @@
66
.PHONY: override_dh_auto_test
77
override_dh_auto_test:
88

9+
.PHONY: override_dh_auto_install
10+
override_dh_auto_install:
11+
dh_auto_install
12+
mkdir -p ${PWD}/debian/tmp/usr/share/artifacts/
13+
mv ${PWD}/debian/tmp/usr/lib/python*/dist-packages/artifacts/data/* ${PWD}/debian/tmp/usr/share/artifacts/
14+
rmdir ${PWD}/debian/tmp/usr/lib/python*/dist-packages/artifacts/data
15+
find ${PWD}/debian/tmp/usr/bin/ -type f -exec {} {}.py \;
16+

docs/sources/background/Stats.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ The artifact definitions can be found in the
44
[artifacts/data directory](https://github.com/ForensicArtifacts/artifacts/tree/main/artifacts/data) and the format is described
55
in detail in the [Style Guide](https://artifacts.readthedocs.io/en/latest/sources/Format-specification.html).
66

7-
Status of the repository as of 2024-01-28
7+
Status of the repository as of 2024-03-03
88

99
Description | Number
1010
--- | ---
11-
Number of artifact definitions: | 822
12-
Number of file paths: | 2178
11+
Number of artifact definitions: | 831
12+
Number of file paths: | 2280
1313
Number of Windows Registry key paths: | 677
1414

1515
### Artifact definition source types
@@ -18,7 +18,7 @@ Identifier | Number
1818
--- | ---
1919
ARTIFACT_GROUP | 47
2020
COMMAND | 10
21-
FILE | 537
21+
FILE | 546
2222
PATH | 28
2323
REGISTRY_KEY | 57
2424
REGISTRY_VALUE | 116
@@ -28,8 +28,8 @@ WMI | 27
2828

2929
Identifier | Number
3030
--- | ---
31-
Darwin | 204
31+
Darwin | 213
3232
ESXi | 16
3333
Linux | 248
34-
Windows | 378
34+
Windows | 379
3535

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = artifacts
3-
version = 20240210
3+
version = 20240303
44
description = ForensicArtifacts.com Artifact Repository.
55
long_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.
66
long_description_content_type = text/plain
@@ -22,7 +22,7 @@ install_requires = file:requirements.txt
2222
package_dir =
2323
artifacts = artifacts
2424
packages = find:
25-
python_requires = >=3.7
25+
python_requires = >=3.8
2626

2727
[options.package_data]
2828
artifacts =

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ commands =
6262
yamllint -v
6363
docformatter --check --diff --recursive artifacts setup.py tests
6464
pylint --rcfile=.pylintrc artifacts setup.py tests
65-
yamllint -c .yamllint.yaml artifacts/data test_data
65+
yamllint -c .yamllint.yaml artifacts test_data

0 commit comments

Comments
 (0)