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
263a7542
Commit
263a7542
authored
Oct 30, 2018
by
Xavier Bachelot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use _rundir macro in place of /var/run
parent
a5e0f6cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
rpm/lemonldap-ng.spec
rpm/lemonldap-ng.spec
+4
-4
No files found.
rpm/lemonldap-ng.spec
View file @
263a7542
...
@@ -315,7 +315,7 @@ chmod +x %{__perl_requires}
...
@@ -315,7 +315,7 @@ chmod +x %{__perl_requires}
PREFIX=%{lm_prefix} \
PREFIX=%{lm_prefix} \
BINDIR=%{lm_sharedir}/bin \
BINDIR=%{lm_sharedir}/bin \
SBINDIR=%{lm_sharedir}/sbin \
SBINDIR=%{lm_sharedir}/sbin \
FASTCGISOCKDIR=
/var/run
/llng-fastcgi-server \
FASTCGISOCKDIR=
%{_rundir}
/llng-fastcgi-server \
DOCUMENTROOT=%{lm_vardir} \
DOCUMENTROOT=%{lm_vardir} \
EXAMPLESDIR=%{lm_examplesdir} \
EXAMPLESDIR=%{lm_examplesdir} \
HANDLERDIR=%{lm_vardir}/handler \
HANDLERDIR=%{lm_vardir}/handler \
...
@@ -341,13 +341,13 @@ find %{buildroot} -name *.bak -exec rm -f {} \;
...
@@ -341,13 +341,13 @@ find %{buildroot} -name *.bak -exec rm -f {} \;
# Install files for FastCGI Server
# Install files for FastCGI Server
mkdir -p %{buildroot}%{_unitdir}
mkdir -p %{buildroot}%{_unitdir}
install -m644 fastcgi-server/systemd/llng-fastcgi-server.service %{buildroot}%{_unitdir}
install -m644 fastcgi-server/systemd/llng-fastcgi-server.service %{buildroot}%{_unitdir}
sed -i 's:__FASTCGISOCKDIR__:
/var/run
/llng-fastcgi-server:' %{buildroot}%{_unitdir}/llng-fastcgi-server.service
sed -i 's:__FASTCGISOCKDIR__:
%{_rundir}
/llng-fastcgi-server:' %{buildroot}%{_unitdir}/llng-fastcgi-server.service
sed -i 's:__SBINDIR__:/usr/share/lemonldap-ng/sbin:' %{buildroot}%{_unitdir}/llng-fastcgi-server.service
sed -i 's:__SBINDIR__:/usr/share/lemonldap-ng/sbin:' %{buildroot}%{_unitdir}/llng-fastcgi-server.service
rm -f %{buildroot}%{_sysconfdir}/init.d/llng-fastcgi-server
rm -f %{buildroot}%{_sysconfdir}/init.d/llng-fastcgi-server
mkdir -p %{buildroot}%{_tmpfilesdir}
mkdir -p %{buildroot}%{_tmpfilesdir}
install -m644 fastcgi-server/systemd/llng-fastcgi-server.tmpfile %{buildroot}%{_tmpfilesdir}/llng-fastcgi-server.conf
install -m644 fastcgi-server/systemd/llng-fastcgi-server.tmpfile %{buildroot}%{_tmpfilesdir}/llng-fastcgi-server.conf
sed -i 's:__FASTCGISOCKDIR__:
/var/run
/llng-fastcgi-server:' %{buildroot}%{_tmpfilesdir}/llng-fastcgi-server.conf
sed -i 's:__FASTCGISOCKDIR__:
%{_rundir}
/llng-fastcgi-server:' %{buildroot}%{_tmpfilesdir}/llng-fastcgi-server.conf
sed -i 's:__USER__:%{lm_apacheuser}:' %{buildroot}%{_tmpfilesdir}/llng-fastcgi-server.conf
sed -i 's:__USER__:%{lm_apacheuser}:' %{buildroot}%{_tmpfilesdir}/llng-fastcgi-server.conf
sed -i 's:__GROUP__:%{lm_apachegroup}:' %{buildroot}%{_tmpfilesdir}/llng-fastcgi-server.conf
sed -i 's:__GROUP__:%{lm_apachegroup}:' %{buildroot}%{_tmpfilesdir}/llng-fastcgi-server.conf
...
@@ -526,7 +526,7 @@ fi
...
@@ -526,7 +526,7 @@ fi
%{_unitdir}/llng-fastcgi-server.service
%{_unitdir}/llng-fastcgi-server.service
%{_tmpfilesdir}/llng-fastcgi-server.conf
%{_tmpfilesdir}/llng-fastcgi-server.conf
%defattr(755,%{lm_apacheuser},%{lm_apachegroup},-)
%defattr(755,%{lm_apacheuser},%{lm_apachegroup},-)
%dir
/var/run
/llng-fastcgi-server
%dir
%{_rundir}
/llng-fastcgi-server
%{lm_sharedir}/examples/llngapp.psgi
%{lm_sharedir}/examples/llngapp.psgi
%files uwsgi-app
%files uwsgi-app
...
...
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