[arch-commits] Commit in squid/repos (18 files)
Sergej Pupykin
spupykin at archlinux.org
Fri Apr 10 18:38:25 UTC 2015
Date: Friday, April 10, 2015 @ 20:38:25
Author: spupykin
Revision: 131148
archrelease: copy trunk to community-staging-x86_64, community-staging-i686
Added:
squid/repos/community-staging-i686/
squid/repos/community-staging-i686/PKGBUILD
(from rev 131147, squid/trunk/PKGBUILD)
squid/repos/community-staging-i686/squid-rotate.service
(from rev 131147, squid/trunk/squid-rotate.service)
squid/repos/community-staging-i686/squid-rotate.timer
(from rev 131147, squid/trunk/squid-rotate.timer)
squid/repos/community-staging-i686/squid.install
(from rev 131147, squid/trunk/squid.install)
squid/repos/community-staging-i686/squid.pam
(from rev 131147, squid/trunk/squid.pam)
squid/repos/community-staging-i686/squid.service
(from rev 131147, squid/trunk/squid.service)
squid/repos/community-staging-i686/squid.sysusers
(from rev 131147, squid/trunk/squid.sysusers)
squid/repos/community-staging-i686/squid.tmpfiles
(from rev 131147, squid/trunk/squid.tmpfiles)
squid/repos/community-staging-x86_64/
squid/repos/community-staging-x86_64/PKGBUILD
(from rev 131147, squid/trunk/PKGBUILD)
squid/repos/community-staging-x86_64/squid-rotate.service
(from rev 131147, squid/trunk/squid-rotate.service)
squid/repos/community-staging-x86_64/squid-rotate.timer
(from rev 131147, squid/trunk/squid-rotate.timer)
squid/repos/community-staging-x86_64/squid.install
(from rev 131147, squid/trunk/squid.install)
squid/repos/community-staging-x86_64/squid.pam
(from rev 131147, squid/trunk/squid.pam)
squid/repos/community-staging-x86_64/squid.service
(from rev 131147, squid/trunk/squid.service)
squid/repos/community-staging-x86_64/squid.sysusers
(from rev 131147, squid/trunk/squid.sysusers)
squid/repos/community-staging-x86_64/squid.tmpfiles
(from rev 131147, squid/trunk/squid.tmpfiles)
-----------------------------------------------+
community-staging-i686/PKGBUILD | 107 ++++++++++++++++++++++++
community-staging-i686/squid-rotate.service | 9 ++
community-staging-i686/squid-rotate.timer | 7 +
community-staging-i686/squid.install | 9 ++
community-staging-i686/squid.pam | 4
community-staging-i686/squid.service | 13 ++
community-staging-i686/squid.sysusers | 1
community-staging-i686/squid.tmpfiles | 1
community-staging-x86_64/PKGBUILD | 107 ++++++++++++++++++++++++
community-staging-x86_64/squid-rotate.service | 9 ++
community-staging-x86_64/squid-rotate.timer | 7 +
community-staging-x86_64/squid.install | 9 ++
community-staging-x86_64/squid.pam | 4
community-staging-x86_64/squid.service | 13 ++
community-staging-x86_64/squid.sysusers | 1
community-staging-x86_64/squid.tmpfiles | 1
16 files changed, 302 insertions(+)
Copied: squid/repos/community-staging-i686/PKGBUILD (from rev 131147, squid/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-04-10 18:38:25 UTC (rev 131148)
@@ -0,0 +1,107 @@
+# $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.3
+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/mime.conf'
+ 'etc/squid/errorpage.css'
+ 'etc/squid/cachemgr.conf'
+ 'etc/squid/msntauth.conf')
+install=$pkgname.install
+source=("http://www.squid-cache.org/Versions/v3/3.5/$pkgname-$pkgver.tar.bz2"
+ 'squid.pam'
+ 'squid.service'
+ 'squid.tmpfiles'
+ 'squid.sysusers'
+ 'squid-rotate.service'
+ 'squid-rotate.timer')
+md5sums=('86078afe2e5da08fb815a9216f695c1e'
+ '270977cdd9b47ef44c0c427ab9034777'
+ 'ceeb57c69ebb165676219222f109a24e'
+ 'd243da117c1aee03c0cc6052f023a380'
+ '4abff67f9b39db34501025bfdde8794d'
+ '5c806290f1c43b53775a9ae31cafb7ce'
+ '7f8e79d19d568b359079181ac561645d')
+
+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-staging-i686/squid-rotate.service (from rev 131147, squid/trunk/squid-rotate.service)
===================================================================
--- community-staging-i686/squid-rotate.service (rev 0)
+++ community-staging-i686/squid-rotate.service 2015-04-10 18:38:25 UTC (rev 131148)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Squid Rotate
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/squid -k rotate
+Nice=19
+IOSchedulingClass=best-effort
+IOSchedulingPriority=7
Copied: squid/repos/community-staging-i686/squid-rotate.timer (from rev 131147, squid/trunk/squid-rotate.timer)
===================================================================
--- community-staging-i686/squid-rotate.timer (rev 0)
+++ community-staging-i686/squid-rotate.timer 2015-04-10 18:38:25 UTC (rev 131148)
@@ -0,0 +1,7 @@
+[Unit]
+Description=Weekly rotation of squid log files
+
+[Timer]
+OnCalendar=weekly
+AccuracySec=1d
+Persistent=true
Copied: squid/repos/community-staging-i686/squid.install (from rev 131147, squid/trunk/squid.install)
===================================================================
--- community-staging-i686/squid.install (rev 0)
+++ community-staging-i686/squid.install 2015-04-10 18:38:25 UTC (rev 131148)
@@ -0,0 +1,9 @@
+post_install() {
+ systemd-sysusers squid.conf
+ systemd-tmpfiles --create squid.conf
+ chown proxy:proxy var/{cache,log}/squid
+}
+
+post_upgrade() {
+ post_install
+}
Copied: squid/repos/community-staging-i686/squid.pam (from rev 131147, squid/trunk/squid.pam)
===================================================================
--- community-staging-i686/squid.pam (rev 0)
+++ community-staging-i686/squid.pam 2015-04-10 18:38:25 UTC (rev 131148)
@@ -0,0 +1,4 @@
+#/etc/pam.d/squid
+#
+auth required pam_unix.so
+account required pam_unix.so
Copied: squid/repos/community-staging-i686/squid.service (from rev 131147, squid/trunk/squid.service)
===================================================================
--- community-staging-i686/squid.service (rev 0)
+++ community-staging-i686/squid.service 2015-04-10 18:38:25 UTC (rev 131148)
@@ -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
Copied: squid/repos/community-staging-i686/squid.sysusers (from rev 131147, squid/trunk/squid.sysusers)
===================================================================
--- community-staging-i686/squid.sysusers (rev 0)
+++ community-staging-i686/squid.sysusers 2015-04-10 18:38:25 UTC (rev 131148)
@@ -0,0 +1 @@
+u proxy 15 - /var/empty
Copied: squid/repos/community-staging-i686/squid.tmpfiles (from rev 131147, squid/trunk/squid.tmpfiles)
===================================================================
--- community-staging-i686/squid.tmpfiles (rev 0)
+++ community-staging-i686/squid.tmpfiles 2015-04-10 18:38:25 UTC (rev 131148)
@@ -0,0 +1 @@
+d /run/squid 0755 proxy proxy -
Copied: squid/repos/community-staging-x86_64/PKGBUILD (from rev 131147, squid/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-04-10 18:38:25 UTC (rev 131148)
@@ -0,0 +1,107 @@
+# $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.3
+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/mime.conf'
+ 'etc/squid/errorpage.css'
+ 'etc/squid/cachemgr.conf'
+ 'etc/squid/msntauth.conf')
+install=$pkgname.install
+source=("http://www.squid-cache.org/Versions/v3/3.5/$pkgname-$pkgver.tar.bz2"
+ 'squid.pam'
+ 'squid.service'
+ 'squid.tmpfiles'
+ 'squid.sysusers'
+ 'squid-rotate.service'
+ 'squid-rotate.timer')
+md5sums=('86078afe2e5da08fb815a9216f695c1e'
+ '270977cdd9b47ef44c0c427ab9034777'
+ 'ceeb57c69ebb165676219222f109a24e'
+ 'd243da117c1aee03c0cc6052f023a380'
+ '4abff67f9b39db34501025bfdde8794d'
+ '5c806290f1c43b53775a9ae31cafb7ce'
+ '7f8e79d19d568b359079181ac561645d')
+
+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-staging-x86_64/squid-rotate.service (from rev 131147, squid/trunk/squid-rotate.service)
===================================================================
--- community-staging-x86_64/squid-rotate.service (rev 0)
+++ community-staging-x86_64/squid-rotate.service 2015-04-10 18:38:25 UTC (rev 131148)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Squid Rotate
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/squid -k rotate
+Nice=19
+IOSchedulingClass=best-effort
+IOSchedulingPriority=7
Copied: squid/repos/community-staging-x86_64/squid-rotate.timer (from rev 131147, squid/trunk/squid-rotate.timer)
===================================================================
--- community-staging-x86_64/squid-rotate.timer (rev 0)
+++ community-staging-x86_64/squid-rotate.timer 2015-04-10 18:38:25 UTC (rev 131148)
@@ -0,0 +1,7 @@
+[Unit]
+Description=Weekly rotation of squid log files
+
+[Timer]
+OnCalendar=weekly
+AccuracySec=1d
+Persistent=true
Copied: squid/repos/community-staging-x86_64/squid.install (from rev 131147, squid/trunk/squid.install)
===================================================================
--- community-staging-x86_64/squid.install (rev 0)
+++ community-staging-x86_64/squid.install 2015-04-10 18:38:25 UTC (rev 131148)
@@ -0,0 +1,9 @@
+post_install() {
+ systemd-sysusers squid.conf
+ systemd-tmpfiles --create squid.conf
+ chown proxy:proxy var/{cache,log}/squid
+}
+
+post_upgrade() {
+ post_install
+}
Copied: squid/repos/community-staging-x86_64/squid.pam (from rev 131147, squid/trunk/squid.pam)
===================================================================
--- community-staging-x86_64/squid.pam (rev 0)
+++ community-staging-x86_64/squid.pam 2015-04-10 18:38:25 UTC (rev 131148)
@@ -0,0 +1,4 @@
+#/etc/pam.d/squid
+#
+auth required pam_unix.so
+account required pam_unix.so
Copied: squid/repos/community-staging-x86_64/squid.service (from rev 131147, squid/trunk/squid.service)
===================================================================
--- community-staging-x86_64/squid.service (rev 0)
+++ community-staging-x86_64/squid.service 2015-04-10 18:38:25 UTC (rev 131148)
@@ -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
Copied: squid/repos/community-staging-x86_64/squid.sysusers (from rev 131147, squid/trunk/squid.sysusers)
===================================================================
--- community-staging-x86_64/squid.sysusers (rev 0)
+++ community-staging-x86_64/squid.sysusers 2015-04-10 18:38:25 UTC (rev 131148)
@@ -0,0 +1 @@
+u proxy 15 - /var/empty
Copied: squid/repos/community-staging-x86_64/squid.tmpfiles (from rev 131147, squid/trunk/squid.tmpfiles)
===================================================================
--- community-staging-x86_64/squid.tmpfiles (rev 0)
+++ community-staging-x86_64/squid.tmpfiles 2015-04-10 18:38:25 UTC (rev 131148)
@@ -0,0 +1 @@
+d /run/squid 0755 proxy proxy -
More information about the arch-commits
mailing list