From owner-cvs-all@FreeBSD.ORG Wed Aug 2 05:21:31 2006 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E50B16A4DF for ; Wed, 2 Aug 2006 05:21:31 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77A3943D76 for ; Wed, 2 Aug 2006 05:21:29 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by py-out-1112.google.com with SMTP id b36so1229648pyb for ; Tue, 01 Aug 2006 22:21:28 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=rrESE/qID6k1atlYevss7J0sv8XxTna1FhdPQcEY9LwAvTHwXGlpeREzAftDiI3HZTNvPhJPruBfyNcflLawA113sHD+re6ldahqxjm7RUYvobIQP3qIp7SR1wl8VdeyuTbLfJCHgb0RoT57HFImUqZIT+JFUA2Ua+p6CYHJNdk= Received: by 10.35.100.6 with SMTP id c6mr802546pym; Tue, 01 Aug 2006 22:21:23 -0700 (PDT) Received: by 10.35.105.10 with HTTP; Tue, 1 Aug 2006 22:21:23 -0700 (PDT) Message-ID: Date: Wed, 2 Aug 2006 09:21:23 +0400 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: "Erwin Lansing" , ports-committers@freebsd.org, cvs-ports@freebsd.org, cvs-all@freebsd.org In-Reply-To: <20060801214956.GB13326@droso.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200608012012.k71KCJba037198@repoman.freebsd.org> <20060801214956.GB13326@droso.net> X-Google-Sender-Auth: 23375ae2023abcec Cc: Subject: Re: cvs commit: ports/devel Makefile ports/devel/p5-Linux-Pid Makefile distinfo pkg-descr pkg-plist X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: infofarmer@FreeBSD.org List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Aug 2006 05:21:31 -0000 On 8/2/06, Erwin Lansing wrote: > On Tue, Aug 01, 2006 at 08:12:19PM +0000, Andrew Pantyukhin wrote: > > sat 2006-08-01 20:12:19 UTC > > > > FreeBSD ports repository > > > > Modified files: > > devel Makefile > > Added files: > > devel/p5-Linux-Pid Makefile distinfo pkg-descr pkg-plist > > Log: > > Add port devel/p5-Linux-Pid: > > > > Why should one use a module to get the PID and the PPID of a process > > where there are the $$ variable and the getppid() builtin? (Not > > mentioning the equivalent POSIX::getpid() and POSIX::getppid() > > functions.) > > > > In fact, this is useful on Linux, with multithreaded programs. Linux' > > C library, using the linux thread model, returns different values of > > the PID and the PPID from different threads. (Other thread models such > > as NPTL don't have the same behaviour). This module forces perl to > > call the underlying C functions getpid() and getppid(). > > > So what does it do on FreeBSD? This looks pretty Linux specific. > > Not related to this specific commit, but the latest flurry of new perl > modules has got me a bit worried. Are people actually using all these > new modules or are they imported just because they are on CPAN? Coping > with 15.000 ports is not easy and while I do not want to start imposing > any rules (apart from the very liberal rules we already have) on new > ports, we do need to judge the usefulness of every new port we add. Linux here means "non-windows". I anticipated this kind of questions but felt reluctant to change the portname just because it was a linuxism, sorry. I'm trying to port socialtext (http://www.asia.socialtext.net/stoss/) It's a mammoth app, requiring dozens of p5 dependencies, and some of them have yet to be added to the ports tree.