Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eterban
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eterban
Commits
a25c546b
Commit
a25c546b
authored
Mar 27, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0.6-alt1
- add unban.py for gateway target - add eterban cli for gateway target
parent
7a9389b4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
eterban.spec
eterban.spec
+10
-5
No files found.
eterban.spec
View file @
a25c546b
Name: eterban
Version: 0.
5
Release: alt
2
Version: 0.
6
Release: alt
1
Summary: Etersoft ban service
...
...
@@ -8,8 +8,6 @@ License: AGPLv3
Group: Development/Other
Url: http://wiki.etersoft.ru/eterban
Packager: Ruzal Gimazov <diff@etersoft.ru>
# Source-git: https://gitlab.eterfund.ru/diff/eterban.git
Source: %name-%version.tar
...
...
@@ -35,7 +33,7 @@ Etersoft ban service. Common files.
Summary: Etersoft ban service: gateway
Group: Development/Other
Requires: eterban-common = %EVR
Requires: iptables
,ipset,conntrack-tools,python3-module-redi
s
Requires: iptables
ipset conntrack-tool
s
%description gateway
Etersoft ban service.
...
...
@@ -75,6 +73,7 @@ mkdir -p %buildroot/var/log/eterban/
mkdir -p %buildroot%webserver_htdocsdir/%name/
mkdir -p %buildroot/etc/nginx/sites-enabled.d/
install -m 755 -D gateway/usr/bin/eterban.sh %buildroot%_bindir/%name
cp -a gateway/usr/share/%name/* %buildroot%_datadir/%name/
install -m 644 common/etc/eterban/* %buildroot/etc/%name/
...
...
@@ -95,10 +94,12 @@ cp -a prod-server/usr/share/%name/* %buildroot%_datadir/%name/
%files gateway
%systemd_unitdir/eterban.service
%_bindir/eterban
%dir /var/log/eterban/
%config(noreplace) /etc/cron.hourly/get_firehol_ip.sh
%dir %_datadir/%name/
%_datadir/%name/eterban_switcher.py
%_datadir/%name/unban.py
%files web
%webserver_htdocsdir/%name/
...
...
@@ -109,6 +110,10 @@ cp -a prod-server/usr/share/%name/* %buildroot%_datadir/%name/
%config(noreplace) /etc/fail2ban/action.d/eterban.conf
%changelog
* Sun Mar 27 2022 Vitaly Lipatov <lav@altlinux.ru> 0.6-alt1
- add unban.py for gateway target
- add eterban cli for gateway target
* Sat Mar 26 2022 Vitaly Lipatov <lav@altlinux.ru> 0.5-alt2
- fix fail2ban require
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment