[arch-commits] Commit in tinyproxy/trunk (7 files)
George Rawlinson
grawlinson at gemini.archlinux.org
Tue Feb 15 08:00:57 UTC 2022
Date: Tuesday, February 15, 2022 @ 08:00:57
Author: grawlinson
Revision: 1133327
upgpkg: tinyproxy 1.11.0-1
* New upstream release.
* Remove validpgpkeys as upstream has stopped signing releases.
* Rename systemd units.
Added:
tinyproxy/trunk/systemd.service
tinyproxy/trunk/sysusers.conf
tinyproxy/trunk/tmpfiles.conf
Modified:
tinyproxy/trunk/PKGBUILD
Deleted:
tinyproxy/trunk/tinyproxy.service
tinyproxy/trunk/tinyproxy.sysusers.conf
tinyproxy/trunk/tinyproxy.tmpfiles.conf
-------------------------+
PKGBUILD | 62 +++++++++++++++++++++++++++-------------------
systemd.service | 12 ++++++++
sysusers.conf | 1
tinyproxy.service | 12 --------
tinyproxy.sysusers.conf | 1
tinyproxy.tmpfiles.conf | 1
tmpfiles.conf | 1
7 files changed, 51 insertions(+), 39 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-15 07:05:42 UTC (rev 1133326)
+++ PKGBUILD 2022-02-15 08:00:57 UTC (rev 1133327)
@@ -3,48 +3,60 @@
# Contributor: Andrea Zucchelli <zukka77 at gmail.com>
pkgname=tinyproxy
-pkgver=1.10.0
-pkgrel=3
+pkgver=1.11.0
+pkgrel=1
pkgdesc='A light-weight HTTP proxy daemon for POSIX operating systems.'
arch=('x86_64')
url='https://tinyproxy.github.io/'
license=('GPL')
-depends=(glibc)
+depends=('glibc')
makedepends=('asciidoc')
backup=('etc/tinyproxy/tinyproxy.conf')
-validpgpkeys=('38871449E065D635620A621EC94F4938184F9034') # Michael Adam
-source=("https://github.com/${pkgname}/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.asc}
- 'tinyproxy.sysusers.conf'
- 'tinyproxy.tmpfiles.conf'
- 'tinyproxy.service'
- config.patch)
-md5sums=('3a1321e4942abb9b6cb370e7c2a3c59e'
- 'SKIP'
- 'ca7855ca22a2676061ef8b246c8bf6f4'
- 'b747d0f253ba7bb3f604e69a35a278bf'
- 'e1e9212461cec588df219c35aba78d04'
- '9739e020c40abefd6e921e9cff854f35')
+options=('debug')
+source=(
+ "https://github.com/$pkgname/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"
+ 'sysusers.conf'
+ 'tmpfiles.conf'
+ 'systemd.service'
+ 'config.patch'
+)
+sha512sums=('c0ff2a90da2352e6021efc87d1293b85f2a7588b2a1ab13bd96d906382eda8188b22b01f9acb2d200fd570bf3ec9484fa370cae6834d1f055c0af1631d22ae9d'
+ '5b79b2be628445650cd80b1310fa84f8e7b36a9f19291e48061d4f2ff892232df15be27aecbcb0c23cb13d97b1601979dc7781cc8b73ba3ddab7f54219564496'
+ '59d1efcc996e94ae684708ef06263c61f17680a776938a90ce145cf6f0243ed253d402cd886dab7c2c287f47dbc6f02f0e34904433e7b6756cfaa18a1b766b4e'
+ 'b93714f5670c11caaa10322c282575f28c483437d173c2762d4d5943c22dda1f0c297533d81b617f03aa0f7dbd5f33cb0da003db9f36b6ab796369bd06075693'
+ '86fd608b6ca0ad9b7c581ea02ab005dcf0c1d59e6f12e15a0375ae3bd73e7c1d5316f0d4d00155623c6bef64699924f0f7df0f35e8bd4cdaeb88068743a5d4da')
+b2sums=('6ea74ef0fff22fbc6e04b37519151fda771a7d3e789d94cbd2a77a76dce7b16151cfbad83ac665a5c1fdb7334cd4d26ed6d2bc73f70b3858ffe439b16698fd2e'
+ '701aa231eefe2d657d4d9d1b97cd15a1e58699ab685040ad33e9ff475a70084da557067a9804e0b4671f5cc2cd4b1058721e1c894293c26e1ec1544d278c9782'
+ 'a4e1cf0c8cbd78360175b8260c7d83885dfc9560a78faa6fc111f8611b6dd43c3cbf9fa62e60f8333cac4d0bededbe048c626d8a85d4f3c6c1bfa1ae249c599e'
+ '54acd88224964c4ee87f6f06983c385ada52f8a0acf7eac7ca35ccbcc71f8b930b5753efa034a7436ace8ad97e17f28f39f76978c125d127ff987ec47441842d'
+ '5340bf629907a4ea9fdc4bfeb180e715bd960a3d371c081aea4940ccb12bc32d670ba7b818697ff7866fde9821ec70d4c0bee2d3e53c79ea5bd24708e1f05eff')
prepare() {
- cd $pkgname-$pkgver
+ cd "$pkgname-$pkgver"
+
patch -p0 -i ../config.patch
}
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "$pkgname-$pkgver"
- ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin \
- --localstatedir=/var --enable-transparent
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --sbindir=/usr/bin \
+ --localstatedir=/var \
+ --enable-transparent
+
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ # systemd integration
+ install -vDm644 systemd.service "$pkgdir/usr/lib/systemd/system/$pkgname.service"
+ install -vDm644 sysusers.conf "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
+ install -vDm644 tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
- make DESTDIR="${pkgdir}" install
- install -Dm0644 "${srcdir}/tinyproxy.tmpfiles.conf" "${pkgdir}/usr/lib/tmpfiles.d/tinyproxy.conf"
- install -Dm0644 "${srcdir}/tinyproxy.sysusers.conf" "${pkgdir}/usr/lib/sysusers.d/tinyproxy.conf"
+ cd "$pkgname-$pkgver"
- install -Dm0644 "${srcdir}/tinyproxy.service" \
- "${pkgdir}/usr/lib/systemd/system/tinyproxy.service"
+ make DESTDIR="$pkgdir" install
}
Added: systemd.service
===================================================================
--- systemd.service (rev 0)
+++ systemd.service 2022-02-15 08:00:57 UTC (rev 1133327)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Tinyproxy Web Proxy Server
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/tinyproxy -c /etc/tinyproxy/tinyproxy.conf
+PIDFile=/run/tinyproxy/tinyproxy.pid
+PrivateDevices=yes
+
+[Install]
+WantedBy=multi-user.target
Added: sysusers.conf
===================================================================
--- sysusers.conf (rev 0)
+++ sysusers.conf 2022-02-15 08:00:57 UTC (rev 1133327)
@@ -0,0 +1 @@
+u tinyproxy 186 "HTTP proxy daemon" -
Deleted: tinyproxy.service
===================================================================
--- tinyproxy.service 2022-02-15 07:05:42 UTC (rev 1133326)
+++ tinyproxy.service 2022-02-15 08:00:57 UTC (rev 1133327)
@@ -1,12 +0,0 @@
-[Unit]
-Description=Tinyproxy Web Proxy Server
-After=network.target
-
-[Service]
-Type=forking
-ExecStart=/usr/bin/tinyproxy -c /etc/tinyproxy/tinyproxy.conf
-PIDFile=/run/tinyproxy/tinyproxy.pid
-PrivateDevices=yes
-
-[Install]
-WantedBy=multi-user.target
Deleted: tinyproxy.sysusers.conf
===================================================================
--- tinyproxy.sysusers.conf 2022-02-15 07:05:42 UTC (rev 1133326)
+++ tinyproxy.sysusers.conf 2022-02-15 08:00:57 UTC (rev 1133327)
@@ -1 +0,0 @@
-u tinyproxy 186 "HTTP proxy daemon" -
Deleted: tinyproxy.tmpfiles.conf
===================================================================
--- tinyproxy.tmpfiles.conf 2022-02-15 07:05:42 UTC (rev 1133326)
+++ tinyproxy.tmpfiles.conf 2022-02-15 08:00:57 UTC (rev 1133327)
@@ -1 +0,0 @@
-d /run/tinyproxy 0770 tinyproxy tinyproxy -
Added: tmpfiles.conf
===================================================================
--- tmpfiles.conf (rev 0)
+++ tmpfiles.conf 2022-02-15 08:00:57 UTC (rev 1133327)
@@ -0,0 +1 @@
+d /run/tinyproxy 0770 tinyproxy tinyproxy -
More information about the arch-commits
mailing list