The package rpms/trafficserver.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/trafficserver.git/commit/?id=a6ed...
https://src.fedoraproject.org/cgit/rpms/trafficserver.git/commit/?id=99aa....
Change:
+%ifnarch ppc64
-%ifnarch ppc64
Thanks.
Full change:
============
commit e560afdff97f851d352ab4b2911d00b1a5b58e3e
Merge: c95a1ba ee7e495
Author: Jered Floyd <jered(a)redhat.com>
Date: Wed Jun 15 15:20:18 2022 +0000
Merge branch 'rawhide' into epel7
commit c95a1ba8fa0c27c688137a97da5aa6dc2d44ef58
Merge: a6eda22 acdf97a
Author: Jered Floyd <jered(a)redhat.com>
Date: Wed Jun 8 12:42:35 2022 +0000
Merge branch 'rawhide' into epel7
commit a6eda225e12a2179ee0a1e8542d55fedf26589ff
Author: Tomas Hrcka <thrcka(a)redhat.com>
Date: Wed Jun 8 12:58:36 2022 +0200
Unretirement request:
https://pagure.io/releng/issue/10828
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..cdfba2e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/trafficserver-*.tar.bz2
+/trafficserver-*.tar.bz2.asc
diff --git a/dead.package b/dead.package
deleted file mode 100644
index c6fe4d7..0000000
--- a/dead.package
+++ /dev/null
@@ -1 +0,0 @@
-Non-responsive maintainer:
https://pagure.io/fesco/issue/2080
diff --git a/sources b/sources
new file mode 100644
index 0000000..642573c
--- /dev/null
+++ b/sources
@@ -0,0 +1,2 @@
+fe24cf2d44eccc84c753376f0e8c3be6 trafficserver-5.3.0.tar.bz2
+7f8143ffcbb69c48ffcdee916ff8db35 trafficserver-5.3.0.tar.bz2.asc
diff --git a/trafficserver-init_scripts.patch b/trafficserver-init_scripts.patch
new file mode 100644
index 0000000..a9a8253
--- /dev/null
+++ b/trafficserver-init_scripts.patch
@@ -0,0 +1,12 @@
+--- trafficserver-4.0.1/rc/trafficserver.in.orginal 2012-06-23 15:02:25.768405925 +0200
++++ trafficserver-4.0.1/rc/trafficserver.in 2012-06-23 15:07:16.507193268 +0200
+@@ -29,7 +29,7 @@
+ # Provides: Traffic Server
+ # Required-Start: $local_fs $remote_fs
+ # Required-Stop: $local_fs $remote_fs
+-# Default-Start: 2 3 4 5
++# Default-Start: -
+ # Default-Stop: S 0 1 6
+ # Short-Description: Startup/shutdown script for the Apache Traffic Server
+ # Description: Apache Traffic Server is fast, scalable and extensible
+
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.keyring b/trafficserver.keyring
new file mode 100644
index 0000000..db4393b
Binary files /dev/null and b/trafficserver.keyring differ
diff --git a/trafficserver.service b/trafficserver.service
new file mode 100644
index 0000000..2e6a554
--- /dev/null
+++ b/trafficserver.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Apache Traffic Server is a fast, scalable and extensible caching proxy
server.
+After=syslog.target network.target
+
+[Service]
+Type=simple
+EnvironmentFile=-/etc/sysconfig/trafficserver
+ExecStart=/usr/bin/traffic_cop $TC_DAEMON_ARGS
+ExecReload=/usr/bin/traffic_line -x
+
+[Install]
+WantedBy=multi-user.target
diff --git a/trafficserver.spec b/trafficserver.spec
new file mode 100644
index 0000000..98db9ff
--- /dev/null
+++ b/trafficserver.spec
@@ -0,0 +1,492 @@
+#
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.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
+Patch1: trafficserver-init_scripts.patch
+Patch2: trafficserver-removeluajit.patch
+
+# BuildRoot is only needed for EPEL5:
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+# 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
+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
+BuildRequires: systemd
+Requires: systemd
+Requires(postun): systemd
+%else
+Requires(post): chkconfig
+Requires(preun): chkconfig initscripts
+Requires(postun): initscripts
+%endif
+
+%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'
+
+%setup -q
+
+%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} V=1
+
+%install
+rm -rf %{buildroot}
+make DESTDIR=%{buildroot} install
+
+# Remove duplicate man-pages:
+rm -rf %{buildroot}%{_docdir}/trafficserver
+
+mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
+install -m 644 -p %{SOURCE3} \
+ %{buildroot}%{_sysconfdir}/sysconfig/trafficserver
+
+%if %{?fedora}0 > 140 || %{?rhel}0 > 60
+install -D -m 0644 -p %{SOURCE4} \
+ %{buildroot}/lib/systemd/system/trafficserver.service
+install -D -m 0644 -p %{SOURCE5} \
+ %{buildroot}%{_sysconfdir}/tmpfiles.d/trafficserver.conf
+%else
+mkdir -p %{buildroot}/etc/init.d/
+mv %{buildroot}/usr/bin/trafficserver %{buildroot}/etc/init.d
+%endif
+
+# 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/' \
+ %{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\//' \
+ %{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\//' \
+ %{buildroot}/etc/trafficserver/records.config
+
+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 %{buildroot}
+
+
+%post
+/sbin/ldconfig
+%if %{?fedora}0 > 170 || %{?rhel}0 > 60
+ %systemd_post trafficserver.service
+%else
+ if [ $1 -eq 1 ] ; then
+ %if %{?fedora}0 > 140
+ /bin/systemctl daemon-reload >/dev/null 2>&1 || :
+ %else
+ /sbin/chkconfig --add %{name}
+ %endif
+ fi
+%endif
+
+%pre
+getent group ats >/dev/null || groupadd -r ats -g 176 &>/dev/null
+getent passwd ats >/dev/null || \
+useradd -r -u 176 -g ats -d / -s /sbin/nologin \
+ -c "Apache Traffic Server" ats &>/dev/null
+
+%preun
+%if %{?fedora}0 > 170 || %{?rhel}0 > 60
+ %systemd_preun trafficserver.service
+%else
+if [ $1 -eq 0 ] ; then
+ /sbin/service %{name} stop > /dev/null 2>&1
+ /sbin/chkconfig --del %{name}
+fi
+%endif
+
+%postun
+/sbin/ldconfig
+
+%if %{?fedora}0 > 170 || %{?rhel}0 > 60
+ %systemd_postun_with_restart trafficserver.service
+%else
+if [ $1 -eq 1 ] ; then
+ /sbin/service trafficserver condrestart &>/dev/null || :
+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
+
+%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,-)
+%{_bindir}/tsxs
+%{_includedir}/ts
+%{_libdir}/trafficserver/*.so
+%{_libdir}/trafficserver/pkgconfig/trafficserver.pc
+
+%changelog
+* Sun Jun 21 2015 Peter Robinson <pbrobinson(a)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
+
+* Fri Jun 19 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
5.0.1-4
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Sat May 02 2015 Kalev Lember <kalevlember(a)gmail.com> - 5.0.1-3
+- Rebuilt for GCC 5 C++11 ABI change
+
+* Mon Jan 26 2015 Petr Machata <pmachata(a)redhat.com> - 5.0.1-2
+- Rebuild for boost 1.57.0
+
+* Mon Aug 18 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
5.0.1-1
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
+
+* Wed Jul 23 2014 Jan-Frode Myklebust <janfrode(a)tanso.net> - 5.0.1-0
+- Fix CVE-2014-3525
+
+* Wed Jul 16 2014 Jan-Frode Myklebust <janfrode(a)tanso.net> - 5.0.0-0
+- New major version.
+
+* Sun Jun 08 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
4.2.1-5
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Thu May 22 2014 Petr Machata <pmachata(a)redhat.com> - 4.2.1-4
+- Rebuild for boost 1.55.0
+
+* Wed May 21 2014 Jaroslav Škarvada <jskarvad(a)redhat.com> - 4.2.1-3
+- Rebuilt for
https://fedoraproject.org/wiki/Changes/f21tcl86
+
+* Wed Apr 30 2014 Jan-Frode Myklebust <janfrode(a)tanso.net> - 4.2.1-2
+- Bump release tag. RC1 became final.
+
+* Sat Apr 26 2014 Jan-Frode Myklebust <janfrode(a)tanso.net> - 4.2.1-rc1
+- Update to 4.2.1-RC1
+
+* Thu Apr 10 2014 Jan-Frode Myklebust <janfrode(a)tanso.net> - 4.2.0-0
+- Update to 4.2.0
+
+* Tue Dec 17 2013 Jan-Frode Myklebust <janfrode(a)tanso.net> - 4.1.2-0
+- Bump to final. No change from rc0.
+- What's new:
https://cwiki.apache.org/confluence/display/TS/What%27s+new+in+v4.1.x
+
+* Thu Dec 12 2013 Jan-Frode Myklebust <janfrode(a)tanso.net> - 4.1.2-rc0
+- Update to 4.1.2-rc0.
+
+* Mon Nov 11 2013 Jan-Frode Myklebust <janfrode(a)tanso.net> - 4.0.2-5
+- Buildrequire hwloc-devel, since it supposedly gives tremendous
+ positive performance impact to use hwlock to optimize scaling and
+ number of threads and alignment for actual hardware we're running on.
+
+* Sun Oct 20 2013 Jan-Frode Myklebust <janfrode(a)tanso.net> - 4.0.2-3
+- Rebuild for picking up ECC/ECDHE/EC/ECDSA/elliptic curves
+ which are now enabled in OpenSSL.
+
+* Fri Oct 11 2013 Ralf Corsépius <corsepiu(a)fedoraproject.org> - 4.0.2-3
+- Add BR: systemd for systemd.macros (RHBZ #1018080).
+
+* Thu Oct 10 2013 Jan-Frode Myklebust <janfrode(a)tanso.net> - 4.0.2-2
+- Update to 4.0.2, which fixes the following bugs:
+
+ [TS-2144] - traffic_server crashes when clearing cache
+ [TS-2173] - cache total hit/miss stats broken in version 4.0.1
+ [TS-2174] - traffic_shell/traffic_line miss some stats value
+ [TS-2191] - when http_info enabled, the http_sm may be deleted but a event associated
it not cancelled.
+ [TS-2207] - Centos5 out of tree perl build fails
+ [TS-2217] - remove the option to turn off body factory - setting it to 0 will result
in empty responses
+
+- Automatically verify GPG signature during RPM prep.
+- Build requires boost-devel.
+
+* Tue Sep 3 2013 Jan-Frode Myklebust <janfrode(a)tanso.net> - 4.0.1-1
+- Update to 4.0.1. What's new in v4.0.0:
+
https://cwiki.apache.org/confluence/display/TS/What%27s+new+in+v4.0.0
+
+- Upgrade instructions from earlier versions:
+
https://cwiki.apache.org/confluence/display/TS/Upgrading+to+v4.0
+
+ Important notes:
+
+ proxy.config.remap.use_remap_processor has been removed,
+ use the proxy.config.remap.num_remap_threads instead.
+
+ Default proxy.config.cache.ram_cache.size has been increased by
+ a magnitude.
+
+ Support for pre v3.2 port configuration directives has been removed.
+
+ The following records.config parameters should be removed:
+
+ CONFIG proxy.config.bandwidth_mgmt.filename STRING ""
+ CONFIG proxy.config.admin.autoconf.wpad_filename STRING ""
+ CONFIG proxy.config.username.cache.enabled INT 0
+ CONFIG proxy.config.username.cache.filename STRING ""
+ CONFIG proxy.config.username.cache.size INT 0
+ CONFIG proxy.config.username.cache.storage_path STRING ""
+ CONFIG proxy.config.username.cache.storage_size INT 0
+ CONFIG proxy.config.http.wuts_enabled INT 0
+ CONFIG proxy.config.http.log_spider_codes INT 0
+ CONFIG proxy.config.http.accept_encoding_filter_enabled INT 0
+ CONFIG proxy.config.http.accept_encoding_filter.filename STRING ""
+ CONFIG proxy.config.net.throttle_enabled INT 0
+ CONFIG proxy.config.net.accept_throttle INT 0
+ CONFIG proxy.config.cluster.num_of_cluster_connections INT 0
+ CONFIG proxy.config.cache.url_hash_method INT 0
+ CONFIG proxy.config.plugin.extensions_dir STRING ""
+ CONFIG proxy.local.http.parent_proxy.disable_connect_tunneling INT 0
+ CONFIG proxy.config.remap.use_remap_processor INT 0
+
+* Sun Aug 25 2013 Jan-Frode Myklebust <janfrode(a)tanso.net> - 3.2.5-3
+- bz#994224 Use rpm configure macro, instead of calling configure
+ directly.
+
+* Fri Aug 9 2013 Jan-Frode Myklebust <janfrode(a)tanso.net> - 3.2.5-2
+- bz#994224 Pass RPM_OPT_FLAGS as environment variables to configure,
+ instead of overriding on make commandline. Thanks Dimitry Andric!
+
+* Thu Aug 1 2013 Jan-Frode Myklebust <janfrode(a)tanso.net> - 3.2.5-1
+- Update to v3.2.5 which fixes the following bugs:
+
+ [TS-1923] Fix memory issue caused by resolve_logfield_string()
+ [TS-1918] SSL hangs after origin handshake.
+ [TS-1483] Manager uses hardcoded FD limit causing restarts forever on traffic_server.
+ [TS-1784] Fix FreeBSD block calculation (both RAW and directory)
+ [TS-1905] TS hangs (dead lock) on HTTPS POST/PROPFIND requests.
+ [TS-1785, TS-1904] Fixes to make it build with gcc-4.8.x.
+ [TS-1903] Remove JEMALLOC_P use, it seems to have been deprecated.
+ [TS-1902] Remove iconv as dependency.
+ [TS-1900] Detect and link libhwloc on Ubuntu.
+ [TS-1470] Fix cache sizes > 16TB (part 2 - Don't reset the cache after restart)
+
+* Mon Jun 3 2013 Jan-Frode Myklebust <janfrode(a)tanso.net> - 3.2.4-3
+- Harden build with PIE flags, ref bz#955127.
+
+* Sat Jan 19 2013 Jan-Frode Myklebust <janfrode(a)tanso.net> - 3.2.4-1
+- Update to 3.2.4 release candiate
+
+* Fri Jan 4 2013 Jan-Frode Myklebust <janfrode(a)tanso.net> - 3.2.3-1
+- Update to v3.2.3. Remove patches no longer needed.
+
+* Fri Aug 24 2012 Václav Pavlín <vpavlin(a)redhat.com> - 3.2.0-6
+- Scriptlets replaced with new systemd macros (#851462)
+
+* Thu Aug 16 2012 Jan-Frode Myklebust <janfrode(a)tanso.net> - 3.2.0-5
+- Add patch for TS-1392, to fix problem with SNI fallback.
+
+* Sun Jul 22 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
3.2.0-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Mon Jun 25 2012 Jan-Frode Myklebust <janfrode(a)tanso.net> - 3.2.0-2
+- Remove duplicate man-pages.
+
+* Sat Jun 23 2012 Jan-Frode Myklebust <janfrode(a)tanso.net> - 3.2.0-1
+- Update to v3.2.0
+
+* Sun Jun 10 2012 Jan-Frode Myklebust <janfrode(a)tanso.net> - 3.0.5-1
+- Remove trafficserver-gcc47.patch since it's fixed upstream, TS-1116.
+- Join trafficserver-condrestart.patch into trafficserver-init_scripts.patch,
+ and clean out not needed junk.
+
+* Fri Apr 13 2012 Jan-Frode Myklebust <janfrode(a)tanso.net> - 3.0.4-5
+- Add hardened build.
+
+* Wed Apr 11 2012 <janfrode(a)tanso.net> - 3.0.4-4
+- Add patch for gcc-4.7 build issues.
+
+* Mon Apr 9 2012 Dan Horák <dan[at]danny.cz> - 3.0.4-3
+- switch to ExclusiveArch
+
+* Fri Mar 23 2012 <janfrode(a)tanso.net> - 3.0.4-2
+- Create /var/run/trafficserver using tmpfiles.d on f15+.
+
+* Thu Mar 22 2012 <janfrode(a)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.
+
+* Thu Mar 22 2012 <janfrode(a)tanso.net> - 3.0.3-6
+- Remove pidfile from systemd service file. This is a type=simple
+ service, so pidfile shouldn't be needed.
+
+* Wed Mar 21 2012 <janfrode(a)tanso.net> - 3.0.3-5
+- Add systemd support.
+- Drop init.d-script on systemd-systems.
+
+* Sun Mar 18 2012 <janfrode(a)tanso.net> - 3.0.3-3
+- change default proxy.config.proxy_name to
FIXME.example.com instead of the
+ name of the buildhost
+- configure proxy.config.ssl.server.cert.path and
+ proxy.config.ssl.server.private_key.path to point to the standard /etc/pki/
+ locations.
+
+* Tue Mar 13 2012 <janfrode(a)tanso.net> - 3.0.3-2
+- exclude ppc/ppc64 since build there fails, TS-1131.
+
+* Sat Mar 10 2012 <janfrode(a)tanso.net> - 3.0.3-1
+- Removed mixed use of spaces and tabs in specfile.
+
+* Mon Feb 13 2012 <janfrode(a)tanso.net> - 3.0.3-0
+- Update to v3.0.3
+
+* Thu Dec 8 2011 <janfrode(a)tanso.net> - 3.0.2-0
+- Update to v3.0.2
+- Fix conderestart in initscript, TS-885.
+
+* Tue Jul 19 2011 <janfrode(a)tanso.net> - 3.0.1-0
+- Update to v3.0.1
+- Remove uninstall-hook from trafficserver_make_install.patch, removed in v3.0.1.
+
+* Thu Jun 30 2011 <janfrode(a)tanso.net> - 3.0.0-6
+- Note FIXME's on top.
+- Remove .la and static libs.
+- mktemp'd buildroot.
+- include license
+
+* Mon Jun 27 2011 <janfrode(a)tanso.net> - 3.0.0-5
+- Rename patches to start with trafficserver-.
+- Remove odd version macro.
+- Clean up mixed-use-of-spaces-and-tabs.
+
+* Wed Jun 22 2011 <janfrode(a)tanso.net> - 3.0.0-4
+- Use dedicated user/group ats/ats.
+- Restart on upgrades.
+
+* Thu Jun 16 2011 <zym(a)apache.org> - 3.0.0-3
+- update man pages, sugest from Jan-Frode Myklebust <janfrode(a)tanso.net>
+- patch records.config to fix the crashing with cluster iface is noexist
+- cleanup spec file
+
+* Wed Jun 15 2011 <zym(a)apache.org> - 3.0.0-2
+- bump to version 3.0.0 stable release
+- cleanup the spec file and patches
+
+* Tue May 24 2011 <yonghao(a)taobao.com> - 2.1.8-2
+- fix tcl linking
+
+* Thu May 5 2011 <yonghao(a)taobao.com> - 2.1.8-1
+- bump to 2.1.8
+- comment out wccp
+
+* Fri Apr 1 2011 <yonghao(a)taobao.com> - 2.1.7-3
+- enable wccp and fixed compile warning
+- never depends on sqlite and db4, add libz and xz-libs
+- fix libary permission, do post ldconfig updates
+
+* Sun Mar 27 2011 <yonghao(a)taobao.com> - 2.1.7-2
+- patch traffic_shell fix
+
+* Tue Mar 22 2011 <yonghao(a)taobao.com> - 2.1.7-1
+- bump to v2.1.7
+- fix centos5 building
+- drop duplicated patches
+
+* Sat Mar 12 2011 <yonghao(a)taobao.com> - 2.1.6-2
+- fix gcc 4.6 building
+- split into -devel package for devel libs
+- fix init scripts for rpmlint requirement
+- fix install scripts to build in mock, without root privileges
+
+* Tue Mar 01 2011 <yonghao(a)taobao.com> - 2.1.6-1
+- bump to 2.1.6 unstable
+- replace config layout name as Fedora
+
+* Thu Nov 18 2010 <yonghao(a)taobao.com> - 2.1.4
+- initial release for public
+- original spec file is from neomanontheway(a)gmail.com
diff --git a/trafficserver.sysconf b/trafficserver.sysconf
new file mode 100644
index 0000000..fff8f1f
--- /dev/null
+++ b/trafficserver.sysconf
@@ -0,0 +1,13 @@
+# Config file for /etc/init.d/trafficserver
+#
+# Traffic Cop args:
+# default is empty
+#TC_DAEMON_ARGS=''
+#
+# Traffic Manager args:
+# default is empty
+#TM_DAEMON_ARGS=''
+#
+# Traffic Server args:
+# default is empty
+#TS_DAEMON_ARGS=''
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 -
commit 99aa3258813f2fdd220c800acacf277949d29471
Author: Björn Esser <besser82(a)fedoraproject.org>
Date: Tue Feb 12 20:35:17 2019 +0100
Non-responsive maintainer:
https://pagure.io/fesco/issue/2080
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index cdfba2e..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/trafficserver-*.tar.bz2
-/trafficserver-*.tar.bz2.asc
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..c6fe4d7
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+Non-responsive maintainer:
https://pagure.io/fesco/issue/2080
diff --git a/sources b/sources
deleted file mode 100644
index 642573c..0000000
--- a/sources
+++ /dev/null
@@ -1,2 +0,0 @@
-fe24cf2d44eccc84c753376f0e8c3be6 trafficserver-5.3.0.tar.bz2
-7f8143ffcbb69c48ffcdee916ff8db35 trafficserver-5.3.0.tar.bz2.asc
diff --git a/trafficserver-init_scripts.patch b/trafficserver-init_scripts.patch
deleted file mode 100644
index a9a8253..0000000
--- a/trafficserver-init_scripts.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- trafficserver-4.0.1/rc/trafficserver.in.orginal 2012-06-23 15:02:25.768405925 +0200
-+++ trafficserver-4.0.1/rc/trafficserver.in 2012-06-23 15:07:16.507193268 +0200
-@@ -29,7 +29,7 @@
- # Provides: Traffic Server
- # Required-Start: $local_fs $remote_fs
- # Required-Stop: $local_fs $remote_fs
--# Default-Start: 2 3 4 5
-+# Default-Start: -
- # Default-Stop: S 0 1 6
- # Short-Description: Startup/shutdown script for the Apache Traffic Server
- # Description: Apache Traffic Server is fast, scalable and extensible
-
diff --git a/trafficserver-removeluajit.patch b/trafficserver-removeluajit.patch
deleted file mode 100644
index ea09498..0000000
--- a/trafficserver-removeluajit.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- 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.keyring b/trafficserver.keyring
deleted file mode 100644
index db4393b..0000000
Binary files a/trafficserver.keyring and /dev/null differ
diff --git a/trafficserver.service b/trafficserver.service
deleted file mode 100644
index 2e6a554..0000000
--- a/trafficserver.service
+++ /dev/null
@@ -1,12 +0,0 @@
-[Unit]
-Description=Apache Traffic Server is a fast, scalable and extensible caching proxy
server.
-After=syslog.target network.target
-
-[Service]
-Type=simple
-EnvironmentFile=-/etc/sysconfig/trafficserver
-ExecStart=/usr/bin/traffic_cop $TC_DAEMON_ARGS
-ExecReload=/usr/bin/traffic_line -x
-
-[Install]
-WantedBy=multi-user.target
diff --git a/trafficserver.spec b/trafficserver.spec
deleted file mode 100644
index 98db9ff..0000000
--- a/trafficserver.spec
+++ /dev/null
@@ -1,492 +0,0 @@
-#
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.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
-Patch1: trafficserver-init_scripts.patch
-Patch2: trafficserver-removeluajit.patch
-
-# BuildRoot is only needed for EPEL5:
-BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
-# 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
-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
-BuildRequires: systemd
-Requires: systemd
-Requires(postun): systemd
-%else
-Requires(post): chkconfig
-Requires(preun): chkconfig initscripts
-Requires(postun): initscripts
-%endif
-
-%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'
-
-%setup -q
-
-%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} V=1
-
-%install
-rm -rf %{buildroot}
-make DESTDIR=%{buildroot} install
-
-# Remove duplicate man-pages:
-rm -rf %{buildroot}%{_docdir}/trafficserver
-
-mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
-install -m 644 -p %{SOURCE3} \
- %{buildroot}%{_sysconfdir}/sysconfig/trafficserver
-
-%if %{?fedora}0 > 140 || %{?rhel}0 > 60
-install -D -m 0644 -p %{SOURCE4} \
- %{buildroot}/lib/systemd/system/trafficserver.service
-install -D -m 0644 -p %{SOURCE5} \
- %{buildroot}%{_sysconfdir}/tmpfiles.d/trafficserver.conf
-%else
-mkdir -p %{buildroot}/etc/init.d/
-mv %{buildroot}/usr/bin/trafficserver %{buildroot}/etc/init.d
-%endif
-
-# 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/' \
- %{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\//' \
- %{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\//' \
- %{buildroot}/etc/trafficserver/records.config
-
-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 %{buildroot}
-
-
-%post
-/sbin/ldconfig
-%if %{?fedora}0 > 170 || %{?rhel}0 > 60
- %systemd_post trafficserver.service
-%else
- if [ $1 -eq 1 ] ; then
- %if %{?fedora}0 > 140
- /bin/systemctl daemon-reload >/dev/null 2>&1 || :
- %else
- /sbin/chkconfig --add %{name}
- %endif
- fi
-%endif
-
-%pre
-getent group ats >/dev/null || groupadd -r ats -g 176 &>/dev/null
-getent passwd ats >/dev/null || \
-useradd -r -u 176 -g ats -d / -s /sbin/nologin \
- -c "Apache Traffic Server" ats &>/dev/null
-
-%preun
-%if %{?fedora}0 > 170 || %{?rhel}0 > 60
- %systemd_preun trafficserver.service
-%else
-if [ $1 -eq 0 ] ; then
- /sbin/service %{name} stop > /dev/null 2>&1
- /sbin/chkconfig --del %{name}
-fi
-%endif
-
-%postun
-/sbin/ldconfig
-
-%if %{?fedora}0 > 170 || %{?rhel}0 > 60
- %systemd_postun_with_restart trafficserver.service
-%else
-if [ $1 -eq 1 ] ; then
- /sbin/service trafficserver condrestart &>/dev/null || :
-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
-
-%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,-)
-%{_bindir}/tsxs
-%{_includedir}/ts
-%{_libdir}/trafficserver/*.so
-%{_libdir}/trafficserver/pkgconfig/trafficserver.pc
-
-%changelog
-* Sun Jun 21 2015 Peter Robinson <pbrobinson(a)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
-
-* Fri Jun 19 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
5.0.1-4
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
-
-* Sat May 02 2015 Kalev Lember <kalevlember(a)gmail.com> - 5.0.1-3
-- Rebuilt for GCC 5 C++11 ABI change
-
-* Mon Jan 26 2015 Petr Machata <pmachata(a)redhat.com> - 5.0.1-2
-- Rebuild for boost 1.57.0
-
-* Mon Aug 18 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
5.0.1-1
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
-
-* Wed Jul 23 2014 Jan-Frode Myklebust <janfrode(a)tanso.net> - 5.0.1-0
-- Fix CVE-2014-3525
-
-* Wed Jul 16 2014 Jan-Frode Myklebust <janfrode(a)tanso.net> - 5.0.0-0
-- New major version.
-
-* Sun Jun 08 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
4.2.1-5
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
-
-* Thu May 22 2014 Petr Machata <pmachata(a)redhat.com> - 4.2.1-4
-- Rebuild for boost 1.55.0
-
-* Wed May 21 2014 Jaroslav Škarvada <jskarvad(a)redhat.com> - 4.2.1-3
-- Rebuilt for
https://fedoraproject.org/wiki/Changes/f21tcl86
-
-* Wed Apr 30 2014 Jan-Frode Myklebust <janfrode(a)tanso.net> - 4.2.1-2
-- Bump release tag. RC1 became final.
-
-* Sat Apr 26 2014 Jan-Frode Myklebust <janfrode(a)tanso.net> - 4.2.1-rc1
-- Update to 4.2.1-RC1
-
-* Thu Apr 10 2014 Jan-Frode Myklebust <janfrode(a)tanso.net> - 4.2.0-0
-- Update to 4.2.0
-
-* Tue Dec 17 2013 Jan-Frode Myklebust <janfrode(a)tanso.net> - 4.1.2-0
-- Bump to final. No change from rc0.
-- What's new:
https://cwiki.apache.org/confluence/display/TS/What%27s+new+in+v4.1.x
-
-* Thu Dec 12 2013 Jan-Frode Myklebust <janfrode(a)tanso.net> - 4.1.2-rc0
-- Update to 4.1.2-rc0.
-
-* Mon Nov 11 2013 Jan-Frode Myklebust <janfrode(a)tanso.net> - 4.0.2-5
-- Buildrequire hwloc-devel, since it supposedly gives tremendous
- positive performance impact to use hwlock to optimize scaling and
- number of threads and alignment for actual hardware we're running on.
-
-* Sun Oct 20 2013 Jan-Frode Myklebust <janfrode(a)tanso.net> - 4.0.2-3
-- Rebuild for picking up ECC/ECDHE/EC/ECDSA/elliptic curves
- which are now enabled in OpenSSL.
-
-* Fri Oct 11 2013 Ralf Corsépius <corsepiu(a)fedoraproject.org> - 4.0.2-3
-- Add BR: systemd for systemd.macros (RHBZ #1018080).
-
-* Thu Oct 10 2013 Jan-Frode Myklebust <janfrode(a)tanso.net> - 4.0.2-2
-- Update to 4.0.2, which fixes the following bugs:
-
- [TS-2144] - traffic_server crashes when clearing cache
- [TS-2173] - cache total hit/miss stats broken in version 4.0.1
- [TS-2174] - traffic_shell/traffic_line miss some stats value
- [TS-2191] - when http_info enabled, the http_sm may be deleted but a event associated
it not cancelled.
- [TS-2207] - Centos5 out of tree perl build fails
- [TS-2217] - remove the option to turn off body factory - setting it to 0 will result
in empty responses
-
-- Automatically verify GPG signature during RPM prep.
-- Build requires boost-devel.
-
-* Tue Sep 3 2013 Jan-Frode Myklebust <janfrode(a)tanso.net> - 4.0.1-1
-- Update to 4.0.1. What's new in v4.0.0:
-
https://cwiki.apache.org/confluence/display/TS/What%27s+new+in+v4.0.0
-
-- Upgrade instructions from earlier versions:
-
https://cwiki.apache.org/confluence/display/TS/Upgrading+to+v4.0
-
- Important notes:
-
- proxy.config.remap.use_remap_processor has been removed,
- use the proxy.config.remap.num_remap_threads instead.
-
- Default proxy.config.cache.ram_cache.size has been increased by
- a magnitude.
-
- Support for pre v3.2 port configuration directives has been removed.
-
- The following records.config parameters should be removed:
-
- CONFIG proxy.config.bandwidth_mgmt.filename STRING ""
- CONFIG proxy.config.admin.autoconf.wpad_filename STRING ""
- CONFIG proxy.config.username.cache.enabled INT 0
- CONFIG proxy.config.username.cache.filename STRING ""
- CONFIG proxy.config.username.cache.size INT 0
- CONFIG proxy.config.username.cache.storage_path STRING ""
- CONFIG proxy.config.username.cache.storage_size INT 0
- CONFIG proxy.config.http.wuts_enabled INT 0
- CONFIG proxy.config.http.log_spider_codes INT 0
- CONFIG proxy.config.http.accept_encoding_filter_enabled INT 0
- CONFIG proxy.config.http.accept_encoding_filter.filename STRING ""
- CONFIG proxy.config.net.throttle_enabled INT 0
- CONFIG proxy.config.net.accept_throttle INT 0
- CONFIG proxy.config.cluster.num_of_cluster_connections INT 0
- CONFIG proxy.config.cache.url_hash_method INT 0
- CONFIG proxy.config.plugin.extensions_dir STRING ""
- CONFIG proxy.local.http.parent_proxy.disable_connect_tunneling INT 0
- CONFIG proxy.config.remap.use_remap_processor INT 0
-
-* Sun Aug 25 2013 Jan-Frode Myklebust <janfrode(a)tanso.net> - 3.2.5-3
-- bz#994224 Use rpm configure macro, instead of calling configure
- directly.
-
-* Fri Aug 9 2013 Jan-Frode Myklebust <janfrode(a)tanso.net> - 3.2.5-2
-- bz#994224 Pass RPM_OPT_FLAGS as environment variables to configure,
- instead of overriding on make commandline. Thanks Dimitry Andric!
-
-* Thu Aug 1 2013 Jan-Frode Myklebust <janfrode(a)tanso.net> - 3.2.5-1
-- Update to v3.2.5 which fixes the following bugs:
-
- [TS-1923] Fix memory issue caused by resolve_logfield_string()
- [TS-1918] SSL hangs after origin handshake.
- [TS-1483] Manager uses hardcoded FD limit causing restarts forever on traffic_server.
- [TS-1784] Fix FreeBSD block calculation (both RAW and directory)
- [TS-1905] TS hangs (dead lock) on HTTPS POST/PROPFIND requests.
- [TS-1785, TS-1904] Fixes to make it build with gcc-4.8.x.
- [TS-1903] Remove JEMALLOC_P use, it seems to have been deprecated.
- [TS-1902] Remove iconv as dependency.
- [TS-1900] Detect and link libhwloc on Ubuntu.
- [TS-1470] Fix cache sizes > 16TB (part 2 - Don't reset the cache after restart)
-
-* Mon Jun 3 2013 Jan-Frode Myklebust <janfrode(a)tanso.net> - 3.2.4-3
-- Harden build with PIE flags, ref bz#955127.
-
-* Sat Jan 19 2013 Jan-Frode Myklebust <janfrode(a)tanso.net> - 3.2.4-1
-- Update to 3.2.4 release candiate
-
-* Fri Jan 4 2013 Jan-Frode Myklebust <janfrode(a)tanso.net> - 3.2.3-1
-- Update to v3.2.3. Remove patches no longer needed.
-
-* Fri Aug 24 2012 Václav Pavlín <vpavlin(a)redhat.com> - 3.2.0-6
-- Scriptlets replaced with new systemd macros (#851462)
-
-* Thu Aug 16 2012 Jan-Frode Myklebust <janfrode(a)tanso.net> - 3.2.0-5
-- Add patch for TS-1392, to fix problem with SNI fallback.
-
-* Sun Jul 22 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
3.2.0-3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
-
-* Mon Jun 25 2012 Jan-Frode Myklebust <janfrode(a)tanso.net> - 3.2.0-2
-- Remove duplicate man-pages.
-
-* Sat Jun 23 2012 Jan-Frode Myklebust <janfrode(a)tanso.net> - 3.2.0-1
-- Update to v3.2.0
-
-* Sun Jun 10 2012 Jan-Frode Myklebust <janfrode(a)tanso.net> - 3.0.5-1
-- Remove trafficserver-gcc47.patch since it's fixed upstream, TS-1116.
-- Join trafficserver-condrestart.patch into trafficserver-init_scripts.patch,
- and clean out not needed junk.
-
-* Fri Apr 13 2012 Jan-Frode Myklebust <janfrode(a)tanso.net> - 3.0.4-5
-- Add hardened build.
-
-* Wed Apr 11 2012 <janfrode(a)tanso.net> - 3.0.4-4
-- Add patch for gcc-4.7 build issues.
-
-* Mon Apr 9 2012 Dan Horák <dan[at]danny.cz> - 3.0.4-3
-- switch to ExclusiveArch
-
-* Fri Mar 23 2012 <janfrode(a)tanso.net> - 3.0.4-2
-- Create /var/run/trafficserver using tmpfiles.d on f15+.
-
-* Thu Mar 22 2012 <janfrode(a)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.
-
-* Thu Mar 22 2012 <janfrode(a)tanso.net> - 3.0.3-6
-- Remove pidfile from systemd service file. This is a type=simple
- service, so pidfile shouldn't be needed.
-
-* Wed Mar 21 2012 <janfrode(a)tanso.net> - 3.0.3-5
-- Add systemd support.
-- Drop init.d-script on systemd-systems.
-
-* Sun Mar 18 2012 <janfrode(a)tanso.net> - 3.0.3-3
-- change default proxy.config.proxy_name to
FIXME.example.com instead of the
- name of the buildhost
-- configure proxy.config.ssl.server.cert.path and
- proxy.config.ssl.server.private_key.path to point to the standard /etc/pki/
- locations.
-
-* Tue Mar 13 2012 <janfrode(a)tanso.net> - 3.0.3-2
-- exclude ppc/ppc64 since build there fails, TS-1131.
-
-* Sat Mar 10 2012 <janfrode(a)tanso.net> - 3.0.3-1
-- Removed mixed use of spaces and tabs in specfile.
-
-* Mon Feb 13 2012 <janfrode(a)tanso.net> - 3.0.3-0
-- Update to v3.0.3
-
-* Thu Dec 8 2011 <janfrode(a)tanso.net> - 3.0.2-0
-- Update to v3.0.2
-- Fix conderestart in initscript, TS-885.
-
-* Tue Jul 19 2011 <janfrode(a)tanso.net> - 3.0.1-0
-- Update to v3.0.1
-- Remove uninstall-hook from trafficserver_make_install.patch, removed in v3.0.1.
-
-* Thu Jun 30 2011 <janfrode(a)tanso.net> - 3.0.0-6
-- Note FIXME's on top.
-- Remove .la and static libs.
-- mktemp'd buildroot.
-- include license
-
-* Mon Jun 27 2011 <janfrode(a)tanso.net> - 3.0.0-5
-- Rename patches to start with trafficserver-.
-- Remove odd version macro.
-- Clean up mixed-use-of-spaces-and-tabs.
-
-* Wed Jun 22 2011 <janfrode(a)tanso.net> - 3.0.0-4
-- Use dedicated user/group ats/ats.
-- Restart on upgrades.
-
-* Thu Jun 16 2011 <zym(a)apache.org> - 3.0.0-3
-- update man pages, sugest from Jan-Frode Myklebust <janfrode(a)tanso.net>
-- patch records.config to fix the crashing with cluster iface is noexist
-- cleanup spec file
-
-* Wed Jun 15 2011 <zym(a)apache.org> - 3.0.0-2
-- bump to version 3.0.0 stable release
-- cleanup the spec file and patches
-
-* Tue May 24 2011 <yonghao(a)taobao.com> - 2.1.8-2
-- fix tcl linking
-
-* Thu May 5 2011 <yonghao(a)taobao.com> - 2.1.8-1
-- bump to 2.1.8
-- comment out wccp
-
-* Fri Apr 1 2011 <yonghao(a)taobao.com> - 2.1.7-3
-- enable wccp and fixed compile warning
-- never depends on sqlite and db4, add libz and xz-libs
-- fix libary permission, do post ldconfig updates
-
-* Sun Mar 27 2011 <yonghao(a)taobao.com> - 2.1.7-2
-- patch traffic_shell fix
-
-* Tue Mar 22 2011 <yonghao(a)taobao.com> - 2.1.7-1
-- bump to v2.1.7
-- fix centos5 building
-- drop duplicated patches
-
-* Sat Mar 12 2011 <yonghao(a)taobao.com> - 2.1.6-2
-- fix gcc 4.6 building
-- split into -devel package for devel libs
-- fix init scripts for rpmlint requirement
-- fix install scripts to build in mock, without root privileges
-
-* Tue Mar 01 2011 <yonghao(a)taobao.com> - 2.1.6-1
-- bump to 2.1.6 unstable
-- replace config layout name as Fedora
-
-* Thu Nov 18 2010 <yonghao(a)taobao.com> - 2.1.4
-- initial release for public
-- original spec file is from neomanontheway(a)gmail.com
diff --git a/trafficserver.sysconf b/trafficserver.sysconf
deleted file mode 100644
index fff8f1f..0000000
--- a/trafficserver.sysconf
+++ /dev/null
@@ -1,13 +0,0 @@
-# Config file for /etc/init.d/trafficserver
-#
-# Traffic Cop args:
-# default is empty
-#TC_DAEMON_ARGS=''
-#
-# Traffic Manager args:
-# default is empty
-#TM_DAEMON_ARGS=''
-#
-# Traffic Server args:
-# default is empty
-#TS_DAEMON_ARGS=''
diff --git a/trafficserver.tmpfilesd b/trafficserver.tmpfilesd
deleted file mode 100644
index 4e81322..0000000
--- a/trafficserver.tmpfilesd
+++ /dev/null
@@ -1 +0,0 @@
-d /var/run/trafficserver 0755 ats ats -
commit 5cef7ea0725d63fa6145e50c4b8bbce2eb836e2f
Merge: 3a381d0 eb7adf7
Author: Peter Robinson <pbrobinson(a)gmail.com>
Date: Mon Jun 22 10:55:51 2015 +0100
Merge branch 'master' into epel7
commit 3a381d00e75d4e835dadb0ffa156103310367668
Merge: 2049953 d1623b3
Author: Jan-Frode Myklebust <janfrode(a)tanso.net>
Date: Wed Jul 23 23:13:57 2014 +0200
Merge branch 'master' into epel7
commit 20499532fcc40db297be1cf2076e09424b17bf00
Merge: 7b1ac3c 7fbc9d8
Author: Jan-Frode Myklebust <janfrode(a)tanso.net>
Date: Wed Jul 16 11:02:32 2014 +0200
Merge branch 'master' into epel7
commit 7b1ac3ca60f3ddf1e7c47865e043ebded60478e7
Merge: 56d3d5e 12bfd3b
Author: Jan-Frode Myklebust <janfrode(a)tanso.net>
Date: Wed Apr 30 22:29:31 2014 +0200
Merge branch 'master' into epel7
commit 56d3d5eadd6add729a5199fa0ce378b4182d80d5
Merge: 0cadd05 c266f81
Author: Jan-Frode Myklebust <janfrode(a)tanso.net>
Date: Sat Apr 26 00:44:47 2014 +0200
Merge branch 'master' into epel7
commit 0cadd05338bc67eee44e08dd8055a8efb89c4511
Merge: f2d8163 3a861d3
Author: Jan-Frode Myklebust <janfrode(a)tanso.net>
Date: Sat Apr 26 00:33:23 2014 +0200
Merge branch 'master' into epel7
commit f2d816322797611bdf0747d8040095dffe8f99b7
Merge: 5e29f4d b513848
Author: Jan-Frode Myklebust <janfrode(a)tanso.net>
Date: Tue Jan 14 14:13:31 2014 +0100
Merge branch 'master' into epel7
Conflicts:
trafficserver.spec
commit 5e29f4d147a3e4c9078cb4b54b1801077a4af0c0
Author: Ralf Corsépius <corsepiu(a)fedoraproject.org>
Date: Fri Oct 11 09:28:03 2013 +0200
Add BR: systemd for systemd.macros (RHBZ #1018080).
diff --git a/trafficserver.spec b/trafficserver.spec
index d7d474a..ec02fd4 100644
--- a/trafficserver.spec
+++ b/trafficserver.spec
@@ -3,7 +3,7 @@
Summary: Fast, scalable and extensible HTTP/1.1 compliant caching proxy server
Name: trafficserver
Version: 3.2.5
-Release: 3%{?dist}
+Release: 4%{?dist}
License: ASL 2.0
Group: System Environment/Daemons
Source0:
http://www.apache.org/dist/%{name}/%{name}-%{version}.tar.bz2
@@ -19,6 +19,8 @@ BuildRequires: pcre-devel, zlib-devel, xz-devel, gcc-c++
ExclusiveArch: %{ix86} x86_64 ia64 %{arm}
Requires: initscripts
%if %{?fedora}0 > 140 || %{?rhel}0 > 60
+# For systemd.macros
+BuildRequires: systemd
Requires: systemd
Requires(postun): systemd
%else
@@ -196,6 +198,9 @@ header files, and Apache httpd style module build system.
%attr(0644,root,root) %{_libdir}/trafficserver/*.so
%changelog
+* Fri Oct 11 2013 Ralf Corsépius <corsepiu(a)fedoraproject.org> - 3.2.5-4
+- Add BR: systemd for systemd.macros (RHBZ #1018080).
+
* Sun Aug 25 2013 Jan-Frode Myklebust <janfrode(a)tanso.net> - 3.2.5-3
- bz#994224 Use rpm %configure macro, instead of calling configure
directly.