View | Details | Raw Unified | Return to bug 65918
Collapse All | Expand All

(-)Makefile (-2 / +2 lines)
Lines 29-35 Link Here
29
29
30
PORTNAME=	squid
30
PORTNAME=	squid
31
PORTVERSION=	2.5.5
31
PORTVERSION=	2.5.5
32
PORTREVISION=	5
32
PORTREVISION=	6
33
CATEGORIES=	www
33
CATEGORIES=	www
34
MASTER_SITES=	\
34
MASTER_SITES=	\
35
		ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \
35
		ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \
Lines 314-320 Link Here
314
	    >>${TMPPLIST}
314
	    >>${TMPPLIST}
315
	@${ECHO_CMD} "@dirrm etc/squid/errors/${d}" >>${TMPPLIST}
315
	@${ECHO_CMD} "@dirrm etc/squid/errors/${d}" >>${TMPPLIST}
316
.endfor
316
.endfor
317
	@${ECHO_CMD} "@unexec rmdir etc/squid/errors 2>/dev/null || true" \
317
	@${ECHO_CMD} "@unexec rmdir %D/etc/squid/errors 2>/dev/null || true" \
318
	    >>${TMPPLIST}
318
	    >>${TMPPLIST}
319
319
320
changeuser:
320
changeuser:
(-)pkg-deinstall (-4 / +4 lines)
Lines 4-10 Link Here
4
#
4
#
5
5
6
PATH=/bin:/usr/bin:/usr/sbin
6
PATH=/bin:/usr/bin:/usr/sbin
7
pkgname=$1
8
7
9
case $2 in
8
case $2 in
10
DEINSTALL)
9
DEINSTALL)
Lines 16-25 Link Here
16
POST-DEINSTALL)
15
POST-DEINSTALL)
17
	rmdir ${PKG_PREFIX}/etc/squid 2>/dev/null
16
	rmdir ${PKG_PREFIX}/etc/squid 2>/dev/null
18
	rmdir ${PKG_PREFIX}/squid/cache 2>/dev/null
17
	rmdir ${PKG_PREFIX}/squid/cache 2>/dev/null
19
	rmdir -p ${PKG_PREFIX}/squid/logs 2>/dev/null
18
	rmdir ${PKG_PREFIX}/squid/logs 2>/dev/null
20
	echo "===> post-deinstallation information for ${pkgname}"
19
	rmdir ${PKG_PREFIX}/squid 2>/dev/null
20
	echo "===> post-deinstallation information for $1"
21
	echo ""
21
	echo ""
22
	echo "     Please note that ${pkgname} was not completely removed"
22
	echo "     Please note that $1 was not completely removed"
23
	echo "     from this system."
23
	echo "     from this system."
24
	echo ""
24
	echo ""
25
	echo "     The cache and log directories, squid's user account,"
25
	echo "     The cache and log directories, squid's user account,"

Return to bug 65918