ports/58211: Apache 2 port leaves some cruft on removal
Dimitry Andric
dim at tensor.xs4all.nl
Sat Oct 18 15:00:35 UTC 2003
>Number: 58211
>Category: ports
>Synopsis: Apache 2 port leaves some cruft on removal
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Oct 18 08:00:33 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Dimitry Andric
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD tensor.xs4all.nl 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Fri Oct 17 13:39:52 CEST 2003 root at vfbsd5.dim:/usr/obj/usr/src/sys/TENSOR i386
>Description:
On removal of the apache-2.0.47 port, the following file is left
behind:
${PREFIX}/www/data-dist/index.html.zh-cn.gb2312
Of course, due to this leftover file, the www/data-dist directory is
also never removed.
>How-To-Repeat:
- Install www/apache2 port.
- Remove www/apache2 port.
- Observe that ${PREFIX}/www/data-dist/index.html.zh-cn.gb2312 is
left behind.
>Fix:
diff -urd pkg-plist.orig pkg-plist
--- pkg-plist.orig Wed Jul 9 17:31:40 2003
+++ pkg-plist Sat Oct 18 15:53:42 2003
@@ -1251,6 +1251,7 @@
www/data-dist/index.html.ru.utf8
www/data-dist/index.html.sv
www/data-dist/index.html.var
+www/data-dist/index.html.zh-cn.gb2312
www/data-dist/index.html.zh-tw.big5
@unexec if [ -L %D/www/error ]; then rm -f %D/www/error; fi
@exec [ ! -d %D/www/error ] && ln -fs %D/www/error-dist %D/www/error
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list