- Update to version 0.9.11

- Fix expiry script, because newer port install removes ".sh" extension from rc script
- Group mail is not necessary for polipo user

PR:		108729
Submitted by:	farrokhi@
Approved by:	maintainer
This commit is contained in:
Martin Wilke 2007-02-06 21:05:52 +00:00
parent 895fa4eb03
commit a1ee856235
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=184425
4 changed files with 12 additions and 7 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= polipo
PORTVERSION= 0.9.10
PORTVERSION= 0.9.11
CATEGORIES= www
MASTER_SITES= http://www.pps.jussieu.fr/~jch/software/files/polipo/ \
http://www.sax.de/~frank/polipo4bsd/files/

View file

@ -1,3 +1,3 @@
MD5 (polipo-0.9.10.tar.gz) = 257b2a2e0e435b40a614318e0f2a2099
SHA256 (polipo-0.9.10.tar.gz) = fe25ba6e39186c96278b8cb6803a04438ad2dc838bea704f163bbae86ecabd9d
SIZE (polipo-0.9.10.tar.gz) = 149303
MD5 (polipo-0.9.11.tar.gz) = 860f8f5e34be010379aa693e5224f84e
SHA256 (polipo-0.9.11.tar.gz) = 6f7c9ca5b61aeaa926a8ea2f307ed98b35d2fc6249be20b4092d9c97124d8abc
SIZE (polipo-0.9.11.tar.gz) = 149330

View file

@ -5,11 +5,17 @@
#
#
if [ -r %%DESTDIR%%%%PREFIX%%/etc/rc.d/polipo.sh ]
if [ -r %%PREFIX%%/etc/rc.d/polipo ]
then
echo ""
echo "polipo expiry:"
%%DESTDIR%%%%PREFIX%%/etc/rc.d/polipo.sh expire
%%PREFIX%%/etc/rc.d/polipo expire
fi
if [ -r %%PREFIX%%/etc/rc.d/polipo.sh ]
then
echo ""
echo "polipo expiry:"
%%PREFIX%%/etc/rc.d/polipo.sh expire
fi
exit 0

View file

@ -40,7 +40,6 @@ if [ "$2" = "PRE-INSTALL" ]; then
-s "/sbin/nologin" -d "/nonexistent" \
-c "polipo web cache"; \
then
pw groupmod mail -m $POLIPOUSER
echo "=> Added user \"$POLIPOUSER\"."
else
echo "=> Adding user \"$POLIPOUSER\" failed..."