[arch-commits] Commit in tinyproxy/trunk (3 files)
Eli Schwartz
eschwartz at archlinux.org
Sun Jan 14 05:27:14 UTC 2018
Date: Sunday, January 14, 2018 @ 05:27:10
Author: eschwartz
Revision: 281870
upgpkg: tinyproxy 1.8.4-4
migrate to systemd-sysusers
Added:
tinyproxy/trunk/tinyproxy.sysusers.conf
Modified:
tinyproxy/trunk/PKGBUILD
Deleted:
tinyproxy/trunk/tinyproxy.install
-------------------------+
PKGBUILD | 6 ++++--
tinyproxy.install | 19 -------------------
tinyproxy.sysusers.conf | 1 +
3 files changed, 5 insertions(+), 21 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-14 01:32:24 UTC (rev 281869)
+++ PKGBUILD 2018-01-14 05:27:10 UTC (rev 281870)
@@ -4,7 +4,7 @@
pkgname=tinyproxy
pkgver=1.8.4
-pkgrel=3
+pkgrel=4
pkgdesc='A light-weight HTTP proxy daemon for POSIX operating systems.'
arch=('x86_64')
url='https://banu.com/tinyproxy/'
@@ -11,15 +11,16 @@
license=('GPL')
depends=(glibc)
makedepends=('asciidoc')
-install="${pkgname}.install"
backup=('etc/tinyproxy/tinyproxy.conf')
validpgpkeys=('38871449E065D635620A621EC94F4938184F9034') # Michael Adam
source=("https://www.samba.org/~obnox/${pkgname}/release/${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.asc}
+ 'tinyproxy.sysusers.conf'
'tinyproxy.tmpfiles.conf'
'tinyproxy.service'
config.patch)
md5sums=('7d3378ad9681be3423c491775f7d9e35'
'SKIP'
+ 'ca7855ca22a2676061ef8b246c8bf6f4'
'b747d0f253ba7bb3f604e69a35a278bf'
'e1e9212461cec588df219c35aba78d04'
'9739e020c40abefd6e921e9cff854f35')
@@ -42,6 +43,7 @@
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"
install -Dm0644 "${srcdir}/tinyproxy.service" \
"${pkgdir}/usr/lib/systemd/system/tinyproxy.service"
Deleted: tinyproxy.install
===================================================================
--- tinyproxy.install 2018-01-14 01:32:24 UTC (rev 281869)
+++ tinyproxy.install 2018-01-14 05:27:10 UTC (rev 281870)
@@ -1,19 +0,0 @@
-post_install() {
- getent group tinyproxy &>/dev/null || groupadd -g 186 tinyproxy >/dev/null
- getent passwd tinyproxy &>/dev/null || useradd -u 186 -g tinyproxy -d / \
- -c 'HTTP proxy daemon' \
- -s /bin/nologin \
- tinyproxy >/dev/null
- if [ ! -d /run/tinyproxy ]; then
- install -dm0770 -o tinyproxy -g tinyproxy /run/tinyproxy
- fi
-}
-
-post_upgrade() {
- post_install "$@"
-
- if [[ $(vercmp $2 1.8.3-7) -le 0 ]]; then
- post_install
- chown -R tinyproxy:tinyproxy /run/tinyproxy
- fi
-}
Added: tinyproxy.sysusers.conf
===================================================================
--- tinyproxy.sysusers.conf (rev 0)
+++ tinyproxy.sysusers.conf 2018-01-14 05:27:10 UTC (rev 281870)
@@ -0,0 +1 @@
+u tinyproxy 186 "HTTP proxy daemon" -
More information about the arch-commits
mailing list