[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-java
Subject:    Re: ports/75348: Tomcat port overwrites server.xml config file
From:       Jiri Novak <bati () nostromo ! cz>
Date:       2004-12-22 8:20:28
Message-ID: 200412220820.iBM8KSRC032065 () freefall ! freebsd ! org
[Download RAW message or body]

The following reply was made to PR ports/75348; it has been noted by GNATS.

From: Jiri Novak <bati@nostromo.cz>
To: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
Cc: freebsd-gnats-submit@freebsd.org, Kang Liu <liukang@bjut.edu.cn>
Subject: Re: ports/75348: Tomcat port overwrites server.xml config file
Date: Wed, 22 Dec 2004 09:10:56 +0100

 Herve Quiroz wrote:
 > Same here. I can't reproduce the error:
 > 
 > $ cd /usr/ports/www/jakarta-tomcat5
 > $ make install
 > 
 > [...]
 >         Installing local configuration file: \
/usr/local/jakarta-tomcat5.0/conf/server.xml  > [...]
 > 
 > $ echo "whatever" >/usr/local/jakarta-tomcat5.0/conf/server.xml
 > $ make deinstall
 > 
 > [...]
 > If permanently deleting this package, /usr/local/jakarta-tomcat5.0/conf/server.xml \
must be removed manually  > [...]
 > 
 > $ make reinstall
 > 
 > [...]
 >         Preserving local configuration file: \
/usr/local/jakarta-tomcat5.0/conf/server.xml  > [...]
 > 
 > $ cat /usr/local/jakarta-tomcat5.0/conf/server.xml
 > whatever
 > 
 > 
 > Kang, BTW, that's not really related but I think we should do something for
 > the garbage output while deinstalling the port:
 > 
 > [...]
 > If permanently deleting this package, /usr/local/jakarta-tomcat5.0/conf/server.xml \
must be removed manually  > pkg_delete: unable to completely remove directory \
'/usr/local/jakarta-tomcat5.0/conf'  > pkg_delete: unable to completely remove \
directory '/usr/local/jakarta-tomcat5.0'  > pkg_delete: couldn't entirely delete \
package (perhaps the packing list is  > incorrectly specified?)
 > [...]
 > 
 > A simple "@unexec rmdir jakarta-tomcat5.0/conf 2>/dev/null || true"
 > would probably be enough.
 > 
 > Herve
 > 
 
 As I wrote in my mail to Kang Liu, I did portupgrade -a on the system 
 which resulted in overwritten config files. I don't exactly know what 
 happened during build of tomcat, because some other ports was updated 
 too and I didn't "script" the upgrade session (stupid of me, I know).
 --
 Jiri Novak
 <bati@nostromo.cz>
_______________________________________________
freebsd-java@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic