New package: polipo-1.0.4.1.

This commit is contained in:
Juan RP 2012-12-11 16:28:23 +01:00
parent f7d8d51c39
commit 0ec787f3b3
2 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,11 @@
[Unit]
Description=Polipo Proxy Server
After=network.target
[Service]
Type=forking
ExecStart=/usr/bin/polipo daemonise=true
User=nobody
[Install]
WantedBy=multi-user.target

35
srcpkgs/polipo/template Normal file
View file

@ -0,0 +1,35 @@
# Template file for 'polipo'
pkgname=polipo
version=1.0.4.1
revision=1
build_style=gnu-makefile
short_desc="A small and fast caching web proxy"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://www.pps.jussieu.fr/~jch/software/polipo/"
distfiles="http://freehaven.net/~chrisd/polipo/polipo-${version}.tar.gz"
checksum=8d6fbfdec600d42823e483b0143704c6f179c349803028a4d2cef056b79f7cfa
long_desc="
Polipo is a small and fast caching web proxy (a web cache, an HTTP proxy,
a proxy server). While Polipo was designed to be used by one person or a
small group of people, there is nothing that prevents it from being used
by a larger group."
systemd_services="polipo.service on"
do_build() {
make ${makejobs}
}
do_install() {
make PREFIX=${DESTDIR}/usr MANDIR=${DESTDIR}/usr/share/man \
INFODIR=${DESTDIR}/usr/share/info \
LOCAL_ROOT=${DESTDIR}/usr/share/polipo/www \
DISK_CACHE_ROOT=${DESTDIR}/var/cache/polipo install
# install sample config files
vinstall config.sample 644 usr/share/examples/polipo
vinstall forbidden.sample 644 usr/share/examples/polipo
# systemd service
vinstall ${FILESDIR}/polipo.service 644 usr/lib/systemd/system
}