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
0541c38f
Commit
0541c38f
authored
Jul 24, 2026
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fail2ban: install bundled jail profile
parent
f49c9ac1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
eterban.spec
eterban.spec
+3
-0
No files found.
eterban.spec
View file @
0541c38f
...
...
@@ -74,6 +74,7 @@ mkdir -p %buildroot%_datadir/%name/
mkdir -p %buildroot/etc/%name/
mkdir -p %buildroot/etc/cron.hourly/
mkdir -p %buildroot/etc/fail2ban/action.d/
mkdir -p %buildroot/etc/fail2ban/jail.d/
mkdir -p %buildroot%systemd_unitdir
mkdir -p %buildroot/var/log/eterban/
mkdir -p %buildroot%webserver_htdocsdir/%name/
...
...
@@ -93,6 +94,7 @@ install -m 644 ban-server/etc/nginx/sites-enabled.d/* %buildroot/etc/nginx/sites
sed -i 's|@PHP_FPM_SOCKET@|/var/run/php%php_defver-fpm/php%php_defver-fpm.sock|' %buildroot/etc/nginx/sites-enabled.d/eterban.conf
install -m 644 prod-server/etc/fail2ban/action.d/* %buildroot/etc/fail2ban/action.d/
install -m 644 prod-server/etc/fail2ban/jail.d/jail.conf %buildroot/etc/fail2ban/jail.d/eterban.conf
cp -a prod-server/usr/share/%name/* %buildroot%_datadir/%name/
...
...
@@ -132,6 +134,7 @@ cp -a prod-server/usr/share/%name/* %buildroot%_datadir/%name/
%files fail2ban
%_datadir/%name/ban.py
%config(noreplace) /etc/fail2ban/action.d/eterban.conf
%config(noreplace) /etc/fail2ban/jail.d/eterban.conf
%changelog
* Tue Jul 08 2026 Vitaly Lipatov <lav@altlinux.ru> 0.11-alt1
...
...
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