[arch-commits] Commit in squid/repos (32 files)
Sergej Pupykin
spupykin at archlinux.org
Mon Dec 19 15:05:58 UTC 2016
Date: Monday, December 19, 2016 @ 15:05:58
Author: spupykin
Revision: 200317
archrelease: copy trunk to community-x86_64, community-i686
Added:
squid/repos/community-i686/PKGBUILD
(from rev 200316, squid/trunk/PKGBUILD)
squid/repos/community-i686/squid-rotate.service
(from rev 200316, squid/trunk/squid-rotate.service)
squid/repos/community-i686/squid-rotate.timer
(from rev 200316, squid/trunk/squid-rotate.timer)
squid/repos/community-i686/squid.install
(from rev 200316, squid/trunk/squid.install)
squid/repos/community-i686/squid.pam
(from rev 200316, squid/trunk/squid.pam)
squid/repos/community-i686/squid.service
(from rev 200316, squid/trunk/squid.service)
squid/repos/community-i686/squid.sysusers
(from rev 200316, squid/trunk/squid.sysusers)
squid/repos/community-i686/squid.tmpfiles
(from rev 200316, squid/trunk/squid.tmpfiles)
squid/repos/community-x86_64/PKGBUILD
(from rev 200316, squid/trunk/PKGBUILD)
squid/repos/community-x86_64/squid-rotate.service
(from rev 200316, squid/trunk/squid-rotate.service)
squid/repos/community-x86_64/squid-rotate.timer
(from rev 200316, squid/trunk/squid-rotate.timer)
squid/repos/community-x86_64/squid.install
(from rev 200316, squid/trunk/squid.install)
squid/repos/community-x86_64/squid.pam
(from rev 200316, squid/trunk/squid.pam)
squid/repos/community-x86_64/squid.service
(from rev 200316, squid/trunk/squid.service)
squid/repos/community-x86_64/squid.sysusers
(from rev 200316, squid/trunk/squid.sysusers)
squid/repos/community-x86_64/squid.tmpfiles
(from rev 200316, squid/trunk/squid.tmpfiles)
Deleted:
squid/repos/community-i686/PKGBUILD
squid/repos/community-i686/squid-rotate.service
squid/repos/community-i686/squid-rotate.timer
squid/repos/community-i686/squid.install
squid/repos/community-i686/squid.pam
squid/repos/community-i686/squid.service
squid/repos/community-i686/squid.sysusers
squid/repos/community-i686/squid.tmpfiles
squid/repos/community-x86_64/PKGBUILD
squid/repos/community-x86_64/squid-rotate.service
squid/repos/community-x86_64/squid-rotate.timer
squid/repos/community-x86_64/squid.install
squid/repos/community-x86_64/squid.pam
squid/repos/community-x86_64/squid.service
squid/repos/community-x86_64/squid.sysusers
squid/repos/community-x86_64/squid.tmpfiles
---------------------------------------+
/PKGBUILD | 216 ++++++++++++++++++++++++++++++++
/squid-rotate.service | 18 ++
/squid-rotate.timer | 20 ++
/squid.install | 32 ++++
/squid.pam | 8 +
/squid.service | 26 +++
/squid.sysusers | 2
/squid.tmpfiles | 4
community-i686/PKGBUILD | 108 ----------------
community-i686/squid-rotate.service | 9 -
community-i686/squid-rotate.timer | 7 -
community-i686/squid.install | 13 -
community-i686/squid.pam | 4
community-i686/squid.service | 13 -
community-i686/squid.sysusers | 1
community-i686/squid.tmpfiles | 2
community-x86_64/PKGBUILD | 108 ----------------
community-x86_64/squid-rotate.service | 9 -
community-x86_64/squid-rotate.timer | 7 -
community-x86_64/squid.install | 13 -
community-x86_64/squid.pam | 4
community-x86_64/squid.service | 13 -
community-x86_64/squid.sysusers | 1
community-x86_64/squid.tmpfiles | 2
24 files changed, 326 insertions(+), 314 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2016-12-19 15:05:22 UTC (rev 200316)
+++ community-i686/PKGBUILD 2016-12-19 15:05:58 UTC (rev 200317)
@@ -1,108 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Mark Coolen <mark.coolen at gmail.com>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-# Contributor: Kevin Piche <kevin at archlinux.org>
-
-pkgname=squid
-pkgver=3.5.23
-pkgrel=1
-pkgdesc='Full-featured Web proxy cache server'
-arch=('x86_64' 'i686')
-url='http://www.squid-cache.org'
-depends=('openssl' 'pam' 'perl' 'libltdl' 'libcap' 'nettle')
-makedepends=('libcap' 'krb5')
-optdepends=('gnutls: for squidclient')
-license=('GPL')
-options=('emptydirs')
-backup=('etc/squid/squid.conf'
- 'etc/squid/cachemgr.conf'
- 'etc/squid/errorpage.css'
- 'etc/squid/mime.conf')
-install=$pkgname.install
-validpgpkeys=('EA31CC5E9488E5168D2DCC5EB268E706FF5CF463')
-source=("http://www.squid-cache.org/Versions/v3/3.5/$pkgname-$pkgver.tar.xz"{,.asc}
- 'squid.pam'
- 'squid.service'
- 'squid.tmpfiles'
- 'squid.sysusers'
- 'squid-rotate.service'
- 'squid-rotate.timer')
-sha256sums=('fa4c0c99f41e92fe1330bed3968d176c6f47ef2e3aea2f83977d5501afa40bdb'
- 'SKIP'
- '11fb388f8679fd6461e0de006810ea608a3686fffda16904b0ed71f412be499c'
- 'b0cf95652d56c62ae0ceba8912d11ac248bdb3eb91f062bceadd99f80c4b160e'
- '0d7db4e078a2a6d8d8e46537054aa84523efdf95dd92a78189e81606200f48a5'
- 'c903eb86e6968b9d3bd0a9ad3335e8ce76a718b6217251e9dd7e66d5cf1ac94a'
- '3a97aa6bf6dcdc427e73bb2f36afdeaaf2bbf7dd2c0bbb7f1a948850198a8b7c'
- 'b8015db66a06452b02d9578357b203b54c976c27ea7d4b6d5c265c3c4d9f6281')
-
-prepare() {
- cd "$srcdir/$pkgname-$pkgver"
-}
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- ./configure \
- --prefix=/usr \
- --sbindir=/usr/bin \
- --datadir=/usr/share/squid \
- --sysconfdir=/etc/squid \
- --libexecdir=/usr/lib/squid \
- --localstatedir=/var \
- --with-logdir=/var/log/squid \
- --with-pidfile=/run/squid.pid \
- --enable-auth \
- --enable-auth-basic \
- --enable-auth-ntlm \
- --enable-auth-digest \
- --enable-auth-negotiate \
- --enable-removal-policies="lru,heap" \
- --enable-storeio="aufs,ufs,diskd" \
- --enable-delay-pools \
- --enable-arp-acl \
- --with-openssl=/usr \
- --enable-snmp \
- --enable-linux-netfilter \
- --enable-ident-lookups \
- --enable-useragent-log \
- --enable-cache-digests \
- --enable-referer-log \
- --enable-arp-acl \
- --enable-htcp \
- --enable-carp \
- --enable-epoll \
- --with-large-files \
- --enable-arp-acl \
- --with-default-user=proxy \
- --enable-async-io \
- --enable-truncate \
- --enable-icap-client \
- --enable-ssl-crtd \
- --disable-arch-native \
- --disable-strict-error-checking \
- --enable-wccpv2
- make
-}
-
-package() {
- cd "$srcdir"
-
- make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
- install -Dm644 "$srcdir/squid.pam" "$pkgdir/etc/pam.d/squid"
- install -Dm644 "$srcdir/squid.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/squid.conf"
- install -Dm644 "$srcdir/squid.sysusers" "$pkgdir/usr/lib/sysusers.d/squid.conf"
- install -Dm644 "$srcdir/squid.service" \
- "$pkgdir/usr/lib/systemd/system/squid.service"
- install -Dm644 "$srcdir/squid-rotate.service" \
- "$pkgdir/usr/lib/systemd/system/squid-rotate.service"
- install -Dm644 "$srcdir/squid-rotate.timer" \
- "$pkgdir/usr/lib/systemd/system/squid-rotate.timer"
-# install -dm755 "$pkgdir/usr/lib/systemd/system/timers.target.wants"
-# ln -s ../squid-rotate.timer \
-# "$pkgdir/usr/lib/systemd/system/timers.target.wants/squid-rotate.timer"
- rm -rf "$pkgdir/run" "$pkgdir/var/run"
-}
-
-# vim: ts=2 sw=2 et ft=sh
Copied: squid/repos/community-i686/PKGBUILD (from rev 200316, squid/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-12-19 15:05:58 UTC (rev 200317)
@@ -0,0 +1,108 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Mark Coolen <mark.coolen at gmail.com>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+# Contributor: Kevin Piche <kevin at archlinux.org>
+
+pkgname=squid
+pkgver=3.5.23
+pkgrel=2
+pkgdesc='Full-featured Web proxy cache server'
+arch=('x86_64' 'i686')
+url='http://www.squid-cache.org'
+depends=('openssl' 'pam' 'perl' 'libltdl' 'libcap' 'nettle')
+makedepends=('libcap' 'krb5')
+optdepends=('gnutls: for squidclient')
+license=('GPL')
+options=('emptydirs')
+backup=('etc/squid/squid.conf'
+ 'etc/squid/cachemgr.conf'
+ 'etc/squid/errorpage.css'
+ 'etc/squid/mime.conf')
+install=$pkgname.install
+validpgpkeys=('EA31CC5E9488E5168D2DCC5EB268E706FF5CF463')
+source=("http://www.squid-cache.org/Versions/v3/3.5/$pkgname-$pkgver.tar.xz"{,.asc}
+ 'squid.pam'
+ 'squid.service'
+ 'squid.tmpfiles'
+ 'squid.sysusers'
+ 'squid-rotate.service'
+ 'squid-rotate.timer')
+sha256sums=('fa4c0c99f41e92fe1330bed3968d176c6f47ef2e3aea2f83977d5501afa40bdb'
+ 'SKIP'
+ '11fb388f8679fd6461e0de006810ea608a3686fffda16904b0ed71f412be499c'
+ 'b0cf95652d56c62ae0ceba8912d11ac248bdb3eb91f062bceadd99f80c4b160e'
+ '0d7db4e078a2a6d8d8e46537054aa84523efdf95dd92a78189e81606200f48a5'
+ 'c903eb86e6968b9d3bd0a9ad3335e8ce76a718b6217251e9dd7e66d5cf1ac94a'
+ '3a97aa6bf6dcdc427e73bb2f36afdeaaf2bbf7dd2c0bbb7f1a948850198a8b7c'
+ '8bc77fa1f653a17a4956feac042be9577ba30a8a43480b443fbd67640ae711ee')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --datadir=/usr/share/squid \
+ --sysconfdir=/etc/squid \
+ --libexecdir=/usr/lib/squid \
+ --localstatedir=/var \
+ --with-logdir=/var/log/squid \
+ --with-pidfile=/run/squid.pid \
+ --enable-auth \
+ --enable-auth-basic \
+ --enable-auth-ntlm \
+ --enable-auth-digest \
+ --enable-auth-negotiate \
+ --enable-removal-policies="lru,heap" \
+ --enable-storeio="aufs,ufs,diskd" \
+ --enable-delay-pools \
+ --enable-arp-acl \
+ --with-openssl=/usr \
+ --enable-snmp \
+ --enable-linux-netfilter \
+ --enable-ident-lookups \
+ --enable-useragent-log \
+ --enable-cache-digests \
+ --enable-referer-log \
+ --enable-arp-acl \
+ --enable-htcp \
+ --enable-carp \
+ --enable-epoll \
+ --with-large-files \
+ --enable-arp-acl \
+ --with-default-user=proxy \
+ --enable-async-io \
+ --enable-truncate \
+ --enable-icap-client \
+ --enable-ssl-crtd \
+ --disable-arch-native \
+ --disable-strict-error-checking \
+ --enable-wccpv2
+ make
+}
+
+package() {
+ cd "$srcdir"
+
+ make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+ install -Dm644 "$srcdir/squid.pam" "$pkgdir/etc/pam.d/squid"
+ install -Dm644 "$srcdir/squid.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/squid.conf"
+ install -Dm644 "$srcdir/squid.sysusers" "$pkgdir/usr/lib/sysusers.d/squid.conf"
+ install -Dm644 "$srcdir/squid.service" \
+ "$pkgdir/usr/lib/systemd/system/squid.service"
+ install -Dm644 "$srcdir/squid-rotate.service" \
+ "$pkgdir/usr/lib/systemd/system/squid-rotate.service"
+ install -Dm644 "$srcdir/squid-rotate.timer" \
+ "$pkgdir/usr/lib/systemd/system/squid-rotate.timer"
+# install -dm755 "$pkgdir/usr/lib/systemd/system/timers.target.wants"
+# ln -s ../squid-rotate.timer \
+# "$pkgdir/usr/lib/systemd/system/timers.target.wants/squid-rotate.timer"
+ rm -rf "$pkgdir/run" "$pkgdir/var/run"
+}
+
+# vim: ts=2 sw=2 et ft=sh
Deleted: community-i686/squid-rotate.service
===================================================================
--- community-i686/squid-rotate.service 2016-12-19 15:05:22 UTC (rev 200316)
+++ community-i686/squid-rotate.service 2016-12-19 15:05:58 UTC (rev 200317)
@@ -1,9 +0,0 @@
-[Unit]
-Description=Squid Rotate
-
-[Service]
-Type=oneshot
-ExecStart=/usr/bin/squid -k rotate
-Nice=19
-IOSchedulingClass=best-effort
-IOSchedulingPriority=7
Copied: squid/repos/community-i686/squid-rotate.service (from rev 200316, squid/trunk/squid-rotate.service)
===================================================================
--- community-i686/squid-rotate.service (rev 0)
+++ community-i686/squid-rotate.service 2016-12-19 15:05:58 UTC (rev 200317)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Squid Rotate
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/squid -k rotate
+Nice=19
+IOSchedulingClass=best-effort
+IOSchedulingPriority=7
Deleted: community-i686/squid-rotate.timer
===================================================================
--- community-i686/squid-rotate.timer 2016-12-19 15:05:22 UTC (rev 200316)
+++ community-i686/squid-rotate.timer 2016-12-19 15:05:58 UTC (rev 200317)
@@ -1,7 +0,0 @@
-[Unit]
-Description=Weekly rotation of squid log files
-
-[Timer]
-OnCalendar=weekly
-AccuracySec=1d
-Persistent=true
Copied: squid/repos/community-i686/squid-rotate.timer (from rev 200316, squid/trunk/squid-rotate.timer)
===================================================================
--- community-i686/squid-rotate.timer (rev 0)
+++ community-i686/squid-rotate.timer 2016-12-19 15:05:58 UTC (rev 200317)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Weekly rotation of squid log files
+
+[Timer]
+OnCalendar=weekly
+AccuracySec=1d
+Persistent=true
+
+[Install]
+WantedBy=timers.target
Deleted: community-i686/squid.install
===================================================================
--- community-i686/squid.install 2016-12-19 15:05:22 UTC (rev 200316)
+++ community-i686/squid.install 2016-12-19 15:05:58 UTC (rev 200317)
@@ -1,13 +0,0 @@
-post_install() {
- systemd-sysusers squid.conf
- systemd-tmpfiles --create squid.conf
- chown proxy:proxy var/{cache,log}/squid
-}
-
-post_upgrade() {
- post_install
- 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"
-}
Copied: squid/repos/community-i686/squid.install (from rev 200316, squid/trunk/squid.install)
===================================================================
--- community-i686/squid.install (rev 0)
+++ community-i686/squid.install 2016-12-19 15:05:58 UTC (rev 200317)
@@ -0,0 +1,16 @@
+post_install() {
+ 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() {
+ post_install
+ 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
+ if [ `vercmp "$2" "3.5.21-1"` -le 0 ]; then
+ echo "- squid-rotate.timer is not enabled by default"
+ fi
+}
Deleted: community-i686/squid.pam
===================================================================
--- community-i686/squid.pam 2016-12-19 15:05:22 UTC (rev 200316)
+++ community-i686/squid.pam 2016-12-19 15:05:58 UTC (rev 200317)
@@ -1,4 +0,0 @@
-#/etc/pam.d/squid
-#
-auth required pam_unix.so
-account required pam_unix.so
Copied: squid/repos/community-i686/squid.pam (from rev 200316, squid/trunk/squid.pam)
===================================================================
--- community-i686/squid.pam (rev 0)
+++ community-i686/squid.pam 2016-12-19 15:05:58 UTC (rev 200317)
@@ -0,0 +1,4 @@
+#/etc/pam.d/squid
+#
+auth required pam_unix.so
+account required pam_unix.so
Deleted: community-i686/squid.service
===================================================================
--- community-i686/squid.service 2016-12-19 15:05:22 UTC (rev 200316)
+++ community-i686/squid.service 2016-12-19 15:05:58 UTC (rev 200317)
@@ -1,13 +0,0 @@
-[Unit]
-Description=Web Proxy Cache Server
-After=network.target
-
-[Service]
-Type=forking
-PIDFile=/run/squid.pid
-ExecStart=/usr/bin/squid -sYC
-ExecStop=/usr/bin/squid -k shutdown
-ExecReload=/usr/bin/squid -k reconfigure
-
-[Install]
-WantedBy=multi-user.target
Copied: squid/repos/community-i686/squid.service (from rev 200316, squid/trunk/squid.service)
===================================================================
--- community-i686/squid.service (rev 0)
+++ community-i686/squid.service 2016-12-19 15:05:58 UTC (rev 200317)
@@ -0,0 +1,13 @@
+[Unit]
+Description=Web Proxy Cache Server
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/squid.pid
+ExecStart=/usr/bin/squid -sYC
+ExecStop=/usr/bin/squid -k shutdown
+ExecReload=/usr/bin/squid -k reconfigure
+
+[Install]
+WantedBy=multi-user.target
Deleted: community-i686/squid.sysusers
===================================================================
--- community-i686/squid.sysusers 2016-12-19 15:05:22 UTC (rev 200316)
+++ community-i686/squid.sysusers 2016-12-19 15:05:58 UTC (rev 200317)
@@ -1 +0,0 @@
-u proxy 15 - /var/empty
Copied: squid/repos/community-i686/squid.sysusers (from rev 200316, squid/trunk/squid.sysusers)
===================================================================
--- community-i686/squid.sysusers (rev 0)
+++ community-i686/squid.sysusers 2016-12-19 15:05:58 UTC (rev 200317)
@@ -0,0 +1 @@
+u proxy 15 - /var/empty
Deleted: community-i686/squid.tmpfiles
===================================================================
--- community-i686/squid.tmpfiles 2016-12-19 15:05:22 UTC (rev 200316)
+++ community-i686/squid.tmpfiles 2016-12-19 15:05:58 UTC (rev 200317)
@@ -1,2 +0,0 @@
-d /run/squid 0755 proxy proxy -
-d /var/log/squid 0755 proxy proxy -
Copied: squid/repos/community-i686/squid.tmpfiles (from rev 200316, squid/trunk/squid.tmpfiles)
===================================================================
--- community-i686/squid.tmpfiles (rev 0)
+++ community-i686/squid.tmpfiles 2016-12-19 15:05:58 UTC (rev 200317)
@@ -0,0 +1,2 @@
+d /run/squid 0755 proxy proxy -
+d /var/log/squid 0755 proxy proxy -
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2016-12-19 15:05:22 UTC (rev 200316)
+++ community-x86_64/PKGBUILD 2016-12-19 15:05:58 UTC (rev 200317)
@@ -1,108 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Mark Coolen <mark.coolen at gmail.com>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-# Contributor: Kevin Piche <kevin at archlinux.org>
-
-pkgname=squid
-pkgver=3.5.23
-pkgrel=1
-pkgdesc='Full-featured Web proxy cache server'
-arch=('x86_64' 'i686')
-url='http://www.squid-cache.org'
-depends=('openssl' 'pam' 'perl' 'libltdl' 'libcap' 'nettle')
-makedepends=('libcap' 'krb5')
-optdepends=('gnutls: for squidclient')
-license=('GPL')
-options=('emptydirs')
-backup=('etc/squid/squid.conf'
- 'etc/squid/cachemgr.conf'
- 'etc/squid/errorpage.css'
- 'etc/squid/mime.conf')
-install=$pkgname.install
-validpgpkeys=('EA31CC5E9488E5168D2DCC5EB268E706FF5CF463')
-source=("http://www.squid-cache.org/Versions/v3/3.5/$pkgname-$pkgver.tar.xz"{,.asc}
- 'squid.pam'
- 'squid.service'
- 'squid.tmpfiles'
- 'squid.sysusers'
- 'squid-rotate.service'
- 'squid-rotate.timer')
-sha256sums=('fa4c0c99f41e92fe1330bed3968d176c6f47ef2e3aea2f83977d5501afa40bdb'
- 'SKIP'
- '11fb388f8679fd6461e0de006810ea608a3686fffda16904b0ed71f412be499c'
- 'b0cf95652d56c62ae0ceba8912d11ac248bdb3eb91f062bceadd99f80c4b160e'
- '0d7db4e078a2a6d8d8e46537054aa84523efdf95dd92a78189e81606200f48a5'
- 'c903eb86e6968b9d3bd0a9ad3335e8ce76a718b6217251e9dd7e66d5cf1ac94a'
- '3a97aa6bf6dcdc427e73bb2f36afdeaaf2bbf7dd2c0bbb7f1a948850198a8b7c'
- 'b8015db66a06452b02d9578357b203b54c976c27ea7d4b6d5c265c3c4d9f6281')
-
-prepare() {
- cd "$srcdir/$pkgname-$pkgver"
-}
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- ./configure \
- --prefix=/usr \
- --sbindir=/usr/bin \
- --datadir=/usr/share/squid \
- --sysconfdir=/etc/squid \
- --libexecdir=/usr/lib/squid \
- --localstatedir=/var \
- --with-logdir=/var/log/squid \
- --with-pidfile=/run/squid.pid \
- --enable-auth \
- --enable-auth-basic \
- --enable-auth-ntlm \
- --enable-auth-digest \
- --enable-auth-negotiate \
- --enable-removal-policies="lru,heap" \
- --enable-storeio="aufs,ufs,diskd" \
- --enable-delay-pools \
- --enable-arp-acl \
- --with-openssl=/usr \
- --enable-snmp \
- --enable-linux-netfilter \
- --enable-ident-lookups \
- --enable-useragent-log \
- --enable-cache-digests \
- --enable-referer-log \
- --enable-arp-acl \
- --enable-htcp \
- --enable-carp \
- --enable-epoll \
- --with-large-files \
- --enable-arp-acl \
- --with-default-user=proxy \
- --enable-async-io \
- --enable-truncate \
- --enable-icap-client \
- --enable-ssl-crtd \
- --disable-arch-native \
- --disable-strict-error-checking \
- --enable-wccpv2
- make
-}
-
-package() {
- cd "$srcdir"
-
- make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
- install -Dm644 "$srcdir/squid.pam" "$pkgdir/etc/pam.d/squid"
- install -Dm644 "$srcdir/squid.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/squid.conf"
- install -Dm644 "$srcdir/squid.sysusers" "$pkgdir/usr/lib/sysusers.d/squid.conf"
- install -Dm644 "$srcdir/squid.service" \
- "$pkgdir/usr/lib/systemd/system/squid.service"
- install -Dm644 "$srcdir/squid-rotate.service" \
- "$pkgdir/usr/lib/systemd/system/squid-rotate.service"
- install -Dm644 "$srcdir/squid-rotate.timer" \
- "$pkgdir/usr/lib/systemd/system/squid-rotate.timer"
-# install -dm755 "$pkgdir/usr/lib/systemd/system/timers.target.wants"
-# ln -s ../squid-rotate.timer \
-# "$pkgdir/usr/lib/systemd/system/timers.target.wants/squid-rotate.timer"
- rm -rf "$pkgdir/run" "$pkgdir/var/run"
-}
-
-# vim: ts=2 sw=2 et ft=sh
Copied: squid/repos/community-x86_64/PKGBUILD (from rev 200316, squid/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2016-12-19 15:05:58 UTC (rev 200317)
@@ -0,0 +1,108 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Mark Coolen <mark.coolen at gmail.com>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+# Contributor: Kevin Piche <kevin at archlinux.org>
+
+pkgname=squid
+pkgver=3.5.23
+pkgrel=2
+pkgdesc='Full-featured Web proxy cache server'
+arch=('x86_64' 'i686')
+url='http://www.squid-cache.org'
+depends=('openssl' 'pam' 'perl' 'libltdl' 'libcap' 'nettle')
+makedepends=('libcap' 'krb5')
+optdepends=('gnutls: for squidclient')
+license=('GPL')
+options=('emptydirs')
+backup=('etc/squid/squid.conf'
+ 'etc/squid/cachemgr.conf'
+ 'etc/squid/errorpage.css'
+ 'etc/squid/mime.conf')
+install=$pkgname.install
+validpgpkeys=('EA31CC5E9488E5168D2DCC5EB268E706FF5CF463')
+source=("http://www.squid-cache.org/Versions/v3/3.5/$pkgname-$pkgver.tar.xz"{,.asc}
+ 'squid.pam'
+ 'squid.service'
+ 'squid.tmpfiles'
+ 'squid.sysusers'
+ 'squid-rotate.service'
+ 'squid-rotate.timer')
+sha256sums=('fa4c0c99f41e92fe1330bed3968d176c6f47ef2e3aea2f83977d5501afa40bdb'
+ 'SKIP'
+ '11fb388f8679fd6461e0de006810ea608a3686fffda16904b0ed71f412be499c'
+ 'b0cf95652d56c62ae0ceba8912d11ac248bdb3eb91f062bceadd99f80c4b160e'
+ '0d7db4e078a2a6d8d8e46537054aa84523efdf95dd92a78189e81606200f48a5'
+ 'c903eb86e6968b9d3bd0a9ad3335e8ce76a718b6217251e9dd7e66d5cf1ac94a'
+ '3a97aa6bf6dcdc427e73bb2f36afdeaaf2bbf7dd2c0bbb7f1a948850198a8b7c'
+ '8bc77fa1f653a17a4956feac042be9577ba30a8a43480b443fbd67640ae711ee')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --datadir=/usr/share/squid \
+ --sysconfdir=/etc/squid \
+ --libexecdir=/usr/lib/squid \
+ --localstatedir=/var \
+ --with-logdir=/var/log/squid \
+ --with-pidfile=/run/squid.pid \
+ --enable-auth \
+ --enable-auth-basic \
+ --enable-auth-ntlm \
+ --enable-auth-digest \
+ --enable-auth-negotiate \
+ --enable-removal-policies="lru,heap" \
+ --enable-storeio="aufs,ufs,diskd" \
+ --enable-delay-pools \
+ --enable-arp-acl \
+ --with-openssl=/usr \
+ --enable-snmp \
+ --enable-linux-netfilter \
+ --enable-ident-lookups \
+ --enable-useragent-log \
+ --enable-cache-digests \
+ --enable-referer-log \
+ --enable-arp-acl \
+ --enable-htcp \
+ --enable-carp \
+ --enable-epoll \
+ --with-large-files \
+ --enable-arp-acl \
+ --with-default-user=proxy \
+ --enable-async-io \
+ --enable-truncate \
+ --enable-icap-client \
+ --enable-ssl-crtd \
+ --disable-arch-native \
+ --disable-strict-error-checking \
+ --enable-wccpv2
+ make
+}
+
+package() {
+ cd "$srcdir"
+
+ make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+ install -Dm644 "$srcdir/squid.pam" "$pkgdir/etc/pam.d/squid"
+ install -Dm644 "$srcdir/squid.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/squid.conf"
+ install -Dm644 "$srcdir/squid.sysusers" "$pkgdir/usr/lib/sysusers.d/squid.conf"
+ install -Dm644 "$srcdir/squid.service" \
+ "$pkgdir/usr/lib/systemd/system/squid.service"
+ install -Dm644 "$srcdir/squid-rotate.service" \
+ "$pkgdir/usr/lib/systemd/system/squid-rotate.service"
+ install -Dm644 "$srcdir/squid-rotate.timer" \
+ "$pkgdir/usr/lib/systemd/system/squid-rotate.timer"
+# install -dm755 "$pkgdir/usr/lib/systemd/system/timers.target.wants"
+# ln -s ../squid-rotate.timer \
+# "$pkgdir/usr/lib/systemd/system/timers.target.wants/squid-rotate.timer"
+ rm -rf "$pkgdir/run" "$pkgdir/var/run"
+}
+
+# vim: ts=2 sw=2 et ft=sh
Deleted: community-x86_64/squid-rotate.service
===================================================================
--- community-x86_64/squid-rotate.service 2016-12-19 15:05:22 UTC (rev 200316)
+++ community-x86_64/squid-rotate.service 2016-12-19 15:05:58 UTC (rev 200317)
@@ -1,9 +0,0 @@
-[Unit]
-Description=Squid Rotate
-
-[Service]
-Type=oneshot
-ExecStart=/usr/bin/squid -k rotate
-Nice=19
-IOSchedulingClass=best-effort
-IOSchedulingPriority=7
Copied: squid/repos/community-x86_64/squid-rotate.service (from rev 200316, squid/trunk/squid-rotate.service)
===================================================================
--- community-x86_64/squid-rotate.service (rev 0)
+++ community-x86_64/squid-rotate.service 2016-12-19 15:05:58 UTC (rev 200317)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Squid Rotate
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/squid -k rotate
+Nice=19
+IOSchedulingClass=best-effort
+IOSchedulingPriority=7
Deleted: community-x86_64/squid-rotate.timer
===================================================================
--- community-x86_64/squid-rotate.timer 2016-12-19 15:05:22 UTC (rev 200316)
+++ community-x86_64/squid-rotate.timer 2016-12-19 15:05:58 UTC (rev 200317)
@@ -1,7 +0,0 @@
-[Unit]
-Description=Weekly rotation of squid log files
-
-[Timer]
-OnCalendar=weekly
-AccuracySec=1d
-Persistent=true
Copied: squid/repos/community-x86_64/squid-rotate.timer (from rev 200316, squid/trunk/squid-rotate.timer)
===================================================================
--- community-x86_64/squid-rotate.timer (rev 0)
+++ community-x86_64/squid-rotate.timer 2016-12-19 15:05:58 UTC (rev 200317)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Weekly rotation of squid log files
+
+[Timer]
+OnCalendar=weekly
+AccuracySec=1d
+Persistent=true
+
+[Install]
+WantedBy=timers.target
Deleted: community-x86_64/squid.install
===================================================================
--- community-x86_64/squid.install 2016-12-19 15:05:22 UTC (rev 200316)
+++ community-x86_64/squid.install 2016-12-19 15:05:58 UTC (rev 200317)
@@ -1,13 +0,0 @@
-post_install() {
- systemd-sysusers squid.conf
- systemd-tmpfiles --create squid.conf
- chown proxy:proxy var/{cache,log}/squid
-}
-
-post_upgrade() {
- post_install
- 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"
-}
Copied: squid/repos/community-x86_64/squid.install (from rev 200316, squid/trunk/squid.install)
===================================================================
--- community-x86_64/squid.install (rev 0)
+++ community-x86_64/squid.install 2016-12-19 15:05:58 UTC (rev 200317)
@@ -0,0 +1,16 @@
+post_install() {
+ 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() {
+ post_install
+ 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
+ if [ `vercmp "$2" "3.5.21-1"` -le 0 ]; then
+ echo "- squid-rotate.timer is not enabled by default"
+ fi
+}
Deleted: community-x86_64/squid.pam
===================================================================
--- community-x86_64/squid.pam 2016-12-19 15:05:22 UTC (rev 200316)
+++ community-x86_64/squid.pam 2016-12-19 15:05:58 UTC (rev 200317)
@@ -1,4 +0,0 @@
-#/etc/pam.d/squid
-#
-auth required pam_unix.so
-account required pam_unix.so
Copied: squid/repos/community-x86_64/squid.pam (from rev 200316, squid/trunk/squid.pam)
===================================================================
--- community-x86_64/squid.pam (rev 0)
+++ community-x86_64/squid.pam 2016-12-19 15:05:58 UTC (rev 200317)
@@ -0,0 +1,4 @@
+#/etc/pam.d/squid
+#
+auth required pam_unix.so
+account required pam_unix.so
Deleted: community-x86_64/squid.service
===================================================================
--- community-x86_64/squid.service 2016-12-19 15:05:22 UTC (rev 200316)
+++ community-x86_64/squid.service 2016-12-19 15:05:58 UTC (rev 200317)
@@ -1,13 +0,0 @@
-[Unit]
-Description=Web Proxy Cache Server
-After=network.target
-
-[Service]
-Type=forking
-PIDFile=/run/squid.pid
-ExecStart=/usr/bin/squid -sYC
-ExecStop=/usr/bin/squid -k shutdown
-ExecReload=/usr/bin/squid -k reconfigure
-
-[Install]
-WantedBy=multi-user.target
Copied: squid/repos/community-x86_64/squid.service (from rev 200316, squid/trunk/squid.service)
===================================================================
--- community-x86_64/squid.service (rev 0)
+++ community-x86_64/squid.service 2016-12-19 15:05:58 UTC (rev 200317)
@@ -0,0 +1,13 @@
+[Unit]
+Description=Web Proxy Cache Server
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/squid.pid
+ExecStart=/usr/bin/squid -sYC
+ExecStop=/usr/bin/squid -k shutdown
+ExecReload=/usr/bin/squid -k reconfigure
+
+[Install]
+WantedBy=multi-user.target
Deleted: community-x86_64/squid.sysusers
===================================================================
--- community-x86_64/squid.sysusers 2016-12-19 15:05:22 UTC (rev 200316)
+++ community-x86_64/squid.sysusers 2016-12-19 15:05:58 UTC (rev 200317)
@@ -1 +0,0 @@
-u proxy 15 - /var/empty
Copied: squid/repos/community-x86_64/squid.sysusers (from rev 200316, squid/trunk/squid.sysusers)
===================================================================
--- community-x86_64/squid.sysusers (rev 0)
+++ community-x86_64/squid.sysusers 2016-12-19 15:05:58 UTC (rev 200317)
@@ -0,0 +1 @@
+u proxy 15 - /var/empty
Deleted: community-x86_64/squid.tmpfiles
===================================================================
--- community-x86_64/squid.tmpfiles 2016-12-19 15:05:22 UTC (rev 200316)
+++ community-x86_64/squid.tmpfiles 2016-12-19 15:05:58 UTC (rev 200317)
@@ -1,2 +0,0 @@
-d /run/squid 0755 proxy proxy -
-d /var/log/squid 0755 proxy proxy -
Copied: squid/repos/community-x86_64/squid.tmpfiles (from rev 200316, squid/trunk/squid.tmpfiles)
===================================================================
--- community-x86_64/squid.tmpfiles (rev 0)
+++ community-x86_64/squid.tmpfiles 2016-12-19 15:05:58 UTC (rev 200317)
@@ -0,0 +1,2 @@
+d /run/squid 0755 proxy proxy -
+d /var/log/squid 0755 proxy proxy -
More information about the arch-commits
mailing list