From owner-freebsd-questions@FreeBSD.ORG Wed Feb 2 14:23:30 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66B3816A4CE for ; Wed, 2 Feb 2005 14:23:30 +0000 (GMT) Received: from ei.bzerk.org (ei.xs4all.nl [213.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7080043D3F for ; Wed, 2 Feb 2005 14:23:29 +0000 (GMT) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.13.1/8.13.1) with ESMTP id j12ERfND061842; Wed, 2 Feb 2005 15:27:41 +0100 (CET) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.13.1/8.13.1/Submit) id j12EReVO061841; Wed, 2 Feb 2005 15:27:40 +0100 (CET) (envelope-from mail25@bzerk.org) Date: Wed, 2 Feb 2005 15:27:40 +0100 From: Ruben de Groot To: peter.lidell@post.dk Message-ID: <20050202142740.GA61338@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , peter.lidell@post.dk, freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Spam-Status: No, score=-2.3 required=5.0 tests=ALL_TRUSTED, FROM_ENDS_IN_NUMS autolearn=failed version=3.0.1 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on ei.bzerk.org cc: freebsd-questions@freebsd.org Subject: Re: Perl modules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Feb 2005 14:23:30 -0000 On Tue, Feb 01, 2005 at 11:06:57AM +0100, peter.lidell@post.dk typed: > Hello, > > I have to do thise things: > > A) if Perl is installed from pkg_add and not the ports, uninstall it. > pkg_delete -f perl5.8 > B) add ENABLE_SUIDPERL=true to /etc/make.conf > C) cd to /usr/ports/lang/perl5.8 > D) make -DENABLE_SUIDPERL"TRUE" install clean > E) re-install all the perl modules from the ports. > F) Follow the QMR manual to the T!!! > > The "Re-install of the perl modules from ports" part.... How do I do that? How do I id all my perl modules and is there a way to re-install them all together? To check which modules are installed (packages/ports and CPAN) I use the following script: #!/usr/bin/perl # list installed modules use ExtUtils::Installed; my $instmod = ExtUtils::Installed->new(); foreach my $module ($instmod->modules()) { my $version = $instmod->version($module) || "???"; print "$module -- $version\n"; } I know of no way to automatically reinstall them though... Ruben