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
84a207e3
Commit
84a207e3
authored
Sep 07, 2019
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0.1-alt1
- initial build for ALT Sisyphus
parent
0f4f5953
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
79 additions
and
0 deletions
+79
-0
rules
.gear/rules
+1
-0
eterban.spec
eterban.spec
+78
-0
No files found.
.gear/rules
0 → 100644
View file @
84a207e3
tar: .
eterban.spec
0 → 100644
View file @
84a207e3
Name: eterban
Version: 0.1
Release: alt1
Summary: Etersoft ban service
License: AGPLv3
Group: Development/Other
Url: http://wiki.etersoft.ru/eterban
Packager: Vitaly Lipatov <lav@altlinux.ru>
# Source-git: https://gitlab.eterfund.ru/diff/eterban.git
Source: %name-%version.tar
BuildArchitectures: noarch
# error: File must begin with "/": %webserver_htdocsdir/maintenance/
BuildRequires: rpm-macros-webserver-common
#Requires: nginx >= 1.8.1
%description
Etersoft ban service.
%package gateway
Summary: Etersoft ban service: gateway
Group: Development/Other
%description gateway
Etersoft ban service.
%package web
Summary: Etersoft ban service: web
Group: Development/Other
%description web
Etersoft ban service.
%package fail2ban
Summary: Etersoft ban service: fail2ban
Group: Development/Other
%description fail2ban
Etersoft ban service.
%prep
%setup
%install
mkdir -p %buildroot%_sysconfdir/nginx/include/limits/
install -m644 include/*.conf %buildroot/etc/nginx/include/
install -m644 include/*.inc %buildroot%_sysconfdir/nginx/include/
install -m644 include/limits/* %buildroot%_sysconfdir/nginx/include/limits/
mkdir -p %buildroot%_datadir/%name/images/
install -m644 share/images/* %buildroot%_datadir/%name/images/
mkdir -p %buildroot%webserver_htdocsdir/maintenance/
install -m644 www/* %buildroot%webserver_htdocsdir/maintenance/
%files gateway
%dir %_sysconfdir/nginx/include/
%config(noreplace) %_sysconfdir/nginx/include/*
%files web
%dir %webserver_htdocsdir/maintenance/
%config(noreplace) %webserver_htdocsdir/maintenance/*
%files fail2ban
%_datadir/%name/file
%changelog
* Sat Sep 07 2019 Vitaly Lipatov <lav@altlinux.ru> 0.1-alt1
- initial build for ALT Sisyphus
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