Re: Removing a program

2004-01-26 Thread Josh Paetzel
On Mon, Dec 15, 2003 at 10:10:08AM -0600, Darryl Hoar wrote:
 Greetings,
 I installed phpBB from the ports on my 4.7 box.  Went fine.
 Had my phpBB bulletin boards hacked, even after applying
 all the patches from phpbb.com.  My current version of
 phpBB is 2.0.0_1.  All they suggested was install the new
 version of phpBB and make sure I look for patches.
 
 So... Since I installed phpBB from the ports, how do I remove
 the program?  I want to download phpBB from their site and
 install it clean.
 
 thanks for any help,
 -Darryl

You can find the exact name of the package using pkg_info and then pkg_delete 
it using a command similar to this: #pkg_delete `pkg_info | grep phpBB | awk 
{'print $1'}`  Please note that this will delete any package with phpBB in the 
name or title or description, so use it with caution.

What you'll most likely find is that pkg_de;ete won't be able to delete the 
entire port, since it can only delete things it knows about.  It's not going 
to be able to delete patched binaries, or the directories that those binaries 
are residing in.  The other thing it won't be able to delete is the mysql 
databases that phpBB uses.  All of these things will have to be hunted down by 
hand.  pkg_delete will however complain about files and directories you can't 
delete, so that will at least give you a starting point to work from.

Hope this helps,
Josh Paetzel

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Removing a program

2003-12-15 Thread Darryl Hoar
Greetings,
I installed phpBB from the ports on my 4.7 box.  Went fine.
Had my phpBB bulletin boards hacked, even after applying
all the patches from phpbb.com.  My current version of
phpBB is 2.0.0_1.  All they suggested was install the new
version of phpBB and make sure I look for patches.

So... Since I installed phpBB from the ports, how do I remove
the program?  I want to download phpBB from their site and
install it clean.

thanks for any help,
-Darryl
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Removing a program

2003-12-15 Thread Nathan Kinkade
On Mon, Dec 15, 2003 at 10:10:08AM -0600, Darryl Hoar wrote:
 Greetings,
 I installed phpBB from the ports on my 4.7 box.  Went fine.
 Had my phpBB bulletin boards hacked, even after applying
 all the patches from phpbb.com.  My current version of
 phpBB is 2.0.0_1.  All they suggested was install the new
 version of phpBB and make sure I look for patches.
 
 So... Since I installed phpBB from the ports, how do I remove
 the program?  I want to download phpBB from their site and
 install it clean.
 
 thanks for any help,
 -Darryl

you should be able to goto the phpBB port directory and do:

# make deinstall

or you could use the pkg_delete(1) tool.  or if you have installed the
utility called portupgrage you can use the tool pkg_deinstall, which i
think is slightly more flexible than pkg_deinstall, but is just a
wrapper for pkg_delete.

Nathan
-- 
gpg --keyserver pgp.mit.edu --recv-keys D8527E49


pgp0.pgp
Description: PGP signature


Re: Removing a program

2003-12-15 Thread Mike Maltese
 Greetings,
 I installed phpBB from the ports on my 4.7 box.  Went fine.
 Had my phpBB bulletin boards hacked, even after applying
 all the patches from phpbb.com.  My current version of
 phpBB is 2.0.0_1.  All they suggested was install the new
 version of phpBB and make sure I look for patches.
 
 So... Since I installed phpBB from the ports, how do I remove
 the program?  I want to download phpBB from their site and
 install it clean.

pkg_delete -fx phpbb

then of course you'll want to go into mysql and drop the phpbb databases.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Removing a program

2003-12-15 Thread Martin Hudec
Hi,

just go to ports directory of phpBB and type make deinstall.

On Monday 15 December 2003 17:10, Darryl Hoar wrote:
 So... Since I installed phpBB from the ports, how do I remove
 the program?  I want to download phpBB from their site and
 install it clean.

-- 
:
:. kind regards
:..  Martin Hudec
:.:
:.: =w= http://www.aeternal.net
:.: =m= +421.907.303393
:.: [EMAIL PROTECTED] [EMAIL PROTECTED]
:.:
:.: When you want something, all the universe 
:.:   conspires in helping you to achieve it.
:.:   - The Alchemist (Paulo Coelho)

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]