-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrpm.json
More file actions
122 lines (122 loc) · 4.33 KB
/
Copy pathrpm.json
File metadata and controls
122 lines (122 loc) · 4.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"extensions": {
"enabled": [
"python_venv",
"blocks",
"macros",
"file_permissions",
"file_extras"
]
},
"core": {
"group": "Application/System",
"license": "GPLv2",
"name": "spammer-block",
"summary": "Tool to get CIDRs of a known spammer IP-address by AS-number and report known spam automatically",
"url": "https://github.com/HQJaTu/spammer-block/",
"version": "0.9.0",
"release": "1%{?dist}"
},
"python_venv": {
"cmd": "python3 -m venv",
"flags": [
"--copies",
"--clear"
],
"name": "spammer-block",
"path": "/usr/libexec/",
"require_setup_py": true,
"use_pip_install": true
},
"blocks": {
"desc": [
"Tooling to help fight unsolicited email aka. spam.",
"From identified spam email:",
"1) Create IP-block list based on bad Internet neighbourhoods",
"2) Automated reporting of spam based on user interaction or block-list"
],
"changelog": [
"* Mon Jul 14 2025 Jari Turkia <jatu@hqcodeshop.fi> - 0.9.0-1",
"- Bump packages to updated versions.",
"- Fedora 43 build with Python 3.14.",
"* Mon Jul 14 2025 Jari Turkia <jatu@hqcodeshop.fi> - 0.8.6-1",
"- Bump packages to updated versions.",
"- Fedora 41 build.",
"* Sat Sep 07 2024 Jari Turkia <jatu@hqcodeshop.fi> - 0.8.5-1",
"- Using only one type of configuration file.",
"* Sun Sep 01 2024 Jari Turkia <jatu@hqcodeshop.fi> - 0.8.4-1",
"- Improved IPinfo.io ASN data retrieval.",
"* Tue Jul 11 2023 Jari Turkia <jatu@hqcodeshop.fi> - 0.8.3-2",
"- Logging improvements to match best practices.",
"- Bugfix: Allow SMTP reporting.",
"* Thu Jun 15 2023 Jari Turkia <jatu@hqcodeshop.fi> - 0.8.3-1",
"- Packaging for Python 3.11. Bumped versions.",
"* Mon Feb 13 2023 Jari Turkia <jatu@hqcodeshop.fi> - 0.8.2-1",
"- Performance improvement when there are many networks to process",
"- Added option to merge networks with less accuracy",
"* Sun Feb 05 2023 Jari Turkia <jatu@hqcodeshop.fi> - 0.8.1-1",
"- Bumped Python package certifi to a secure version",
"* Wed Sep 28 2022 Jari Turkia <jatu@hqcodeshop.fi> - 0.8.0-1",
"- Fully tested and working Systemd daemon",
"* Wed Sep 28 2022 Jari Turkia <jatu@hqcodeshop.fi> - 0.7.2-2",
"- With configuration, it is possible to report spam to a mock reporting service",
"* Wed Sep 28 2022 Jari Turkia <jatu@hqcodeshop.fi> - 0.7.2-1",
"- Refactored D-Bus service to use configuration",
"* Mon Sep 26 2022 Jari Turkia <jatu@hqcodeshop.fi> - 0.7.1-4",
"- Attempt to get SElinux and logging to work",
"* Sun Sep 25 2022 Jari Turkia <jatu@hqcodeshop.fi> - 0.7.1-3",
"- Using Journald-logging when running as daemon",
"* Sun Sep 04 2022 Jari Turkia <jatu@hqcodeshop.fi> - 0.7.1-2",
"- Bugfix on spammer-block help-text to correctly document {ASN} usage",
"* Sun Sep 04 2022 Jari Turkia <jatu@hqcodeshop.fi> - 0.7.1-1",
"- Improvement on spammer-reporter.py to allow use on --config",
"* Fri Aug 12 2022 Jari Turkia <jatu@hqcodeshop.fi> - 0.7.0-3",
"- Added %attr definition to extra files",
"* Fri Aug 12 2022 Jari Turkia <jatu@hqcodeshop.fi> - 0.7.0-2",
"- Added force_root_override into Toml-configuration"
],
"post": [
]
},
"macros": {
"macros": [
"__os_install_post %{nil}",
"_build_id_links none"
]
},
"file_permissions": {
"user": "root",
"group": "root",
"create_user": false,
"create_group": false
},
"file_extras": {
"files": [
{
"src": "systemd.service/spammer-reporter.conf",
"dest": "etc/dbus-1/system.d/spammer-reporter.conf",
"config": "noreplace"
},
{
"src": "systemd.service/reporter.conf",
"dest": "etc/spammer-block/reporter.conf",
"config": "noreplace",
"attr": "640, -, nobody"
},
{
"src": "systemd.service/spammer-reporter.service",
"dest": "usr/lib/systemd/system/spammer-reporter.service"
},
{
"src": "rpm-package/spammer-blocker",
"dest": "usr/bin/spammer-blocker",
"attr": "755, -, -"
},
{
"src": "rpm-package/spammer-reporter",
"dest": "usr/bin/spammer-reporter",
"attr": "755, -, -"
}
]
}
}