You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2018/09/20 17:15:06 UTC
[trafficserver] 02/03: Updated the rpm spec file to have the
correct files and fixed permissions
This is an automated email from the ASF dual-hosted git repository.
bcall pushed a commit to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 9fb32a04f6b2ff80d57be92c9e8d0811fc771a5f
Author: Bryan Call <bc...@apache.org>
AuthorDate: Wed Sep 19 13:31:17 2018 -0700
Updated the rpm spec file to have the correct files and fixed permissions
(cherry picked from commit c64ae1144a283bcbf52674fb7fa0782eb9cdbbf2)
---
tools/package/trafficserver.spec | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/tools/package/trafficserver.spec b/tools/package/trafficserver.spec
index ab91f11..0c6dd59 100755
--- a/tools/package/trafficserver.spec
+++ b/tools/package/trafficserver.spec
@@ -149,14 +149,12 @@ getent passwd ats >/dev/null || useradd -r -u 176 -g ats -d / -s /sbin/nologin -
%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc README CHANGELOG* NOTICE STATUS
-%attr(0755, ats, ats) %dir /etc/trafficserver
%config(noreplace) /etc/trafficserver/*
%{_bindir}/traffic*
%{_bindir}/tspush
%dir %{_libdir}/trafficserver
%dir %{_libdir}/trafficserver/plugins
%{_libdir}/trafficserver/libts*.so*
-%{_libdir}/trafficserver/libats*.so*
%{_libdir}/trafficserver/plugins/*.so
%if %{?fedora}0 > 0 || %{?rhel}0 >= 70
@@ -165,9 +163,13 @@ getent passwd ats >/dev/null || useradd -r -u 176 -g ats -d / -s /sbin/nologin -
%config(noreplace) /etc/init.d/trafficserver
%endif
+# Change the default file and directory permissions
+%attr(0755, ats, ats) %dir /etc/trafficserver
%attr(0755, ats, ats) %dir /var/log/trafficserver
%attr(0755, ats, ats) %dir /run/trafficserver
%attr(0755, ats, ats) %dir /var/cache/trafficserver
+%attr(0644, ats, ats) /etc/trafficserver/*.config
+%attr(0644, ats, ats) /etc/trafficserver/*.yaml
%files perl
%defattr(-,root,root,-)
@@ -178,10 +180,15 @@ getent passwd ats >/dev/null || useradd -r -u 176 -g ats -d / -s /sbin/nologin -
%defattr(-,root,root,-)
%{_bindir}/tsxs
%{_includedir}/ts
-%{_includedir}/atscppapi
+%{_includedir}/tscpp
%{_datadir}/pkgconfig/trafficserver.pc
%changelog
+* Wed Sep 19 2018 Bryan Call <bc...@apache.org> - 8.0.0-1
+- Changed the owner ofthe configuration files to ats
+- Include files for the C++ APIs moved
+- C++ library name changed
+
* Tue Dec 19 2017 Leif Hedstrom <zw...@apache.org> - 7.1.2-1
- Cleanup for 7.1.x, and various other changes. This needs more work
upstream though, since I'm finding issues.