[arch-commits] Commit in tinyproxy/repos (6 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Jul 7 20:09:48 UTC 2020


    Date: Tuesday, July 7, 2020 @ 20:09:47
  Author: foutrelis
Revision: 660205

archrelease: copy trunk to community-staging-x86_64

Added:
  tinyproxy/repos/community-staging-x86_64/
  tinyproxy/repos/community-staging-x86_64/PKGBUILD
    (from rev 660204, tinyproxy/trunk/PKGBUILD)
  tinyproxy/repos/community-staging-x86_64/config.patch
    (from rev 660204, tinyproxy/trunk/config.patch)
  tinyproxy/repos/community-staging-x86_64/tinyproxy.service
    (from rev 660204, tinyproxy/trunk/tinyproxy.service)
  tinyproxy/repos/community-staging-x86_64/tinyproxy.sysusers.conf
    (from rev 660204, tinyproxy/trunk/tinyproxy.sysusers.conf)
  tinyproxy/repos/community-staging-x86_64/tinyproxy.tmpfiles.conf
    (from rev 660204, tinyproxy/trunk/tinyproxy.tmpfiles.conf)

-------------------------+
 PKGBUILD                |   50 ++++++++++++++++++++++++++++++++++++++++++++++
 config.patch            |   31 ++++++++++++++++++++++++++++
 tinyproxy.service       |   12 +++++++++++
 tinyproxy.sysusers.conf |    1 
 tinyproxy.tmpfiles.conf |    1 
 5 files changed, 95 insertions(+)

Copied: tinyproxy/repos/community-staging-x86_64/PKGBUILD (from rev 660204, tinyproxy/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 20:09:47 UTC (rev 660205)
@@ -0,0 +1,50 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Daniel Micay <danielmicay at gmail.com>
+# Contributor: Andrea Zucchelli <zukka77 at gmail.com>
+
+pkgname=tinyproxy
+pkgver=1.10.0
+pkgrel=2
+pkgdesc='A light-weight HTTP proxy daemon for POSIX operating systems.'
+arch=('x86_64')
+url='https://banu.com/tinyproxy/'
+license=('GPL')
+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')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -p0 -i ../config.patch
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin \
+     --localstatedir=/var --enable-transparent
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  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"
+}

Copied: tinyproxy/repos/community-staging-x86_64/config.patch (from rev 660204, tinyproxy/trunk/config.patch)
===================================================================
--- community-staging-x86_64/config.patch	                        (rev 0)
+++ community-staging-x86_64/config.patch	2020-07-07 20:09:47 UTC (rev 660205)
@@ -0,0 +1,31 @@
+--- etc/tinyproxy.conf.in	2010-03-03 04:37:24.000000000 -0500
++++ etc/tinyproxy.conf.in.arch	2014-04-11 15:43:53.340725405 -0400
+@@ -12,8 +12,8 @@
+ # as the root user. Either the user or group name or the UID or GID
+ # number may be used.
+ #
+-User nobody
+-Group nobody
++User tinyproxy
++Group tinyproxy
+ 
+ #
+ # Port: Specify the port which tinyproxy will listen on.  Please note
+@@ -27,7 +27,7 @@
+ # only one. If this is commented out, tinyproxy will bind to all
+ # interfaces present.
+ #
+-#Listen 192.168.0.1
++Listen 127.0.0.1
+ 
+ #
+ # Bind: This allows you to specify which interface will be used for
+@@ -99,7 +99,7 @@
+ # option must not be enabled if the Logfile directive is being used.
+ # These two directives are mutually exclusive.
+ #
+-#Syslog On
++Syslog On
+ 
+ #
+ # LogLevel: 

Copied: tinyproxy/repos/community-staging-x86_64/tinyproxy.service (from rev 660204, tinyproxy/trunk/tinyproxy.service)
===================================================================
--- community-staging-x86_64/tinyproxy.service	                        (rev 0)
+++ community-staging-x86_64/tinyproxy.service	2020-07-07 20:09:47 UTC (rev 660205)
@@ -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

Copied: tinyproxy/repos/community-staging-x86_64/tinyproxy.sysusers.conf (from rev 660204, tinyproxy/trunk/tinyproxy.sysusers.conf)
===================================================================
--- community-staging-x86_64/tinyproxy.sysusers.conf	                        (rev 0)
+++ community-staging-x86_64/tinyproxy.sysusers.conf	2020-07-07 20:09:47 UTC (rev 660205)
@@ -0,0 +1 @@
+u tinyproxy 186 "HTTP proxy daemon" -

Copied: tinyproxy/repos/community-staging-x86_64/tinyproxy.tmpfiles.conf (from rev 660204, tinyproxy/trunk/tinyproxy.tmpfiles.conf)
===================================================================
--- community-staging-x86_64/tinyproxy.tmpfiles.conf	                        (rev 0)
+++ community-staging-x86_64/tinyproxy.tmpfiles.conf	2020-07-07 20:09:47 UTC (rev 660205)
@@ -0,0 +1 @@
+d /run/tinyproxy 0770 tinyproxy tinyproxy -



More information about the arch-commits mailing list