[arch-commits] Commit in squid/repos (20 files)

Sergej Pupykin spupykin at nymeria.archlinux.org
Thu Dec 19 10:29:54 UTC 2013


    Date: Thursday, December 19, 2013 @ 11:29:53
  Author: spupykin
Revision: 102758

archrelease: copy trunk to community-x86_64, community-i686

Added:
  squid/repos/community-i686/PKGBUILD
    (from rev 102757, squid/trunk/PKGBUILD)
  squid/repos/community-i686/squid.cron
    (from rev 102757, squid/trunk/squid.cron)
  squid/repos/community-i686/squid.install
    (from rev 102757, squid/trunk/squid.install)
  squid/repos/community-i686/squid.pam
    (from rev 102757, squid/trunk/squid.pam)
  squid/repos/community-i686/squid.service
    (from rev 102757, squid/trunk/squid.service)
  squid/repos/community-x86_64/PKGBUILD
    (from rev 102757, squid/trunk/PKGBUILD)
  squid/repos/community-x86_64/squid.cron
    (from rev 102757, squid/trunk/squid.cron)
  squid/repos/community-x86_64/squid.install
    (from rev 102757, squid/trunk/squid.install)
  squid/repos/community-x86_64/squid.pam
    (from rev 102757, squid/trunk/squid.pam)
  squid/repos/community-x86_64/squid.service
    (from rev 102757, squid/trunk/squid.service)
Deleted:
  squid/repos/community-i686/PKGBUILD
  squid/repos/community-i686/squid.cron
  squid/repos/community-i686/squid.install
  squid/repos/community-i686/squid.pam
  squid/repos/community-i686/squid.service
  squid/repos/community-x86_64/PKGBUILD
  squid/repos/community-x86_64/squid.cron
  squid/repos/community-x86_64/squid.install
  squid/repos/community-x86_64/squid.pam
  squid/repos/community-x86_64/squid.service

--------------------------------+
 /PKGBUILD                      |  168 +++++++++++++++++++++++++++++++++++++++
 /squid.cron                    |   18 ++++
 /squid.install                 |   52 ++++++++++++
 /squid.pam                     |    8 +
 /squid.service                 |   26 ++++++
 community-i686/PKGBUILD        |   83 -------------------
 community-i686/squid.cron      |    9 --
 community-i686/squid.install   |   26 ------
 community-i686/squid.pam       |    4 
 community-i686/squid.service   |   13 ---
 community-x86_64/PKGBUILD      |   83 -------------------
 community-x86_64/squid.cron    |    9 --
 community-x86_64/squid.install |   26 ------
 community-x86_64/squid.pam     |    4 
 community-x86_64/squid.service |   13 ---
 15 files changed, 272 insertions(+), 270 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-12-19 10:29:27 UTC (rev 102757)
+++ community-i686/PKGBUILD	2013-12-19 10:29:53 UTC (rev 102758)
@@ -1,83 +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.4.1
-pkgrel=1
-pkgdesc='Full-featured Web proxy cache server'
-arch=('x86_64' 'i686')
-url='http://www.squid-cache.org'
-depends=('openssl' 'pam' 'cron' 'perl' 'libltdl')
-makedepends=('libcap' 'krb5')
-license=('GPL')
-options=('emptydirs')
-backup=('etc/squid/squid.conf'
-        'etc/squid/mime.conf')
-install=$pkgname.install
-source=("http://www.squid-cache.org/Versions/v3/3.4/$pkgname-$pkgver.tar.bz2"
-        'squid.pam'
-        'squid.cron'
-        'squid.service')
-md5sums=('859cf167499d8a5430070dbde78c8eea'
-         '270977cdd9b47ef44c0c427ab9034777'
-         'a71425c4951f2e5b640d19e6a5048531'
-         'ceeb57c69ebb165676219222f109a24e')
-
-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 \
-    --enable-ssl \
-    --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-strict-error-checking
-  make
-}
-
-package() {
-  cd "$srcdir"
-
-  make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
-  install -Dm755 "$srcdir/squid.cron" "$pkgdir/etc/cron.weekly/squid"
-  install -Dm644 "$srcdir/squid.pam" "$pkgdir/etc/pam.d/squid"
-  install -Dm644 "$srcdir/squid.service" \
-    "$pkgdir/usr/lib/systemd/system/squid.service"
-  rm -rf "$pkgdir/run" "$pkgdir/var/run"
-}
-
-# vim: ts=2 sw=2 et ft=sh

Copied: squid/repos/community-i686/PKGBUILD (from rev 102757, squid/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-12-19 10:29:53 UTC (rev 102758)
@@ -0,0 +1,84 @@
+# $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.4.1
+pkgrel=2
+pkgdesc='Full-featured Web proxy cache server'
+arch=('x86_64' 'i686')
+url='http://www.squid-cache.org'
+depends=('openssl' 'pam' 'cron' 'perl' 'libltdl')
+makedepends=('libcap' 'krb5')
+license=('GPL')
+options=('emptydirs')
+backup=('etc/squid/squid.conf'
+        'etc/squid/mime.conf')
+install=$pkgname.install
+source=("http://www.squid-cache.org/Versions/v3/3.4/$pkgname-$pkgver.tar.bz2"
+        'squid.pam'
+        'squid.cron'
+        'squid.service')
+md5sums=('859cf167499d8a5430070dbde78c8eea'
+         '270977cdd9b47ef44c0c427ab9034777'
+         'a71425c4951f2e5b640d19e6a5048531'
+         'ceeb57c69ebb165676219222f109a24e')
+
+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 \
+    --enable-ssl \
+    --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
+  make
+}
+
+package() {
+  cd "$srcdir"
+
+  make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+  install -Dm755 "$srcdir/squid.cron" "$pkgdir/etc/cron.weekly/squid"
+  install -Dm644 "$srcdir/squid.pam" "$pkgdir/etc/pam.d/squid"
+  install -Dm644 "$srcdir/squid.service" \
+    "$pkgdir/usr/lib/systemd/system/squid.service"
+  rm -rf "$pkgdir/run" "$pkgdir/var/run"
+}
+
+# vim: ts=2 sw=2 et ft=sh

Deleted: community-i686/squid.cron
===================================================================
--- community-i686/squid.cron	2013-12-19 10:29:27 UTC (rev 102757)
+++ community-i686/squid.cron	2013-12-19 10:29:53 UTC (rev 102758)
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-# exit without error if no pidfile exists
-{ read pid </run/squid.pid; } 2>/dev/null || exit 0
-
-# make sure found PID really is a squid process
-if [ /proc/$pid/exec -ef /usr/bin/squid ]; then
-  /usr/bin/squid -k rotate
-fi

Copied: squid/repos/community-i686/squid.cron (from rev 102757, squid/trunk/squid.cron)
===================================================================
--- community-i686/squid.cron	                        (rev 0)
+++ community-i686/squid.cron	2013-12-19 10:29:53 UTC (rev 102758)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# exit without error if no pidfile exists
+{ read pid </run/squid.pid; } 2>/dev/null || exit 0
+
+# make sure found PID really is a squid process
+if [ /proc/$pid/exec -ef /usr/bin/squid ]; then
+  /usr/bin/squid -k rotate
+fi

Deleted: community-i686/squid.install
===================================================================
--- community-i686/squid.install	2013-12-19 10:29:27 UTC (rev 102757)
+++ community-i686/squid.install	2013-12-19 10:29:53 UTC (rev 102758)
@@ -1,26 +0,0 @@
-post_install() {
-  if [ -z "$(grep ^proxy: /etc/group)" ]; then
-    groupadd -g 15 proxy &>/dev/null
-  fi
-
-  id proxy &>/dev/null || \
-    useradd -u 15 -g proxy -d /var/empty proxy
-
-  chown proxy.proxy var/{cache,log}/squid
-
-#  cat << EOF
-#Release notes:  http://www.squid-cache.org/Versions/v3/3.1/RELEASENOTES.html
-#EOF
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-pre_remove() {
-  userdel proxy &> /dev/null
-  if [ ! -z "$(grep ^proxy: /etc/group)" ]; then
-    groupdel proxy &>/dev/null
-  fi
-}
-

Copied: squid/repos/community-i686/squid.install (from rev 102757, squid/trunk/squid.install)
===================================================================
--- community-i686/squid.install	                        (rev 0)
+++ community-i686/squid.install	2013-12-19 10:29:53 UTC (rev 102758)
@@ -0,0 +1,26 @@
+post_install() {
+  if [ -z "$(grep ^proxy: /etc/group)" ]; then
+    groupadd -g 15 proxy &>/dev/null
+  fi
+
+  id proxy &>/dev/null || \
+    useradd -u 15 -g proxy -d /var/empty proxy
+
+  chown proxy.proxy var/{cache,log}/squid
+
+#  cat << EOF
+#Release notes:  http://www.squid-cache.org/Versions/v3/3.1/RELEASENOTES.html
+#EOF
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  userdel proxy &> /dev/null
+  if [ ! -z "$(grep ^proxy: /etc/group)" ]; then
+    groupdel proxy &>/dev/null
+  fi
+}
+

Deleted: community-i686/squid.pam
===================================================================
--- community-i686/squid.pam	2013-12-19 10:29:27 UTC (rev 102757)
+++ community-i686/squid.pam	2013-12-19 10:29:53 UTC (rev 102758)
@@ -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 102757, squid/trunk/squid.pam)
===================================================================
--- community-i686/squid.pam	                        (rev 0)
+++ community-i686/squid.pam	2013-12-19 10:29:53 UTC (rev 102758)
@@ -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	2013-12-19 10:29:27 UTC (rev 102757)
+++ community-i686/squid.service	2013-12-19 10:29:53 UTC (rev 102758)
@@ -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 102757, squid/trunk/squid.service)
===================================================================
--- community-i686/squid.service	                        (rev 0)
+++ community-i686/squid.service	2013-12-19 10:29:53 UTC (rev 102758)
@@ -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/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2013-12-19 10:29:27 UTC (rev 102757)
+++ community-x86_64/PKGBUILD	2013-12-19 10:29:53 UTC (rev 102758)
@@ -1,83 +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.4.1
-pkgrel=1
-pkgdesc='Full-featured Web proxy cache server'
-arch=('x86_64' 'i686')
-url='http://www.squid-cache.org'
-depends=('openssl' 'pam' 'cron' 'perl' 'libltdl')
-makedepends=('libcap' 'krb5')
-license=('GPL')
-options=('emptydirs')
-backup=('etc/squid/squid.conf'
-        'etc/squid/mime.conf')
-install=$pkgname.install
-source=("http://www.squid-cache.org/Versions/v3/3.4/$pkgname-$pkgver.tar.bz2"
-        'squid.pam'
-        'squid.cron'
-        'squid.service')
-md5sums=('859cf167499d8a5430070dbde78c8eea'
-         '270977cdd9b47ef44c0c427ab9034777'
-         'a71425c4951f2e5b640d19e6a5048531'
-         'ceeb57c69ebb165676219222f109a24e')
-
-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 \
-    --enable-ssl \
-    --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-strict-error-checking
-  make
-}
-
-package() {
-  cd "$srcdir"
-
-  make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
-  install -Dm755 "$srcdir/squid.cron" "$pkgdir/etc/cron.weekly/squid"
-  install -Dm644 "$srcdir/squid.pam" "$pkgdir/etc/pam.d/squid"
-  install -Dm644 "$srcdir/squid.service" \
-    "$pkgdir/usr/lib/systemd/system/squid.service"
-  rm -rf "$pkgdir/run" "$pkgdir/var/run"
-}
-
-# vim: ts=2 sw=2 et ft=sh

Copied: squid/repos/community-x86_64/PKGBUILD (from rev 102757, squid/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-12-19 10:29:53 UTC (rev 102758)
@@ -0,0 +1,84 @@
+# $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.4.1
+pkgrel=2
+pkgdesc='Full-featured Web proxy cache server'
+arch=('x86_64' 'i686')
+url='http://www.squid-cache.org'
+depends=('openssl' 'pam' 'cron' 'perl' 'libltdl')
+makedepends=('libcap' 'krb5')
+license=('GPL')
+options=('emptydirs')
+backup=('etc/squid/squid.conf'
+        'etc/squid/mime.conf')
+install=$pkgname.install
+source=("http://www.squid-cache.org/Versions/v3/3.4/$pkgname-$pkgver.tar.bz2"
+        'squid.pam'
+        'squid.cron'
+        'squid.service')
+md5sums=('859cf167499d8a5430070dbde78c8eea'
+         '270977cdd9b47ef44c0c427ab9034777'
+         'a71425c4951f2e5b640d19e6a5048531'
+         'ceeb57c69ebb165676219222f109a24e')
+
+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 \
+    --enable-ssl \
+    --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
+  make
+}
+
+package() {
+  cd "$srcdir"
+
+  make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+  install -Dm755 "$srcdir/squid.cron" "$pkgdir/etc/cron.weekly/squid"
+  install -Dm644 "$srcdir/squid.pam" "$pkgdir/etc/pam.d/squid"
+  install -Dm644 "$srcdir/squid.service" \
+    "$pkgdir/usr/lib/systemd/system/squid.service"
+  rm -rf "$pkgdir/run" "$pkgdir/var/run"
+}
+
+# vim: ts=2 sw=2 et ft=sh

Deleted: community-x86_64/squid.cron
===================================================================
--- community-x86_64/squid.cron	2013-12-19 10:29:27 UTC (rev 102757)
+++ community-x86_64/squid.cron	2013-12-19 10:29:53 UTC (rev 102758)
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-# exit without error if no pidfile exists
-{ read pid </run/squid.pid; } 2>/dev/null || exit 0
-
-# make sure found PID really is a squid process
-if [ /proc/$pid/exec -ef /usr/bin/squid ]; then
-  /usr/bin/squid -k rotate
-fi

Copied: squid/repos/community-x86_64/squid.cron (from rev 102757, squid/trunk/squid.cron)
===================================================================
--- community-x86_64/squid.cron	                        (rev 0)
+++ community-x86_64/squid.cron	2013-12-19 10:29:53 UTC (rev 102758)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# exit without error if no pidfile exists
+{ read pid </run/squid.pid; } 2>/dev/null || exit 0
+
+# make sure found PID really is a squid process
+if [ /proc/$pid/exec -ef /usr/bin/squid ]; then
+  /usr/bin/squid -k rotate
+fi

Deleted: community-x86_64/squid.install
===================================================================
--- community-x86_64/squid.install	2013-12-19 10:29:27 UTC (rev 102757)
+++ community-x86_64/squid.install	2013-12-19 10:29:53 UTC (rev 102758)
@@ -1,26 +0,0 @@
-post_install() {
-  if [ -z "$(grep ^proxy: /etc/group)" ]; then
-    groupadd -g 15 proxy &>/dev/null
-  fi
-
-  id proxy &>/dev/null || \
-    useradd -u 15 -g proxy -d /var/empty proxy
-
-  chown proxy.proxy var/{cache,log}/squid
-
-#  cat << EOF
-#Release notes:  http://www.squid-cache.org/Versions/v3/3.1/RELEASENOTES.html
-#EOF
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-pre_remove() {
-  userdel proxy &> /dev/null
-  if [ ! -z "$(grep ^proxy: /etc/group)" ]; then
-    groupdel proxy &>/dev/null
-  fi
-}
-

Copied: squid/repos/community-x86_64/squid.install (from rev 102757, squid/trunk/squid.install)
===================================================================
--- community-x86_64/squid.install	                        (rev 0)
+++ community-x86_64/squid.install	2013-12-19 10:29:53 UTC (rev 102758)
@@ -0,0 +1,26 @@
+post_install() {
+  if [ -z "$(grep ^proxy: /etc/group)" ]; then
+    groupadd -g 15 proxy &>/dev/null
+  fi
+
+  id proxy &>/dev/null || \
+    useradd -u 15 -g proxy -d /var/empty proxy
+
+  chown proxy.proxy var/{cache,log}/squid
+
+#  cat << EOF
+#Release notes:  http://www.squid-cache.org/Versions/v3/3.1/RELEASENOTES.html
+#EOF
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  userdel proxy &> /dev/null
+  if [ ! -z "$(grep ^proxy: /etc/group)" ]; then
+    groupdel proxy &>/dev/null
+  fi
+}
+

Deleted: community-x86_64/squid.pam
===================================================================
--- community-x86_64/squid.pam	2013-12-19 10:29:27 UTC (rev 102757)
+++ community-x86_64/squid.pam	2013-12-19 10:29:53 UTC (rev 102758)
@@ -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 102757, squid/trunk/squid.pam)
===================================================================
--- community-x86_64/squid.pam	                        (rev 0)
+++ community-x86_64/squid.pam	2013-12-19 10:29:53 UTC (rev 102758)
@@ -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	2013-12-19 10:29:27 UTC (rev 102757)
+++ community-x86_64/squid.service	2013-12-19 10:29:53 UTC (rev 102758)
@@ -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 102757, squid/trunk/squid.service)
===================================================================
--- community-x86_64/squid.service	                        (rev 0)
+++ community-x86_64/squid.service	2013-12-19 10:29:53 UTC (rev 102758)
@@ -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




More information about the arch-commits mailing list