FEDORA-2016-82a88cd5a3 created by kenjiro 6 years ago for Fedora 23

update to 0.8.9

This update has been submitted for testing by kenjiro.

6 years ago

This update has been pushed to testing.

6 years ago

I'm interested in running this on Fedora natively. I used to run previous versions under Debian, so I'm familiar with the software. I have some questions:

1) Shouldn't there be an acng.conf in /etc/apt-cacher-ng by default?

2) Do the mirror lists really belong in /usr/libexec? (They might better go in /etc, since they're mutable configuration.)

3) The backends_debian.default and backends_ubuntu.default symlinks are currently dangling.

This update has reached 7 days in testing and can be pushed to stable now if the maintainer wishes

6 years ago

Should address the issues raised above, as well as updating to Tried to update to apt-cacher-1, but that requires a newer openssl than is installed on my flavor (RHEL7). With the changes below, it is "generally functional" on my machine...

--- old/apt-cacher-ng.spec  2016-10-20 18:13:11.861356488 +0000
+++ new/apt-cacher-ng.spec  2016-10-20 19:16:38.990054836 +0000
@@ -1,5 +1,5 @@
 Name:             apt-cacher-ng
-Version:          0.9.0
 Release:          1%{?dist}
 Summary:          Caching proxy for package files from Debian
 Group:            Applications/Internet 
@@ -55,13 +55,15 @@
 cp build/acngfs $RPM_BUILD_ROOT%{_libexecdir}/apt-cacher-ng/
 cp -a conf/{*mirror*,*.html,*.css} $RPM_BUILD_ROOT%{_libexecdir}/apt-cacher-ng/
 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/apt-cacher-ng/
-cp -a conf/*.conf $RPM_BUILD_ROOT%{_sysconfdir}/apt-cacher-ng/
+cp -a conf/*.conf build/conf/*.conf $RPM_BUILD_ROOT%{_sysconfdir}/apt-cacher-ng/
 cd $RPM_BUILD_ROOT%{_sysconfdir}/apt-cacher-ng
-cp -s ../../%{_libexecdir}/apt-cacher-ng/{*mirror*,*.html,*.css} .
+cp -s ../..%{_libexecdir}/apt-cacher-ng/{*mirror*,*.html,*.css} .
 cd -
 mkdir -p $RPM_BUILD_ROOT%{_sharedstatedir}/apt-cacher-ng/
-ln -sf ../../%{_sharedstatedir}/apt-cacher-ng/backends_debian.default $RPM_BUILD_ROOT%{_sysconfdir}/apt-cacher-ng/backends_debian.default
-ln -sf ../../%{_sharedstatedir}/apt-cacher-ng/backends_ubuntu.default $RPM_BUILD_ROOT%{_sysconfdir}/apt-cacher-ng//backends_ubuntu.default
+cp -a conf/*.default $RPM_BUILD_ROOT%{_sharedstatedir}/apt-cacher-ng/
+ln -sf ../..%{_sharedstatedir}/apt-cacher-ng/backends_debian.default $RPM_BUILD_ROOT%{_sysconfdir}/apt-cacher-ng/backends_debian.default
+ln -sf ../..%{_sharedstatedir}/apt-cacher-ng/backends_gentoo.default $RPM_BUILD_ROOT%{_sysconfdir}/apt-cacher-ng/backends_gentoo.default
+ln -sf ../..%{_sharedstatedir}/apt-cacher-ng/backends_ubuntu.default $RPM_BUILD_ROOT%{_sysconfdir}/apt-cacher-ng/backends_ubuntu.default

 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily
 install -D -pm 0750 debian/apt-cacher-ng.cron.daily $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/apt-cacher-ng
@@ -109,11 +111,16 @@
 %config(noreplace) %{_sysconfdir}/default/apt-cacher-ng
 %config(noreplace) %{_sysconfdir}/logrotate.d/apt-cacher-ng

+* Thu Oct 20 2016 Charles Wilson <cwilso11@gmail.com> -
+- update to
+- fix installation issues for backends and conf file
 * Fri Feb 19 2016 Warren Togami <wtogami@gmail.com> - 0.9.0-1
 - update to 0.9.0

karma: -1

Please login to add feedback.

Content Type
Test Gating
Unstable by Karma
Stable by Karma
Stable by Time
6 years ago
in testing
6 years ago

Automated Test Results