Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 860221 Details for
Bug 1013999
Resiprocate enables services by default
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch against the svn version
resiprocate.patch (text/plain), 4.65 KB, created by
Juan Orti
on 2014-02-06 15:01:17 UTC
(
hide
)
Description:
Patch against the svn version
Filename:
MIME Type:
Creator:
Juan Orti
Created:
2014-02-06 15:01:17 UTC
Size:
4.65 KB
patch
obsolete
>Index: resiprocate.spec.in >=================================================================== >--- resiprocate.spec.in (revision 10936) >+++ resiprocate.spec.in (working copy) >@@ -14,6 +14,7 @@ > BuildRequires: gperf > %if 0%{?fedora} >= 18 > BuildRequires: db4-cxx-devel >+BuildRequires: systemd > %endif > BuildRequires: db4-devel > BuildRequires: openssl-devel >= 0.9.8 >@@ -29,6 +30,10 @@ > Requires: chkconfig > %if 0%{?fedora} < 17 > Requires(preun): initscripts >+%else >+Requires(post): systemd >+Requires(preun): systemd >+Requires(postun): systemd > %endif > > %description >@@ -156,7 +161,7 @@ > -e 's!^#RunAsGroup = repro$!RunAsGroup = repro!' \ > -e 's!^Daemonize = false$!Daemonize = true!' \ > -e 's!^#CAFile = /etc/ssl/certs/cacert.org.pem$!CAFile = %{_sysconfdir}/ssl/certs/ca-bundle.crt!' \ >- -e 's!^DatabasePath = ./$!DatabasePath = %{_localstatedir}/lib/repro!' \ >+ -e 's!^DatabasePath = ./$!DatabasePath = %{_sharedstatedir}/repro!' \ > -e 's!^ChallengeThirdPartiesCallingLocalDomains = true$!ChallengeThirdPartiesCallingLocalDomains = false!' \ > %{buildroot}%{_sysconfdir}/repro/repro.config > install -p -D -m640 reTurn/reTurnServer.config %{buildroot}%{_sysconfdir}/reTurn/reTurnServer.config >@@ -174,7 +179,7 @@ > -e 's!^UserDatabaseHashedPasswords = false!UserDatabaseHashedPasswords = true!' \ > -e 's!^TlsTempDhFilename = dh512.pem!TlsTempDhFilename = %{_sysconfdir}/reTurn/dh512.pem!' \ > %{buildroot}%{_sysconfdir}/reTurn/reTurnServer.config >-install -m 0755 -d %{buildroot}%{_localstatedir}/lib/repro >+install -m 0755 -d %{buildroot}%{_sharedstatedir}/repro > rm -f %{buildroot}%{_libdir}/lib*.a > rm -f %{buildroot}%{_libdir}/lib*.la > rm -f %{buildroot}%{_libdir}/resiprocate/repro/plugins/lib*.a >@@ -190,7 +195,7 @@ > %pre repro > getent group repro >/dev/null || groupadd -r repro > getent passwd repro >/dev/null || \ >- useradd -r -g repro -d %{_localstatedir}/lib/repro -s /sbin/nologin \ >+ useradd -r -g repro -d %{_sharedstatedir}/repro -s /sbin/nologin \ > -c "repro SIP proxy" repro > > %pre turn-server >@@ -203,75 +208,71 @@ > > %post repro > /sbin/ldconfig >+%if 0%{?fedora} >= 18 >+%systemd_post repro.service >+%else > if [ $1 -eq 1 ] ; then > # Initial installation >-%if 0%{?fedora} >= 17 >- /bin/systemctl enable repro.service >/dev/null 2>&1 || : >-%else > /sbin/chkconfig --add repro >+fi > %endif >-fi > > %post turn-server >+%if 0%{?fedora} >= 18 >+%systemd_post resiprocate-turn-server.service >+%else > if [ $1 -eq 1 ] ; then > # Initial installation >-%if 0%{?fedora} >= 17 >- /bin/systemctl enable resiprocate-turn-server.service >/dev/null 2>&1 || : >-%else > /sbin/chkconfig --add resiprocate-turn-server >+fi > %endif >-fi > > %preun repro >+%if 0%{?fedora} >= 18 >+%systemd_preun repro.service >+%else > if [ "$1" = 0 ] > then > # Package removal, not upgrade >-%if 0%{?fedora} >= 17 >- /bin/systemctl --no-reload disable repro.service > /dev/null 2>&1 || : >- /bin/systemctl stop repro.service > /dev/null 2>&1 || : >-%else > /sbin/service repro stop > /sbin/chkconfig --del repro >+fi > %endif >-fi > > %preun turn-server >+%if 0%{?fedora} >= 18 >+%systemd_preun resiprocate-turn-server.service >+%else > if [ "$1" = 0 ] > then > # Package removal, not upgrade >-%if 0%{?fedora} >= 17 >- /bin/systemctl --no-reload disable resiprocate-turn-server.service > /dev/null 2>&1 || : >- /bin/systemctl stop resiprocate-turn-server.service > /dev/null 2>&1 || : >-%else > /sbin/service resiprocate-turn-server stop > /sbin/chkconfig --del resiprocate-turn-server >+fi > %endif >-fi > > %postun libs -p /sbin/ldconfig > > %postun repro > /sbin/ldconfig >-/bin/systemctl daemon-reload >/dev/null 2>&1 || : >+%if 0%{?fedora} >= 18 >+%systemd_postun_with_restart repro.service >+%else > if [ $1 -ge 1 ] ; then > # Package upgrade, not uninstall >-%if 0%{?fedora} >= 17 >- /bin/systemctl try-restart repro.service >/dev/null 2>&1 || : >-%else > /sbin/service repro try-restart >+fi > %endif >-fi > > %postun turn-server >-/bin/systemctl daemon-reload >/dev/null 2>&1 || : >+%if 0%{?fedora} >= 18 >+%systemd_postun_with_restart resiprocate-turn-server.service >+%else > if [ $1 -ge 1 ] ; then > # Package upgrade, not uninstall >-%if 0%{?fedora} >= 17 >- /bin/systemctl try-restart resiprocate-turn-server.service >/dev/null 2>&1 || : >-%else > /sbin/service resiprocate-turn-server try-restart >+fi > %endif >-fi > > %clean > rm -rf $RPM_BUILD_ROOT >@@ -323,7 +324,7 @@ > %{_libdir}/libsipdial.so > > %files repro >-%attr(0750,repro,repro) %dir %{_localstatedir}/lib/repro >+%attr(0750,repro,repro) %dir %{_sharedstatedir}/repro > %attr(0640,root,repro) %config(noreplace) %{_sysconfdir}/repro/repro.config > %attr(0640,root,repro) %config(noreplace) %{_sysconfdir}/repro/users.txt > %config(noreplace) %{_sysconfdir}/logrotate.d/repro
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1013999
:
805764
| 860221