public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan-Frode Myklebust <janfrode@tanso.net>
To: git-commits@fedoraproject.org
Subject: [rpms/trafficserver] trafficserver-9.2.14-1: Create /var/run/trafficserver using tmpfiles.d on f15+, since /var/run
Date: Wed, 15 Jul 2026 17:20:33 GMT [thread overview]
Message-ID: <178413603318.1.10365163691706507935.rpms-trafficserver-8b7e02fb45fe@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/trafficserver
Branch : trafficserver-9.2.14-1
Commit : 8b7e02fb45fe38fb3a974a9173fab4e12151e6d5
Author : Jan-Frode Myklebust <janfrode@tanso.net>
Date : 2012-03-23T21:13:30+01:00
Stats : +12/-4 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/trafficserver/c/8b7e02fb45fe38fb3a974a9173fab4e12151e6d5?branch=trafficserver-9.2.14-1
Log:
Create /var/run/trafficserver using tmpfiles.d on f15+, since /var/run
is no tmpfs there and needs to be recreated on every boot.
---
diff --git a/trafficserver.spec b/trafficserver.spec
index d682eb9..8f367af 100644
--- a/trafficserver.spec
+++ b/trafficserver.spec
@@ -3,12 +3,13 @@
Summary: Fast, scalable and extensible HTTP/1.1 compliant caching proxy server
Name: trafficserver
Version: 3.0.4
-Release: 1%{?dist}
+Release: 2%{?dist}
License: ASL 2.0
Group: System Environment/Daemons
Source0: http://www.apache.org/dist/%{name}/%{name}-%{version}.tar.bz2
Source1: trafficserver.sysconf
Source2: trafficserver.service
+Source3: trafficserver.tmpfilesd
URL: http://trafficserver.apache.org/index.html
# BuildRoot is only needed for EPEL5:
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
@@ -16,11 +17,11 @@ BuildRequires: autoconf, automake, libtool, openssl-devel, tcl-devel, expat-deve
BuildRequires: pcre-devel, zlib-devel, xz-devel, gcc-c++
# trafficserver fails to build on ppc, TS-1131
ExcludeArch: ppc ppc64
+Requires: initscripts
%if %{?fedora}0 > 140 || %{?rhel}0 > 60
Requires: systemd
Requires(postun): systemd
%else
-Requires: initscripts
Requires(post): chkconfig
Requires(preun): chkconfig initscripts
Requires(postun): initscripts
@@ -33,7 +34,7 @@ Patch52: trafficserver-condrestart.patch
%description
-Apache Traffic Server is fast, scalable and extensible HTTP/1.1 compliant
+Apache Traffic Server is a fast, scalable and extensible HTTP/1.1 compliant
caching proxy server.
%prep
@@ -73,8 +74,10 @@ install -m 644 -p %{SOURCE1} \
$RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/trafficserver
%if %{?fedora}0 > 140 || %{?rhel}0 > 60
-install -D -m 644 -p %{SOURCE2} \
+install -D -m 0644 -p %{SOURCE2} \
$RPM_BUILD_ROOT/lib/systemd/system/trafficserver.service
+install -D -m 0644 -p %{SOURCE3} \
+ $RPM_BUILD_ROOT%{_sysconfdir}/tmpfiles.d/trafficserver.conf
%else
mkdir -p $RPM_BUILD_ROOT/etc/init.d/
mv $RPM_BUILD_ROOT/usr/bin/trafficserver $RPM_BUILD_ROOT/etc/init.d
@@ -115,6 +118,7 @@ rm -rf $RPM_BUILD_ROOT
%config(noreplace) /etc/trafficserver/*
%if %{?fedora}0 > 140 || %{?rhel}0 > 60
%attr(0644, root, root) /lib/systemd/system/trafficserver.service
+%config(noreplace) %attr(0644, root, root) %{_sysconfdir}/tmpfiles.d/trafficserver.conf
%else
%attr(0755, root, root) /etc/init.d/trafficserver
%endif
@@ -185,6 +189,9 @@ header files, and Apache httpd style module build system.
%attr(0644,root,root) %{_libdir}/trafficserver/*.so
%changelog
+* Fri Mar 23 2012 <janfrode@tanso.net> - 3.0.4-2
+- Create /var/run/trafficserver using tmpfiles.d on f15+.
+
* Thu Mar 22 2012 <janfrode@tanso.net> - 3.0.4-1
- Update to new upstream release, v3.0.4.
- remove trafficserver-cluster_interface_linux.patch since this was fixed upstream, TS-845.
diff --git a/trafficserver.tmpfilesd b/trafficserver.tmpfilesd
new file mode 100644
index 0000000..4e81322
--- /dev/null
+++ b/trafficserver.tmpfilesd
@@ -0,0 +1 @@
+d /var/run/trafficserver 0755 ats ats -
reply other threads:[~2026-07-15 17:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178413603318.1.10365163691706507935.rpms-trafficserver-8b7e02fb45fe@fedoraproject.org \
--to=janfrode@tanso.net \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox