summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Rojas2021-05-08 09:22:08 +0000
committerAntonio Rojas2021-05-08 09:22:08 +0000
commitd14f80efad5d6b65d12e9c595cbd0bcd3114c761 (patch)
tree1ab7cc4b19d3aea7871f7561939a0c2876590a5d
downloadaur-d14f80efad5d6b65d12e9c595cbd0bcd3114c761.tar.gz
Dropped from repos
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD57
-rw-r--r--polipo.service11
-rw-r--r--polipo.sysusers1
-rw-r--r--polipo.tmpfiles1
5 files changed, 93 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..2d1b12b1a5c7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = polipo
+ pkgdesc = A small and fast caching web proxy.
+ pkgver = 1.1.1
+ pkgrel = 4
+ url = http://www.pps.jussieu.fr/~jch/software/polipo/
+ arch = x86_64
+ license = GPL
+ makedepends = texinfo
+ depends = bash
+ source = http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-1.1.1.tar.gz
+ source = http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-1.1.1.tar.gz.asc
+ source = polipo.sysusers
+ source = polipo.tmpfiles
+ source = polipo.service
+ validpgpkeys = F8E70AAD74D32CAC27B9AFD62652C881EADB5526
+ md5sums = 86939e331e656f638271f578b6e3f893
+ md5sums = SKIP
+ md5sums = 3287e00f0e103a0e52c625efdabe5a37
+ md5sums = 6cc953fb59920f4448d8cac53ac3fbc1
+ md5sums = 3861a067f6cdd2b8afcee1de97678902
+
+pkgname = polipo
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..bf99a1cf1ec3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,57 @@
+# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de>
+# Contributor: Jelle van der Waa <jelle vdwaa nl>
+# Contributor: Daniel Micay <danielmicay@gmail.com>
+# Contributor: Thomas Holmquist <thomas@vorget.com>
+# Contributor: Jan Boehringer <ja(a)bm-boehringer.de>
+# Contributor: Alex Griffin <griffin.aj(a)gmail.com>
+
+pkgname=polipo
+pkgver=1.1.1
+pkgrel=4
+pkgdesc="A small and fast caching web proxy."
+arch=('x86_64')
+url="http://www.pps.jussieu.fr/~jch/software/polipo/"
+license=('GPL')
+depends=('bash')
+makedepends=('texinfo')
+source=(http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-$pkgver.tar.gz{,.asc}
+ polipo.sysusers
+ polipo.tmpfiles
+ polipo.service)
+validpgpkeys=('F8E70AAD74D32CAC27B9AFD62652C881EADB5526')
+md5sums=('86939e331e656f638271f578b6e3f893'
+ 'SKIP'
+ '3287e00f0e103a0e52c625efdabe5a37'
+ '6cc953fb59920f4448d8cac53ac3fbc1'
+ '3861a067f6cdd2b8afcee1de97678902')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make PREFIX="$pkgdir/usr" \
+ MANDIR="$pkgdir/usr/share/man" \
+ INFODIR="$pkgdir/usr/share/info" \
+ LOCAL_ROOT="$pkgdir/usr/share/polipo/www" \
+ DISK_CACHE_ROOT="$pkgdir/var/cache/polipo" \
+ install
+
+ # install config files
+ install -Dm 644 config.sample "$pkgdir/etc/polipo/config.sample"
+ install -Dm 644 forbidden.sample "$pkgdir/etc/polipo/forbidden.sample"
+
+ # install license
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/polipo/LICENSE"
+
+ # install systemd service
+ install -Dm 644 "$srcdir/polipo.service" "$pkgdir/usr/lib/systemd/system/polipo.service"
+
+ # install system user
+ install -Dm644 "$srcdir/polipo.sysusers" "$pkgdir/usr/lib/sysusers.d/polipo.conf"
+ install -Dm644 "$srcdir/polipo.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/polipo.conf"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/polipo.service b/polipo.service
new file mode 100644
index 000000000000..185d6db36a2b
--- /dev/null
+++ b/polipo.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Polipo Proxy Server
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/polipo
+User=polipo
+PrivateDevices=yes
+
+[Install]
+WantedBy=multi-user.target
diff --git a/polipo.sysusers b/polipo.sysusers
new file mode 100644
index 000000000000..d3f69a469e02
--- /dev/null
+++ b/polipo.sysusers
@@ -0,0 +1 @@
+u polipo 185 "Caching web proxy" /var/cache/polipo
diff --git a/polipo.tmpfiles b/polipo.tmpfiles
new file mode 100644
index 000000000000..98db0923a2c1
--- /dev/null
+++ b/polipo.tmpfiles
@@ -0,0 +1 @@
+d /var/cache/polipo 0755 polipo polipo - -