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
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 18 08:00:33 PDT 2003
>Originator:     Dimitry Andric
>Release:        FreeBSD 5.1-CURRENT i386
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
On removal of the apache-2.0.47 port, the following file is left


Of course, due to this leftover file, the www/data-dist directory is
also never removed.
- Install www/apache2 port.
- Remove www/apache2 port.
- Observe that ${PREFIX}/www/data-dist/index.html.zh-cn.gb2312 is
  left behind.
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 @@
 @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

More information about the freebsd-ports-bugs mailing list