Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
lemonldap-ng
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xavier Bachelot
lemonldap-ng
Commits
f2bbb4ea
Commit
f2bbb4ea
authored
Nov 02, 2018
by
Xavier Bachelot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create an nginx sub-package
parent
f72b3afe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
6 deletions
+23
-6
rpm/lemonldap-ng.spec
rpm/lemonldap-ng.spec
+23
-6
No files found.
rpm/lemonldap-ng.spec
View file @
f2bbb4ea
...
...
@@ -237,6 +237,16 @@ Requires: uwsgi-plugin-psgi
LemonLDAP::NG uWSGI server provides a replacement to LemonLDAP::NG FastCGI
server, using uWSGI instead of Plack FCGI.
#==============================================================================
# Nginx server
#==============================================================================
%package nginx
Summary: LemonLDAP-NG Nginx support
Requires: nginx
%description nginx
Nginx support for LemonLDAP::NG.
#==============================================================================
# CPAN modules - Common
#==============================================================================
...
...
@@ -380,6 +390,11 @@ for i in handler manager portal test; do {
%{buildroot}%{apache_confdir}/z-lemonldap-ng-$i.conf
}; done
# Install nginx conf files
mkdir -p %{buildroot}%{_sysconfdir}/nginx/conf.d/
mv %{buildroot}%{lm_confdir}/*nginx*.conf \
%{buildroot}%{_sysconfdir}/nginx/conf.d/
#==============================================================================
# Run test
#==============================================================================
...
...
@@ -440,12 +455,6 @@ fi
%dir %{lm_confdir}
%config(noreplace) %attr(-,root,%{lm_apachegroup}) %{lm_storagefile}
%config %{lm_confdir}/for_etc_hosts
%config(noreplace) %{lm_confdir}/handler-nginx.conf
%config(noreplace) %{lm_confdir}/manager-nginx.conf
%config(noreplace) %{lm_confdir}/nginx-lmlog.conf
%config(noreplace) %{lm_confdir}/nginx-lua-headers.conf
%config(noreplace) %{lm_confdir}/portal-nginx.conf
%config(noreplace) %{lm_confdir}/test-nginx.conf
%config(noreplace) %{apache_confdir}/z-lemonldap-ng-handler.conf
%config(noreplace) %{apache_confdir}/z-lemonldap-ng-manager.conf
%config(noreplace) %{apache_confdir}/z-lemonldap-ng-portal.conf
...
...
@@ -513,6 +522,14 @@ fi
%files uwsgi-app
%{_sysconfdir}/uwsgi/apps-available/llng-server.yaml
%files nginx
%config(noreplace) %{_sysconfdir}/nginx/conf.d/handler-nginx.conf
%config(noreplace) %{_sysconfdir}/nginx/conf.d/manager-nginx.conf
%config(noreplace) %{_sysconfdir}/nginx/conf.d/nginx-lmlog.conf
%config(noreplace) %{_sysconfdir}/nginx/conf.d/nginx-lua-headers.conf
%config(noreplace) %{_sysconfdir}/nginx/conf.d/portal-nginx.conf
%config(noreplace) %{_sysconfdir}/nginx/conf.d/test-nginx.conf
%files -n perl-Lemonldap-NG-Common
%{_mandir}/man3/Lemonldap::NG::Common*.3pm.*
%{perl_vendorlib}/Lemonldap/NG/Common.pm
...
...
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