[arch-commits] Commit in squid/trunk (PKGBUILD squid-rotate.timer squid.install)

Sergej Pupykin spupykin at archlinux.org
Mon Dec 19 15:05:23 UTC 2016


    Date: Monday, December 19, 2016 @ 15:05:22
  Author: spupykin
Revision: 200316

upgpkg: squid 3.5.23-2

upd

Modified:
  squid/trunk/PKGBUILD
  squid/trunk/squid-rotate.timer
  squid/trunk/squid.install

--------------------+
 PKGBUILD           |    4 ++--
 squid-rotate.timer |    3 +++
 squid.install      |    5 ++++-
 3 files changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-12-19 15:05:16 UTC (rev 200315)
+++ PKGBUILD	2016-12-19 15:05:22 UTC (rev 200316)
@@ -6,7 +6,7 @@
 
 pkgname=squid
 pkgver=3.5.23
-pkgrel=1
+pkgrel=2
 pkgdesc='Full-featured Web proxy cache server'
 arch=('x86_64' 'i686')
 url='http://www.squid-cache.org'
@@ -35,7 +35,7 @@
             '0d7db4e078a2a6d8d8e46537054aa84523efdf95dd92a78189e81606200f48a5'
             'c903eb86e6968b9d3bd0a9ad3335e8ce76a718b6217251e9dd7e66d5cf1ac94a'
             '3a97aa6bf6dcdc427e73bb2f36afdeaaf2bbf7dd2c0bbb7f1a948850198a8b7c'
-            'b8015db66a06452b02d9578357b203b54c976c27ea7d4b6d5c265c3c4d9f6281')
+            '8bc77fa1f653a17a4956feac042be9577ba30a8a43480b443fbd67640ae711ee')
 
 prepare() {
   cd "$srcdir/$pkgname-$pkgver"

Modified: squid-rotate.timer
===================================================================
--- squid-rotate.timer	2016-12-19 15:05:16 UTC (rev 200315)
+++ squid-rotate.timer	2016-12-19 15:05:22 UTC (rev 200316)
@@ -5,3 +5,6 @@
 OnCalendar=weekly
 AccuracySec=1d
 Persistent=true
+
+[Install]
+WantedBy=timers.target

Modified: squid.install
===================================================================
--- squid.install	2016-12-19 15:05:16 UTC (rev 200315)
+++ squid.install	2016-12-19 15:05:22 UTC (rev 200316)
@@ -2,6 +2,7 @@
   systemd-sysusers squid.conf
   systemd-tmpfiles --create squid.conf
   chown proxy:proxy var/{cache,log}/squid
+  echo "- squid-rotate.timer is not enabled by default"
 }
 
 post_upgrade() {
@@ -9,5 +10,7 @@
   if [ `vercmp "$2" "3.5.4-1"` -le 0 ]; then
     echo "- Add 'dns_v4_first on' option into config unless your provider support ipv6!"
   fi
-  echo "- squid-rotate.timer is not enabled by default"
+  if [ `vercmp "$2" "3.5.21-1"` -le 0 ]; then
+    echo "- squid-rotate.timer is not enabled by default"
+  fi
 }



More information about the arch-commits mailing list