From 48a9c5287f9e971bbe30e69f374b5ff754a25c62 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 21 Aug 2014 09:16:03 +0200 Subject: [PATCH] polipo: update to 1.1.1. --- srcpkgs/polipo/template | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/srcpkgs/polipo/template b/srcpkgs/polipo/template index b7c200fd67a..890f15ed898 100644 --- a/srcpkgs/polipo/template +++ b/srcpkgs/polipo/template @@ -1,14 +1,18 @@ # Template file for 'polipo' pkgname=polipo -version=1.0.4.1 -revision=3 -systemd_services="polipo.service on" +version=1.1.1 +revision=1 short_desc="A small and fast caching web proxy" maintainer="Juan RP " license="GPL-2" homepage="http://www.pps.jussieu.fr/~jch/software/polipo/" -distfiles="http://freehaven.net/~chrisd/polipo/polipo-${version}.tar.gz" -checksum=8d6fbfdec600d42823e483b0143704c6f179c349803028a4d2cef056b79f7cfa +distfiles="http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-${version}.tar.gz" +checksum=a259750793ab79c491d05fcee5a917faf7d9030fb5d15e05b3704e9c9e4ee015 + +build_options="systemd" +if [ "$build_option_systemd" ]; then + systemd_services="polipo.service on" +fi do_build() { make ${makejobs} @@ -23,6 +27,8 @@ do_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 + if [ "$build_option_systemd" ]; then + # systemd service + vinstall ${FILESDIR}/polipo.service 644 usr/lib/systemd/system + fi }