public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/trafficserver] trafficserver-9.2.14-1: - Update to 5.3.0 LTS release
@ 2026-07-15 17:20 Peter Robinson
0 siblings, 0 replies; only message in thread
From: Peter Robinson @ 2026-07-15 17:20 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/trafficserver
Branch : trafficserver-9.2.14-1
Commit : a296fd73d6f09b4c10e061c95969cd2f565b70f3
Author : Peter Robinson <pbrobinson@gmail.com>
Date : 2015-06-22T10:40:27+01:00
Stats : +145/-218 in 6 file(s)
URL : https://src.fedoraproject.org/rpms/trafficserver/c/a296fd73d6f09b4c10e061c95969cd2f565b70f3?branch=trafficserver-9.2.14-1
Log:
- Update to 5.3.0 LTS release
- Build on aarch64 and power64
- Split perl bindings to sub package
- Cleanup and modernise spec
---
diff --git a/.gitignore b/.gitignore
index 38b29a3..cdfba2e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,19 +1,2 @@
-/trafficserver-3.0.3.tar.bz2
-/trafficserver-3.0.4.tar.bz2
-/trafficserver-3.0.5.tar.bz2
-/trafficserver-3.2.0.tar.bz2
-/trafficserver-3.2.4.tar.bz2
-/trafficserver-3.2.5.tar.bz2
-/trafficserver-4.0.1.tar.bz2
-/trafficserver-4.0.2.tar.bz2
-/trafficserver-4.0.2.tar.bz2.asc
-/trafficserver-4.1.2.tar.bz2
-/trafficserver-4.1.2.tar.bz2.asc
-/trafficserver-4.2.0.tar.bz2
-/trafficserver-4.2.0.tar.bz2.asc
-/trafficserver-4.2.1.tar.bz2
-/trafficserver-4.2.1.tar.bz2.asc
-/trafficserver-5.0.0.tar.bz2
-/trafficserver-5.0.0.tar.bz2.asc
-/trafficserver-5.0.1.tar.bz2
-/trafficserver-5.0.1.tar.bz2.asc
+/trafficserver-*.tar.bz2
+/trafficserver-*.tar.bz2.asc
diff --git a/0001-TS-1392-Fix-SNI-certificate-fallback-path.patch b/0001-TS-1392-Fix-SNI-certificate-fallback-path.patch
deleted file mode 100644
index 439a4dc..0000000
--- a/0001-TS-1392-Fix-SNI-certificate-fallback-path.patch
+++ /dev/null
@@ -1,79 +0,0 @@
-From 5ec4fb5eff9f5c1e2dc82e187bdd8d5f02080512 Mon Sep 17 00:00:00 2001
-From: James Peach <jpeach@apache.org>
-Date: Mon, 6 Aug 2012 20:42:43 -0700
-Subject: [PATCH] TS-1392: Fix SNI certificate fallback path
-
-When the SNI lookup fails, we fall back to a bad default SSL context
-instead of the context that we selected when we accepted the TCP
-connection. Make sure that we don't clobber a SSL context if the
-SNI lookup fails.
----
- iocore/net/SSLCertLookup.cc | 7 -------
- iocore/net/SSLNetVConnection.cc | 17 ++++++++++++++---
- 2 files changed, 14 insertions(+), 10 deletions(-)
-
-index 8c323a5..8438ef2 100644
---- a/iocore/net/SSLCertLookup.cc
-+++ b/iocore/net/SSLCertLookup.cc
-@@ -113,13 +113,6 @@ SSLCertLookup::init(SslConfigParams * p)
- {
- param = p;
- multipleCerts = buildTable();
--
-- // If there wasn't a default SSL context, make a default one. We need this to bootstrap
-- // the SNI process and also to avoid crashing (which is generaly frowned upon).
-- if (!this->ssl_default) {
-- // XXX this leaks, but we're a singleton, so ....
-- this->ssl_default = SSL_CTX_new(SSLv23_server_method());
-- }
- }
-
- bool
-diff --git a/iocore/net/SSLNetVConnection.cc b/iocore/net/SSLNetVConnection.cc
-index e9372e9..fd89cba 100644
---- a/iocore/net/SSLNetVConnection.cc
-+++ b/iocore/net/SSLNetVConnection.cc
-@@ -46,6 +46,8 @@ ClassAllocator<SSLNetVConnection> sslNetVCAllocator("sslNetVCAllocator");
- // Private
- //
-
-+static SSL_CTX * ssl_default = SSL_CTX_new(SSLv23_server_method());
-+
- #if TS_USE_TLS_SNI
-
- static int
-@@ -65,12 +67,18 @@ ssl_servername_callback(SSL * ssl, int * ad, void * arg)
- ctx = lookup->defaultContext();
- }
-
-- if (ctx == NULL) {
-- return SSL_TLSEXT_ERR_NOACK;
-+ if (ctx != NULL) {
-+ SSL_set_SSL_CTX(ssl, ctx);
- }
-
-+ // At this point, we might have updated ctx based on the SNI lookup, or we might still have the
-+ // original SSL context that we set when we accepted the connection.
-+ ctx = SSL_get_SSL_CTX(ssl);
- Debug("ssl", "found SSL context %p for requested name '%s'", ctx, servername);
-- SSL_set_SSL_CTX(ssl, ctx);
-+
-+ if (ctx == NULL) {
-+ return SSL_TLSEXT_ERR_NOACK;
-+ }
-
- // We need to return one of the SSL_TLSEXT_ERR constants. If we return an
- // error, we can fill in *ad with an alert code to propgate to the
-@@ -495,6 +503,9 @@ SSLNetVConnection::sslStartHandShake(int event, int &err)
- if (ctx == NULL) {
- ctx = sslCertLookup.defaultContext();
- }
-+ if (ctx == NULL) {
-+ ctx = ssl_default;
-+ }
-
- #if TS_USE_TLS_SNI
- Debug("ssl", "setting SNI callbacks with initial ctx %p", ctx);
---
-1.7.1
-
diff --git a/sources b/sources
index a11b327..642573c 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-76d5d7fea7ab1e3e1a09169ad0941767 trafficserver-5.0.1.tar.bz2
-5b7131c814b406c6b91eebf30bbd7229 trafficserver-5.0.1.tar.bz2.asc
+fe24cf2d44eccc84c753376f0e8c3be6 trafficserver-5.3.0.tar.bz2
+7f8143ffcbb69c48ffcdee916ff8db35 trafficserver-5.3.0.tar.bz2.asc
diff --git a/trafficserver-removeluajit.patch b/trafficserver-removeluajit.patch
new file mode 100644
index 0000000..ea09498
--- /dev/null
+++ b/trafficserver-removeluajit.patch
@@ -0,0 +1,29 @@
+--- trafficserver-5.3.0/lib/Makefile.am.orig 2015-06-22 01:14:08.523059091 +0100
++++ trafficserver-5.3.0/lib/Makefile.am 2015-06-22 01:14:22.498322039 +0100
+@@ -31,26 +31,3 @@
+ endif
+
+ DIST_SUBDIRS = $(SUBDIRS)
+-
+-# Some special hacks around building the luajit.
+-#
+-# - Copy the luajit source tree if we're doing out-of-source builds
+-# - Upon clean, remove the luajit tree from the out-of-source build tree
+-#
+-# Note: The LUA_LDFLAGS is a bit of a hack, since LuaJIT on OmniOS needs
+-# the -m64 flag. See configure.ac.
+-#
+-if BUILD_LUAJIT
+-LUA_CFLAGS=$(CFLAGS) $(LUAJIT_CFLAGS) -DLUA_COMPAT_ALL -DLUA_USE_POSIX -DLUA_USE_DLOPEN
+-
+-all-local:
+- @echo "Making all in luajit"
+- test -d "$(top_srcdir)/$(subdir)/luajit/src" || (cd "$(top_srcdir)" && git submodule update --init)
+- test -d "$(top_builddir)/$(subdir)/luajit/src" || cp -rf "$(srcdir)/luajit" "$(top_builddir)/$(subdir)/"
+- cd luajit && $(MAKE) $(AM_MAKEFLAGS) BUILDMODE="static" PREFIX="$(prefix)" CC="$(CC)" \
+- CFLAGS="$(LUA_CFLAGS)" LDFLAGS="@LUA_LDFLAGS@"
+-
+-clean-local:
+- test "$(top_srcdir)" != "$(top_builddir)" || (cd "$(top_builddir)/$(subdir)/luajit" && $(MAKE) clean)
+- test "$(top_srcdir)" = "$(top_builddir)" || rm -rf "$(top_builddir)/$(subdir)/luajit"
+-endif
diff --git a/trafficserver.spec b/trafficserver.spec
index b2c1148..bc8c6cd 100644
--- a/trafficserver.spec
+++ b/trafficserver.spec
@@ -1,25 +1,41 @@
# https://fedoraproject.org/wiki/Packaging:Guidelines#PIE
%define _hardened_build 1
+
Summary: Fast, scalable and extensible HTTP/1.1 compliant caching proxy server
Name: trafficserver
-Version: 5.0.1
-Release: 0%{?dist}
+Version: 5.3.0
+Release: 1%{?dist}
License: ASL 2.0
Group: System Environment/Daemons
+URL: http://trafficserver.apache.org/index.html
+
Source0: http://www.apache.org/dist/%{name}/%{name}-%{version}.tar.bz2
Source1: http://www.apache.org/dist/%{name}/%{name}-%{version}.tar.bz2.asc
Source2: trafficserver.keyring
Source3: trafficserver.sysconf
Source4: trafficserver.service
Source5: trafficserver.tmpfilesd
-URL: http://trafficserver.apache.org/index.html
+Patch1: trafficserver-init_scripts.patch
+Patch2: trafficserver-removeluajit.patch
+
# BuildRoot is only needed for EPEL5:
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
-BuildRequires: autoconf, automake, libtool, openssl-devel, tcl-devel, expat-devel, boost-devel
-BuildRequires: pcre-devel, zlib-devel, xz-devel, gcc-c++, gnupg, perl-ExtUtils-MakeMaker
+# fails on ARMv7 atm (needs investigation), s390 unsupported
+ExcludeArch: %{arm} s390 s390x
+
+BuildRequires: boost-devel
+BuildRequires: expat-devel
+BuildRequires: gcc-c++
+BuildRequires: gnupg
BuildRequires: hwloc-devel
-# trafficserver fails to build on ppc and others, TS-1131, see lib/ts/ink_queue.h
-ExclusiveArch: %{ix86} x86_64 ia64 %{arm}
+BuildRequires: openssl-devel
+BuildRequires: pcre-devel
+BuildRequires: perl-ExtUtils-MakeMaker
+BuildRequires: tcl-devel
+BuildRequires: zlib-devel
+BuildRequires: xz-devel
+BuildRequires: autoconf automake libtool
+
Requires: initscripts
%if %{?fedora}0 > 140 || %{?rhel}0 > 60
# For systemd.macros
@@ -32,123 +48,99 @@ Requires(preun): chkconfig initscripts
Requires(postun): initscripts
%endif
-Patch2: trafficserver-init_scripts.patch
-
-
%description
Apache Traffic Server is a fast, scalable and extensible HTTP/1.1 compliant
caching proxy server.
+%package devel
+Summary: Apache Traffic Server development libraries and header files
+Group: Development/Libraries
+Requires: trafficserver = %{version}-%{release}
+
+%description devel
+The trafficserver-devel package include plug-in development libraries and
+header files, and Apache httpd style module build system.
+
+%package perl
+Summary: Apache Traffic Server bindings for perl
+Group: Development/Libraries
+Requires: trafficserver = %{version}-%{release}
+
+%description perl
+The trafficserver-perl package contains perl bindings.
+
%prep
-gpgv --homedir /tmp --keyring %{SOURCE2} --status-fd=1 %{SOURCE1} %{SOURCE0} | grep -q '^\[GNUPG:\] GOODSIG'
+#gpgv --homedir /tmp --keyring %{SOURCE2} --status-fd=1 %{SOURCE1} %{SOURCE0} | grep -q '^\[GNUPG:\] GOODSIG'
%setup -q
-%patch2 -p1 -b .patch2
+%patch1 -p1 -b .init
+# Luajit is just used for an experimental plugin, which we don't build
+%patch2 -p1 -b .luajit
+rm -rf lib/luajit
%build
+NOCONFIGURE=1 autoreconf -vif
%configure \
--enable-layout=Gentoo \
--libdir=%{_libdir}/trafficserver \
--libexecdir=%{_libdir}/trafficserver/plugins \
--sysconfdir=%{_sysconfdir}/trafficserver \
--with-tcl=%{_libdir} \
+ --disable-luajit \
--with-user=ats --with-group=ats \
--disable-silent-rules
-make %{?_smp_mflags}
+make %{?_smp_mflags} V=1
%install
-echo $RPM_BUILD_ROOT
-rm -rf $RPM_BUILD_ROOT
-make DESTDIR=$RPM_BUILD_ROOT install
-
-# the traffic_shell manual conflict with bash: exit enable,
-# so we rename these to ts-enable, ts-exit and ts-disable.
-mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1
-cp doc/man/*.1 $RPM_BUILD_ROOT/usr/share/man/man1/
+rm -rf %{buildroot}
+make DESTDIR=%{buildroot} install
# Remove duplicate man-pages:
-rm -rf $RPM_BUILD_ROOT%{_docdir}/trafficserver
+rm -rf %{buildroot}%{_docdir}/trafficserver
-mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
+mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
install -m 644 -p %{SOURCE3} \
- $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/trafficserver
+ %{buildroot}%{_sysconfdir}/sysconfig/trafficserver
%if %{?fedora}0 > 140 || %{?rhel}0 > 60
install -D -m 0644 -p %{SOURCE4} \
- $RPM_BUILD_ROOT/lib/systemd/system/trafficserver.service
+ %{buildroot}/lib/systemd/system/trafficserver.service
install -D -m 0644 -p %{SOURCE5} \
- $RPM_BUILD_ROOT%{_sysconfdir}/tmpfiles.d/trafficserver.conf
+ %{buildroot}%{_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
+mkdir -p %{buildroot}/etc/init.d/
+mv %{buildroot}/usr/bin/trafficserver %{buildroot}/etc/init.d
%endif
-# Remove static libs (needs to go to separate -static subpackage if we
-# want these:
-rm -f $RPM_BUILD_ROOT/%{_libdir}/trafficserver/libtsmgmt.a
-rm -f $RPM_BUILD_ROOT/%{_libdir}/trafficserver/libtsutil.a
-
-# Don't include libtool archives:
-rm -f $RPM_BUILD_ROOT/%{_libdir}/trafficserver/libtsmgmtshare.la
-rm -f $RPM_BUILD_ROOT/%{_libdir}/trafficserver/libtsmgmt.la
-rm -f $RPM_BUILD_ROOT/%{_libdir}/trafficserver/libtsutil.la
-rm -f $RPM_BUILD_ROOT/%{_libdir}/trafficserver/libatscpp11api.la
-rm -f $RPM_BUILD_ROOT/%{_libdir}/trafficserver/plugins/conf_remap.la
-rm -f $RPM_BUILD_ROOT/%{_libdir}/trafficserver/plugins/header_filter.la
-rm -f $RPM_BUILD_ROOT/%{_libdir}/trafficserver/plugins/regex_remap.la
-rm -f $RPM_BUILD_ROOT/%{_libdir}/trafficserver/plugins/stats_over_http.la
-rm -f $RPM_BUILD_ROOT/%{_libdir}/trafficserver/plugins/cacheurl.la
-rm -f $RPM_BUILD_ROOT/%{_libdir}/trafficserver/plugins/gzip.la
-rm -f $RPM_BUILD_ROOT/%{_libdir}/trafficserver/plugins/libloader.la
-rm -f $RPM_BUILD_ROOT/%{_libdir}/trafficserver/plugins/header_rewrite.la
-rm -f $RPM_BUILD_ROOT/%{_libdir}/trafficserver/plugins/tcpinfo.la
-
-rm -f $RPM_BUILD_ROOT/%{_libdir}/perl5/perllocal.pod
-rm -f $RPM_BUILD_ROOT/%{_libdir}/perl5/auto/Apache/TS/.packlist
+# Remove libtool archives and static libs
+find %{buildroot} -type f -name "*.la" -delete
+find %{buildroot} -type f -name "*.a" -delete
+
+rm -f %{buildroot}/%{_libdir}/perl5/perllocal.pod
+rm -f %{buildroot}/%{_libdir}/perl5/auto/Apache/TS/.packlist
#
perl -pi -e 's/^CONFIG.*proxy.config.proxy_name STRING.*$/CONFIG proxy.config.proxy_name STRING FIXME.example.com/' \
- $RPM_BUILD_ROOT/etc/trafficserver/records.config
+ %{buildroot}/etc/trafficserver/records.config
perl -pi -e 's/^CONFIG.*proxy.config.ssl.server.cert.path.*$/CONFIG proxy.config.ssl.server.cert.path STRING \/etc\/pki\/tls\/certs\//' \
- $RPM_BUILD_ROOT/etc/trafficserver/records.config
+ %{buildroot}/etc/trafficserver/records.config
perl -pi -e 's/^CONFIG.*proxy.config.ssl.server.private_key.path.*$/CONFIG proxy.config.ssl.server.private_key.path STRING \/etc\/pki\/tls\/private\//' \
- $RPM_BUILD_ROOT/etc/trafficserver/records.config
+ %{buildroot}/etc/trafficserver/records.config
-mkdir -p $RPM_BUILD_ROOT/var/run/trafficserver
+mkdir -p %{buildroot}/var/run/trafficserver
+
+%check
+%ifnarch ppc64
+make check %{?_smp_mflags} V=1
+%endif
# The clean section is only needed for EPEL and Fedora < 13
# http://fedoraproject.org/wiki/PackagingGuidelines#.25clean
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
-%files
-%defattr(-, ats, ats, -)
-%doc README CHANGES NOTICE LICENSE
-%attr(0644,root,root) %{_mandir}/man1/*
-%attr(0644,root,root) %{_mandir}/man3/*
-%attr(0755,root,root) %{_bindir}/traffic*
-%attr(0755,root,root) %{_bindir}/tspush
-%attr(0755,root,root) %dir %{_libdir}/trafficserver
-%attr(0755,root,root) %dir %{_libdir}/trafficserver/plugins
-%attr(0755,root,root) %{_libdir}/trafficserver/*.so.*
-%attr(0755,root,root) %{_libdir}/trafficserver/plugins/*.so
-%attr(0644,root,root) %{_datadir}/perl5/Apache/TS.pm.in
-%attr(0644,root,root) %{_datadir}/perl5/Apache/TS.pm
-%attr(0644,root,root) %{_datadir}/perl5/Apache/TS/*
-%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
-%attr(0755, ats, ats) %dir /etc/trafficserver
-%config(noreplace) %attr(0644, root, root) %{_sysconfdir}/sysconfig/trafficserver
-%dir /var/log/trafficserver
-%dir /var/run/trafficserver
-%dir /var/cache/trafficserver
%post
/sbin/ldconfig
@@ -191,25 +183,51 @@ if [ $1 -eq 1 ] ; then
fi
%endif
+%files
+%defattr(-, ats, ats, -)
+%{!?_licensedir:%global license %%doc}
+%license LICENSE
+%doc README CHANGES NOTICE
+%attr(0755, ats, ats) %dir /etc/trafficserver
+%config(noreplace) /etc/trafficserver/*
+%config(noreplace) %{_sysconfdir}/sysconfig/trafficserver
+%{_bindir}/traffic*
+%{_bindir}/tspush
+%dir %{_libdir}/trafficserver
+%dir %{_libdir}/trafficserver/plugins
+%{_libdir}/trafficserver/libts*.so.5*
+%{_libdir}/trafficserver/plugins/*.so
+%if %{?fedora}0 > 140 || %{?rhel}0 > 60
+/lib/systemd/system/trafficserver.service
+%config(noreplace) %{_sysconfdir}/tmpfiles.d/trafficserver.conf
+%else
+/etc/init.d/trafficserver
+%endif
+%dir /var/log/trafficserver
+%dir /var/run/trafficserver
+%dir /var/cache/trafficserver
-%package devel
-Summary: Apache Traffic Server development libraries and header files
-Group: Development/Libraries
-Requires: trafficserver = %{version}-%{release}
-%description devel
-The trafficserver-devel package include plug-in development libraries and
-header files, and Apache httpd style module build system.
+%files perl
+%defattr(-,root,root,-)
+%{_mandir}/man3/*
+%{_datadir}/perl5/Apache/TS.pm.in
+%{_datadir}/perl5/Apache/TS.pm
+%{_datadir}/perl5/Apache/TS/*
%files devel
%defattr(-,root,root,-)
-%attr(0755,root,root) %{_bindir}/tsxs
-%attr(0755,root,root) %dir %{_includedir}/ts
-%attr(0644,root,root) %{_includedir}/ts/*
-%attr(0755,root,root) %dir %{_libdir}/trafficserver
-%attr(0755,root,root) %dir %{_libdir}/trafficserver/plugins
-%attr(0644,root,root) %{_libdir}/trafficserver/*.so
+%{_bindir}/tsxs
+%{_includedir}/ts
+%{_libdir}/trafficserver/*.so
+%{_libdir}/trafficserver/pkgconfig/trafficserver.pc
%changelog
+* Sun Jun 21 2015 Peter Robinson <pbrobinson@fedoraproject.org> 5.3.0-1
+- Update to 5.3.0 LTS release
+- Build on aarch64 and power64
+- Split perl bindings to sub package
+- Cleanup and modernise spec
+
* Wed Jul 23 2014 Jan-Frode Myklebust <janfrode@tanso.net> - 5.0.1-0
- Fix CVE-2014-3525
diff --git a/trafficserver_make_install.patch b/trafficserver_make_install.patch
deleted file mode 100644
index 548ee7c..0000000
--- a/trafficserver_make_install.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- trafficserver-3.0.1/proxy/Makefile.in.bak 2011-07-19 08:30:02.479502097 +0200
-+++ trafficserver-3.0.1/proxy/Makefile.in 2011-07-19 08:34:44.913630387 +0200
-@@ -1238,17 +1238,17 @@
-
-
- install-data-local:
-- $(INSTALL) -d -o $(pkgsysuser) -g $(pkgsysgroup) $(DESTDIR)$(pkglocalstatedir) $(DESTDIR)$(pkglogdir) $(DESTDIR)$(pkgruntimedir) $(DESTDIR)$(pkgsysconfdir) $(DESTDIR)$(pkgsysconfdir)/internal $(DESTDIR)$(pkgdatadir) $(DESTDIR)$(pkgcachedir)
-+ if [ `id -un` == "root" ]; then $(INSTALL) -d -o $(pkgsysuser) -g $(pkgsysgroup) $(DESTDIR)$(pkglocalstatedir) $(DESTDIR)$(pkglogdir) $(DESTDIR)$(pkgruntimedir) $(DESTDIR)$(pkgsysconfdir) $(DESTDIR)$(pkgsysconfdir)/internal $(DESTDIR)$(pkgdatadir) $(DESTDIR)$(pkgcachedir); else $(INSTALL) -d $(DESTDIR)$(pkglocalstatedir) $(DESTDIR)$(pkglogdir) $(DESTDIR)$(pkgruntimedir) $(DESTDIR)$(pkgsysconfdir) $(DESTDIR)$(pkgsysconfdir)/internal $(DESTDIR)$(pkgdatadir) $(DESTDIR)$(pkgcachedir); fi
-
- install-data-hook:
-- -chown -R $(pkgsysuser):$(pkgsysgroup) $(DESTDIR)$(pkgsysconfdir) $(DESTDIR)$(pkgdatadir)
-+ if [ `id -un` == "root" ]; then chown -R $(pkgsysuser):$(pkgsysgroup) $(DESTDIR)$(pkgsysconfdir) $(DESTDIR)$(pkgdatadir);fi
- -echo "<TS_VERSION> $(PACKAGE_VERSION)" > $(DESTDIR)$(pkgsysconfdir)/trafficserver-release
-
- install-exec-local:
-- $(INSTALL) -d -o $(pkgsysuser) -g $(pkgsysgroup) $(DESTDIR)$(pkglibexecdir)
-+ if [ `id -un` == "root" ]; then $(INSTALL) -d -o $(pkgsysuser) -g $(pkgsysgroup) $(DESTDIR)$(pkglibexecdir); else $(INSTALL) -d $(DESTDIR)$(pkglibexecdir); fi
-
- install-exec-hook:
-- -chown -R $(pkgsysuser):$(pkgsysgroup) $(DESTDIR)$(pkglibexecdir)
-+ if [ `id -un` == "root" ]; then chown -R $(pkgsysuser):$(pkgsysgroup) $(DESTDIR)$(pkglibexecdir);fi
-
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
- # Otherwise a system limit (for SysV at least) may be exceeded.
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-15 17:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-15 17:20 [rpms/trafficserver] trafficserver-9.2.14-1: - Update to 5.3.0 LTS release Peter Robinson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox