[arch-commits] Commit in squid/repos/community-testing-x86_64 (12 files)
Sergej Pupykin
spupykin at gemini.archlinux.org
Mon Nov 15 12:14:42 UTC 2021
Date: Monday, November 15, 2021 @ 12:14:42
Author: spupykin
Revision: 1048143
archrelease: copy trunk to community-testing-x86_64
Added:
squid/repos/community-testing-x86_64/PKGBUILD
(from rev 1048142, squid/trunk/PKGBUILD)
squid/repos/community-testing-x86_64/squid-rotate.service
(from rev 1048142, squid/trunk/squid-rotate.service)
squid/repos/community-testing-x86_64/squid-rotate.timer
(from rev 1048142, squid/trunk/squid-rotate.timer)
squid/repos/community-testing-x86_64/squid.pam
(from rev 1048142, squid/trunk/squid.pam)
squid/repos/community-testing-x86_64/squid.sysusers
(from rev 1048142, squid/trunk/squid.sysusers)
squid/repos/community-testing-x86_64/squid.tmpfiles
(from rev 1048142, squid/trunk/squid.tmpfiles)
Deleted:
squid/repos/community-testing-x86_64/PKGBUILD
squid/repos/community-testing-x86_64/squid-rotate.service
squid/repos/community-testing-x86_64/squid-rotate.timer
squid/repos/community-testing-x86_64/squid.pam
squid/repos/community-testing-x86_64/squid.sysusers
squid/repos/community-testing-x86_64/squid.tmpfiles
----------------------+
PKGBUILD | 219 ++++++++++++++++++++++++-------------------------
squid-rotate.service | 18 ++--
squid-rotate.timer | 20 ++--
squid.pam | 8 -
squid.sysusers | 2
squid.tmpfiles | 6 -
6 files changed, 137 insertions(+), 136 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-15 12:14:29 UTC (rev 1048142)
+++ PKGBUILD 2021-11-15 12:14:42 UTC (rev 1048143)
@@ -1,109 +0,0 @@
-# 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=5.2
-pkgrel=2
-pkgdesc='Full-featured Web proxy cache server'
-arch=('x86_64')
-url='http://www.squid-cache.org'
-depends=('openssl' 'pam' 'perl' 'libltdl' 'libcap' 'nettle' 'gnutls' 'libnsl' 'libxml2'
- 'systemd-libs')
-makedepends=('krb5')
-license=('GPL')
-options=('emptydirs')
-backup=('etc/squid/squid.conf'
- 'etc/squid/cachemgr.conf'
- 'etc/squid/errorpage.css'
- 'etc/squid/mime.conf')
-validpgpkeys=('EA31CC5E9488E5168D2DCC5EB268E706FF5CF463'
- 'B06884EDB779C89B044E64E3CD6DBF8EF3B17D3E')
-source=("http://www.squid-cache.org/Versions/v5/$pkgname-$pkgver.tar.xz"{,.asc}
- 'squid.pam'
- 'squid.tmpfiles'
- 'squid.sysusers'
- 'squid-rotate.service'
- 'squid-rotate.timer')
-sha256sums=('ea921f055c6cc4b3c6542d995f5a7c5980f2f91adaaa10fe8260d0f1527aaf80'
- 'SKIP'
- '11fb388f8679fd6461e0de006810ea608a3686fffda16904b0ed71f412be499c'
- '495f54e51f6ec1e4dce87090d76718aea1eb37559c4439d876dd39598163062a'
- 'c903eb86e6968b9d3bd0a9ad3335e8ce76a718b6217251e9dd7e66d5cf1ac94a'
- '3a97aa6bf6dcdc427e73bb2f36afdeaaf2bbf7dd2c0bbb7f1a948850198a8b7c'
- '8bc77fa1f653a17a4956feac042be9577ba30a8a43480b443fbd67640ae711ee')
-
-prepare() {
- cd "$srcdir/$pkgname-$pkgver"
- sed -i 's|/var/run/|/run/|g' tools/systemd/squid.service
-}
-
-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,rock" \
- --enable-delay-pools \
- --enable-arp-acl \
- --with-openssl \
- --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
-
- chmod 07755 "$pkgdir"/usr/lib/squid/basic_pam_auth
-
- install -Dm644 "$srcdir/squid.pam" "$pkgdir/usr/lib/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 "$pkgname-$pkgver/tools/systemd/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/{cache,log,run}
-}
-
-# vim: ts=2 sw=2 et ft=sh
Copied: squid/repos/community-testing-x86_64/PKGBUILD (from rev 1048142, squid/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-15 12:14:42 UTC (rev 1048143)
@@ -0,0 +1,110 @@
+# 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=5.2
+pkgrel=3
+pkgdesc='Full-featured Web proxy cache server'
+arch=('x86_64')
+url='http://www.squid-cache.org'
+depends=('openssl' 'pam' 'perl' 'libltdl' 'libcap' 'nettle' 'gnutls' 'libnsl' 'libxml2'
+ 'systemd-libs')
+makedepends=('krb5' 'libldap' 'systemd')
+optdepends=('libldap')
+license=('GPL')
+options=('emptydirs')
+backup=('etc/squid/squid.conf'
+ 'etc/squid/cachemgr.conf'
+ 'etc/squid/errorpage.css'
+ 'etc/squid/mime.conf')
+validpgpkeys=('EA31CC5E9488E5168D2DCC5EB268E706FF5CF463'
+ 'B06884EDB779C89B044E64E3CD6DBF8EF3B17D3E')
+source=("http://www.squid-cache.org/Versions/v5/$pkgname-$pkgver.tar.xz"{,.asc}
+ 'squid.pam'
+ 'squid.tmpfiles'
+ 'squid.sysusers'
+ 'squid-rotate.service'
+ 'squid-rotate.timer')
+sha256sums=('ea921f055c6cc4b3c6542d995f5a7c5980f2f91adaaa10fe8260d0f1527aaf80'
+ 'SKIP'
+ '11fb388f8679fd6461e0de006810ea608a3686fffda16904b0ed71f412be499c'
+ '495f54e51f6ec1e4dce87090d76718aea1eb37559c4439d876dd39598163062a'
+ 'c903eb86e6968b9d3bd0a9ad3335e8ce76a718b6217251e9dd7e66d5cf1ac94a'
+ '3a97aa6bf6dcdc427e73bb2f36afdeaaf2bbf7dd2c0bbb7f1a948850198a8b7c'
+ '8bc77fa1f653a17a4956feac042be9577ba30a8a43480b443fbd67640ae711ee')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+ sed -i 's|/var/run/|/run/|g' tools/systemd/squid.service
+}
+
+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,rock" \
+ --enable-delay-pools \
+ --enable-arp-acl \
+ --with-openssl \
+ --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
+
+ chmod 07755 "$pkgdir"/usr/lib/squid/basic_pam_auth
+
+ install -Dm644 "$srcdir/squid.pam" "$pkgdir/usr/lib/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 "$pkgname-$pkgver/tools/systemd/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/{cache,log,run}
+}
+
+# vim: ts=2 sw=2 et ft=sh
Deleted: squid-rotate.service
===================================================================
--- squid-rotate.service 2021-11-15 12:14:29 UTC (rev 1048142)
+++ squid-rotate.service 2021-11-15 12:14:42 UTC (rev 1048143)
@@ -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-testing-x86_64/squid-rotate.service (from rev 1048142, squid/trunk/squid-rotate.service)
===================================================================
--- squid-rotate.service (rev 0)
+++ squid-rotate.service 2021-11-15 12:14:42 UTC (rev 1048143)
@@ -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: squid-rotate.timer
===================================================================
--- squid-rotate.timer 2021-11-15 12:14:29 UTC (rev 1048142)
+++ squid-rotate.timer 2021-11-15 12:14:42 UTC (rev 1048143)
@@ -1,10 +0,0 @@
-[Unit]
-Description=Weekly rotation of squid log files
-
-[Timer]
-OnCalendar=weekly
-AccuracySec=1d
-Persistent=true
-
-[Install]
-WantedBy=timers.target
Copied: squid/repos/community-testing-x86_64/squid-rotate.timer (from rev 1048142, squid/trunk/squid-rotate.timer)
===================================================================
--- squid-rotate.timer (rev 0)
+++ squid-rotate.timer 2021-11-15 12:14:42 UTC (rev 1048143)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Weekly rotation of squid log files
+
+[Timer]
+OnCalendar=weekly
+AccuracySec=1d
+Persistent=true
+
+[Install]
+WantedBy=timers.target
Deleted: squid.pam
===================================================================
--- squid.pam 2021-11-15 12:14:29 UTC (rev 1048142)
+++ squid.pam 2021-11-15 12:14:42 UTC (rev 1048143)
@@ -1,4 +0,0 @@
-#/etc/pam.d/squid
-#
-auth required pam_unix.so
-account required pam_unix.so
Copied: squid/repos/community-testing-x86_64/squid.pam (from rev 1048142, squid/trunk/squid.pam)
===================================================================
--- squid.pam (rev 0)
+++ squid.pam 2021-11-15 12:14:42 UTC (rev 1048143)
@@ -0,0 +1,4 @@
+#/etc/pam.d/squid
+#
+auth required pam_unix.so
+account required pam_unix.so
Deleted: squid.sysusers
===================================================================
--- squid.sysusers 2021-11-15 12:14:29 UTC (rev 1048142)
+++ squid.sysusers 2021-11-15 12:14:42 UTC (rev 1048143)
@@ -1 +0,0 @@
-u proxy 15 - /var/empty
Copied: squid/repos/community-testing-x86_64/squid.sysusers (from rev 1048142, squid/trunk/squid.sysusers)
===================================================================
--- squid.sysusers (rev 0)
+++ squid.sysusers 2021-11-15 12:14:42 UTC (rev 1048143)
@@ -0,0 +1 @@
+u proxy 15 - /var/empty
Deleted: squid.tmpfiles
===================================================================
--- squid.tmpfiles 2021-11-15 12:14:29 UTC (rev 1048142)
+++ squid.tmpfiles 2021-11-15 12:14:42 UTC (rev 1048143)
@@ -1,3 +0,0 @@
-d /run/squid 0755 proxy proxy -
-d /var/cache/squid 0755 proxy proxy -
-d /var/log/squid 0755 proxy proxy -
Copied: squid/repos/community-testing-x86_64/squid.tmpfiles (from rev 1048142, squid/trunk/squid.tmpfiles)
===================================================================
--- squid.tmpfiles (rev 0)
+++ squid.tmpfiles 2021-11-15 12:14:42 UTC (rev 1048143)
@@ -0,0 +1,3 @@
+d /run/squid 0755 proxy proxy -
+d /var/cache/squid 0755 proxy proxy -
+d /var/log/squid 0755 proxy proxy -
More information about the arch-commits
mailing list