From owner-freebsd-ports@FreeBSD.ORG Sun Oct 5 03:35:14 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E31E1065690; Sun, 5 Oct 2008 03:35:14 +0000 (UTC) (envelope-from jfl@robinlea.com) Received: from 28amen.org (28amen.org [204.3.153.218]) by mx1.freebsd.org (Postfix) with ESMTP id 08F7B8FC15; Sun, 5 Oct 2008 03:35:13 +0000 (UTC) (envelope-from jfl@robinlea.com) Received: from [192.168.1.34] (118.172.68.78.adsl.dynamic.totbb.net [118.172.68.78]) (authenticated bits=0) by 28amen.org (8.13.6.20060614/8.13.6) with ESMTP id m9538g0j035472; Sun, 5 Oct 2008 03:08:44 GMT Message-ID: <48E82FBB.6070101@robinlea.com> Date: Sun, 05 Oct 2008 10:08:43 +0700 From: John Francis Lee User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: roberto@FreeBSD.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org Subject: FreeBSD Port: mercurial-1.0.2 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 03:35:14 -0000 Hi Roberto, I have Mercurial Distributed SCM (version 1.0.1) installed on my FreeBSD host at verio.net and it seems to be working ok. But I am having trouble with the webinterface http:/www.uspvp.org/hg I guess my problems are due to files not being where expected. I can't find the mercurial files on FreeBSD. The tutorials I read all assume linux or windows underneath the mercurial and I'm guessing that that is my problem. How can I discover the directory structure for my mercurial installation? How should I update the port of mercurial to the FreeBSD operating system? Thanks for any help you might give me. -- "This message may have been intercepted and read by U.S. government agencies including the FBI, CIA, and NSA without notice or warrant or knowledge of sender or recipient." John Francis Lee 1025/37 Thanon Jet Yod T.Wiang A.Mueang J.Chiangrai 57000 From owner-freebsd-ports@FreeBSD.ORG Sun Oct 5 10:19:27 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4203C106568A for ; Sun, 5 Oct 2008 10:19:27 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from hawk.thalamus.net (hawk.thalamus.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id 00B1D8FC16 for ; Sun, 5 Oct 2008 10:19:26 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from localhost (localhost.thalamus.net [127.0.0.1]) by hawk.thalamus.net (Postfix) with ESMTP id 6C6241EE853 for ; Sun, 5 Oct 2008 12:07:57 +0200 (CEST) X-Virus-Scanned: by amavisd-new at thalamus.net X-Spam-Flag: NO X-Spam-Score: 2.388 X-Spam-Level: ** X-Spam-Status: No, score=2.388 tagged_above=-999 required=4.2 tests=[AWL=-0.781, HELO_LH_HOME=3.169] Received: from hawk.thalamus.net ([127.0.0.1]) by localhost (hawk.thalamus.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id n9G0LSBMo+gV for ; Sun, 5 Oct 2008 12:07:54 +0200 (CEST) Received: from lesbsdpc.homenet.home (c-195-216-040-164.static.bjare.net [195.216.40.164]) by hawk.thalamus.net (Postfix) with ESMTP id DD5621EE85C for ; Sun, 5 Oct 2008 12:07:54 +0200 (CEST) Message-ID: <48E89200.8040208@eskk.nu> Date: Sun, 05 Oct 2008 12:08:00 +0200 From: Leslie Jensen User-Agent: Thunderbird 2.0.0.17 (X11/20081001) MIME-Version: 1.0 To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Uppgrading emulators/linux_base-f8 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 10:19:27 -0000 When trying to upgrade emulators/linux_base-f8 It ends up in a loop where it tries to fetch the files it needs. Attempting to fetch from But I get this File unavailable (e.g., file not found, no access) Or this Not Found I've tried the last three days because I thought taht it might take some time to update the mirrors but now I think I need help. Thanks /Leslie From owner-freebsd-ports@FreeBSD.ORG Sun Oct 5 11:42:00 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDA341065687 for ; Sun, 5 Oct 2008 11:42:00 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by mx1.freebsd.org (Postfix) with ESMTP id B4F878FC15 for ; Sun, 5 Oct 2008 11:42:00 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by wa-out-1112.google.com with SMTP id n4so1206904wag.27 for ; Sun, 05 Oct 2008 04:42:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=C9RnQ3VCA4sFswkib31JKBIE53jFHBOIyVhznVh6Pww=; b=N9hOdy4PYiqs/hgxh62Tqa7YbxNVNkO87RqUwFVyQ8ewSoLwwTtwyL/Zo5S11KsJNT /uTtH5O4pSEvmLYlF0Rxht3Pf5fpLXggrdcdj6AZXHkzLMaxHUoSbCI1gTlZFe2tRMdj Zg0EY2xAK2cpfXplnCS7lPlGSN0efaA5D2FxY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=mXbUXC4k++YwWSisGlKOZcp0mvWQrsItz7jq9p4ygSlqT+AhwbZtB0NApOKY74nmv1 mj9dwooDFb4OwT0aQUX1Ppt2Nrr8UVXJSDiWNWn9ytTbIPOhmsxbcViOkI442HugdXyv e1Ykrtp6AUK9cP16PU8p3TuOCO/FEI5p+x0YQ= Received: by 10.114.46.11 with SMTP id t11mr3948010wat.211.1223206920245; Sun, 05 Oct 2008 04:42:00 -0700 (PDT) Received: by 10.114.103.7 with HTTP; Sun, 5 Oct 2008 04:42:00 -0700 (PDT) Message-ID: <790a9fff0810050442i489157bar5714de2d4febd120@mail.gmail.com> Date: Sun, 5 Oct 2008 06:42:00 -0500 From: "Scot Hetzel" To: "Leslie Jensen" In-Reply-To: <48E89200.8040208@eskk.nu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48E89200.8040208@eskk.nu> Cc: freebsd-ports@freebsd.org Subject: Re: Uppgrading emulators/linux_base-f8 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 11:42:01 -0000 On 10/5/08, Leslie Jensen wrote: > > When trying to upgrade emulators/linux_base-f8 > > It ends up in a loop where it tries to fetch the files it needs. > > Attempting to fetch from > > But I get this > File unavailable (e.g., file not found, no access) > I have found that if there is a corrupt file in /usr/ports/distfiles/rpm/i386/fedora/8/, it will cause fetch to try and reuse the corrupted file to complete the download. This is caused by bsd.port.mk is defining FETCH_ARGS=-ApRr when trying to redownload the corrupted files when using 'make checksum'. To get around this problem, I had to do the following: cd /usr/ports/emulators/linux_base-f8 make checksum This will list the failed files as {MD5,SHA256} Checksum mismatch . Note: Kill the 'make checksum' when it starts fetching files I then removed all these mismatch files from /usr/ports/distfiles/rpm/i386/fedora/8. After running 'make checksum' a second time, it succeeded in downloading all the missing files. Now I could use portmaster to upgrade emulators/linux_base-f8. Scot From owner-freebsd-ports@FreeBSD.ORG Sun Oct 5 12:06:39 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A474B1065687 for ; Sun, 5 Oct 2008 12:06:39 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from hawk.thalamus.net (hawk.thalamus.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id 619248FC18 for ; Sun, 5 Oct 2008 12:06:39 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from localhost (localhost.thalamus.net [127.0.0.1]) by hawk.thalamus.net (Postfix) with ESMTP id 480B91EE819; Sun, 5 Oct 2008 14:06:31 +0200 (CEST) X-Virus-Scanned: by amavisd-new at thalamus.net X-Spam-Flag: NO X-Spam-Score: 2.388 X-Spam-Level: ** X-Spam-Status: No, score=2.388 tagged_above=-999 required=4.2 tests=[AWL=-0.781, HELO_LH_HOME=3.169] Received: from hawk.thalamus.net ([127.0.0.1]) by localhost (hawk.thalamus.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2B6YRsFcEKBT; Sun, 5 Oct 2008 14:06:26 +0200 (CEST) Received: from lesbsdpc.homenet.home (c-195-216-040-164.static.bjare.net [195.216.40.164]) by hawk.thalamus.net (Postfix) with ESMTP id AEF991EE852; Sun, 5 Oct 2008 14:06:26 +0200 (CEST) Message-ID: <48E8ADC9.2060009@eskk.nu> Date: Sun, 05 Oct 2008 14:06:33 +0200 From: Leslie Jensen User-Agent: Thunderbird 2.0.0.17 (X11/20081001) MIME-Version: 1.0 To: Scot Hetzel References: <48E89200.8040208@eskk.nu> <790a9fff0810050442i489157bar5714de2d4febd120@mail.gmail.com> In-Reply-To: <790a9fff0810050442i489157bar5714de2d4febd120@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: Uppgrading emulators/linux_base-f8 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 12:06:39 -0000 Scot Hetzel skrev: > On 10/5/08, Leslie Jensen wrote: >> When trying to upgrade emulators/linux_base-f8 >> >> It ends up in a loop where it tries to fetch the files it needs. >> >> Attempting to fetch from >> >> But I get this >> File unavailable (e.g., file not found, no access) >> > I have found that if there is a corrupt file in > /usr/ports/distfiles/rpm/i386/fedora/8/, it will cause fetch to try > and reuse the corrupted file to complete the download. > > This is caused by bsd.port.mk is defining FETCH_ARGS=-ApRr when trying > to redownload the corrupted files when using 'make checksum'. > > To get around this problem, I had to do the following: > > cd /usr/ports/emulators/linux_base-f8 > make checksum > > This will list the failed files as {MD5,SHA256} Checksum mismatch . > > Note: Kill the 'make checksum' when it starts fetching files > > I then removed all these mismatch files from > /usr/ports/distfiles/rpm/i386/fedora/8. After running 'make checksum' > a second time, it succeeded in downloading all the missing files. > > Now I could use portmaster to upgrade emulators/linux_base-f8. > > Scot Thank you. That did it :-) /Leslie From owner-freebsd-ports@FreeBSD.ORG Sun Oct 5 15:26:01 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 255AC1065693; Sun, 5 Oct 2008 15:26:01 +0000 (UTC) (envelope-from nicolas.raspail@whisperingvault.net) Received: from fastjack.whisperingvault.net (unknown [IPv6:2001:41d0:1:de72::1]) by mx1.freebsd.org (Postfix) with ESMTP id B0E228FC0C; Sun, 5 Oct 2008 15:26:00 +0000 (UTC) (envelope-from nicolas.raspail@whisperingvault.net) Received: from localhost (localhost [127.0.0.1]) by fastjack.whisperingvault.net (Postfix) with ESMTP id C8D372286A; Sun, 5 Oct 2008 17:25:59 +0200 (CEST) X-Virus-Scanned: amavisd-new at whisperingvault.net Received: from fastjack.whisperingvault.net ([127.0.0.1]) by localhost (fastjack.whisperingvault.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g-EaYQnc6fPy; Sun, 5 Oct 2008 17:25:57 +0200 (CEST) Received: from [192.168.1.98] (ip-199.net-89-3-192.rev.numericable.fr [89.3.192.199]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: nicolas@whisperingvault.net) by fastjack.whisperingvault.net (Postfix) with ESMTPSA id 2E7CF2282F; Sun, 5 Oct 2008 17:25:57 +0200 (CEST) Message-ID: <48E8DC77.2050808@whisperingvault.net> Date: Sun, 05 Oct 2008 17:25:43 +0200 From: Nicolas Raspail User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <1206621386.26175.27.camel@bigapple.omnis.ch> <20080330231002.GA16562@charon.picobyte.net> <481054E5.2050201@default.co.yu> <1219353441.10229.8.camel@bigapple.omnis.ch> In-Reply-To: <1219353441.10229.8.camel@bigapple.omnis.ch> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: Shaun Amott Subject: Re: ejabberd 2.0.0 ? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 15:26:01 -0000 Olivier Mueller wrote: > On Thu, 2008-04-24 at 11:37 +0200, Bogdan Ćulibrk wrote: >> Shaun Amott wrote: >>> On Thu, Mar 27, 2008 at 01:36:26PM +0100, Olivier Mueller wrote: >>>> Hello, >>>> >>>> Are there any plans to update the port with the latest ejabberd (2.0.0) >>>> version? Latest release was about 1 month ago: >>>> http://www.process-one.net/en/news/article/ejabberd_200_has_been_released/ >>>> Otherwise I'll just try to install it "by hand" :) >>>> >>> Yes, I've been working on an update. Some dependency failed when I was >>> building it previously it and I didn't get around to trying again. > >> is there any news on this topic? >> Another month has passed and yet no 2.0 in ports. > > 3 more months later now... and in the mean time, 2.0.1 is out according > to http://www.ejabberd.im/ . > > Holiday are finished here, and I will finally upgrade my good old > jabberd server (hw too) to ejabberd in a few weeks in September, with > some luck it will be with a nice new port for 2.0.1 or by hand ? ;-) > > regards, > Olivier > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" Hi, ejabberd 2.0.2 is out, and we still don't see any news about a new port version. Is Shaun still maintening the port actively ? Regards Nicolas From owner-freebsd-ports@FreeBSD.ORG Sun Oct 5 17:20:41 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09255106568B for ; Sun, 5 Oct 2008 17:20:41 +0000 (UTC) (envelope-from dnaeon@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id 8B5978FC17 for ; Sun, 5 Oct 2008 17:20:40 +0000 (UTC) (envelope-from dnaeon@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1605477fgb.35 for ; Sun, 05 Oct 2008 10:20:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=OD4aw+CbV9sW6vYIVpk5ocqys/4wbbKSUUStsGNm0bo=; b=TQhjc5+kxf3pcdcgmb3KQnRx5ZukUXZ2IKWpBY9maJyPAZlr4ASUsQTaFWbJJ5EhOO uvA0ofqoKkhkeMQCv9KnA612VeF0ykXOIbxEDqyXNDwR3r9XiXaYyfdaghA0iEvvAi15 XfRNZOI1awy4Ku1ykz6FU/98LE7bS7YmTx3XM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=ntP7a1CgEcgrX7j2yy8AUUc86l21g3PN6kGz62u0sciFZtpGzeE31oht9npkNqJBGv +xZRUN0FqxpSp5/VzI4cYLTl+tKMa3em1qP4lnOkdWACMH5oitGdE6R1ayAhpeo8OBVk GMTllQk7Mplm6OvZ0flqSqr4oilmfUvgBfFtI= Received: by 10.86.82.16 with SMTP id f16mr3630802fgb.9.1223227239274; Sun, 05 Oct 2008 10:20:39 -0700 (PDT) Received: from tsunami.bsdworld ([78.90.73.88]) by mx.google.com with ESMTPS id e20sm9167553fga.1.2008.10.05.10.20.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 05 Oct 2008 10:20:38 -0700 (PDT) Message-ID: <48E8F7C7.4060408@gmail.com> Date: Sun, 05 Oct 2008 20:22:15 +0300 From: Marin Atanasov User-Agent: Thunderbird 2.0.0.17 (X11/20080927) MIME-Version: 1.0 To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: My interactive version of pkg_add - submitted! X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 17:20:41 -0000 Hi, list! :) I've finally finished the program and have submitted it to the FreeBSD ports tree. Now all is left is to wait till the program gets added to the ports tree. After it gets added (let's hope so :)) to the FreeBSD ports it will be under ports-mgmt/pkg_add_it Meanwhile I've added a few changes to the code, and another a tiny but useful feature - a pager. Now the program can interact with a pager defined by $PAGER variable, so you can read the package list. Well, if there something new - I'll let you know :) Best regards, Marin -- Marin Atanasov dnaeon AT gmail DOT com daemon AT unix-heaven DOT org From owner-freebsd-ports@FreeBSD.ORG Sun Oct 5 17:34:34 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 275891065688 for ; Sun, 5 Oct 2008 17:34:34 +0000 (UTC) (envelope-from trebestie@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.175]) by mx1.freebsd.org (Postfix) with ESMTP id ECD608FC16 for ; Sun, 5 Oct 2008 17:34:33 +0000 (UTC) (envelope-from trebestie@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so2298653wfg.7 for ; Sun, 05 Oct 2008 10:34:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=/KvUC5rCX0Y9m3if02ZQCnr27FB35CumeoqwjjOV9qE=; b=aW5vs5Utkx/6nSjK6EMPgtD6LnQPJxizHR6+koA9wJI+mPCSEq2dpiGCY13DXfQ4dO NxdkyA7mlvfP62kb5kGAjKwrU9NZHjIqg9ZZlqmvMB2Ui+iBD29WM9tuX4Llfhz+uzOb jxtP8p3lC5nEvNyZXwEBp2msjel44CbxfINT4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=TfF3GcsTrwmb9T0FqtuwRi9ixYXY1WKnY54f/facjPr5LJDDVNQpUo7WTAK5kY6ruD GCDs4Bp5NxCE0TgqOPwH67v7QzUuDKP8NL3IasP8nrmfHf0fEkRbTAr0Ze090P7XpGHj HSYonRlmxCCDaKgH7O/0wL0KJzQDzowYQ2Lvw= Received: by 10.142.72.21 with SMTP id u21mr1445325wfa.161.1223228073789; Sun, 05 Oct 2008 10:34:33 -0700 (PDT) Received: by 10.142.165.13 with HTTP; Sun, 5 Oct 2008 10:34:33 -0700 (PDT) Message-ID: <83e5fb980810051034o3256dacerd656a35cbab12cc1@mail.gmail.com> Date: Sun, 5 Oct 2008 19:34:33 +0200 From: "Diego Depaoli" To: kde-freebsd@kde.org, freebsd-ports@freebsd.org, "Martin Wilke" In-Reply-To: <200810041023.40329.dorian.buettner@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20081003145357.GG54896@bsdcrew.de> <200810031758.31686.dorian.buettner@gmx.de> <20081003181413.GK54896@bsdcrew.de> <200810041023.40329.dorian.buettner@gmx.de> Cc: Subject: Re: [kde-freebsd] Call for Testing KDE-4.1.2 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 17:34:34 -0000 2008/10/4 Dorian B=FCttner : > On Friday 03 October 2008 18:14:13 Martin Wilke wrote: > >> Please remove this patch manuel. > > ok. No probs apart from that:) I confirm. Good job Regards --=20 Diego Depaoli From owner-freebsd-ports@FreeBSD.ORG Sun Oct 5 19:03:14 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90C4E106569D; Sun, 5 Oct 2008 19:03:14 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id A185F8FC27; Sun, 5 Oct 2008 19:03:13 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender; b=DwFIAmjFoFO6hpRAxLR3PmaRFZJNPkY7IYAUpc4ZmBDTqHMErBxnlQA8TdZkWmMeFgUZeTar2xzXxfCrRuL61aOS3de15CTpMxr/cJQczWiy0RrTk6XnPznhuH+D4lkbHyGMEeP510VG61xeR2MdqbJ3Z/JnR3tdGp9XItr3h/8=; Received: from amnesiac.at.no.dns (ppp83-237-107-240.pppoe.mtu-net.ru [83.237.107.240]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1KmYsm-000Pxu-KF; Sun, 05 Oct 2008 23:03:11 +0400 Date: Sun, 5 Oct 2008 23:03:17 +0400 From: Eygene Ryabinkin To: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: References: <48DE5CC0.9000708@localhost.inse.ru> <48DF6735.4030906@quip.cz> <4bESZpNwE3z/DdlE2fwK/BXzQSo@2MQ0uKCiT7mdMUuLeUzs8Nv3ToQ> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="aPdhxNJGSeOG9wFI" Content-Disposition: inline In-Reply-To: <4bESZpNwE3z/DdlE2fwK/BXzQSo@2MQ0uKCiT7mdMUuLeUzs8Nv3ToQ> Sender: rea-fbsd@codelabs.ru Cc: freebsd-hackers@freebsd.org, Roman Kurakin , freebsd-ports@freebsd.org, bug-followup@freebsd.org Subject: Re: ports/126853: ports-mgmt/portaudit: speed up audit of installed packages X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 19:03:14 -0000 --aPdhxNJGSeOG9wFI Content-Type: multipart/mixed; boundary="X3gaHHMYHkYqP6yf" Content-Disposition: inline --X3gaHHMYHkYqP6yf Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Miroslav, good day. Sun, Sep 28, 2008 at 04:14:24PM +0400, Eygene Ryabinkin wrote: > > If I read nightly security e-mail with for example 4 vulnerable=20 > > packages, then I need to log in to server and manualy try, if newer=20 > > (fixed) packages are available. It seems not so hard to check output of= =20 > > `pkg_version -vIL =3D` and compare both versions (installed and availab= le)=20 > > with portaudit in some shellscript, I didn't start to write it yet ;). >=20 > I think it won't be very hard: I'll try to see how to extend portaudit > with such functionality -- it would be very handy, in my opinion. OK, I extended portaudit with this -- flag '-n' will do it. Currently this option requires network access, but I think that it is perfectly fits into the security check -- it downloads auditfile anyway. I had greatly reworked the old part of patch and I have series of 4 patches that implement both my pkg_audit stuff and the '-n' stuff. I am also attaching the mega-patch, it can be applied to the current port sources to give the port version that includes both mentioned enchancements. If you have no pkg_audit -- this isn't a problem: portaudit fill fall back to the awk script. I had also changed the output format for pkg_audit, so I am attaching another version of the second patch for the pkg_install bundle. I had briefly tested my modifications -- they work for now, but I will continue testing. Any bug reports or thoughts about these patches are more that welcome. > Hadn't you have a chance to test my patch? Miroslav, still: had you tested the pkg_audit thingy? --=20 Eygene _ ___ _.--. # \`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard / ' ` , __.--' # to read the on-line manual =20 )/' _/ \ `-_, / # while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / # -- FreeBSD Developers handbook=20 {_.-``-' {_/ # --X3gaHHMYHkYqP6yf Content-Type: text/x-diff; charset=koi8-r Content-Disposition: attachment; filename="0002-New-utility-pkg_audit.patch" Content-Transfer-Encoding: quoted-printable =46rom 88a3659c2d941e27de698fe05e4852a9f418f16e Mon Sep 17 00:00:00 2001 =46rom: Eygene Ryabinkin Date: Tue, 26 Aug 2008 15:08:46 +0400 Subject: [PATCH] New utility: pkg_audit It is mainly a helper for portupgrade to avoid awk scripting and numerous calls for pkg_info. This utility speeds up portaudit by a factor of 10 on a system with 521 installed ports and the auditfile that contains 3213 entries: ----- $ ls -d /var/db/pkg/* | wc -l 521 $ tar xOf /var/db/portaudit/auditfile.tbz auditfile | sed -e'/^#/d' | wc -l 3213 $ time ./portaudit Affected package: ruby-1.8.6.111_4,1 Type of problem: ruby -- DNS spoofing vulnerability. Reference: Affected package: ruby-1.8.6.111_4,1 Type of problem: ruby -- DoS vulnerability in WEBrick. Reference: Affected package: ruby-1.8.6.111_4,1 Type of problem: ruby -- multiple vulnerabilities in safe level. Reference: 3 problem(s) in your installed packages found. You are advised to update or deinstall the affected package(s) immediately. real 0m0.107s user 0m0.116s sys 0m0.012s $ time portaudit Affected package: ruby-1.8.6.111_4,1 Type of problem: ruby -- multiple vulnerabilities in safe level. Reference: Affected package: ruby-1.8.6.111_4,1 Type of problem: ruby -- DoS vulnerability in WEBrick. Reference: Affected package: ruby-1.8.6.111_4,1 Type of problem: ruby -- DNS spoofing vulnerability. Reference: 3 problem(s) in your installed packages found. You are advised to update or deinstall the affected package(s) immediately. real 0m1.583s user 0m0.560s sys 0m1.057s ----- Signed-off-by: Eygene Ryabinkin --- Makefile | 2 +- audit/Makefile | 14 +++ audit/audit.h | 43 +++++++++ audit/main.c | 166 ++++++++++++++++++++++++++++++++++ audit/parse.c | 259 +++++++++++++++++++++++++++++++++++++++++++++++++= ++++ audit/pkg_audit.1 | 63 +++++++++++++ 6 files changed, 546 insertions(+), 1 deletions(-) create mode 100644 audit/Makefile create mode 100644 audit/audit.h create mode 100644 audit/main.c create mode 100644 audit/parse.c create mode 100644 audit/pkg_audit.1 diff --git a/Makefile b/Makefile index fefbd08..abc1e65 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ =20 .include =20 -SUBDIR=3D lib add create delete info updating version +SUBDIR=3D lib add create delete info updating version audit =20 .include =20 diff --git a/audit/Makefile b/audit/Makefile new file mode 100644 index 0000000..2ece5f8 --- /dev/null +++ b/audit/Makefile @@ -0,0 +1,14 @@ +# $FreeBSD$ + +PROG=3D pkg_audit +SRCS=3D main.c parse.c + +CFLAGS+=3D -I${.CURDIR}/../lib + +WARNS?=3D 6 +WFORMAT?=3D 1 + +DPADD=3D ${LIBINSTALL} ${LIBFETCH} ${LIBMD} +LDADD=3D ${LIBINSTALL} -lfetch -lmd + +.include diff --git a/audit/audit.h b/audit/audit.h new file mode 100644 index 0000000..1f0a369 --- /dev/null +++ b/audit/audit.h @@ -0,0 +1,43 @@ +/* + * + * FreeBSD install - a package for the installation and maintainance + * of non-core utilities. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * Eygene Ryabinkin + * 26 August 2008 + * + * Parsing module for pkg_audit, header file. + * + */ + +#ifndef __AUDIT_H__ +#define __AUDIT_H__ + +#include + +SLIST_HEAD(audit_contents, audit_entry); + +struct audit_entry { + char *pkgglob; /* Package name glob */ + char *url; /* URL of advisory */ + char *descr; /* Description of vulnerability */ + size_t pfx_size; /* Metacharacter-less glob part size */ + SLIST_ENTRY(audit_entry) entries; +}; + + +/* Function prototypes */ +int +parse_auditfile(FILE *_fp, struct audit_contents *_head); + + +#endif /* defined(__AUDIT_H__) */ diff --git a/audit/main.c b/audit/main.c new file mode 100644 index 0000000..6ad18a9 --- /dev/null +++ b/audit/main.c @@ -0,0 +1,166 @@ +/* + * + * FreeBSD install - a package for the installation and maintainance + * of non-core utilities. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * Eygene Ryabinkin + * 26 August 2008 + * + * This is the audit module -- fast helper for the portaudit script. + * + * It is filter-like utility: it reads the audit file from the + * standard input, intersects the vulnerable port list with the + * packages installed in the system and outputs the entries for + * the vulnerable ports that are present in the system to the + * standard output. + * + * The installed package can be listed multiple times, since it + * can be vulnerable to more than one bug at a time. But the + * whole output entries will be unique -- package name and + * vulnerability details should produce unique entry. + * + * One more field is prepended to the list of the input fields -- + * the name of the matched port. + * + */ + +#include +__FBSDID("$FreeBSD$"); + +#ifdef PROFILING +#include +#endif + +#include +#include +#include +#include +#include + +#include "lib.h" +#include "audit.h" + +static inline void +audit_package(const char *_pkgname, struct audit_contents *_head, + struct match_session *_msess, FILE *_fp); + +int +main(int argc, char *argv[]) +{ + char freebsd[sizeof("FreeBSD-XXYYZZXXYYZZ")]; + unsigned long reldate; + size_t reldate_size =3D sizeof(reldate); + int mib[2]; + + FILE *in =3D stdin, *out =3D stdout; + struct match_session *msess; + struct audit_entry *item; +#ifdef PROFILING + struct timeval t1, t2; + double dt; +#endif + + /* Make compiler happy */ + if (argv[argc] =3D=3D NULL) {}; + + struct audit_contents head =3D + SLIST_HEAD_INITIALIZER(head); + + mib[0] =3D CTL_KERN; + mib[1] =3D KERN_OSRELDATE; + if (sysctl(mib, 2, (void *)&reldate, &reldate_size, NULL, 0) !=3D 0) + errx(1, "Unable to get kern.osreldate"); + snprintf(freebsd, sizeof(freebsd), "%s-%lu", "FreeBSD", reldate); +=09 + SLIST_INIT(&head); +#ifdef PROFILING + gettimeofday(&t1, NULL); +#endif + if (parse_auditfile(in, &head) !=3D 0) { + errx(1, "Failed to parse audit entries"); + } +#ifdef PROFILING + gettimeofday(&t2, NULL); + dt =3D t2.tv_sec - t1.tv_sec + 1e-6 * (t2.tv_usec - t1.tv_usec); + fprintf(stderr, "parse_auditfile(): %.6lf sec\n", dt); +#endif + + msess =3D match_begin(MATCH_GLOB); + if (msess =3D=3D NULL) + return 1; +=09 +#ifdef PROFILING + gettimeofday(&t1, NULL); +#endif + + /* Special check: FreeBSD itself */ + SLIST_FOREACH (item, &head, entries) { + if (strncmp(item->pkgglob, + "FreeBSD", sizeof("FreeBSD") - 1) =3D=3D 0 && + pattern_match(MATCH_GLOB, item->pkgglob, freebsd)) { + fprintf(out, "%s|%s|%s\n", + freebsd, item->url, item->descr); + } + } + + /* Installed packages */ + while (match_next_package(msess)) + audit_package(match_get_pkgname(msess), &head, msess, out); + +#ifdef PROFILING + gettimeofday(&t2, NULL); + dt =3D t2.tv_sec - t1.tv_sec + 1e-6 * (t2.tv_usec - t1.tv_usec); + fprintf(stderr, "match loop: %.6lf sec\n", dt); +#endif + + match_end(msess); + + SLIST_FOREACH (item, &head, entries) { + free((void *)item->pkgglob); + free((void *)item); + } + + return 0; +} + +void +cleanup(int sig) +{ + sig =3D 0; + return; +} + +/* + * Loops over audit file contents and checks each entry in turn. + * + * The great speedup is to test the package prefix at the first + * place and only if it matches perform full match -- match_matches + * uses slow matching routines without precompilation and other + * tricks. For hundreds of installed ports and a couple of thousands + * audit entries this slows things down very well. + */ +static inline void +audit_package(const char *pkgname, struct audit_contents *head, + struct match_session *msess, FILE *fp) +{ + struct audit_entry *item; + + SLIST_FOREACH (item, head, entries) { + if (strncmp(pkgname, item->pkgglob, + item->pfx_size) =3D=3D 0 && + match_matches(msess, item->pkgglob)) { + fprintf(fp, "%s|%s|%s|%s\n", + pkgname, + item->pkgglob, item->url, item->descr); + } + } +} diff --git a/audit/parse.c b/audit/parse.c new file mode 100644 index 0000000..fb33f7c --- /dev/null +++ b/audit/parse.c @@ -0,0 +1,259 @@ +/* + * + * FreeBSD install - a package for the installation and maintainance + * of non-core utilities. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * Eygene Ryabinkin + * 26 August 2008 + * + * Parsing module for pkg_audit. + * + */ + +#include +__FBSDID("$FreeBSD$"); + +#include +#include +#include + +#include "lib.h" +#include "audit.h" + +/* Simple exponentially-growing buffer. */ + +struct dyn_buffer { + char *buf; + size_t size; +}; + +/* Prototypes */ +static int +parse_audit_entry(struct dyn_buffer *_b, struct audit_entry *_e); + +static int +read_line(FILE *_fp, struct dyn_buffer *_b); + +static struct dyn_buffer * +buf_init(size_t _size); +static void +buf_destroy(struct dyn_buffer *_b); +static int +buf_grow(struct dyn_buffer *_b); + +/* + * Parses audit file to the linked list of single entries. + * + * Return values: + * 0 -- file was successfully parsed; + * 1 -- parsing or read error occured; + * -1 -- bad arguments, memory allocation problems, etc. + */ +int +parse_auditfile(FILE *fp, struct audit_contents *head) +{ + struct audit_entry *e; + struct dyn_buffer *b; + int errcode; + + b =3D buf_init(256); + if (b =3D=3D NULL) + return 1; + + while ((errcode =3D read_line(fp, b)) =3D=3D 0) { + if (b->buf[0] =3D=3D '#') + continue; + e =3D (struct audit_entry *)malloc(sizeof(*e)); + if (e =3D=3D NULL) { + buf_destroy(b); + return -1; + } + bzero((void *)e, sizeof(*e)); + if ((errcode =3D parse_audit_entry(b, e)) !=3D 0) { + buf_destroy(b); + return errcode; + } + SLIST_INSERT_HEAD(head, e, entries); + } + + buf_destroy(b); + + if (errcode !=3D 1) + return 1; + else + return 0; +} + +/* + * Helpers for audit file parsing routine. + */ + +static struct dyn_buffer * +buf_init(size_t size) +{ + struct dyn_buffer *b; + + if (size <=3D 0) + return NULL; + + b =3D (struct dyn_buffer *)malloc(sizeof(*b)); + if (b =3D=3D NULL) + return NULL; + + bzero((void *)b, sizeof(*b)); + b->size =3D size; + b->buf =3D (char *)malloc(b->size * sizeof(b->buf[0])); + if (b->buf =3D=3D NULL) { + free((void *)b); + return NULL; + } + + bzero((void *)b->buf, b->size); + return b; +} + +static void +buf_destroy(struct dyn_buffer *b) +{ + if (b =3D=3D NULL) + return; +=09 + if (b->buf !=3D NULL) + free((void *)b->buf); + free((void *)b); + return; +} + +static int +buf_grow(struct dyn_buffer *b) +{ + char *newbuf; + + if (b =3D=3D NULL || b->buf =3D=3D NULL || b->size <=3D 0) + return -1; + + newbuf =3D (char *)malloc(2 * b->size * sizeof(newbuf)); + if (newbuf =3D=3D NULL) + return 1; + + bzero(newbuf, 2 * b->size); + bcopy((void *)b->buf, (void *)newbuf, b->size); + b->buf =3D newbuf; + b->size *=3D 2; + + return 0; +} + +/* + * fgets()-like function that reads the whole input line + * Returns 0 on the successful read, 1 for the end-of-file + * condition, -1 for any error. + * + * Terminating '\n' is removed from the line. + */ +static int +read_line(FILE *fp, struct dyn_buffer *b) +{ + size_t offset =3D 0, len =3D 0; + + if (fp =3D=3D NULL || b =3D=3D NULL) + return -1; + + if (feof(fp)) + return 1; + + /* We need at least two-character buffer */ + if (b->size =3D=3D 1 && buf_grow(b) !=3D 0) + return -1; + + b->buf[b->size - 1] =3D '\0'; + offset =3D 0; + while (fgets(b->buf + offset, b->size - offset, fp) !=3D NULL) { + len =3D strlen(b->buf); + /* + * Read zero characters or buffer even shrinked? + * Strange, let's indicate error. + */ + if (len <=3D offset) + return -1; + if (b->buf[len - 1] =3D=3D '\n') { + b->buf[len - 1] =3D '\0'; + return 0; + } + + offset =3D len; + if (buf_grow(b) !=3D 0) + return -1; + + /* Should not happen, but who knows */ + if (offset >=3D b->size) + return -1; + } + + if (feof(fp)) { + /* + * If we read no characters, if means that we were + * at the EOF, but it was detected only by fgets(), + * not the first feof(). + */ + if (len =3D=3D 0) + return 1; + else + return 0; + } else { + return -1; + } +} + +/* + * Parses single audit line and places it to the structure. + * Calculates length of the package name suffix that is free + * from metacharacters -- it is used for the quick matches + * against port name. + */ +static int +parse_audit_entry(struct dyn_buffer *b, struct audit_entry *e) +{ + size_t len; + char *string =3D NULL, *d1 =3D NULL, *d2 =3D NULL; + static const char globset[] =3D "{*?><=3D!"; + + /* + * At least 5 characters: + * two delimiters and three non-empty fields. + */ + len =3D strlen(b->buf); + if (len < 5) + return 1; + + /* Locate delimiters. */ + d1 =3D strchr(b->buf, '|'); + if (d1 =3D=3D NULL) + return 1; + d2 =3D strchr(d1 + 1, '|'); + if (d2 =3D=3D NULL) + return 1; + + string =3D (char *)malloc((len + 1) * sizeof(string[0])); + if (string =3D=3D NULL) + return -1; + + bcopy((void *)b->buf, (void *)string, (len + 1) * sizeof(string[0])); + string[d1 - b->buf] =3D '\0'; + string[d2 - b->buf] =3D '\0'; + e->pkgglob =3D string; + e->url =3D string + (d1 - b->buf) + 1; + e->descr =3D string + (d2 - b->buf) + 1; + e->pfx_size =3D strcspn(e->pkgglob, globset); + + return 0; +} diff --git a/audit/pkg_audit.1 b/audit/pkg_audit.1 new file mode 100644 index 0000000..cd4abbc --- /dev/null +++ b/audit/pkg_audit.1 @@ -0,0 +1,63 @@ +.\" +.\" FreeBSD install - a package for the installation and maintenance +.\" of non-core utilities. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" Eygene Ryabinkin +.\" +.\" +.\" @(#)pkg_audit.1 +.\" $FreeBSD$ +.\" +.Dd Aug 26, 2008 +.Dt PKG_AUDIT 1 +.Os +.Sh NAME +.Nm pkg_audit +.Nd lists vulnerable ports installed in the system +.Sh SYNOPSIS +.Nm +.Sh DESCRIPTION +The +.Nm +command is used to extract vulnerability information from the audit +file and list vulnerable packages that are present in the system. +It is main purpose to help +.Xr portaudit 1 +utility to avoid time-consuming scripting. +.Nm +reads vulnerability information from the standard input and writes +the list of vulnerable ports to the standard output. +Format of the output lines is the same as for the audit file, but +package matching globs are substituted with the actual package names. +.Sh TECHNICAL DETAILS +First the audit file is parsed to the internal representation +(currently it is linked list). +Then we are traversing installed packages database and trying to +match the package name against each audit entry. +The crucial step for the speeding up the process is to first +match the package prefix that has no CSH-like metacharacters +and perform full comparison only if match is found. +One more name is tested prior to the installed packages: it is +.Qo FreeBSD-`sysctl -n kern.osreldate` Qc , +the version of +.Fx +the current system is running. +.Sh SEE ALSO +.Xr portaudit 1 , +.Xr pkg_add 1 , +.Xr pkg_create 1 , +.Xr pkg_delete 1 , +.Xr pkg_version 1 . +.Sh AUTHORS +.An Eygene Ryabinkin Aq rea-fbsd@codelabs.ru +.Sh BUGS +Sure to be some. --=20 1.6.0.2 --X3gaHHMYHkYqP6yf Content-Type: text/x-diff; charset=koi8-r Content-Disposition: attachment; filename="0001-Avoid-usage-of-global-variables-N-in-the-print_affe.patch" Content-Transfer-Encoding: quoted-printable =46rom b5fc2033e39aecd8b65f3bda45bf71572b72262a Mon Sep 17 00:00:00 2001 =46rom: Eygene Ryabinkin Date: Sun, 5 Oct 2008 18:04:10 +0400 Subject: [PATCH 1/4] Avoid usage of global variables $N in the print_affect= ed I will need this functionality in the next commits: some invocations of print_affected will be called with shifted variables $N. But this is good anyway: globals are always been bad and now functions are looking more sanely -- one does not need to guess the meaning of $1, $2 and $3. Signed-off-by: Eygene Ryabinkin --- files/portaudit-cmd.sh | 68 ++++++++++++++++++++++++--------------------= --- 1 files changed, 35 insertions(+), 33 deletions(-) diff --git a/files/portaudit-cmd.sh b/files/portaudit-cmd.sh index c0eb67b..4583c9c 100755 --- a/files/portaudit-cmd.sh +++ b/files/portaudit-cmd.sh @@ -140,7 +140,8 @@ audit_installed() $1 ~ /^FreeBSD[<=3D>!]/ { if (fixedre && $2 ~ fixedre) next if (!system("'"$pkg_version"' -T \"FreeBSD-'"$osversion"'\" \"" $1 "\""= )) { - print_affected("FreeBSD-'"$osversion"'", \ + print_affected("FreeBSD-'"$osversion"'",=20 + $1, $2, $3, \ "To disable this check add the uuid to \`portaudit_fixed'"'"' in %%PR= EFIX%%/etc/portaudit.conf") } next @@ -152,7 +153,7 @@ audit_installed() cmd=3D"'"$pkg_info"' -E \"" $1 "\"" while((cmd | getline pkg) > 0) { vul++ - print_affected(pkg, "") + print_affected(pkg, $1, $2, $3, "") } close(cmd) } @@ -207,7 +208,7 @@ audit_file() if ($2 !~ /'"$opt_restrict"'/) continue vul++ - print_affected(pkg, "") + print_affected(pkg, $1, $2, $3, "") } close(cmd) } @@ -244,7 +245,8 @@ audit_args() ' | $pkg_version -T "$1" -`; then VULCNT=3D$(($VULCNT+1)) echo "$VLIST" | awk -F\| "$PRINTAFFECTED_AWK"' - { print_affected("'"$1"'", "") } + { print_affected("'"$1"'", + $1, $2, $3, "") } ' fi ;; @@ -277,7 +279,7 @@ audit_cwd() { print } ' | $pkg_version -T "$PKGNAME" -`; then echo "$VLIST" | awk -F\| "$PRINTAFFECTED_AWK"' - { print_affected("'"$PKGNAME"'", "") } + { print_affected("'"$PKGNAME"'", $1, $2, $3, "") } ' return 1 fi @@ -425,38 +427,38 @@ prerequisites_checked=3Dfalse =20 if $opt_quiet; then PRINTAFFECTED_AWK=3D' - function print_affected(apkg, note) { - print apkg - } - ' +function print_affected(apkg, glob, refs, descr, note) { + print apkg +} +' elif $opt_verbose; then PRINTAFFECTED_AWK=3D' - function print_affected(apkg, note) { - split(apkg, thepkg) - print "Affected package: " thepkg[1] " (matched by " $1 ")" - print "Type of problem: " $3 "." - split($2, ref, / /) - for (r in ref) - print "Reference: <" ref[r] ">" - if (note) - print "Note: " note - print "" - } - ' +function print_affected(apkg, glob, refs, descr, note) { + split(apkg, thepkg) + print "Affected package: " thepkg[1] " (matched by " glob ")" + print "Type of problem: " descr "." + split(refs, ref, / /) + for (r in ref) + print "Reference: <" ref[r] ">" + if (note) + print "Note: " note + print "" +} +' else PRINTAFFECTED_AWK=3D' - function print_affected(apkg, note) { - split(apkg, thepkg) - print "Affected package: " thepkg[1] - print "Type of problem: " $3 "." - split($2, ref, / /) - for (r in ref) - print "Reference: <" ref[r] ">" - if (note) - print "Note: " note - print "" - } - ' +function print_affected(apkg, glob, refs, descr, note) { + split(apkg, thepkg) + print "Affected package: " thepkg[1] + print "Type of problem: " descr "." + split(refs, ref, / /) + for (r in ref) + print "Reference: <" ref[r] ">" + if (note) + print "Note: " note + print "" +} +' fi =20 if $opt_audit; then --=20 1.6.0.2 --X3gaHHMYHkYqP6yf Content-Type: text/x-diff; charset=koi8-r Content-Disposition: attachment; filename="0002-Separate-vulnerable-ports-search-from-the-formatter.patch" Content-Transfer-Encoding: quoted-printable =46rom b595cf7da5b81489b5e21d85df4dd8e79f3a0b1f Mon Sep 17 00:00:00 2001 =46rom: Eygene Ryabinkin Date: Sun, 5 Oct 2008 18:56:13 +0400 Subject: [PATCH 2/4] Separate vulnerable ports search from the formatter ro= utine I am planning to insert some other filters between the code that outputs the vulnerable port entries and the code that formats the messages about vulnerabilities that had been found. Such a split provides a big flexibility: one can insert more filters that will transform entries and one can substitute search routine for something else (I am planning to substitute it with the binary utility written in a compiled language). This was done only for the routine that checks the installed ports, because it is my primary target for now. May be later I will split other auditing functions in the same way. Signed-off-by: Eygene Ryabinkin --- files/portaudit-cmd.sh | 101 ++++++++++++++++++++++++++++++--------------= ---- 1 files changed, 63 insertions(+), 38 deletions(-) diff --git a/files/portaudit-cmd.sh b/files/portaudit-cmd.sh index 4583c9c..5fc0d1d 100755 --- a/files/portaudit-cmd.sh +++ b/files/portaudit-cmd.sh @@ -125,50 +125,75 @@ portaudit_prerequisites() return 0 } =20 +# +# Helper for audit_installed that actually finds vulnerable packages. +# +# It processes the auditfile entries (that are read from the stdin) +# in the form "glob|refs|desc" and outputs entries in the form +# "pkgname|glob|refs|desc", where "pkgname" is the matched package name. +# +findvuln_installed() +{ + local fixedre=3D`echo -n $portaudit_fixed | tr -c '[:alnum:]- \t\n' 'x' |= tr -s ' \t\n' '|'` + local installedre=3D`$pkg_info -aE | sed -e 's/-[^-]*$//g' | paste -s -d = '|' -` + local osversion=3D`sysctl -n kern.osreldate` + + awk -F\| \ + -v fixedre=3D"$fixedre" -v installedre=3D"$installedre" \ + -v pkg_version=3D"$pkg_version" -v pkg_info=3D"$pkg_info" \ + -v osversion=3D"$osversion" -v opt_restrict=3D"$opt_restrict" \ + ' +/^(#|\$)/ { next } +opt_restrict && $2 !~ opt_restrict { next } +$1 ~ /^FreeBSD[<=3D>!]/ { + if (fixedre && $2 ~ fixedre) next + if (!system(pkg_version " -T \"FreeBSD-" osversion "\" \"" $1 "\"")) { + printf("FreeBSD-%s|%s\n", osversion, $0); + } + next +} +$1 ~ /^[^{}*?]*[<=3D>!]/ { + if ($1 !~ "^(" installedre ")[<=3D>!]") next; +} +{ + cmd=3Dpkg_info " -E \"" $1 "\"" + while((cmd | getline pkg) > 0) { + printf("%s|%s\n", pkg, $0); + } + close(cmd) +} +' +} + audit_installed() { local rc=3D0 local osversion=3D`sysctl -n kern.osreldate` =20 - fixedre=3D`echo -n $portaudit_fixed | tr -c '[:alnum:]- \t\n' 'x' | tr -s= ' \t\n' '|'` - installedre=3D`$pkg_info -aE | sed -e 's/-[^-]*$//g' | paste -s -d '|' -` - - extract_auditfile | awk -F\| "$PRINTAFFECTED_AWK"' - BEGIN { vul=3D0; fixedre=3D"'"$fixedre"'" } - /^(#|\$)/ { next } - $2 !~ /'"$opt_restrict"'/ { next } - $1 ~ /^FreeBSD[<=3D>!]/ { - if (fixedre && $2 ~ fixedre) next - if (!system("'"$pkg_version"' -T \"FreeBSD-'"$osversion"'\" \"" $1 "\""= )) { - print_affected("FreeBSD-'"$osversion"'",=20 - $1, $2, $3, \ - "To disable this check add the uuid to \`portaudit_fixed'"'"' in %%PR= EFIX%%/etc/portaudit.conf") - } - next - } - $1 ~ /^[^{}*?]*[<=3D>!]/ { - if ($1 !~ "^('"$installedre"')[<=3D>!]") next; - } - { - cmd=3D"'"$pkg_info"' -E \"" $1 "\"" - while((cmd | getline pkg) > 0) { - vul++ - print_affected(pkg, $1, $2, $3, "") - } - close(cmd) - } - END { - if ("'$opt_quiet'" =3D=3D "false") { - print vul " problem(s) in your installed packages found." - } - if (vul > 0) { - if ("'$opt_quiet'" =3D=3D "false") { - print "\nYou are advised to update or deinstall" \ - " the affected package(s) immediately." - } - exit(1) - } + extract_auditfile | findvuln_installed | \ + awk -F\| "$PRINTAFFECTED_AWK"' +BEGIN { vul=3D0; } +$1 ~ /^FreeBSD-/ { + print_affected($1, $2, $3, $4, \ + "To disable this check add the uuid to \`portaudit_fixed'"'"' in %%PREFI= X%%/etc/portaudit.conf") + next +} +{ + print_affected($1, $2, $3, $4, ""); + vul++; +} +END { + if ("'$opt_quiet'" =3D=3D "false") { + print vul " problem(s) in your installed packages found." + } + if (vul > 0) { + if ("'$opt_quiet'" =3D=3D "false") { + print "\nYou are advised to update or deinstall" \ + " the affected package(s) immediately." } + exit(1) + } +} ' || rc=3D$? =20 return $rc --=20 1.6.0.2 --X3gaHHMYHkYqP6yf Content-Type: text/x-diff; charset=koi8-r Content-Disposition: attachment; filename="0003-Use-pkg_audit-utility-if-it-is-available.patch" Content-Transfer-Encoding: quoted-printable =46rom 100bf18057bb16f21f0058e31279b9c3730e097d Mon Sep 17 00:00:00 2001 =46rom: Eygene Ryabinkin Date: Sun, 5 Oct 2008 19:20:34 +0400 Subject: [PATCH 3/4] Use pkg_audit utility if it is available Pkg_audit provides a good speed-up to the search of vulnerable packages within installed ones. It can be unavailable, so its usage is conditionalized. Signed-off-by: Eygene Ryabinkin --- files/portaudit-cmd.sh | 15 +++++++++++++++ files/portaudit.conf | 4 ++++ 2 files changed, 19 insertions(+), 0 deletions(-) diff --git a/files/portaudit-cmd.sh b/files/portaudit-cmd.sh index 5fc0d1d..32c121d 100755 --- a/files/portaudit-cmd.sh +++ b/files/portaudit-cmd.sh @@ -43,6 +43,8 @@ portaudit_confs() =20 : ${portaudit_fixed=3D""} =20 + : ${portaudit_pkg_audit=3D"/usr/sbin/pkg_audit"} + if [ -r %%PREFIX%%/etc/portaudit.conf ]; then . %%PREFIX%%/etc/portaudit.conf fi @@ -135,6 +137,19 @@ portaudit_prerequisites() findvuln_installed() { local fixedre=3D`echo -n $portaudit_fixed | tr -c '[:alnum:]- \t\n' 'x' |= tr -s ' \t\n' '|'` + + if [ -x "${portaudit_pkg_audit}" ]; then + "${portaudit_pkg_audit}" | awk -F \| \ + -v fixedre=3D"$fixedre" -v opt_restrict=3D"$opt_restrict" \ + ' +opt_restrict && $3 !~ opt_restrict { next } +$2 ~ /^FreeBSD[<=3D>!]/ && fixedre && $3 ~ fixedre { next } +{ print } +' + + return + fi + local installedre=3D`$pkg_info -aE | sed -e 's/-[^-]*$//g' | paste -s -d = '|' -` local osversion=3D`sysctl -n kern.osreldate` =20 diff --git a/files/portaudit.conf b/files/portaudit.conf index 4eb08d7..9ea2c4a 100644 --- a/files/portaudit.conf +++ b/files/portaudit.conf @@ -17,3 +17,7 @@ =20 # this vulnerability has been fixed in your FreeBSD version #portaudit_fixed=3D"d2102505-f03d-11d8-81b0-000347a4fa7d" + +# this command will be used to find the vulnerable packages +# instead of awk(1) script. +# portaudit_pkg_audit=3D"/usr/sbin/pkg_audit" --=20 1.6.0.2 --X3gaHHMYHkYqP6yf Content-Type: text/x-diff; charset=koi8-r Content-Disposition: attachment; filename="0004-Implement-checking-for-a-new-package-versions.patch" Content-Transfer-Encoding: quoted-printable =46rom f4ef2c5c03ea9543ecdfc68a62b26449b8d492ed Mon Sep 17 00:00:00 2001 =46rom: Eygene Ryabinkin Date: Sun, 5 Oct 2008 22:27:53 +0400 Subject: [PATCH 4/4] Implement checking for a new package versions Flag '-n' tells portaudit to check if updated packages are available. It is currently done only for the 'all installed packages' mode, i.e. when '-a' flag is given. To do this, one additional utility, portaudit-checknew, is introduced. It downloads the ports INDEX file for the current FreeBSD version and checks if new versions of packages are available. This utility is spawned at the late stage when vulnerable packages are already determined and thus only they are checked. So the number of input items shouldn't be very large and portaudit-checknew is a plain shell script. Signed-off-by: Eygene Ryabinkin --- Makefile | 4 +- files/portaudit-checknew.sh | 159 +++++++++++++++++++++++++++++++++++++++= ++++ files/portaudit-cmd.sh | 67 +++++++++++++++--- files/portaudit.1 | 4 +- pkg-plist | 1 + 5 files changed, 222 insertions(+), 13 deletions(-) create mode 100755 files/portaudit-checknew.sh diff --git a/Makefile b/Makefile index 885dc27..6083235 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,8 @@ SED_SCRIPT=3D -e 's|%%PREFIX%%|${PREFIX}|g' \ -e "s|%%BZIP2_CMD%%|${BZIP2_CMD}|g" \ =20 do-build: -.for f in portaudit-cmd.sh portaudit.sh portaudit.1 portaudit.conf +.for f in portaudit-cmd.sh portaudit-checknew.sh portaudit.sh \ + portaudit.1 portaudit.conf @${SED} ${SED_SCRIPT} ${FILESDIR}/${f} >${WRKDIR}/${f} .endfor =20 @@ -54,6 +55,7 @@ pre-install: =20 do-install: @${INSTALL_SCRIPT} ${WRKDIR}/portaudit-cmd.sh ${PREFIX}/sbin/portaudit + @${INSTALL_SCRIPT} ${WRKDIR}/portaudit-checknew.sh ${PREFIX}/sbin/portaud= it-checknew @${INSTALL_DATA} ${WRKDIR}/portaudit.conf ${PREFIX}/etc/portaudit.conf.sa= mple @${INSTALL_MAN} ${WRKDIR}/portaudit.1 ${MAN1PREFIX}/man/man1 @${MKDIR} ${PERIODICDIR}/security diff --git a/files/portaudit-checknew.sh b/files/portaudit-checknew.sh new file mode 100755 index 0000000..6bc7dfe --- /dev/null +++ b/files/portaudit-checknew.sh @@ -0,0 +1,159 @@ +#!/bin/sh +# $FreeBSD$ +# +# Script to check if newer port versions then the ones installed +# in the system are available. Uses downloaded ports index from +# the master site. +# +# Utility acts as a filter: reads input strings, processes them +# and outputs the result to the standard output. Each input string +# is treated as the collection of '|'-separated fields. First field +# should be the package name with version, other fields can have +# any contents -- they won't be touched. +# +# One more field can be added -- the newest port version, if it can +# be deduced. This field will be added to the end fieldset. +# +# For any error the utility will just output the unmodified input +# contents. +# +# Eygene Ryabinkin, rea-fbsd@codelabs.ru. September 2008. + +BASEURL=3Dhttp://www.freebsd.org/ports/INDEX- +PKGBASE=3D/var/db/pkg + +# Obtains FreeBSD major version number from uname output. +freebsd_major () { + uname -r | cut -f1 -d- | cut -f1 -d. +} + +# Returns the OS version for the INDEX file. It is just a wrapper +# for the freebsd_major routine that applies the fixups for the +# known unsupported versions. +index_version () { + local major + + major=3D`freebsd_major` + case "$major" in + 1|2|3|4) + major=3D5 + ;; + esac + echo "$major" +} + +# Guesses (installed) port origin. +# Arguments: +# - port name with version specification. +# - name of file wit +guess_origin () { + local contents origin + + if [ -z "$1" ]; then + echo "guess_origin(): called without arguments" >&2 + exit 255 + fi + if [ -z "$2" ]; then + echo "guess_origin(): called without second argument" >&2 + exit 255 + fi + + contents=3D"$PKGBASE"/"$1"/"+CONTENTS" + if [ -s "$contents" ]; then + origin=3D`grep '^@comment ORIGIN:' "$contents" | \ + sed -e's/^@comment ORIGIN://'` + if [ -n "$origin" ]; then + echo "$origin" + return + fi + fi + # Not yet implemented: loop over INDEX file and try to get + # the origin from the matched ports description. +} + +# Fetches bzipped port index file and outputs it to the stdout +# Arguments: +# - URL to get file from. +# +# Uses 'opt_cachedir' (if it is not empty) as the name of the directory +# to place the downloaded file to. Download is made in the mirror mode, +# so if file's timestamps and size are checked and no download takes +# place if the remote file has the same characteristics. +fetch_index () { + if [ -z "$1" ]; then + echo "fetch_index(): called without arguments" >&2 + exit 255 + fi + + if [ -z "$opt_cachedir" -o ! -d "$opt_cachedir" ]; then + fetch -qpo - "$1" + return + fi + + local outfile=3D"$opt_cachedir"/`basename "$1"` + fetch -mpo "$outfile" "$1" && cat "$outfile" +} + +TMPINDEX=3D`mktemp -q -t versionaudit-INDEX` +if [ -z "$TMPINDEX" ]; then + echo "Unable to create temporary file for ports index." >&2 + cat + exit 1 +fi + +trap "rm -f \"$TMPINDEX\"" 0 1 2 3 15 + +opt_cachedir=3D + +while getopts c: opt; do + case "$opt" in + c) + opt_cachedir=3D"$OPTARG" + ;; + ?) + echo "Usage: $0 [-c cachedir]" + exit 2 + ;; + esac +done + +url=3D"$BASEURL"`index_version`.bz2 +fetch_index "$url" | bunzip2 -c > "$TMPINDEX" +if ! [ -s "$TMPINDEX" ]; then + echo "Unable to download port index from $url" >&2 + cat + exit 1 +fi + +IFS=3D'|' +while read portspec rest; do + portname=3D`echo "$portspec" | sed -e's/-[^-]*$//'` + origin=3D`guess_origin "$portspec" "$TMPINDEX"` + if [ -z "$origin" ]; then + echo "Unable to get port origin for '$portspec'." >&2 + continue + fi + # The while cycle is hackish: we make "$?" non-zero if no + # matches were found and it is set to zero if match was + # found. All exit paths from the cycle should set "$?" + # properly. + # + # Another way to proceed is to make subroutine that will + # either print something or not, because we can't pass + # variables outside the while loop -- it is done in the + # separate process. + grep "^$portname-" "$TMPINDEX" | while read nportspec ndir nrest + do + nportname=3D`echo "$nportspec" | sed -e's/-[^-]*$//'` + norigin=3D`echo "$ndir" | sed -e's|^/[^/]*/[^/]*/||'` + if [ "$nportname" =3D "$portname" -a \ + "$norigin" =3D "$origin" ]; then + echo "$portspec|$rest|$nportspec" + true + break + fi + false + done || echo "$portspec|$rest" +done + +exit 0 diff --git a/files/portaudit-cmd.sh b/files/portaudit-cmd.sh index 32c121d..0ddd3d3 100755 --- a/files/portaudit-cmd.sh +++ b/files/portaudit-cmd.sh @@ -127,6 +127,15 @@ portaudit_prerequisites() return 0 } =20 +checknew() +{ + if [ -n "$opt_checknew" ]; then + portaudit-checknew -c "${portaudit_dir}" + else + cat + fi +} + # # Helper for audit_installed that actually finds vulnerable packages. # @@ -185,16 +194,16 @@ audit_installed() local rc=3D0 local osversion=3D`sysctl -n kern.osreldate` =20 - extract_auditfile | findvuln_installed | \ - awk -F\| "$PRINTAFFECTED_AWK"' + extract_auditfile | findvuln_installed | checknew | \ + awk -F\| -v pkg_version=3D"$pkg_version" "$PRINTAFFECTED_AWK"' BEGIN { vul=3D0; } $1 ~ /^FreeBSD-/ { - print_affected($1, $2, $3, $4, \ + print_affected($1, $2, $3, $4, "", \ "To disable this check add the uuid to \`portaudit_fixed'"'"' in %%PREFI= X%%/etc/portaudit.conf") next } { - print_affected($1, $2, $3, $4, ""); + print_affected($1, $2, $3, $4, $5, ""); vul++; } END { @@ -248,7 +257,7 @@ audit_file() if ($2 !~ /'"$opt_restrict"'/) continue vul++ - print_affected(pkg, $1, $2, $3, "") + print_affected(pkg, $1, $2, $3, "", "") } close(cmd) } @@ -286,7 +295,7 @@ audit_args() VULCNT=3D$(($VULCNT+1)) echo "$VLIST" | awk -F\| "$PRINTAFFECTED_AWK"' { print_affected("'"$1"'", - $1, $2, $3, "") } + $1, $2, $3, "", "") } ' fi ;; @@ -319,7 +328,7 @@ audit_cwd() { print } ' | $pkg_version -T "$PKGNAME" -`; then echo "$VLIST" | awk -F\| "$PRINTAFFECTED_AWK"' - { print_affected("'"$PKGNAME"'", $1, $2, $3, "") } + { print_affected("'"$PKGNAME"'", $1, $2, $3, "", "") } ' return 1 fi @@ -389,12 +398,13 @@ opt_restrict=3D opt_verbose=3Dfalse opt_version=3Dfalse opt_expiry=3D +opt_checknew=3D =20 if [ $# -eq 0 ] ; then opt_audit=3Dtrue fi =20 -while getopts aCdf:Fqr:vVX: opt; do +while getopts aCdf:Fnqr:vVX: opt; do case "$opt" in a) opt_audit=3Dtrue;; @@ -406,6 +416,8 @@ while getopts aCdf:Fqr:vVX: opt; do opt_file=3D"$OPTARG";; F) opt_fetch=3Dtrue;; + n) + opt_checknew=3Dtrue;; q) opt_quiet=3Dtrue;; r) @@ -465,15 +477,42 @@ fi =20 prerequisites_checked=3Dfalse =20 +# This awk code demands 'pkg_version' variable to be set +# if 'newver' variable is non-empty. +NEWVERS_AWK=3D' + +nparts=3Dsplit(thepkg[1], verarr, /-/) +gtglob=3Dverarr[1] +for (i=3D2; i" verarr[i] + +updated=3D"" +avail=3D0 +if (system(pkg_version " -T \"" newver "\" '\''" gtglob "'\''") =3D=3D 0) { + updated=3D"available, " newver + avail=3D1 +} else { + updated=3D"not available" +} +if (avail !=3D 0) { + if (system(pkg_version " -T \"" newver "\" '\''" glob "'\''") =3D=3D 0) + updated=3Dupdated ", still vulnerable" + else + updated=3Dupdated ", not vulnerable" +} +print "Updated package: " updated +' + if $opt_quiet; then PRINTAFFECTED_AWK=3D' -function print_affected(apkg, glob, refs, descr, note) { +function print_affected(apkg, glob, refs, descr, newver, note) { print apkg } ' elif $opt_verbose; then PRINTAFFECTED_AWK=3D' -function print_affected(apkg, glob, refs, descr, note) { +function print_affected(apkg, glob, refs, descr, newver, note) { split(apkg, thepkg) print "Affected package: " thepkg[1] " (matched by " glob ")" print "Type of problem: " descr "." @@ -482,12 +521,15 @@ function print_affected(apkg, glob, refs, descr, note= ) { print "Reference: <" ref[r] ">" if (note) print "Note: " note + if (newver) { +'"$NEWVERS_AWK"' + } print "" } ' else PRINTAFFECTED_AWK=3D' -function print_affected(apkg, glob, refs, descr, note) { +function print_affected(apkg, glob, refs, descr, newver, note) { split(apkg, thepkg) print "Affected package: " thepkg[1] print "Type of problem: " descr "." @@ -496,6 +538,9 @@ function print_affected(apkg, glob, refs, descr, note) { print "Reference: <" ref[r] ">" if (note) print "Note: " note + if (newver) { +'"$NEWVERS_AWK"' + } print "" } ' diff --git a/files/portaudit.1 b/files/portaudit.1 index c982b41..5cb0ec2 100644 --- a/files/portaudit.1 +++ b/files/portaudit.1 @@ -42,7 +42,7 @@ .Sh SYNOPSIS . .Nm -.Op Fl aCdFqvV +.Op Fl aCdFnqvV .Op Fl X Ar days .Op Fl f Ar file .Op Fl r Ar eregex @@ -85,6 +85,8 @@ Print the creation date of the database. Fetch the current database from the .Fx servers. +.It Fl n +Check if new versions of vulnerable ports are present. .It Fl q Quiet mode. .It Fl V diff --git a/pkg-plist b/pkg-plist index 8edf7bb..3c9f775 100644 --- a/pkg-plist +++ b/pkg-plist @@ -1,4 +1,5 @@ sbin/portaudit +sbin/portaudit-checknew etc/portaudit.conf.sample %%PERIODICDIR%%/security/410.portaudit @dirrmtry %%PERIODICDIR%%/security --=20 1.6.0.2 --X3gaHHMYHkYqP6yf Content-Type: text/x-diff; charset=koi8-r Content-Disposition: attachment; filename="portaudit-megapatch_pkg_audit-and-checknew.diff" Content-Transfer-Encoding: quoted-printable This is the megapatch that adds both pkg_audit support and the ability to check if new versions of vulnerable ports are present. diff --git a/Makefile b/Makefile index 885dc27..6083235 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,8 @@ SED_SCRIPT=3D -e 's|%%PREFIX%%|${PREFIX}|g' \ -e "s|%%BZIP2_CMD%%|${BZIP2_CMD}|g" \ =20 do-build: -.for f in portaudit-cmd.sh portaudit.sh portaudit.1 portaudit.conf +.for f in portaudit-cmd.sh portaudit-checknew.sh portaudit.sh \ + portaudit.1 portaudit.conf @${SED} ${SED_SCRIPT} ${FILESDIR}/${f} >${WRKDIR}/${f} .endfor =20 @@ -54,6 +55,7 @@ pre-install: =20 do-install: @${INSTALL_SCRIPT} ${WRKDIR}/portaudit-cmd.sh ${PREFIX}/sbin/portaudit + @${INSTALL_SCRIPT} ${WRKDIR}/portaudit-checknew.sh ${PREFIX}/sbin/portaud= it-checknew @${INSTALL_DATA} ${WRKDIR}/portaudit.conf ${PREFIX}/etc/portaudit.conf.sa= mple @${INSTALL_MAN} ${WRKDIR}/portaudit.1 ${MAN1PREFIX}/man/man1 @${MKDIR} ${PERIODICDIR}/security diff --git a/files/portaudit-checknew.sh b/files/portaudit-checknew.sh new file mode 100755 index 0000000..6bc7dfe --- /dev/null +++ b/files/portaudit-checknew.sh @@ -0,0 +1,159 @@ +#!/bin/sh +# $FreeBSD$ +# +# Script to check if newer port versions then the ones installed +# in the system are available. Uses downloaded ports index from +# the master site. +# +# Utility acts as a filter: reads input strings, processes them +# and outputs the result to the standard output. Each input string +# is treated as the collection of '|'-separated fields. First field +# should be the package name with version, other fields can have +# any contents -- they won't be touched. +# +# One more field can be added -- the newest port version, if it can +# be deduced. This field will be added to the end fieldset. +# +# For any error the utility will just output the unmodified input +# contents. +# +# Eygene Ryabinkin, rea-fbsd@codelabs.ru. September 2008. + +BASEURL=3Dhttp://www.freebsd.org/ports/INDEX- +PKGBASE=3D/var/db/pkg + +# Obtains FreeBSD major version number from uname output. +freebsd_major () { + uname -r | cut -f1 -d- | cut -f1 -d. +} + +# Returns the OS version for the INDEX file. It is just a wrapper +# for the freebsd_major routine that applies the fixups for the +# known unsupported versions. +index_version () { + local major + + major=3D`freebsd_major` + case "$major" in + 1|2|3|4) + major=3D5 + ;; + esac + echo "$major" +} + +# Guesses (installed) port origin. +# Arguments: +# - port name with version specification. +# - name of file wit +guess_origin () { + local contents origin + + if [ -z "$1" ]; then + echo "guess_origin(): called without arguments" >&2 + exit 255 + fi + if [ -z "$2" ]; then + echo "guess_origin(): called without second argument" >&2 + exit 255 + fi + + contents=3D"$PKGBASE"/"$1"/"+CONTENTS" + if [ -s "$contents" ]; then + origin=3D`grep '^@comment ORIGIN:' "$contents" | \ + sed -e's/^@comment ORIGIN://'` + if [ -n "$origin" ]; then + echo "$origin" + return + fi + fi + # Not yet implemented: loop over INDEX file and try to get + # the origin from the matched ports description. +} + +# Fetches bzipped port index file and outputs it to the stdout +# Arguments: +# - URL to get file from. +# +# Uses 'opt_cachedir' (if it is not empty) as the name of the directory +# to place the downloaded file to. Download is made in the mirror mode, +# so if file's timestamps and size are checked and no download takes +# place if the remote file has the same characteristics. +fetch_index () { + if [ -z "$1" ]; then + echo "fetch_index(): called without arguments" >&2 + exit 255 + fi + + if [ -z "$opt_cachedir" -o ! -d "$opt_cachedir" ]; then + fetch -qpo - "$1" + return + fi + + local outfile=3D"$opt_cachedir"/`basename "$1"` + fetch -mpo "$outfile" "$1" && cat "$outfile" +} + +TMPINDEX=3D`mktemp -q -t versionaudit-INDEX` +if [ -z "$TMPINDEX" ]; then + echo "Unable to create temporary file for ports index." >&2 + cat + exit 1 +fi + +trap "rm -f \"$TMPINDEX\"" 0 1 2 3 15 + +opt_cachedir=3D + +while getopts c: opt; do + case "$opt" in + c) + opt_cachedir=3D"$OPTARG" + ;; + ?) + echo "Usage: $0 [-c cachedir]" + exit 2 + ;; + esac +done + +url=3D"$BASEURL"`index_version`.bz2 +fetch_index "$url" | bunzip2 -c > "$TMPINDEX" +if ! [ -s "$TMPINDEX" ]; then + echo "Unable to download port index from $url" >&2 + cat + exit 1 +fi + +IFS=3D'|' +while read portspec rest; do + portname=3D`echo "$portspec" | sed -e's/-[^-]*$//'` + origin=3D`guess_origin "$portspec" "$TMPINDEX"` + if [ -z "$origin" ]; then + echo "Unable to get port origin for '$portspec'." >&2 + continue + fi + # The while cycle is hackish: we make "$?" non-zero if no + # matches were found and it is set to zero if match was + # found. All exit paths from the cycle should set "$?" + # properly. + # + # Another way to proceed is to make subroutine that will + # either print something or not, because we can't pass + # variables outside the while loop -- it is done in the + # separate process. + grep "^$portname-" "$TMPINDEX" | while read nportspec ndir nrest + do + nportname=3D`echo "$nportspec" | sed -e's/-[^-]*$//'` + norigin=3D`echo "$ndir" | sed -e's|^/[^/]*/[^/]*/||'` + if [ "$nportname" =3D "$portname" -a \ + "$norigin" =3D "$origin" ]; then + echo "$portspec|$rest|$nportspec" + true + break + fi + false + done || echo "$portspec|$rest" +done + +exit 0 diff --git a/files/portaudit-cmd.sh b/files/portaudit-cmd.sh index c0eb67b..0ddd3d3 100755 --- a/files/portaudit-cmd.sh +++ b/files/portaudit-cmd.sh @@ -43,6 +43,8 @@ portaudit_confs() =20 : ${portaudit_fixed=3D""} =20 + : ${portaudit_pkg_audit=3D"/usr/sbin/pkg_audit"} + if [ -r %%PREFIX%%/etc/portaudit.conf ]; then . %%PREFIX%%/etc/portaudit.conf fi @@ -125,49 +127,97 @@ portaudit_prerequisites() return 0 } =20 +checknew() +{ + if [ -n "$opt_checknew" ]; then + portaudit-checknew -c "${portaudit_dir}" + else + cat + fi +} + +# +# Helper for audit_installed that actually finds vulnerable packages. +# +# It processes the auditfile entries (that are read from the stdin) +# in the form "glob|refs|desc" and outputs entries in the form +# "pkgname|glob|refs|desc", where "pkgname" is the matched package name. +# +findvuln_installed() +{ + local fixedre=3D`echo -n $portaudit_fixed | tr -c '[:alnum:]- \t\n' 'x' |= tr -s ' \t\n' '|'` + + if [ -x "${portaudit_pkg_audit}" ]; then + "${portaudit_pkg_audit}" | awk -F \| \ + -v fixedre=3D"$fixedre" -v opt_restrict=3D"$opt_restrict" \ + ' +opt_restrict && $3 !~ opt_restrict { next } +$2 ~ /^FreeBSD[<=3D>!]/ && fixedre && $3 ~ fixedre { next } +{ print } +' + + return + fi + + local installedre=3D`$pkg_info -aE | sed -e 's/-[^-]*$//g' | paste -s -d = '|' -` + local osversion=3D`sysctl -n kern.osreldate` + + awk -F\| \ + -v fixedre=3D"$fixedre" -v installedre=3D"$installedre" \ + -v pkg_version=3D"$pkg_version" -v pkg_info=3D"$pkg_info" \ + -v osversion=3D"$osversion" -v opt_restrict=3D"$opt_restrict" \ + ' +/^(#|\$)/ { next } +opt_restrict && $2 !~ opt_restrict { next } +$1 ~ /^FreeBSD[<=3D>!]/ { + if (fixedre && $2 ~ fixedre) next + if (!system(pkg_version " -T \"FreeBSD-" osversion "\" \"" $1 "\"")) { + printf("FreeBSD-%s|%s\n", osversion, $0); + } + next +} +$1 ~ /^[^{}*?]*[<=3D>!]/ { + if ($1 !~ "^(" installedre ")[<=3D>!]") next; +} +{ + cmd=3Dpkg_info " -E \"" $1 "\"" + while((cmd | getline pkg) > 0) { + printf("%s|%s\n", pkg, $0); + } + close(cmd) +} +' +} + audit_installed() { local rc=3D0 local osversion=3D`sysctl -n kern.osreldate` =20 - fixedre=3D`echo -n $portaudit_fixed | tr -c '[:alnum:]- \t\n' 'x' | tr -s= ' \t\n' '|'` - installedre=3D`$pkg_info -aE | sed -e 's/-[^-]*$//g' | paste -s -d '|' -` - - extract_auditfile | awk -F\| "$PRINTAFFECTED_AWK"' - BEGIN { vul=3D0; fixedre=3D"'"$fixedre"'" } - /^(#|\$)/ { next } - $2 !~ /'"$opt_restrict"'/ { next } - $1 ~ /^FreeBSD[<=3D>!]/ { - if (fixedre && $2 ~ fixedre) next - if (!system("'"$pkg_version"' -T \"FreeBSD-'"$osversion"'\" \"" $1 "\""= )) { - print_affected("FreeBSD-'"$osversion"'", \ - "To disable this check add the uuid to \`portaudit_fixed'"'"' in %%PR= EFIX%%/etc/portaudit.conf") - } - next - } - $1 ~ /^[^{}*?]*[<=3D>!]/ { - if ($1 !~ "^('"$installedre"')[<=3D>!]") next; - } - { - cmd=3D"'"$pkg_info"' -E \"" $1 "\"" - while((cmd | getline pkg) > 0) { - vul++ - print_affected(pkg, "") - } - close(cmd) - } - END { - if ("'$opt_quiet'" =3D=3D "false") { - print vul " problem(s) in your installed packages found." - } - if (vul > 0) { - if ("'$opt_quiet'" =3D=3D "false") { - print "\nYou are advised to update or deinstall" \ - " the affected package(s) immediately." - } - exit(1) - } + extract_auditfile | findvuln_installed | checknew | \ + awk -F\| -v pkg_version=3D"$pkg_version" "$PRINTAFFECTED_AWK"' +BEGIN { vul=3D0; } +$1 ~ /^FreeBSD-/ { + print_affected($1, $2, $3, $4, "", \ + "To disable this check add the uuid to \`portaudit_fixed'"'"' in %%PREFI= X%%/etc/portaudit.conf") + next +} +{ + print_affected($1, $2, $3, $4, $5, ""); + vul++; +} +END { + if ("'$opt_quiet'" =3D=3D "false") { + print vul " problem(s) in your installed packages found." + } + if (vul > 0) { + if ("'$opt_quiet'" =3D=3D "false") { + print "\nYou are advised to update or deinstall" \ + " the affected package(s) immediately." } + exit(1) + } +} ' || rc=3D$? =20 return $rc @@ -207,7 +257,7 @@ audit_file() if ($2 !~ /'"$opt_restrict"'/) continue vul++ - print_affected(pkg, "") + print_affected(pkg, $1, $2, $3, "", "") } close(cmd) } @@ -244,7 +294,8 @@ audit_args() ' | $pkg_version -T "$1" -`; then VULCNT=3D$(($VULCNT+1)) echo "$VLIST" | awk -F\| "$PRINTAFFECTED_AWK"' - { print_affected("'"$1"'", "") } + { print_affected("'"$1"'", + $1, $2, $3, "", "") } ' fi ;; @@ -277,7 +328,7 @@ audit_cwd() { print } ' | $pkg_version -T "$PKGNAME" -`; then echo "$VLIST" | awk -F\| "$PRINTAFFECTED_AWK"' - { print_affected("'"$PKGNAME"'", "") } + { print_affected("'"$PKGNAME"'", $1, $2, $3, "", "") } ' return 1 fi @@ -347,12 +398,13 @@ opt_restrict=3D opt_verbose=3Dfalse opt_version=3Dfalse opt_expiry=3D +opt_checknew=3D =20 if [ $# -eq 0 ] ; then opt_audit=3Dtrue fi =20 -while getopts aCdf:Fqr:vVX: opt; do +while getopts aCdf:Fnqr:vVX: opt; do case "$opt" in a) opt_audit=3Dtrue;; @@ -364,6 +416,8 @@ while getopts aCdf:Fqr:vVX: opt; do opt_file=3D"$OPTARG";; F) opt_fetch=3Dtrue;; + n) + opt_checknew=3Dtrue;; q) opt_quiet=3Dtrue;; r) @@ -423,40 +477,73 @@ fi =20 prerequisites_checked=3Dfalse =20 +# This awk code demands 'pkg_version' variable to be set +# if 'newver' variable is non-empty. +NEWVERS_AWK=3D' + +nparts=3Dsplit(thepkg[1], verarr, /-/) +gtglob=3Dverarr[1] +for (i=3D2; i" verarr[i] + +updated=3D"" +avail=3D0 +if (system(pkg_version " -T \"" newver "\" '\''" gtglob "'\''") =3D=3D 0) { + updated=3D"available, " newver + avail=3D1 +} else { + updated=3D"not available" +} +if (avail !=3D 0) { + if (system(pkg_version " -T \"" newver "\" '\''" glob "'\''") =3D=3D 0) + updated=3Dupdated ", still vulnerable" + else + updated=3Dupdated ", not vulnerable" +} +print "Updated package: " updated +' + if $opt_quiet; then PRINTAFFECTED_AWK=3D' - function print_affected(apkg, note) { - print apkg - } - ' +function print_affected(apkg, glob, refs, descr, newver, note) { + print apkg +} +' elif $opt_verbose; then PRINTAFFECTED_AWK=3D' - function print_affected(apkg, note) { - split(apkg, thepkg) - print "Affected package: " thepkg[1] " (matched by " $1 ")" - print "Type of problem: " $3 "." - split($2, ref, / /) - for (r in ref) - print "Reference: <" ref[r] ">" - if (note) - print "Note: " note - print "" - } - ' +function print_affected(apkg, glob, refs, descr, newver, note) { + split(apkg, thepkg) + print "Affected package: " thepkg[1] " (matched by " glob ")" + print "Type of problem: " descr "." + split(refs, ref, / /) + for (r in ref) + print "Reference: <" ref[r] ">" + if (note) + print "Note: " note + if (newver) { +'"$NEWVERS_AWK"' + } + print "" +} +' else PRINTAFFECTED_AWK=3D' - function print_affected(apkg, note) { - split(apkg, thepkg) - print "Affected package: " thepkg[1] - print "Type of problem: " $3 "." - split($2, ref, / /) - for (r in ref) - print "Reference: <" ref[r] ">" - if (note) - print "Note: " note - print "" - } - ' +function print_affected(apkg, glob, refs, descr, newver, note) { + split(apkg, thepkg) + print "Affected package: " thepkg[1] + print "Type of problem: " descr "." + split(refs, ref, / /) + for (r in ref) + print "Reference: <" ref[r] ">" + if (note) + print "Note: " note + if (newver) { +'"$NEWVERS_AWK"' + } + print "" +} +' fi =20 if $opt_audit; then diff --git a/files/portaudit.1 b/files/portaudit.1 index c982b41..5cb0ec2 100644 --- a/files/portaudit.1 +++ b/files/portaudit.1 @@ -42,7 +42,7 @@ .Sh SYNOPSIS . .Nm -.Op Fl aCdFqvV +.Op Fl aCdFnqvV .Op Fl X Ar days .Op Fl f Ar file .Op Fl r Ar eregex @@ -85,6 +85,8 @@ Print the creation date of the database. Fetch the current database from the .Fx servers. +.It Fl n +Check if new versions of vulnerable ports are present. .It Fl q Quiet mode. .It Fl V diff --git a/files/portaudit.conf b/files/portaudit.conf index 4eb08d7..9ea2c4a 100644 --- a/files/portaudit.conf +++ b/files/portaudit.conf @@ -17,3 +17,7 @@ =20 # this vulnerability has been fixed in your FreeBSD version #portaudit_fixed=3D"d2102505-f03d-11d8-81b0-000347a4fa7d" + +# this command will be used to find the vulnerable packages +# instead of awk(1) script. +# portaudit_pkg_audit=3D"/usr/sbin/pkg_audit" diff --git a/pkg-plist b/pkg-plist index 8edf7bb..3c9f775 100644 --- a/pkg-plist +++ b/pkg-plist @@ -1,4 +1,5 @@ sbin/portaudit +sbin/portaudit-checknew etc/portaudit.conf.sample %%PERIODICDIR%%/security/410.portaudit @dirrmtry %%PERIODICDIR%%/security --X3gaHHMYHkYqP6yf-- --aPdhxNJGSeOG9wFI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjpD3QACgkQthUKNsbL7YhR0gCcDLqUN4PF6QqCWua2KuIza2OD hfEAn11non2XPdY+r4zIsFYIPC0x4vs1 =kJcQ -----END PGP SIGNATURE----- --aPdhxNJGSeOG9wFI-- From owner-freebsd-ports@FreeBSD.ORG Sun Oct 5 19:16:13 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86843106564A; Sun, 5 Oct 2008 19:16:13 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 2F0428FC24; Sun, 5 Oct 2008 19:16:13 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender; b=HKkMFVM/jbovocWWZqxUoJdWTB94xJOD+wM6nRD3TGbdxi1mno9mBVD2wHfy3pY1LUwiGgDeXxyDbEceVj2ZMQfnY2pFgE6sQBz5RMyIXZyHHJhnQ+4RgmOHBvqLZEo+ebU5+JR917f49gEsOz23EFOVVI39sM4SRMfbIzTzBxU=; Received: from amnesiac.at.no.dns (ppp83-237-107-240.pppoe.mtu-net.ru [83.237.107.240]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1KmZ5P-0000uB-RL; Sun, 05 Oct 2008 23:16:11 +0400 Date: Sun, 5 Oct 2008 23:16:20 +0400 From: Eygene Ryabinkin To: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: References: <48DE5CC0.9000708@localhost.inse.ru> <48DF6735.4030906@quip.cz> <4bESZpNwE3z/DdlE2fwK/BXzQSo@2MQ0uKCiT7mdMUuLeUzs8Nv3ToQ> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cW+P/jduATWpL925" Content-Disposition: inline In-Reply-To: Sender: rea-fbsd@codelabs.ru Cc: freebsd-hackers@freebsd.org, Roman Kurakin , bug-followup@freebsd.org, freebsd-ports@freebsd.org Subject: Re: ports/126853: ports-mgmt/portaudit: speed up audit of installed packages X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 19:16:13 -0000 --cW+P/jduATWpL925 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Sun, Oct 05, 2008 at 11:03:17PM +0400, Eygene Ryabinkin wrote: > I had also changed the output format for pkg_audit, so I am attaching > another version of the second patch for the pkg_install bundle. One neat about new pkg_audit utility: if you already have the build directory for pkg_install in the /usr/obj, you should create subdirectory for the pkg_audit, ----- mkdir /usr/obj/usr/src/usr.sbin/pkg_install/audit ----- or completely remove /usr/obj/usr/src/usr.sbin/pkg_install World build should do it automatically, at least it worked for me. --=20 Eygene _ ___ _.--. # \`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard / ' ` , __.--' # to read the on-line manual =20 )/' _/ \ `-_, / # while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / # -- FreeBSD Developers handbook=20 {_.-``-' {_/ # --cW+P/jduATWpL925 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjpEoQACgkQthUKNsbL7YjATgCeOBC9gPeUJZJInl1/kluggj6V f6sAn1KmdznY5zPZhUIlx1sQdzQfLCaF =tXav -----END PGP SIGNATURE----- --cW+P/jduATWpL925-- From owner-freebsd-ports@FreeBSD.ORG Sun Oct 5 19:27:06 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6B121065687 for ; Sun, 5 Oct 2008 19:27:06 +0000 (UTC) (envelope-from me@janh.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by mx1.freebsd.org (Postfix) with ESMTP id 6FCEE8FC0A for ; Sun, 5 Oct 2008 19:27:06 +0000 (UTC) (envelope-from me@janh.de) Received: from janh.freebsd (f054099058.adsl.alicedsl.de [78.54.99.58]) by mrelayeu.kundenserver.de (node=mrelayeu8) with ESMTP (Nemesis) id 0ML31I-1KmZFv0yWo-0007c2; Sun, 05 Oct 2008 21:27:03 +0200 Message-ID: <48E91506.4010400@janh.de> Date: Sun, 05 Oct 2008 21:27:02 +0200 From: Jan Henrik Sylvester User-Agent: Thunderbird 2.0.0.17 (X11/20080927) MIME-Version: 1.0 To: ports-list freebsd Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1+N8r7WYZ7rmuNwXAqKclbJ07009Z8WHf8D9jE oKW9826FJpLh+uQTiz2gid+4CFhVca3iwzUsQ4y6g/k01AF/Mi hn0HAk22tPYYJo3sLd9ZQ== Subject: Found CONFLICTS: teTeX-base/texinfo emacs/texinfo open-motif/tcl84 coreutils/firebird2-server X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 19:27:06 -0000 Playing a little with /var/db/pkg/*/+CONTENTS, I found some CONFLICTS, for example: pkg_info: both coreutils-6.9_3 and firebird-server-2.0.3_2 claim to have installed /usr/local/bin/gstat pkg_info: both teTeX-base-3.0_14 and texinfo-4.11 claim to have installed /usr/local/bin/texi2dvi pkg_info: both teTeX-base-3.0_14 and texinfo-4.11 claim to have installed /usr/local/bin/texi2pdf pkg_info: both emacs-22.2_1 and texinfo-4.11 claim to have installed /usr/local/info/info.info pkg_info: both open-motif-2.2.3_5 and tcl-8.4.19,1 claim to have installed /usr/local/man/man3/Object.3.gz CONFLICTS could be introduced for: sysutils/coreutils and databases/firebird2-server print/teTeX-base and print/texinfo editors/emacs and print/texinfo x11-toolkits/open-motif and lang/tcl84 Anyhow, this would break a few things -- at least: math/maxima depends on x11-toolkits/open-motif and lang/tcl84 print/lilypond builddepends on print/teTeX-base and print/texinfo I think I have found more in my installed packages, especially with links. Before I investigate them, I wonder if it is worse it: Should all CONFLICTS be documented? Should I report my findings to the maintainers (directly)? Cheers, Jan Henrik From owner-freebsd-ports@FreeBSD.ORG Sun Oct 5 20:25:09 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 577421065691 for ; Sun, 5 Oct 2008 20:25:09 +0000 (UTC) (envelope-from talon@lpthe.jussieu.fr) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by mx1.freebsd.org (Postfix) with ESMTP id E02CC8FC12 for ; Sun, 5 Oct 2008 20:25:08 +0000 (UTC) (envelope-from talon@lpthe.jussieu.fr) Received: from parthe.lpthe.jussieu.fr (parthe.lpthe.jussieu.fr [134.157.10.1]) by shiva.jussieu.fr (8.14.3/jtpda-5.4) with ESMTP id m95KP7Z1090678 for ; Sun, 5 Oct 2008 22:25:07 +0200 (CEST) X-Ids: 164 Received: from niobe.lpthe.jussieu.fr (niobe.lpthe.jussieu.fr [134.157.10.41]) by parthe.lpthe.jussieu.fr (Postfix) with ESMTP id 295B689CE1 for ; Sun, 5 Oct 2008 22:25:06 +0200 (CEST) Received: by niobe.lpthe.jussieu.fr (Postfix, from userid 2005) id 19D7E10B; Sun, 5 Oct 2008 22:25:06 +0200 (CEST) Date: Sun, 5 Oct 2008 22:25:06 +0200 From: Michel Talon To: freebsd-ports@freebsd.org Message-ID: <20081005202506.GA75251@lpthe.jussieu.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (shiva.jussieu.fr [134.157.0.164]); Sun, 05 Oct 2008 22:25:07 +0200 (CEST) X-Virus-Scanned: ClamAV 0.93.3/8376/Sun Oct 5 21:09:44 2008 on shiva.jussieu.fr X-Virus-Status: Clean X-Miltered: at jchkmail2.jussieu.fr with ID 48E906A6.001 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 48E906A6.001/134.157.10.1/parthe.lpthe.jussieu.fr/parthe.lpthe.jussieu.fr/ X-j-chkmail-Score: MSGID : 48E906A6.001 on jchkmail2.jussieu.fr : j-chkmail score : . : R=. U=. O=. B=0.090 -> S=0.090 X-j-chkmail-Status: Ham Subject: Re: Found CONFLICTS: ... X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 20:25:09 -0000 Jan Henrik Sylvester wrote: > Should all CONFLICTS be documented? I think CONFLICTS should be treated by ignoring them completely. They cause no end of troubles in Debian, for very little if any usefulness. What is the problem if you install texi2dvi one way or another? -- Michel TALON From owner-freebsd-ports@FreeBSD.ORG Sun Oct 5 21:24:46 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C06DD1065686 for ; Sun, 5 Oct 2008 21:24:46 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by mx1.freebsd.org (Postfix) with ESMTP id 933B88FC20 for ; Sun, 5 Oct 2008 21:24:46 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by wa-out-1112.google.com with SMTP id n4so1285264wag.27 for ; Sun, 05 Oct 2008 14:24:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=EYxB0qV9i1Vr+PyoyXZKO2zTt3KEwhoPdUX6t6QyGW0=; b=qjg164eYj2hwtvrNQZz/UOJ8a6h3lWXKZS8Dy9bCS/1eqYPYWjHdqpQ4TUIoi8nqQf jA3SPORwIVVDJiqeA6SHfdKzSt9n4Hsizv8F6lr1cnDNXSy70O1XAMifUHu5Ie6bcI2O iufmVtSEGkFtFpt1kBENTMbbANHJcBNGf5OfQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=d5WHyB8TBgCK+w+3DD34Daz7KnHNdVbwLJVQ2GsA78heBn2xoujCm/gOzj7UUpmKwx Kmn6Xu2mS6mUsQqBOD+SpNqrdCCtoTn4RHvMpZ4HNzLtQxx1CTWAF5s271OFKrCOnxYW edmVMi5rTcDHIXdFsZe+z270giBKArW+i31qo= Received: by 10.114.60.19 with SMTP id i19mr4610415waa.30.1223241886122; Sun, 05 Oct 2008 14:24:46 -0700 (PDT) Received: by 10.114.103.7 with HTTP; Sun, 5 Oct 2008 14:24:46 -0700 (PDT) Message-ID: <790a9fff0810051424o543b7109r4425ef6b24f13eed@mail.gmail.com> Date: Sun, 5 Oct 2008 16:24:46 -0500 From: "Scot Hetzel" To: "Michel Talon" In-Reply-To: <20081005202506.GA75251@lpthe.jussieu.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081005202506.GA75251@lpthe.jussieu.fr> Cc: freebsd-ports@freebsd.org Subject: Re: Found CONFLICTS: ... X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 21:24:46 -0000 On Sun, Oct 5, 2008 at 3:25 PM, Michel Talon wrote: > Jan Henrik Sylvester wrote: > >> Should all CONFLICTS be documented? > > I think CONFLICTS should be treated by ignoring them completely. > They cause no end of troubles in Debian, for very little if any > usefulness. > > What is the problem if you install texi2dvi one way or another? > There are several problems: 1. These two texi2dvi programs might have a different set of arguments, that other programs rely on. 2. When upgrading the ports, which port is the one that installed texi2dvi, as the last port upgraded has it's texi2dvi installed. 3. When removing either teTeX-base-3.0_14 or texinfo-4.11, it has the unwanted side effect of also removing /usr/local/bin/texi2dvi from the system, which may affect the operation of one of the other programs that relies on texi2dvi. These same problems also applies to libraries, config files, man pages, and other documentation. Scot From owner-freebsd-ports@FreeBSD.ORG Sun Oct 5 22:02:00 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7101B1065686 for ; Sun, 5 Oct 2008 22:02:00 +0000 (UTC) (envelope-from talon@lpthe.jussieu.fr) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by mx1.freebsd.org (Postfix) with ESMTP id DD7398FC0A for ; Sun, 5 Oct 2008 22:01:59 +0000 (UTC) (envelope-from talon@lpthe.jussieu.fr) Received: from parthe.lpthe.jussieu.fr (parthe.lpthe.jussieu.fr [134.157.10.1]) by shiva.jussieu.fr (8.14.3/jtpda-5.4) with ESMTP id m95M1wht016296 ; Mon, 6 Oct 2008 00:01:58 +0200 (CEST) X-Ids: 164 Received: from niobe.lpthe.jussieu.fr (niobe.lpthe.jussieu.fr [134.157.10.41]) by parthe.lpthe.jussieu.fr (Postfix) with ESMTP id E1DEE8A25E; Mon, 6 Oct 2008 00:01:56 +0200 (CEST) Received: by niobe.lpthe.jussieu.fr (Postfix, from userid 2005) id C28AC10B; Mon, 6 Oct 2008 00:01:56 +0200 (CEST) Date: Mon, 6 Oct 2008 00:01:56 +0200 From: Michel Talon To: Scot Hetzel Message-ID: <20081005220156.GA80064@lpthe.jussieu.fr> References: <20081005202506.GA75251@lpthe.jussieu.fr> <790a9fff0810051424o543b7109r4425ef6b24f13eed@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <790a9fff0810051424o543b7109r4425ef6b24f13eed@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (shiva.jussieu.fr [134.157.0.164]); Mon, 06 Oct 2008 00:01:58 +0200 (CEST) X-Virus-Scanned: ClamAV 0.93.3/8376/Sun Oct 5 21:09:44 2008 on shiva.jussieu.fr X-Virus-Status: Clean X-Miltered: at jchkmail2.jussieu.fr with ID 48E91D58.003 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 48E91D58.003/134.157.10.1/parthe.lpthe.jussieu.fr/parthe.lpthe.jussieu.fr/ X-j-chkmail-Score: MSGID : 48E91D58.003 on jchkmail2.jussieu.fr : j-chkmail score : . : R=. U=. O=. B=0.019 -> S=0.019 X-j-chkmail-Status: Ham Cc: freebsd-ports@freebsd.org Subject: Re: Found CONFLICTS: ... X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 22:02:00 -0000 On Sun, Oct 05, 2008 at 04:24:46PM -0500, Scot Hetzel wrote: > On Sun, Oct 5, 2008 at 3:25 PM, Michel Talon wrote: > > Jan Henrik Sylvester wrote: > > > >> Should all CONFLICTS be documented? > > > > I think CONFLICTS should be treated by ignoring them completely. > > They cause no end of troubles in Debian, for very little if any > > usefulness. > > > > What is the problem if you install texi2dvi one way or another? > > > > There are several problems: > > 1. These two texi2dvi programs might have a different set of > arguments, that other programs rely on. > > 2. When upgrading the ports, which port is the one that installed > texi2dvi, as the last port upgraded has it's texi2dvi installed. > > 3. When removing either teTeX-base-3.0_14 or texinfo-4.11, it has the > unwanted side effect of also removing /usr/local/bin/texi2dvi from the > system, which may affect the operation of one of the other programs > that relies on texi2dvi. > > These same problems also applies to libraries, config files, man > pages, and other documentation. > > Scot Of course, but all these problems are far less annoying than the problems coming from overzealous CONFLICTS notifications, which can completely ruin your mental health. After all, if some program goes astray after having removed some apparently unrelated port, the simple solution is to reinstall this program, and its dependencies. Problem is almost a non problem. Of course the good solution is that ports developers try to avoid conflicts by choosing appropriate names, but in general this would require considerable work, or install everything in its own directory and use symlinks in "public" directories (/usr/local/bin,etc.) like Debian does, which promptly creates a terrible mess. I think that CONFLICTS is a cure with worse effects than the disease. -- Michel TALON From owner-freebsd-ports@FreeBSD.ORG Sun Oct 5 22:40:41 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E2B71065698 for ; Sun, 5 Oct 2008 22:40:41 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [91.103.162.4]) by mx1.freebsd.org (Postfix) with ESMTP id BBAF38FC14 for ; Sun, 5 Oct 2008 22:40:40 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id A7DB919E027; Mon, 6 Oct 2008 00:40:38 +0200 (CEST) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id EB7B719E023; Mon, 6 Oct 2008 00:40:32 +0200 (CEST) Message-ID: <48E94281.8010300@quip.cz> Date: Mon, 06 Oct 2008 00:41:05 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: Eygene Ryabinkin References: <48DE5CC0.9000708@localhost.inse.ru> <48DF6735.4030906@quip.cz> <4bESZpNwE3z/DdlE2fwK/BXzQSo@2MQ0uKCiT7mdMUuLeUzs8Nv3ToQ> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: ports/126853: ports-mgmt/portaudit: speed up audit of installed packages X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 22:40:41 -0000 Eygene Ryabinkin wrote: > Miroslav, good day. > > Sun, Sep 28, 2008 at 04:14:24PM +0400, Eygene Ryabinkin wrote: > >>>If I read nightly security e-mail with for example 4 vulnerable >>>packages, then I need to log in to server and manualy try, if newer >>>(fixed) packages are available. It seems not so hard to check output of >>>`pkg_version -vIL =` and compare both versions (installed and available) >>>with portaudit in some shellscript, I didn't start to write it yet ;). >> >>I think it won't be very hard: I'll try to see how to extend portaudit >>with such functionality -- it would be very handy, in my opinion. > > > OK, I extended portaudit with this -- flag '-n' will do it. Currently > this option requires network access, but I think that it is perfectly > fits into the security check -- it downloads auditfile anyway. > > I had greatly reworked the old part of patch and I have series of > 4 patches that implement both my pkg_audit stuff and the '-n' stuff. > I am also attaching the mega-patch, it can be applied to the current > port sources to give the port version that includes both mentioned > enchancements. If you have no pkg_audit -- this isn't a problem: > portaudit fill fall back to the awk script. > > I had also changed the output format for pkg_audit, so I am attaching > another version of the second patch for the pkg_install bundle. > > I had briefly tested my modifications -- they work for now, but I will > continue testing. Any bug reports or thoughts about these patches are > more that welcome. > > >>Hadn't you have a chance to test my patch? > > > Miroslav, still: had you tested the pkg_audit thingy? I am busy these days, but it is nice to read about your progress. I hope I will get some time to test all of these large patches in a few days and I will report back my experiences! One note before tests... do -n flag always download new INDEX file, or is it possible to use one already existing in /usr/ports? Miroslav Lachman From owner-freebsd-ports@FreeBSD.ORG Sun Oct 5 22:44:08 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF6091065695 for ; Sun, 5 Oct 2008 22:44:08 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [194.62.233.102]) by mx1.freebsd.org (Postfix) with ESMTP id 7B33E8FC16 for ; Sun, 5 Oct 2008 22:44:07 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from sp34.ipt.ru ([194.62.233.107] helo=bs1.sp34.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1Kmbta-0009dX-LJ; Mon, 06 Oct 2008 02:16:10 +0400 Received: from bsam by bs1.sp34.ru with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Kmbv5-0000Rq-2Y; Mon, 06 Oct 2008 02:17:43 +0400 To: Michel Talon References: <20081005202506.GA75251@lpthe.jussieu.fr> <790a9fff0810051424o543b7109r4425ef6b24f13eed@mail.gmail.com> <20081005220156.GA80064@lpthe.jussieu.fr> From: Boris Samorodov Date: Mon, 06 Oct 2008 02:17:43 +0400 In-Reply-To: <20081005220156.GA80064@lpthe.jussieu.fr> (Michel Talon's message of "Mon\, 6 Oct 2008 00\:01\:56 +0200") Message-ID: <49023480@bs1.sp34.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-ports@freebsd.org Subject: Re: Found CONFLICTS: ... X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 22:44:08 -0000 Michel Talon writes: > I think that CONFLICTS is a cure with worse effects than > the disease. Well, then you may cut off this cure by defining DISABLE_CONFLICTS. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-ports@FreeBSD.ORG Mon Oct 6 05:23:40 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7D351065689; Mon, 6 Oct 2008 05:23:40 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 7E6508FC20; Mon, 6 Oct 2008 05:23:40 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender; b=ZIBqWf4Zf+6ZxO6adwu0FQ2qtskZAGP577ffpsGfU1pmbfm8nxflMa53MLPiwA5jkN1hMdKYIjnxrhC6mdgUAM1WOLKFNMREwfPGJOWBrDfKGZXGy7kgXYv0FvHKK8UvMtMuGDxuApEtcSRZ4cpmW4G9BqNpruKcQtpiGMLCBA0=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1KmiZG-000I6t-Vl; Mon, 06 Oct 2008 09:23:39 +0400 Date: Mon, 6 Oct 2008 09:23:37 +0400 From: Eygene Ryabinkin To: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: References: <48DE5CC0.9000708@localhost.inse.ru> <48DF6735.4030906@quip.cz> <4bESZpNwE3z/DdlE2fwK/BXzQSo@2MQ0uKCiT7mdMUuLeUzs8Nv3ToQ> <48E94281.8010300@quip.cz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+hZIELbchok2+JHy" Content-Disposition: inline In-Reply-To: <48E94281.8010300@quip.cz> Sender: rea-fbsd@codelabs.ru Cc: freebsd-hackers@freebsd.org, bug-followup@freebsd.org, freebsd-ports@freebsd.org, portmgr@freebsd.org Subject: Re: ports/126853: ports-mgmt/portaudit: speed up audit of installed packages X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 05:23:40 -0000 --+hZIELbchok2+JHy Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Miroslav, good day. Mon, Oct 06, 2008 at 12:41:05AM +0200, Miroslav Lachman wrote: > I am busy these days, but it is nice to read about your progress. I hope= =20 > I will get some time to test all of these large patches in a few days=20 > and I will report back my experiences! Fine, thank you! I am re-CC'ing bug-followup@ to track this letter, since it contains some useful information that should go into GNATS. > One note before tests... do -n flag always download new INDEX file, or=20 > is it possible to use one already existing in /usr/ports? Currently, it is downloads bzipped INDEX file to /var/db/portaudit every time, but it uses mirror mode, so if remote file hadn't changed at all, all network expences are just the HTTP's HEAD request and reply. I can add another variable to the portaudit to force the usage of the existing INDEX file, if it is needed. By the way, how are you keeping your INDEX file up to date (your proposed usage of 'pkg_version -I' implies that you're always rely on it)? I am just curious -- my INDEX files are almost always stay unupdated, even if I am using portupgrade. And there can be another way if one keeps ports tree updated: utility can use 'make' to determine the version that is currently available on the examined host. But downloading the INDEX file from the central server seemed to be the best way, since it almost always gives one the latest port versions, so I had implemented this in a first place. Don't know, however, how the badly the load to the central HTTP server will be raised. I am using just two first fields from the INDEX file, so I can use such a stripped file. For me, the reduction was about 6x: SIZE(INDEX-7.bz2) =3D 1126189, SIZE(INDEX-7.stripped.bz2) =3D 184345. I am CC'ing the portmgr team. Guys, could you quickly glance over these patches and determine if they are useful to the project in large? If yes, then may be such a stripped INDEX can be created on the FreeBSD servers (via cut -f1-2 -d'|' INDEX-N)? Thanks! --=20 Eygene _ ___ _.--. # \`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard / ' ` , __.--' # to read the on-line manual =20 )/' _/ \ `-_, / # while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / # -- FreeBSD Developers handbook=20 {_.-``-' {_/ # --+hZIELbchok2+JHy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjpoNkACgkQthUKNsbL7YhirACeIewIwCM0wr/UBHnMp7hieJya eUoAoIAwCdHLh38sZwl+bvw65cB9OvgW =ANyt -----END PGP SIGNATURE----- --+hZIELbchok2+JHy-- From owner-freebsd-ports@FreeBSD.ORG Mon Oct 6 08:38:31 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 529271065687 for ; Mon, 6 Oct 2008 08:38:31 +0000 (UTC) (envelope-from talon@lpthe.jussieu.fr) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by mx1.freebsd.org (Postfix) with ESMTP id DB8A18FC0C for ; Mon, 6 Oct 2008 08:38:30 +0000 (UTC) (envelope-from talon@lpthe.jussieu.fr) Received: from parthe.lpthe.jussieu.fr (parthe.lpthe.jussieu.fr [134.157.10.1]) by shiva.jussieu.fr (8.14.3/jtpda-5.4) with ESMTP id m968cSME039505 ; Mon, 6 Oct 2008 10:38:29 +0200 (CEST) X-Ids: 166 Received: from asmodee.lpthe.jussieu.fr (asmodee.lpthe.jussieu.fr [134.157.10.34]) by parthe.lpthe.jussieu.fr (Postfix) with ESMTP id 82CDC8A084; Mon, 6 Oct 2008 10:38:27 +0200 (CEST) Received: by asmodee.lpthe.jussieu.fr (Postfix, from userid 2005) id 76A9042F9; Mon, 6 Oct 2008 10:38:27 +0200 (CEST) Date: Mon, 6 Oct 2008 10:38:27 +0200 From: Michel Talon To: Boris Samorodov Message-ID: <20081006083827.GA64825@lpthe.jussieu.fr> References: <20081005202506.GA75251@lpthe.jussieu.fr> <790a9fff0810051424o543b7109r4425ef6b24f13eed@mail.gmail.com> <20081005220156.GA80064@lpthe.jussieu.fr> <49023480@bs1.sp34.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49023480@bs1.sp34.ru> User-Agent: Mutt/1.4.2.2i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (shiva.jussieu.fr [134.157.0.166]); Mon, 06 Oct 2008 10:38:29 +0200 (CEST) X-Virus-Scanned: ClamAV 0.93.3/8377/Mon Oct 6 03:36:23 2008 on shiva.jussieu.fr X-Virus-Status: Clean X-Miltered: at jchkmail.jussieu.fr with ID 48E9CE84.00A by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 48E9CE84.00A/134.157.10.1/parthe.lpthe.jussieu.fr/parthe.lpthe.jussieu.fr/ X-j-chkmail-Score: MSGID : 48E9CE84.00A on jchkmail.jussieu.fr : j-chkmail score : . : R=. U=. O=. B=0.071 -> S=0.071 X-j-chkmail-Status: Ham Cc: freebsd-ports@freebsd.org Subject: Re: Found CONFLICTS: ... X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 08:38:31 -0000 On Mon, Oct 06, 2008 at 02:17:43AM +0400, Boris Samorodov wrote: > Michel Talon writes: > > > I think that CONFLICTS is a cure with worse effects than > > the disease. > > Well, then you may cut off this cure by defining DISABLE_CONFLICTS. This is indeed the solution i came to in: http://www.lpthe.jussieu.fr/~talon/freebsdports.html -- Michel TALON From owner-freebsd-ports@FreeBSD.ORG Mon Oct 6 08:59:17 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4F061065690; Mon, 6 Oct 2008 08:59:17 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [91.103.162.4]) by mx1.freebsd.org (Postfix) with ESMTP id 4857B8FC08; Mon, 6 Oct 2008 08:59:17 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id EE88A19E023; Mon, 6 Oct 2008 10:59:15 +0200 (CEST) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id B313A19E019; Mon, 6 Oct 2008 10:59:13 +0200 (CEST) Message-ID: <48E9D382.4000001@quip.cz> Date: Mon, 06 Oct 2008 10:59:46 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: Eygene Ryabinkin References: <48DE5CC0.9000708@localhost.inse.ru> <48DF6735.4030906@quip.cz> <4bESZpNwE3z/DdlE2fwK/BXzQSo@2MQ0uKCiT7mdMUuLeUzs8Nv3ToQ> <48E94281.8010300@quip.cz> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, bug-followup@freebsd.org, freebsd-ports@freebsd.org, portmgr@freebsd.org Subject: Re: ports/126853: ports-mgmt/portaudit: speed up audit of installed packages X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 08:59:17 -0000 Eygene Ryabinkin wrote: > Miroslav, good day. > > Mon, Oct 06, 2008 at 12:41:05AM +0200, Miroslav Lachman wrote: > >>I am busy these days, but it is nice to read about your progress. I hope >>I will get some time to test all of these large patches in a few days >>and I will report back my experiences! > > > Fine, thank you! I am re-CC'ing bug-followup@ to track this letter, > since it contains some useful information that should go into GNATS. > > >>One note before tests... do -n flag always download new INDEX file, or >>is it possible to use one already existing in /usr/ports? > > > Currently, it is downloads bzipped INDEX file to /var/db/portaudit every > time, but it uses mirror mode, so if remote file hadn't changed at all, > all network expences are just the HTTP's HEAD request and reply. > > I can add another variable to the portaudit to force the usage of the > existing INDEX file, if it is needed. By the way, how are you keeping > your INDEX file up to date (your proposed usage of 'pkg_version -I' > implies that you're always rely on it)? I am just curious -- my INDEX > files are almost always stay unupdated, even if I am using portupgrade. I have '/usr/sbin/portsnap cron' and '/usr/sbin/portsnap -I update' in my crontab, so I get INDEX updated every night before nightly security e-mail is generated. > And there can be another way if one keeps ports tree updated: utility > can use 'make' to determine the version that is currently available on > the examined host. > > But downloading the INDEX file from the central server seemed to be the > best way, since it almost always gives one the latest port versions, so > I had implemented this in a first place. My previous question was not against your solution, it seems useful to have really actual data from the fresh INDEX. It was just a question "how it is done". Maybe someone will be happier to use the existing INDEX because of traffic on some GPRS internet connection or because of the own INDEX creation. (it is not my case, I have all machines as the servers with enough connectivity) ;) > Don't know, however, how the badly the load to the central HTTP server > will be raised. I am using just two first fields from the INDEX file, > so I can use such a stripped file. For me, the reduction was about > 6x: SIZE(INDEX-7.bz2) = 1126189, SIZE(INDEX-7.stripped.bz2) = 184345. > > I am CC'ing the portmgr team. Guys, could you quickly glance over these > patches and determine if they are useful to the project in large? If > yes, then may be such a stripped INDEX can be created on the FreeBSD > servers (via cut -f1-2 -d'|' INDEX-N)? > > Thanks! From owner-freebsd-ports@FreeBSD.ORG Mon Oct 6 09:43:27 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD75D1065687; Mon, 6 Oct 2008 09:43:27 +0000 (UTC) (envelope-from fbsd.hackers@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 91A1D8FC1A; Mon, 6 Oct 2008 09:43:27 +0000 (UTC) (envelope-from fbsd.hackers@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id BC6D5AFBC01; Mon, 6 Oct 2008 01:24:56 -0800 (AKDT) From: Mel To: freebsd-hackers@freebsd.org Date: Mon, 6 Oct 2008 11:24:54 +0200 User-Agent: KMail/1.9.7 References: <48E94281.8010300@quip.cz> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810061124.55209.fbsd.hackers@rachie.is-a-geek.net> Cc: freebsd-ports@freebsd.org, Eygene Ryabinkin , Miroslav Lachman <000.fbsd@quip.cz>, bug-followup@freebsd.org Subject: Re: ports/126853: ports-mgmt/portaudit: speed up audit of installed packages X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 09:43:27 -0000 Hello, On Monday 06 October 2008 07:23:37 Eygene Ryabinkin wrote: > But downloading the INDEX file from the central server seemed to be the > best way, since it almost always gives one the latest port versions, so > I had implemented this in a first place. I've been following this, but I don't agree that (port|pkg_)audit should do this, from the very perspective you're writing this program from: On Sunday 28 September 2008 11:49:18 Eygene Ryabinkin wrote: > 4. I feel that it is Unix-way to do the things: create small utilities > that do their (small) job in a proper fashion. Instead, it can provide installed-pkgnamepkgorigin output. Then, any utility can check whether a new version is available, using what ever source it finds relevant. For example, it is completely irrelevant if a new version is available on the FreeBSD servers, when your machine uses a buildserver in a local network. For those machines it's relevant whether their build server has a new version and one can automatically upgrade if one so desires. Similarly, if your /usr/ports is ahead of the FreeBSD's INDEX.bz2, you're again reporting false information. It's also quite trivial to provide this availibility information in a daily security script, for the "majority of cases" and it's better to have tunables like _use_remote_portindex, _use_portsdir=/bigdisk/usr/ports in a script. -- Mel From owner-freebsd-ports@FreeBSD.ORG Mon Oct 6 10:28:52 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACDCE1065688; Mon, 6 Oct 2008 10:28:52 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 3231B8FC16; Mon, 6 Oct 2008 10:28:52 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender; b=e7n6Smu33wrvqkyTIS5Zkn/mRIxMvatWC5CRsCq21o4pv/4Mh1oQXCVXIswSRDBaSsapW8SLkVOwSehH/mZe629ZEbUvFzjpO5n0khg/ZL3ESatBVYMOo2QbljSJ2PN/W7VKdpenZD/h/V3mJ+O50f5CAOvaVZLVd3/VXV3+gbE=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1KmnKb-000EU0-Ji; Mon, 06 Oct 2008 14:28:49 +0400 Date: Mon, 6 Oct 2008 14:28:48 +0400 From: Eygene Ryabinkin To: Mel Message-ID: References: <48E94281.8010300@quip.cz> <200810061124.55209.fbsd.hackers@rachie.is-a-geek.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0a51aUHJSNYMigeV" Content-Disposition: inline In-Reply-To: <200810061124.55209.fbsd.hackers@rachie.is-a-geek.net> Sender: rea-fbsd@codelabs.ru Cc: freebsd-hackers@freebsd.org, freebsd-ports@freebsd.org, Miroslav Lachman <000.fbsd@quip.cz>, bug-followup@freebsd.org Subject: Re: ports/126853: ports-mgmt/portaudit: speed up audit of installed packages X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 10:28:52 -0000 --0a51aUHJSNYMigeV Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Mel, good day. Mon, Oct 06, 2008 at 11:24:54AM +0200, Mel wrote: > On Monday 06 October 2008 07:23:37 Eygene Ryabinkin wrote: > > But downloading the INDEX file from the central server seemed to be the > > best way, since it almost always gives one the latest port versions, so > > I had implemented this in a first place. >=20 > I've been following this, but I don't agree that (port|pkg_)audit should = do=20 > this, from the very perspective you're writing this program from: The download is done not by the portaudit itself, but by the helper script, portaudit-checknew. > On Sunday 28 September 2008 11:49:18 Eygene Ryabinkin wrote: > > 4. I feel that it is Unix-way to do the things: create small utilities > > that do their (small) job in a proper fashion. >=20 > Instead, it can provide installed-pkgnamepkgorigin output. The= n,=20 > any utility can check whether a new version is available, using what ever= =20 > source it finds relevant. > > For example, it is completely irrelevant if a new version is available on= the=20 > FreeBSD servers, when your machine uses a buildserver in a local network.= For=20 > those machines it's relevant whether their build server has a new version= and=20 > one can automatically upgrade if one so desires. > Similarly, if your /usr/ports is ahead of the FreeBSD's INDEX.bz2, you're= =20 > again reporting false information. I hear you, but it seems to me that I should just equip portaudit-checknew with the other sources of a new ports information and provide tunables for their location (on-disk path, URL, etc). I am planning to do this, but first I want to know if these patches will be viable for the project: feeding these into the /dev/null or just using them locally, but equipping with a lot of functionality, is not what I really want ;)) > It's also quite trivial to provide this availibility information in a dai= ly=20 > security script, for the "majority of cases" Didn't get it, sorry. Could you, please, elaborate a bit? > and it's better to have tunables=20 > like _use_remote_portindex, _use_portsdir=3D/bigdisk/usr/ports in a scrip= t. Yes, it was what I had talked about above in this mail. Thanks for the input! --=20 Eygene _ ___ _.--. # \`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard / ' ` , __.--' # to read the on-line manual =20 )/' _/ \ `-_, / # while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / # -- FreeBSD Developers handbook=20 {_.-``-' {_/ # --0a51aUHJSNYMigeV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjp6GAACgkQthUKNsbL7YhIiwCfaxk/raGBCgtCRoPUirA9AM1F QWQAoKHacwvF3w+HOUw1kMJwFJUg3hrq =ee1X -----END PGP SIGNATURE----- --0a51aUHJSNYMigeV-- From owner-freebsd-ports@FreeBSD.ORG Mon Oct 6 10:30:32 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B5C1106568C; Mon, 6 Oct 2008 10:30:32 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id A6E268FC1F; Mon, 6 Oct 2008 10:30:31 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender; b=Lo/oTIPWRq7/qsx+E+tR6hhhfWX6KWmoMzXySKmYaPL9VqTKtNZRIeuUl2Uooy+ZPLx+wuMtWuRB4KGshXWJns09TmyE6a1g/UEqRYXr8o5MAZgsD1NlGz/Xd5BjKuOCXA2FbONqcbTWahyt1mD8PSTB+btNKqg/PLCj6ZSK758=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1KmnME-000EbU-Oe; Mon, 06 Oct 2008 14:30:30 +0400 Date: Mon, 6 Oct 2008 14:30:29 +0400 From: Eygene Ryabinkin To: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: References: <48DE5CC0.9000708@localhost.inse.ru> <48DF6735.4030906@quip.cz> <4bESZpNwE3z/DdlE2fwK/BXzQSo@2MQ0uKCiT7mdMUuLeUzs8Nv3ToQ> <48E94281.8010300@quip.cz> <48E9D382.4000001@quip.cz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+yOEb87YRmRdrPqC" Content-Disposition: inline In-Reply-To: <48E9D382.4000001@quip.cz> Sender: rea-fbsd@codelabs.ru Cc: freebsd-hackers@freebsd.org, bug-followup@freebsd.org, freebsd-ports@freebsd.org, portmgr@freebsd.org Subject: Re: ports/126853: ports-mgmt/portaudit: speed up audit of installed packages X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 10:30:32 -0000 --+yOEb87YRmRdrPqC Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Miroslav, Mon, Oct 06, 2008 at 10:59:46AM +0200, Miroslav Lachman wrote: > I have '/usr/sbin/portsnap cron' and '/usr/sbin/portsnap -I update' in=20 > my crontab, so I get INDEX updated every night before nightly security=20 > e-mail is generated. Ah, I see. Thanks! > > But downloading the INDEX file from the central server seemed to be the > > best way, since it almost always gives one the latest port versions, so > > I had implemented this in a first place. >=20 > My previous question was not against your solution, it seems useful to=20 > have really actual data from the fresh INDEX. It was just a question=20 > "how it is done". Maybe someone will be happier to use the existing=20 > INDEX because of traffic on some GPRS internet connection or because of= =20 > the own INDEX creation. (it is not my case, I have all machines as the=20 > servers with enough connectivity) ;) OK, fine. I will implement the usage of the local INDEX file in some days. --=20 Eygene _ ___ _.--. # \`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard / ' ` , __.--' # to read the on-line manual =20 )/' _/ \ `-_, / # while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / # -- FreeBSD Developers handbook=20 {_.-``-' {_/ # --+yOEb87YRmRdrPqC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjp6MUACgkQthUKNsbL7YiFPgCfd591IqFL6B2ONvm0PKFNg9Gv xBMAoJmLlL3JUH7heDDVqr8oD6nn1I4G =SxiG -----END PGP SIGNATURE----- --+yOEb87YRmRdrPqC-- From owner-freebsd-ports@FreeBSD.ORG Mon Oct 6 11:06:05 2008 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 110C4106569A for ; Mon, 6 Oct 2008 11:06:05 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F3AA88FC1B for ; Mon, 6 Oct 2008 11:06:04 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m96B64r4034522 for ; Mon, 6 Oct 2008 11:06:04 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m96B64Wj034518 for freebsd-ports@FreeBSD.org; Mon, 6 Oct 2008 11:06:04 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 6 Oct 2008 11:06:04 GMT Message-Id: <200810061106.m96B64Wj034518@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: FreeBSD ports list Cc: Subject: Current unassigned ports problem reports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 11:06:05 -0000 (Note: an HTML version of this report is available at http://www.freebsd.org/cgi/query-pr-summary.cgi?category=ports .) The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/127900 database/mysql-{server|client}-5.0.67 does not read co o ports/127886 [PATCH] science/linsmith: update to 0.99.11 o ports/127879 Update www/mozplugger to 1.11.0 o ports/127857 [NEW PORT] multimedia/mythtv-themes: The official Myth o ports/127856 [NEW PORT] multimedia/mythtv-frontend: MythTV is a hom o ports/127851 Port update: multimedia/libdvdnav-mplayer - Update to o ports/127849 New port: multimedia/libdvdread-mplayer o ports/127827 request maintainership of comms/qpage o ports/127817 [PATCH] www/tomcat: update to 5.5.27 o ports/127810 print/hplip 2.8.2 can't talk to my usnb printer (HP PS o ports/127809 [patch] security/cyrus-sasl2-authd: install man8/sasla f ports/127743 Update devel/pwlib net/opal net/ekiga to GNOME 2.24.0 o ports/127730 [maintainer] textproc/sphinxsearch 64 bit ID support, o ports/127728 ports/games/freebsd-games doesn't build, and larn(6) s f ports/127727 [PATCH] devel/doxygen: update to 1.5.7 f ports/127675 [patch] net/nss_ldap version 259, with fix for pw_{cha o ports/127641 Fixes to devel/ptmalloc devel/ptmalloc2 o ports/127555 comms/rxtx : USB serial device can not use f ports/127552 [PATCH] devel/libffi: Put include files into ${PREFIX} f ports/127542 Port www/mod_ntlm2 does not working f ports/127530 mail/postfix: LDA of postfix with dovecot will fail wh o ports/127525 games/Pysol links to libSDL-1.2.so.11, should link to f ports/127513 mail/dcc-dccd sets home to /var/dcc even if you didn' o ports/127490 devel/ptmalloc port doesn't apply the -fPIC flag f ports/127482 security/ossec-hids-server - ossec-hids ports outdated f ports/127447 LICENSE (EULA) of x11-fonts/webfonts is not included o ports/127444 sysutils/nagios-statd: RC script fails to log a valid o ports/127386 graphics/opendx does not build o ports/127321 japanese/kon2-16dot: buffer overflow and mouse bugs f ports/127302 security/swatch: swatch-3.2.1_1 multiple issues f ports/127259 [update] devel/jude-community to 5.3 f ports/127238 [update] net/p5-SOAP-Lite: upgrade from version 0.69 t o ports/127193 New port: editors/emacs-nox11 Emacs built without X11 f ports/127181 audio/musicpd logs warning o ports/127087 mail/bincimap port does not include an rc.d file o ports/127075 comms/qpage segmentation fault due to freeing already- f ports/127018 Linuxulator incapable of using FreeBSD's LDAP environm o ports/126922 devel/libusb : update for Network UPS Tools f ports/126890 port update: lang/cmucl o ports/126872 New port: lang/linux-tcl84 f ports/126867 security/sshguard-pf 1.1 fails to detect attempted log f ports/126840 [PATCH] update sysutils/fusefs-wdfs to use neon28 if p f ports/126839 ports/misc/ezload - update: add hardware support for r f ports/126805 audio/Teamspeak_server port runs as root by default o ports/126732 [patch] archivers/rpm5 update (build depends) f ports/126706 multimedia/libdvdcss unusable on RELENG_7 o ports/126674 New port: print/latex-babel o ports/126673 New port: print/latex-supertabular o ports/126655 java/jboss4 can not take standard parameter "-b host_n o ports/126628 sysutils/heartbeat incorrect detect interfaces during f ports/126532 devel/tclxml-libxml2 - do not found libtclxmlstub o ports/126520 textproc/flex is conflicts with system flex and have A f ports/126518 Unbroke archivers/lzo2 on i386 o ports/126513 print/ghostscript-gpl - ghostscript - gpl - compile bu s ports/126476 [update] net-mgmt/nrpe2: Update to 2.12; add 'reload' o ports/126345 ports mail/libpst not post Outlook 2003 compatible f ports/126322 [patch] sysutils/fusefs-kmod: Make install location co o ports/126273 Utilize MASTER_SITES abbreviations. f ports/126228 [PATCH] mail/courier: new version 0.60.0 f ports/126196 sysutils/heartbeat: port 1.2.5 rev3 problem with libne f ports/126161 security/bsp_upektfmess does not work on 7.0 f ports/126058 net/generic-nqs fails to compile f ports/126055 x11-toolkits/p5-Tk - segmentation fault running perl-t o ports/126040 update sysutils/linux-megacli f ports/125960 sysutils/syscp lacks of chattr/chflags o ports/125719 shells/pdksh, zombie process's occouring on SMP Machin o ports/125714 [patch] www/httptunnel: users not added o ports/125705 semi new port: resurrect graphics/mesagl in a mangled f ports/125594 net-p2p/Amule2 port is outdated f ports/125362 New port: devel/ocaml-lwt (cooperative threading libra o ports/125348 lang/nawk: support multibyte charsets in tolower/toupp o ports/125324 editors/the (3.2) looses cursor when compiled with PDC o ports/125201 audio/aqualung crashes f ports/125111 [PATCH] graphics/gdal: cyclic dependency and wrong opt o ports/124905 new port: databases/sqlitejdbc 051 f ports/124901 [patch] sysutils/fusefs-kmod dataloss on write shortly o ports/124864 print/ghostscript-gpl fails to install if ESC/Page dri o ports/124597 [NEW PORT] net/callweaver: Fork of the popular Open So o ports/124548 net/mDNSResponder port incompatible with gnome desktop f ports/124428 palm/jpilot configure error when checking for pilot-li f ports/124423 multimedia/mplayer detection of OSS Audio is faulty f ports/124083 net/vnc is not building the xorg vnc module o ports/124061 [patch]: lang/mlton (new features) o ports/124000 [patch] update net/isc-dhcp3-server to 3.0.7 and reset f ports/123756 [patch] put devel/libffi includes in sane place o ports/123437 comms/qpage -- hangup problems and ident requests f ports/123424 [NEW PORT] net/winexe o ports/123247 linux-firefox and linux-seamonkey from multiple users o ports/123239 New port: graphics/diamondbox Layer based photo editor o ports/122907 [patch] sysutils/fusefs-kmod dataloss on write shortly o ports/122824 [new port] add news/husky-htick-devel port f ports/122701 New port: www/mod_wombat "Apache Lua module" f ports/122596 devel/python: Python hangs when importing pygtk f ports/122276 Compiled audio/musicpd segfaults on FreeBSD 7.0 f ports/121405 Update graphics/gmt to newer version (4.2.1) o ports/121325 Xorg crashes when x11-wm/xcompmgr is running o ports/121259 New port: net/openamq OpenAMQ is a complete AMQP messa o ports/121194 math/arpack - Patch to use ARPACK++ on modern compiler o ports/119183 [NEW PORT] net/freeradius-client: FreeRADIUS Client li f ports/118877 audio/streamripper does not detect song title from str f ports/116586 net/isc-dhcp3-server does not work when compiled with f ports/116385 net/vnc using vnc.so crashes Xorg 7.3 when remote comp f ports/115304 multimedia/gpac-mp4box cannot import files larger than s ports/113144 print/ghostscript-gnu dumps core with several output d f ports/112202 security/vscan: patch to fix plist problem o ports/110144 New port: math/Matlab7 o ports/108795 ports/icc: Proposed update to icc port for intel compi f ports/107304 print/apsfilter does not print PDF to raw PostScript p o amd64/104311 ports/wine should be installable on amd64 o ports/97254 ports-mgmt/porttools - wrong prefix s ports/85513 Intel C++ compiler not 100% binary compatible with sys o ports/79651 [patch] mail/ssmtp: add per-user smtp authentication c a ports/79351 Character passing error in security/pinentry-qt 113 problems total. From owner-freebsd-ports@FreeBSD.ORG Mon Oct 6 11:07:55 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 067791065693; Mon, 6 Oct 2008 11:07:55 +0000 (UTC) (envelope-from fbsd.hackers@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id BECEB8FC21; Mon, 6 Oct 2008 11:07:54 +0000 (UTC) (envelope-from fbsd.hackers@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id A7B6EAFBC01; Mon, 6 Oct 2008 03:07:53 -0800 (AKDT) From: Mel To: freebsd-hackers@freebsd.org Date: Mon, 6 Oct 2008 13:07:51 +0200 User-Agent: KMail/1.9.7 References: <200810061124.55209.fbsd.hackers@rachie.is-a-geek.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810061307.51977.fbsd.hackers@rachie.is-a-geek.net> Cc: freebsd-ports@freebsd.org, Eygene Ryabinkin , Miroslav Lachman <000.fbsd@quip.cz>, bug-followup@freebsd.org Subject: Re: ports/126853: ports-mgmt/portaudit: speed up audit of installed packages X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 11:07:55 -0000 On Monday 06 October 2008 12:28:48 Eygene Ryabinkin wrote: > Mel, good day. > > Mon, Oct 06, 2008 at 11:24:54AM +0200, Mel wrote: > > On Monday 06 October 2008 07:23:37 Eygene Ryabinkin wrote: > > > But downloading the INDEX file from the central server seemed to be the > > > best way, since it almost always gives one the latest port versions, so > > > I had implemented this in a first place. > > > > I've been following this, but I don't agree that (port|pkg_)audit should > > do this, from the very perspective you're writing this program from: > > The download is done not by the portaudit itself, but by the helper > script, portaudit-checknew. > > > On Sunday 28 September 2008 11:49:18 Eygene Ryabinkin wrote: > > > 4. I feel that it is Unix-way to do the things: create small utilities > > > that do their (small) job in a proper fashion. > > > > Instead, it can provide installed-pkgnamepkgorigin output. > > Then, any utility can check whether a new version is available, using > > what ever source it finds relevant. > > > > For example, it is completely irrelevant if a new version is available on > > the FreeBSD servers, when your machine uses a buildserver in a local > > network. For those machines it's relevant whether their build server has > > a new version and one can automatically upgrade if one so desires. > > Similarly, if your /usr/ports is ahead of the FreeBSD's INDEX.bz2, you're > > again reporting false information. > > I hear you, but it seems to me that I should just equip > portaudit-checknew with the other sources of a new ports information and > provide tunables for their location (on-disk path, URL, etc). I am > planning to do this, but first I want to know if these patches will be > viable for the project: feeding these into the /dev/null or just using > them locally, but equipping with a lot of functionality, is not what I > really want ;)) > > > It's also quite trivial to provide this availibility information in a > > daily security script, for the "majority of cases" > > Didn't get it, sorry. Could you, please, elaborate a bit? Once you have the origin of the port, you can: - make -C $PORTSDIR/$origin -V PKGNAME - get the matching origin(s) out of ${INDEXDIR}/${INDEXFILE} - get the matching origin(s) out of a downloaded INDEX.bz2 This covers the majority of cases. What portaudit lacks, is providing the origin along with the installed package name in easily parseable format. So, a central server wanting to query all the machines for vulnerable packages, now has to do an extra step of going into $PKG_DBDIR/$pkgname/+CONTENTS and getting the @comment ORIGIN: line, while (port|pkg_)audit has just been there. This would be something I'd expect: ssh clientmachine "/usr/sbin/pkg_audit -l" foo-1.2,3:misc/foo bar-4.5_6:devel/bar ... -- Mel From owner-freebsd-ports@FreeBSD.ORG Mon Oct 6 12:22:18 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6C051065692; Mon, 6 Oct 2008 12:22:18 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 61C188FC12; Mon, 6 Oct 2008 12:22:18 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender; b=jhQcisJ2fDvgWs8EQuyg49SWqIfjUm2JOmpApnRytxMCCOeVMPRye5hZUQ6WMnYeV/BIUarlxaQHAeV5LLVREvY9WiFvTldAjei/TKX4NjrvWGdtTkILNM6DuyJNN4fNzX9e6T/LxD6bUuoj9OpL4m8PRHY1s/lPUkQVDfhDHFA=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1Kmp6N-000Mb5-3Q; Mon, 06 Oct 2008 16:22:15 +0400 Date: Mon, 6 Oct 2008 16:22:13 +0400 From: Eygene Ryabinkin To: Mel Message-ID: References: <200810061124.55209.fbsd.hackers@rachie.is-a-geek.net> <200810061307.51977.fbsd.hackers@rachie.is-a-geek.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3BL0Ng5d1iPP6beU" Content-Disposition: inline In-Reply-To: <200810061307.51977.fbsd.hackers@rachie.is-a-geek.net> Sender: rea-fbsd@codelabs.ru Cc: freebsd-hackers@freebsd.org, freebsd-ports@freebsd.org, Miroslav Lachman <000.fbsd@quip.cz>, bug-followup@freebsd.org Subject: Re: ports/126853: ports-mgmt/portaudit: speed up audit of installed packages X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 12:22:19 -0000 --3BL0Ng5d1iPP6beU Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Mel, Mon, Oct 06, 2008 at 01:07:51PM +0200, Mel wrote: > On Monday 06 October 2008 12:28:48 Eygene Ryabinkin wrote: > Once you have the origin of the port, you can: > - make -C $PORTSDIR/$origin -V PKGNAME > - get the matching origin(s) out of ${INDEXDIR}/${INDEXFILE} > - get the matching origin(s) out of a downloaded INDEX.bz2 >=20 > This covers the majority of cases. >=20 > What portaudit lacks, is providing the origin along with the installed pa= ckage > name in easily parseable format. So, a central server wanting to query al= l=20 > the machines for vulnerable packages, now has to do an extra step of goin= g=20 > into $PKG_DBDIR/$pkgname/+CONTENTS and getting the @comment ORIGIN: line,= =20 > while (port|pkg_)audit has just been there. >=20 > This would be something I'd expect: > ssh clientmachine "/usr/sbin/pkg_audit -l" > foo-1.2,3:misc/foo > bar-4.5_6:devel/bar > ... OK, got it. There is one neat: pkg_audit should be feeded with the contents of the auditfile and the latter is located in the tar archive. So, if you wouldn't mind about the following sequence ----- tar xf /var/db/portaudit/auditfile.tbz pkg_audit < auditfile | portaudit-checknew -o | cut -d '|' -f1,4,5 ----- then I can add the flag '-o' to the portaudit-checknew: it will additionally output the port origin along with the new version. Is that what you meant? --=20 Eygene _ ___ _.--. # \`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard / ' ` , __.--' # to read the on-line manual =20 )/' _/ \ `-_, / # while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / # -- FreeBSD Developers handbook=20 {_.-``-' {_/ # --3BL0Ng5d1iPP6beU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjqAvUACgkQthUKNsbL7YiaFACfVxP/ieDIZZrUGE4O+DKgfvTh YpgAn02ufj2yxuThuKezaIdezmBYuDYt =UeZL -----END PGP SIGNATURE----- --3BL0Ng5d1iPP6beU-- From owner-freebsd-ports@FreeBSD.ORG Mon Oct 6 12:40:51 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4CBF106568D; Mon, 6 Oct 2008 12:40:51 +0000 (UTC) (envelope-from fbsd.hackers@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 9C8978FC0A; Mon, 6 Oct 2008 12:40:51 +0000 (UTC) (envelope-from fbsd.hackers@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id A8DD8AFBC01; Mon, 6 Oct 2008 04:40:50 -0800 (AKDT) From: Mel To: freebsd-hackers@freebsd.org Date: Mon, 6 Oct 2008 14:40:48 +0200 User-Agent: KMail/1.9.7 References: <200810061307.51977.fbsd.hackers@rachie.is-a-geek.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810061440.49113.fbsd.hackers@rachie.is-a-geek.net> Cc: freebsd-ports@freebsd.org, Eygene Ryabinkin , Miroslav Lachman <000.fbsd@quip.cz>, bug-followup@freebsd.org Subject: Re: ports/126853: ports-mgmt/portaudit: speed up audit of installed packages X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 12:40:51 -0000 On Monday 06 October 2008 14:22:13 Eygene Ryabinkin wrote: > Mel, > > Mon, Oct 06, 2008 at 01:07:51PM +0200, Mel wrote: > > On Monday 06 October 2008 12:28:48 Eygene Ryabinkin wrote: > > Once you have the origin of the port, you can: > > - make -C $PORTSDIR/$origin -V PKGNAME > > - get the matching origin(s) out of ${INDEXDIR}/${INDEXFILE} > > - get the matching origin(s) out of a downloaded INDEX.bz2 > > > > This covers the majority of cases. > > > > What portaudit lacks, is providing the origin along with the installed > > package name in easily parseable format. So, a central server wanting to > > query all the machines for vulnerable packages, now has to do an extra > > step of going into $PKG_DBDIR/$pkgname/+CONTENTS and getting the @comment > > ORIGIN: line, while (port|pkg_)audit has just been there. > > > > This would be something I'd expect: > > ssh clientmachine "/usr/sbin/pkg_audit -l" > > foo-1.2,3:misc/foo > > bar-4.5_6:devel/bar > > ... > > OK, got it. There is one neat: pkg_audit should be feeded with the > contents of the auditfile and the latter is located in the tar archive. > So, if you wouldn't mind about the following sequence > ----- > tar xf /var/db/portaudit/auditfile.tbz > pkg_audit < auditfile | portaudit-checknew -o | cut -d '|' -f1,4,5 > ----- > then I can add the flag '-o' to the portaudit-checknew: it will > additionally output the port origin along with the new version. > > Is that what you meant? What I meant is the '-o' flag in pkg_audit, so I can figure out myself whether it's new or not and my buildserver can prioritize it's builds based on vulnerable packages it's clients have installed. The origin is the unique key that identifies any port, so that's vital information in a pipeline. -- Mel From owner-freebsd-ports@FreeBSD.ORG Mon Oct 6 13:08:53 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40D0D1065689; Mon, 6 Oct 2008 13:08:53 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id DE3EE8FC39; Mon, 6 Oct 2008 13:08:52 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender; b=V6A44P8x4I+U6wngkw60b1tJdo7qmPFWS4B0XAwBVLllSIuY0tZXU0j98J+avs03xegTy52cqDE3ZwGeRI8WuLlHfFCxorcKdN3VH5e2ouKj6fw15Wd0io/SOPZKKnGPUNW+O/OK4cSg8uLHtXAIPSHIH/2IWEF+dSOCTrxki6c=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1KmppR-000PvV-Qu; Mon, 06 Oct 2008 17:08:49 +0400 Date: Mon, 6 Oct 2008 17:08:48 +0400 From: Eygene Ryabinkin To: Mel Message-ID: References: <200810061307.51977.fbsd.hackers@rachie.is-a-geek.net> <200810061440.49113.fbsd.hackers@rachie.is-a-geek.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Lcqw/5GzJkKu54yC" Content-Disposition: inline In-Reply-To: <200810061440.49113.fbsd.hackers@rachie.is-a-geek.net> Sender: rea-fbsd@codelabs.ru Cc: freebsd-hackers@freebsd.org, freebsd-ports@freebsd.org, Miroslav Lachman <000.fbsd@quip.cz>, bug-followup@freebsd.org Subject: Re: ports/126853: ports-mgmt/portaudit: speed up audit of installed packages X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 13:08:53 -0000 --Lcqw/5GzJkKu54yC Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Mel, Mon, Oct 06, 2008 at 02:40:48PM +0200, Mel wrote: > What I meant is the '-o' flag in pkg_audit, so I can figure out myself wh= ether > it's new or not and my buildserver can prioritize it's builds based on=20 > vulnerable packages it's clients have installed. The origin is the unique= key=20 > that identifies any port, so that's vital information in a pipeline. Ah, OK: no problems, will do it. --=20 Eygene _ ___ _.--. # \`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard / ' ` , __.--' # to read the on-line manual =20 )/' _/ \ `-_, / # while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / # -- FreeBSD Developers handbook=20 {_.-``-' {_/ # --Lcqw/5GzJkKu54yC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjqDeAACgkQthUKNsbL7Yj93wCgpy+aySRnxYM8m/O33Yey4nbJ HcIAnRQYWuSduoKqgb8xhY4nx6flkavR =Zw+M -----END PGP SIGNATURE----- --Lcqw/5GzJkKu54yC-- From owner-freebsd-ports@FreeBSD.ORG Mon Oct 6 13:34:16 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C09A10656A4 for ; Mon, 6 Oct 2008 13:34:16 +0000 (UTC) (envelope-from marcocouperus@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.freebsd.org (Postfix) with ESMTP id 958188FC21 for ; Mon, 6 Oct 2008 13:34:15 +0000 (UTC) (envelope-from marcocouperus@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so1033147nfh.33 for ; Mon, 06 Oct 2008 06:34:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:mime-version:subject:date:cc:x-mailer; bh=6YDiYE8jeuEoClzktqsGCcwLTA53uGYTtmhVI1NpxPE=; b=SCncSPS1FaLOmlmTIpZ4klcXLVJ5anszUvXIeqZQvSo2aAyxTsZNMfvWPs3bHbjpHI RFz1Gj1a3y6Zm27f5xrb7QRV7Ow92Um0FEtY6KBIsCHUlu2ZMVy+Ulzb5WfqL7J4KU7W QuMSpnELoxnzGMzGeM+ucTxNoJ8ipqYBkQLP8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:mime-version:subject:date:cc :x-mailer; b=H27be/hOfGas4DGe4rBlfwNwaqnX3Q0xIHzcdkGJWhQ6RzvTkxY/CxTU9vQ9kKe/A9 sRv/NgWMFFgf5zz+0g2tGhwKPcNvNLTmLi4l7Fip59vZKXo5fxGUCjjFVMxljF6nWozo qUZf3rhGaU6ShYooJUnMl1frtKlzdqljcHbmc= Received: by 10.210.73.12 with SMTP id v12mr6310647eba.89.1223298236897; Mon, 06 Oct 2008 06:03:56 -0700 (PDT) Received: from ?192.168.1.10? ([83.119.186.46]) by mx.google.com with ESMTPS id 7sm11753621eyg.0.2008.10.06.06.03.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 06 Oct 2008 06:03:55 -0700 (PDT) Message-Id: <18FFEF20-DED3-463D-9AC5-26A9CFFC902F@gmail.com> From: Marco Couperus To: clement@FreeBSD.org Mime-Version: 1.0 (Apple Message framework v929.2) Date: Mon, 6 Oct 2008 15:03:52 +0200 X-Mailer: Apple Mail (2.929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: ports@FreeBSD.org Subject: FreeBSD Port: apache-2.2.9_5 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 13:34:16 -0000 Hello Clement, Package install of apache 2.2 doesn't work. Apache reports: "DocumentRoot must be a directory" Easy fix in the httpd.conf but in my opinion this fix should be included in the package. Other info: command run: pkg_add -r apache22 installed version: apache-2.2.6_2 error: Starting apache httpd fails. -> "DocumenRoot must be a directory" systeminfo: FreeBSD 7.0-RELEASE i386, GENERIC kernel. Thanks in advance. Regards, marco From owner-freebsd-ports@FreeBSD.ORG Mon Oct 6 16:39:57 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A1F81065690 for ; Mon, 6 Oct 2008 16:39:57 +0000 (UTC) (envelope-from i.am.scuzzo@gmail.com) Received: from mail-gx0-f21.google.com (mail-gx0-f21.google.com [209.85.217.21]) by mx1.freebsd.org (Postfix) with ESMTP id 27F438FC21 for ; Mon, 6 Oct 2008 16:39:56 +0000 (UTC) (envelope-from i.am.scuzzo@gmail.com) Received: by gxk14 with SMTP id 14so5032562gxk.19 for ; Mon, 06 Oct 2008 09:39:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=KJz7pOtXeI+dwYjVL+1EB0u9aQtD+lmwzf9IBzs2CP0=; b=D7+1r+dHHiT16zafyyUIJ+rhfESf3zAYhF5IEMqmG0wQA9n8+p93+yarRELAD/MqYk a6hJVVLS3TTfKV3oL4WWo8uyshM1srwpsdET5p275PbeOS5J/C6uYQMYECFa1ZGXPTWy 05B0lvkG2B1pRARMfFyAB6V2GQBEOK0u++TMI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=kQzocgqkETszLV73tF6k9Ao6TTsrFCqLTilssyRDDQi4hIfWv7f74M6Sz0dIZflz6D tmFg5S8ISmAmyrMT8RiQWbKW6d22VK8RvuP37msOgarESx2CAc+CeM1ZBT4+/U9daIpT P12NVIJc8mCsqlEukDJMlHX4eKmJsXV/A1VYg= Received: by 10.151.108.3 with SMTP id k3mr7940222ybm.67.1223309856693; Mon, 06 Oct 2008 09:17:36 -0700 (PDT) Received: by 10.151.6.20 with HTTP; Mon, 6 Oct 2008 09:17:36 -0700 (PDT) Message-ID: Date: Mon, 6 Oct 2008 12:17:36 -0400 From: "Haroon Khalid" To: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: getting a game into the ports collection X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 16:39:57 -0000 Hello, I am working on a game which uses Ruby,Rubygame and SDL. If this game was a good demonstration of these applications and many people like it, how would I go about getting information on if its possible to include this game in the ports collection? Thanks From owner-freebsd-ports@FreeBSD.ORG Mon Oct 6 17:32:06 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD3F4106568D for ; Mon, 6 Oct 2008 17:32:06 +0000 (UTC) (envelope-from stephen@math.missouri.edu) Received: from math.missouri.edu (math.missouri.edu [128.206.184.200]) by mx1.freebsd.org (Postfix) with ESMTP id 72CE28FC3C for ; Mon, 6 Oct 2008 17:32:06 +0000 (UTC) (envelope-from stephen@math.missouri.edu) Received: from [128.206.184.213] (cauchy.math.missouri.edu [128.206.184.213]) by math.missouri.edu (8.13.1/8.13.1) with ESMTP id m96H8Qg1036279; Mon, 6 Oct 2008 12:08:26 -0500 (CDT) (envelope-from stephen@math.missouri.edu) Message-ID: <48EA45F8.4070301@math.missouri.edu> Date: Mon, 06 Oct 2008 12:08:08 -0500 From: Stephen Montgomery-Smith User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.17) Gecko/20081004 SeaMonkey/1.1.12 MIME-Version: 1.0 To: Haroon Khalid References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88/8378/Mon Oct 6 07:51:03 2008 on math.missouri.edu X-Virus-Status: Clean Cc: freebsd-ports@freebsd.org Subject: Re: getting a game into the ports collection X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 17:32:06 -0000 Haroon Khalid wrote: > Hello, > > I am working on a game which uses Ruby,Rubygame and SDL. If this game was a > good demonstration of these applications and many people like it, how would > I go about getting information on if its possible to include this game in > the ports collection? Thanks If you make it into a port, and the port works, and then you submit it, I think you can pretty much guarantee that it will be accepted. From owner-freebsd-ports@FreeBSD.ORG Mon Oct 6 18:03:45 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 784E31065688 for ; Mon, 6 Oct 2008 18:03:45 +0000 (UTC) (envelope-from philip@ridecharge.com) Received: from exhub015-2.exch015.msoutlookonline.net (exhub015-2.exch015.msoutlookonline.net [207.5.72.94]) by mx1.freebsd.org (Postfix) with ESMTP id 618808FC21 for ; Mon, 6 Oct 2008 18:03:45 +0000 (UTC) (envelope-from philip@ridecharge.com) Received: from philip.hq.rws (74.93.213.161) by smtpx15.msoutlookonline.net (207.5.72.103) with Microsoft SMTP Server (TLS) id 8.1.278.0; Mon, 6 Oct 2008 10:53:43 -0700 Message-ID: <48EA50A5.90609@ridecharge.com> Date: Mon, 6 Oct 2008 13:53:41 -0400 From: "Philip M. Gollucci" Organization: RideCharge Inc. User-Agent: Thunderbird 2.0.0.16 (X11/20080917) MIME-Version: 1.0 To: "Albert.Shih@obspm.fr" References: <5D01F7B5-FB93-41C3-ADF5-6976D08223BE@exit2shell.com> <20081004083040.GA33809@obspm.fr> In-Reply-To: <20081004083040.GA33809@obspm.fr> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Cc: "Philip M. Gollucci" , Steven Kreuzer , "freebsd-ports@freebsd.org" Subject: Re: Request Tracker 3.8.1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 18:03:45 -0000 Albert Shih wrote: >> Before I submit a PR and get it added into svn, I want to see if I can CVS >> Also, I stripped out the MULTIPLE_INSTANCES support, mainly because I Yeah, me too, the first committed version will not have this. >> don't use it and needed to get rt38 up and running as quickly as >> possible. As time permits, I will add it back it, but its not as >> simple as it seems because, mainly because the patches no longer >> cleanly apply. Correct. > http://lists.freebsd.org/pipermail/freebsd-ports/2008-August/050271.html Yes, I intended to get my 'ass' back in gear and commit this tonight or Tuesday. I'll review both shars and see if there is anything I need to merge between the 2. > I don't known why it's not in the port-tree. Maybe some other task to do. Yeah, $work, traveling, and sick -- ------------------------------------------------------------------------ Philip M. Gollucci (philip@ridecharge.com) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. From owner-freebsd-ports@FreeBSD.ORG Mon Oct 6 18:37:35 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 210EE10656A6 for ; Mon, 6 Oct 2008 18:37:35 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: from syn.atarininja.org (syn.csh.rit.edu [129.21.60.158]) by mx1.freebsd.org (Postfix) with ESMTP id EFC718FC1B for ; Mon, 6 Oct 2008 18:37:34 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: by syn.atarininja.org (Postfix, from userid 1001) id 5ADBD5C3C; Mon, 6 Oct 2008 14:37:31 -0400 (EDT) Date: Mon, 6 Oct 2008 14:37:31 -0400 From: Wesley Shields To: Stephen Montgomery-Smith Message-ID: <20081006183731.GD63532@atarininja.org> References: <48EA45F8.4070301@math.missouri.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48EA45F8.4070301@math.missouri.edu> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Haroon Khalid , freebsd-ports@freebsd.org Subject: Re: getting a game into the ports collection X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 18:37:35 -0000 On Mon, Oct 06, 2008 at 12:08:08PM -0500, Stephen Montgomery-Smith wrote: > Haroon Khalid wrote: > > Hello, > > > > I am working on a game which uses Ruby,Rubygame and SDL. If this game was a > > good demonstration of these applications and many people like it, how would > > I go about getting information on if its possible to include this game in > > the ports collection? Thanks > > If you make it into a port, and the port works, and then you submit it, > I think you can pretty much guarantee that it will be accepted. The details of the process outlined above are well documented. http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/index.html If this doesn't cover something then you can likely find the answer in /usr/ports/Mk/*. -- WXS From owner-freebsd-ports@FreeBSD.ORG Mon Oct 6 20:31:02 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7DA11065691; Mon, 6 Oct 2008 20:31:02 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 4D2A28FC1B; Mon, 6 Oct 2008 20:31:02 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender; b=ptqOr/kCBmSm9rmEZPkF3lIHyepaz6K4C0hz7rqH+3DbqVnwHm6hntAxGpiCHjQneHhylzHEARgqkhASeQf+9535wsTmoRwjzd0P9yiO06dh0x5oE4b0lG/v6ELSqUQXptnsPg/WR6wChTKV9AD0m93bMaQkLR+e7a6nIdHhGRM=; Received: from phoenix.codelabs.ru (ppp83-237-105-41.pppoe.mtu-net.ru [83.237.105.41]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1KmwjM-0005p1-HJ; Tue, 07 Oct 2008 00:31:00 +0400 Date: Tue, 7 Oct 2008 00:30:58 +0400 From: Eygene Ryabinkin To: Miroslav Lachman <000.fbsd@quip.cz>, Mel Message-ID: References: <48DE5CC0.9000708@localhost.inse.ru> <48DF6735.4030906@quip.cz> <4bESZpNwE3z/DdlE2fwK/BXzQSo@2MQ0uKCiT7mdMUuLeUzs8Nv3ToQ> <48E94281.8010300@quip.cz> <48E9D382.4000001@quip.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: Sender: rea-fbsd@codelabs.ru Cc: freebsd-hackers@freebsd.org, freebsd-ports@freebsd.org, bug-followup@freebsd.org, portmgr@freebsd.org Subject: Re: ports/126853: ports-mgmt/portaudit: speed up audit of installed packages X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 20:31:02 -0000 Mon, Oct 06, 2008 at 02:30:29PM +0400, Eygene Ryabinkin wrote: > OK, fine. I will implement the usage of the local INDEX file in some > days. OK, I had implemented both '-o' option to pkg_audit and the usage of the local INDEX file. I had reworked pkg_audit and portaudit a bit further, mostly fixing some issues (both mine and existing). Here we go. Patches for pkg_install that adds pkg_audit: http://codelabs.ru/fbsd/patches/portaudit/0001-Add-functions-for-traversing-package-database-and-ma.patch http://codelabs.ru/fbsd/patches/portaudit/0002-Add-function-match_get_pkgorigin.patch http://codelabs.ru/fbsd/patches/portaudit/0003-New-utility-pkg_audit.patch http://codelabs.ru/fbsd/patches/portaudit/0004-pkg_audit-add-option-to-print-origins.patch Mega-patch for pkg_install: http://codelabs.ru/fbsd/patches/portaudit/pkg_install-megapatch-pkg_audit.diff Patches for portaudit: http://codelabs.ru/fbsd/patches/portaudit/0001-Avoid-usage-of-global-variables-N-in-the-print_affe.patch http://codelabs.ru/fbsd/patches/portaudit/0002-Separate-vulnerable-ports-search-from-the-formatter.patch http://codelabs.ru/fbsd/patches/portaudit/0003-Use-pkg_audit-utility-if-it-is-available.patch http://codelabs.ru/fbsd/patches/portaudit/0004-Implement-checking-for-a-new-package-versions.patch Mega-patch for portaudit: http://codelabs.ru/fbsd/patches/portaudit/portaudit-megapatch_pkg_audit-and-checknew.diff Opinions are welcome! -- Eygene From owner-freebsd-ports@FreeBSD.ORG Mon Oct 6 20:36:18 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE40B106568B; Mon, 6 Oct 2008 20:36:18 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 91C188FC0C; Mon, 6 Oct 2008 20:36:18 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:Content-Transfer-Encoding:In-Reply-To:Sender; b=B2DcjFIBRhC7lVHTG74BQjt29TU+BfboTSpAvQbKYE4Fwu5qnFGoyAy4NOmQSp9sLmfGV6rq/lSxGjIzvMkJb+eKnbfIgx42wbOfbDl7e4fYd8VbtFKVQal0/9iSjsi4suTvrzqOrHdtYK5ef9X4v6wVrX2q7VWEY4d49azIAVU=; Received: from phoenix.codelabs.ru (ppp83-237-105-41.pppoe.mtu-net.ru [83.237.105.41]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1KmwoT-0006BZ-5j; Tue, 07 Oct 2008 00:36:17 +0400 Date: Tue, 7 Oct 2008 00:36:14 +0400 From: Eygene Ryabinkin To: Miroslav Lachman <000.fbsd@quip.cz>, Mel Message-ID: References: <48DE5CC0.9000708@localhost.inse.ru> <48DF6735.4030906@quip.cz> <4bESZpNwE3z/DdlE2fwK/BXzQSo@2MQ0uKCiT7mdMUuLeUzs8Nv3ToQ> <48E94281.8010300@quip.cz> <48E9D382.4000001@quip.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: Sender: rea-fbsd@codelabs.ru Cc: freebsd-hackers@freebsd.org, bug-followup@freebsd.org, freebsd-ports@freebsd.org, portmgr@freebsd.org Subject: Re: ports/126853: ports-mgmt/portaudit: speed up audit of installed packages X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 20:36:19 -0000 Forgot to say: Tue, Oct 07, 2008 at 12:30:58AM +0400, Eygene Ryabinkin wrote: > OK, I had implemented both '-o' option to pkg_audit and the usage of the > local INDEX file. The latter can be activated by writing something like ----- portaudit_pkg_index=3D"file:///usr/ports/INDEX-%d" ----- to the /usr/local/etc/portaudit.conf. --=20 Eygene From owner-freebsd-ports@FreeBSD.ORG Mon Oct 6 22:34:36 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61D8A1065698 for ; Mon, 6 Oct 2008 22:34:36 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (lefty.soaustin.net [66.135.55.46]) by mx1.freebsd.org (Postfix) with ESMTP id 477428FC1D for ; Mon, 6 Oct 2008 22:34:36 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: by mail.soaustin.net (Postfix, from userid 502) id CDD378C0C4; Mon, 6 Oct 2008 17:34:35 -0500 (CDT) Date: Mon, 6 Oct 2008 17:34:35 -0500 To: ports@FreeBSD.org Message-ID: <20081006223435.GD21361@soaustin.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) From: linimon@lonesome.com (Mark Linimon) Cc: Subject: reminder: please put category/portname in ports PRs X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2008 22:34:36 -0000 We have an auto-assigner that notifies maintainers of ports PRs. It looks for literal 'category/portname' in the Synopsis field to do its work. Please help us out by including this; otherwise, it has to be edited by hand. Thanks. mcl From owner-freebsd-ports@FreeBSD.ORG Tue Oct 7 00:52:38 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 934B0106568E for ; Tue, 7 Oct 2008 00:52:38 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from k7.mavetju.org (ppp121-44-96-65.lns10.syd6.internode.on.net [121.44.96.65]) by mx1.freebsd.org (Postfix) with ESMTP id 5134B8FC22 for ; Tue, 7 Oct 2008 00:52:38 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: by k7.mavetju.org (Postfix, from userid 1001) id 2C62A45043; Tue, 7 Oct 2008 11:35:15 +1100 (EST) Date: Tue, 7 Oct 2008 11:35:15 +1100 From: Edwin Groothuis To: ports@FreeBSD.org Message-ID: <20081007003515.GA62017@mavetju.org> References: <20081006223435.GD21361@soaustin.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081006223435.GD21361@soaustin.net> User-Agent: Mutt/1.4.2.3i Cc: Subject: Re: reminder: please put category/portname in ports PRs X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 00:52:38 -0000 On Mon, Oct 06, 2008 at 05:34:35PM -0500, Mark Linimon wrote: > We have an auto-assigner that notifies maintainers of ports PRs. It > looks for literal 'category/portname' in the Synopsis field to do its > work. Please help us out by including this; otherwise, it has to be > edited by hand. Thanks. After being offline for four days (See my writeup about Friday the 13th at http://www.mavetju.org/weblog/html/00254.html) I have a fully working computer right now and can keep track of the failed auto-assigned PRs again. Edwin -- Edwin Groothuis Website: http://www.mavetju.org/ edwin@mavetju.org Weblog: http://www.mavetju.org/weblog/ From owner-freebsd-ports@FreeBSD.ORG Tue Oct 7 07:07:43 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C4E81065686 for ; Tue, 7 Oct 2008 07:07:43 +0000 (UTC) (envelope-from tingox@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id 249538FC0C for ; Tue, 7 Oct 2008 07:07:42 +0000 (UTC) (envelope-from tingox@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so732308qwb.7 for ; Tue, 07 Oct 2008 00:07:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=SxZM+55KBSp6Bo3nDcKzZUlwmDrvoN2UD6+hSmlvNV0=; b=ThA7gWtYZbpfjSifp7KB8D1iQKhIdx7P4hrPFM24T4OipN2BoZAruXDLecwT35vhNq FEl1A9ClKUdxnVn3rsgbLlKXDUUfdM3r9lj7WChBjG/dTH7kEVVQwVV5F2P1CnLoMJrp p4wUCyR6RzNigP7Us4wcpq5bYSzab9bPQEeZg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=W6aXFEDwP30I6ztLicQlK+U2CRquTpQ8V+fCWYbdg+SF+qpcs7gc7OYR3QUbx8fSiS rI31O5sHah0mIymIGHNhtcf8jbWyHcR+nBnUJknjhnIW/elSg1ykcBIwcORcgnez+SN6 di82+Pe/sc028gI8tY0mWScaXwwoJul8ff7js= Received: by 10.215.100.9 with SMTP id c9mr7529263qam.23.1223363262304; Tue, 07 Oct 2008 00:07:42 -0700 (PDT) Received: by 10.214.25.9 with HTTP; Tue, 7 Oct 2008 00:07:42 -0700 (PDT) Message-ID: Date: Tue, 7 Oct 2008 09:07:42 +0200 From: "Torfinn Ingolfsen" To: freebsd-ports@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Subject: Re: portupgrade fails - how to fix? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 07:07:43 -0000 And here portupgrade fails again, on another machine: root@kg-work2# portupgrade -R nasm pcre xterm mplayer gscan2pdf ImageMagick [Gathering depends for devel/nasm done] [Exclude up-to-date packages done] [Gathering depends for devel/pcre done] [Exclude up-to-date packages done] [Gathering depends for x11/xterm .............................................................................................. done] [Exclude up-to-date packages ................................. done] [Gathering depends for multimedia/mplayer ..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... done] [Exclude up-to-date packages ................................................................................................................................................................................ done] /usr/local/lib/ruby/site_ruby/1.8/pkginfo.rb:74:in `initialize': : Not in due form: - (ArgumentError) from /usr/local/sbin/portupgrade:614:in `new' from /usr/local/sbin/portupgrade:614:in `main' from /usr/local/sbin/portupgrade:613:in `each' from /usr/local/sbin/portupgrade:613:in `main' from /usr/local/sbin/portupgrade:588:in `catch' from /usr/local/sbin/portupgrade:588:in `main' from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `call' from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `parse_in_order' ... 7 levels... from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize' from /usr/local/sbin/portupgrade:229:in `new' from /usr/local/sbin/portupgrade:229:in `main' from /usr/local/sbin/portupgrade:2208 This machine runs FreeBSd 7.0-stable: root@kg-work2# uname -a FreeBSD kg-work2.kg4.no 7.0-STABLE FreeBSD 7.0-STABLE #1: Mon Sep 22 23:02:46 CEST 2008 root@kg-work2.kg4.no:/usr/obj/usr/src/sys/SX270 i386 As always, a single port as the argument to portupgrade doesn't fail. HTH -- Regards, Torfinn Ingolfsen From owner-freebsd-ports@FreeBSD.ORG Tue Oct 7 08:32:26 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 082D5106568B for ; Tue, 7 Oct 2008 08:32:26 +0000 (UTC) (envelope-from parv@pair.com) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.125]) by mx1.freebsd.org (Postfix) with ESMTP id B9C598FC3B for ; Tue, 7 Oct 2008 08:32:25 +0000 (UTC) (envelope-from parv@pair.com) Received: from localhost.hawaii.res.rr.com ([66.8.131.200]) by hrndva-omta02.mail.rr.com with ESMTP id <20081007081622.WYBZ23636.hrndva-omta02.mail.rr.com@localhost.hawaii.res.rr.com>; Tue, 7 Oct 2008 08:16:22 +0000 Received: from holstein.holy.cow (localhost [127.0.0.1]) by localhost.hawaii.res.rr.com (Postfix) with ESMTP id C92D032CA; Mon, 6 Oct 2008 22:21:30 -1000 (HST) Received: (from parv@localhost) by holstein.holy.cow (8.13.8/8.13.8/Submit) id m978LTt4039346; Mon, 6 Oct 2008 22:21:29 -1000 (HST) (envelope-from parv@pair.com) X-Authentication-Warning: holstein.holy.cow: parv set sender to parv@pair.com using -f Date: Mon, 6 Oct 2008 22:21:29 -1000 From: Parv To: Torfinn Ingolfsen Message-ID: <20081007082129.GA32825@holstein.holy.cow> Mail-Followup-To: Torfinn Ingolfsen , freebsd-ports@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: freebsd-ports@freebsd.org Subject: Re: portupgrade fails - how to fix? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 08:32:26 -0000 Mind that I am looking at the problem purely from a programmer's perspective. I am a rather light user of portupgrade (mainly "pkgbd -F") & don't upgrade the port itself much. With that out of the way ... in message , wrote Torfinn Ingolfsen thusly... > > And here portupgrade fails again, on another machine: Is your version of portupgrade is the latest in the ports? (So that I can install the same & investigate.) > root@kg-work2# portupgrade -R nasm pcre xterm mplayer gscan2pdf ImageMagick What are the exact names of the ports|packages installed? Many ways to list; here is a simple one ... sh pkg_info -Qox nasm pcre xterm mplayer gscan2pdf ImageMagick \ | sed -e 's/:/ /' # Type exit to exit /bin/sh session; missing here as it might # actually exit your actual shell session. > /usr/local/lib/ruby/site_ruby/1.8/pkginfo.rb:74:in `initialize': : Not > in due form: - (ArgumentError) > from /usr/local/sbin/portupgrade:614:in `new' Seems like portupgrade is dying when a port name-version format does not match the expected regular expression. Or, the program encounters a non-port string. > As always, a single port as the argument to portupgrade doesn't > fail. If portupgrade is indeed successful individually for all the above listed ports, then the second scenario is more likely (the "non-port thing" one). - Parv -- From owner-freebsd-ports@FreeBSD.ORG Tue Oct 7 14:25:50 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC10C1065686 for ; Tue, 7 Oct 2008 14:25:50 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) by mx1.freebsd.org (Postfix) with ESMTP id 5D7DD8FC19 for ; Tue, 7 Oct 2008 14:25:50 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from wald.nfv.gwdg.de ([134.76.242.31] helo=pc028.nfv) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1KnClE-0000FJ-UQ; Tue, 07 Oct 2008 15:38:01 +0200 Message-ID: <48EB6635.6040707@gwdg.de> Date: Tue, 07 Oct 2008 15:37:57 +0200 From: Rainer Hurling User-Agent: Thunderbird 2.0.0.17 (X11/20080929) MIME-Version: 1.0 To: parv@pair.com References: <20081007082129.GA32825@holstein.holy.cow> In-Reply-To: <20081007082129.GA32825@holstein.holy.cow> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: Torfinn Ingolfsen , freebsd-ports@freebsd.org Subject: Re: portupgrade fails - how to fix? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 14:25:50 -0000 I have the same trouble with portupgrade some times: Am 07.10.2008 10:21 (UTC+1) schrieb Parv: > Mind that I am looking at the problem purely from a programmer's > perspective. I am a rather light user of portupgrade (mainly "pkgbd > -F") & don't upgrade the port itself much. > > With that out of the way ... > > in message , > wrote Torfinn Ingolfsen thusly... >> And here portupgrade fails again, on another machine: > > Is your version of portupgrade is the latest in the ports? (So that > I can install the same & investigate.) > > >> root@kg-work2# portupgrade -R nasm pcre xterm mplayer gscan2pdf ImageMagick > > What are the exact names of the ports|packages installed? Many ways > to list; here is a simple one ... > > sh > pkg_info -Qox nasm pcre xterm mplayer gscan2pdf ImageMagick \ > | sed -e 's/:/ /' > # Type exit to exit /bin/sh session; missing here as it might > # actually exit your actual shell session. > > >> /usr/local/lib/ruby/site_ruby/1.8/pkginfo.rb:74:in `initialize': : Not >> in due form: - (ArgumentError) >> from /usr/local/sbin/portupgrade:614:in `new' > > Seems like portupgrade is dying when a port name-version format does > not match the expected regular expression. Or, the program > encounters a non-port string. I think, Parv is right here. For example in some cases portupgrade fails, when the port name is not clear enough. I just saw that 'portupgrade -R gimp' failed, when there are 'gimp-app' and 'gimp' installed and portupgrade had to find the right port. Rainer >> As always, a single port as the argument to portupgrade doesn't >> fail. > > If portupgrade is indeed successful individually for all the above > listed ports, then the second scenario is more likely (the "non-port > thing" one). > > > - Parv From owner-freebsd-ports@FreeBSD.ORG Tue Oct 7 15:56:11 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3A03106568C; Tue, 7 Oct 2008 15:56:11 +0000 (UTC) (envelope-from Laurent.Cligny@Isobox.fr) Received: from smtp1.synbra.com (smtp1.synbra.com [212.108.2.62]) by mx1.freebsd.org (Postfix) with ESMTP id 1F10D8FC13; Tue, 7 Oct 2008 15:56:11 +0000 (UTC) (envelope-from Laurent.Cligny@Isobox.fr) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp1.synbra.com (Postfix) with ESMTP id 0455973705; Tue, 7 Oct 2008 17:39:34 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.4.2 (20060627) (Debian) at synbra.com Received: from smtp1.synbra.com ([127.0.0.1]) by localhost (smtp1.synbra.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yjKmLUaRHd9t; Tue, 7 Oct 2008 17:39:33 +0200 (CEST) Received: from mail.synbra.com (wyc210.sbra.grp.local [192.168.1.210]) by smtp1.synbra.com (Postfix) with ESMTP id 2051073667; Tue, 7 Oct 2008 17:39:33 +0200 (CEST) Received: from ban204.SBRA.GRP.LOCAL ([192.168.61.204]) by mail.synbra.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 7 Oct 2008 17:39:32 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4325 Date: Tue, 7 Oct 2008 17:39:31 +0200 Message-ID: X-MS-Has-Attach: Importance: normal Priority: normal X-MS-TNEF-Correlator: Thread-Topic: FreeBSD Port: open-vm-tools-nox11-102166_4 Thread-Index: AckokuRA8tAcaTHZTFSNBKFloSRDVg== From: "Cligny, Laurent" To: X-OriginalArrivalTime: 07 Oct 2008 15:39:32.0975 (UTC) FILETIME=[E50A17F0:01C92892] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: ports@FreeBSD.org Subject: FreeBSD Port: open-vm-tools-nox11-102166_4 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 15:56:11 -0000 Hello, I want to use open-vm-tools-nox11 on a 7.0-RELEASE box without using the port tree on it. So I wanted to build a package for this port on another 7.0-RELEASE machine, wiche have the port tree installed and up-to-date. But, here's what's happening with either "pkgcreate -p" or "make package": # make package =3D=3D=3D> Building package for open-vm-tools-nox11-102166_4 Creating package /usr/ports/packages/All/open-vm-tools-nox11-102166_4.tbz Registering depends: icu-3.8.1_1 libdnet-1.11_2. Registering conflicts: open-vm-tools-[0-9]* vmware-guestd[0-9]* vmware-tools[0-9]*. Creating bzip'd tar ball in '/usr/ports/packages/All/open-vm-tools-nox11-102166_4.tbz' tar: %%NOTON5%%lib/vmware-tools/modules/drivers/vmblock.ko: Cannot stat: No such file or directory tar: %%NOTON5%%lib/vmware-tools/modules/drivers/vmhgfs.ko: Cannot stat: No such file or directory tar: %%NOTON5%%sbin/mount_vmhgfs: Cannot stat: No such file or directory tar: Error exit delayed from previous errors. pkg_create: make_dist: tar command failed with code 256 *** Error code 1 Stop in /usr/ports/emulators/open-vm-tools-nox11. And when I install this package on the destination pc, It fall in the same error and so vmblock.ko, vmhgfs.ko and mount_vmhgfs are not installed. Note that on the packaging machine, the port is properly installed and all those modules are present, the problem is only at the package creation. Can you help me to solve this issue ? Regards, Laurent Cligny ISOBOX Technologies - SAS au capital de 4 575 000 Euros RCS Paris 348 914 300 - APE 2222 Z - N? TVA FR 04348914300 *************************************************************************= *************************** This e-mail and any attachment is confidential and may be legally = privileged or otherwise protected from disclosure. If you are not the intended recipient, please notify = the sender immediately by returning this e-mail. Sender is not responsible for the improper or = incomplete transmission of any e-mail, or for any delay in its receipt. *************************************************************************= *************************** From owner-freebsd-ports@FreeBSD.ORG Tue Oct 7 18:34:59 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42BB71065696 for ; Tue, 7 Oct 2008 18:34:59 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.183]) by mx1.freebsd.org (Postfix) with ESMTP id 12EB18FC1C for ; Tue, 7 Oct 2008 18:34:58 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by wa-out-1112.google.com with SMTP id n4so1914472wag.27 for ; Tue, 07 Oct 2008 11:34:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=nj6TQ99Xaq82n19tjuJVV16Gn0SfNZUZ9bgCANMKqJg=; b=g6ziJZDCgz1NEHsovyLvZKf9M03L4y3tP1VNrzaH4jMGouRsRCWEygaeTkQv9lrb4l abJzBT9Sg7jxJb45K8CtscPCB926Y60PYSjw1+EDy/FHVXkU9m6QSJZanLRpO9+8WurU hydr51vpxF9PKiQdx3HkOAeNdmXTOpq2gf6fs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=XE8wg2up+yYFvz+m2I+uz1uoRmHoy4trhyjCL8zvXL0qrRdKDyJkoY5zcUwWj2rG5T bA5LvGixD3mYOtgvJXMxL6voRdjqMzw5R5UDSFIUqZC+2Ee8v/7sOf0B/rHQGFl5gLyz b96WOfjnwPk0+SGVNFHYpbP5mxFoXyzWNsnhw= Received: by 10.114.144.1 with SMTP id r1mr7801291wad.97.1223404498371; Tue, 07 Oct 2008 11:34:58 -0700 (PDT) Received: by 10.114.103.7 with HTTP; Tue, 7 Oct 2008 11:34:58 -0700 (PDT) Message-ID: <790a9fff0810071134ked79351o22f2dd9f87d64ee2@mail.gmail.com> Date: Tue, 7 Oct 2008 13:34:58 -0500 From: "Scot Hetzel" To: "Cligny, Laurent" In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_33495_33461311.1223404498353" References: Cc: ports@freebsd.org, mbr@freebsd.org Subject: Re: FreeBSD Port: open-vm-tools-nox11-102166_4 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 18:34:59 -0000 ------=_Part_33495_33461311.1223404498353 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 10/7/08, Cligny, Laurent wrote: > Hello, > > I want to use open-vm-tools-nox11 on a 7.0-RELEASE box without using the > port tree on it. > So I wanted to build a package for this port on another 7.0-RELEASE > machine, wiche have the port tree installed and up-to-date. > > But, here's what's happening with either "pkgcreate -p" or "make > package": > > > # make package > ===> Building package for open-vm-tools-nox11-102166_4 > Creating package > /usr/ports/packages/All/open-vm-tools-nox11-102166_4.tbz > Registering depends: icu-3.8.1_1 libdnet-1.11_2. > Registering conflicts: open-vm-tools-[0-9]* vmware-guestd[0-9]* > vmware-tools[0-9]*. > Creating bzip'd tar ball in > '/usr/ports/packages/All/open-vm-tools-nox11-102166_4.tbz' > tar: %%NOTON5%%lib/vmware-tools/modules/drivers/vmblock.ko: Cannot stat: > No such file or directory > tar: %%NOTON5%%lib/vmware-tools/modules/drivers/vmhgfs.ko: Cannot stat: > No such file or directory > tar: %%NOTON5%%sbin/mount_vmhgfs: Cannot stat: No such file or directory > tar: Error exit delayed from previous errors. > pkg_create: make_dist: tar command failed with code 256 > *** Error code 1 > > Stop in /usr/ports/emulators/open-vm-tools-nox11. > The ports Makefile is using missing a PLIST_SUB+= NOTON5="", and is incorrectly defining SUB_LIST. This has the side effect of not being able to package these files. Attached is an untested patch to the Makefile. To apply it: cd /usr/ports/emulator/open-vm-tools patch < /path/to/open-vm-tools.patch Then reinstall the port and create the package. If this patch works, then use send-pr to submit this change for this port. Scot ------=_Part_33495_33461311.1223404498353 Content-Type: text/x-diff; name=open-vm-tools.patch Content-Transfer-Encoding: base64 X-Attachment-Id: f_fm0v6wue Content-Disposition: attachment; filename=open-vm-tools.patch SW5kZXg6IE1ha2VmaWxlCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZpbGU6IC9ob21lL25jdnMvcG9ydHMvZW11 bGF0b3JzL29wZW4tdm0tdG9vbHMvTWFrZWZpbGUsdgpyZXRyaWV2aW5nIHJldmlzaW9uIDEuMTQK ZGlmZiAtdSAtcjEuMTQgTWFrZWZpbGUKLS0tIE1ha2VmaWxlCTI5IFNlcCAyMDA4IDE5OjE3OjE1 IC0wMDAwCTEuMTQKKysrIE1ha2VmaWxlCTcgT2N0IDIwMDggMTg6MjU6NTkgLTAwMDAKQEAgLTU2 LDkgKzU2LDExIEBACiAuaW5jbHVkZSA8YnNkLnBvcnQucHJlLm1rPgogCiAuaWYgJHtPU1ZFUlNJ T059IDwgNjAwMDAwCi1TVUJfTElTVCs9CU5PVE9ONT0iQGNvbW1lbnQgIgorU1VCX0xJU1QrPQlO T1RPTjU9IiMiCitQTElTVF9TVUIrPQlAY29tbWVudCAiCiAuZWxzZQogU1VCX0xJU1QrPQlOT1RP TjU9IiIKK1BMSVNUX1NVQis9CU5PVE9ONT0iIgogLmVuZGlmCiAKIHBvc3QtcGF0Y2g6Cg== ------=_Part_33495_33461311.1223404498353-- From owner-freebsd-ports@FreeBSD.ORG Tue Oct 7 19:29:26 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7E05106568A for ; Tue, 7 Oct 2008 19:29:26 +0000 (UTC) (envelope-from jankyj@unfs.us) Received: from morbid.purplehat.org (morbid.purplehat.org [206.225.83.29]) by mx1.freebsd.org (Postfix) with ESMTP id A4E388FC13 for ; Tue, 7 Oct 2008 19:29:26 +0000 (UTC) (envelope-from jankyj@unfs.us) Received: from localhost (morbid.purplehat.org [206.225.83.29]) by morbid.purplehat.org (Postfix) with ESMTP id D121C15348C for ; Tue, 7 Oct 2008 12:13:04 -0700 (PDT) Received: from morbid.purplehat.org ([206.225.83.29]) by localhost (morbid.purplehat.org [206.225.83.29]) (amavisd-maia, port 10024) with ESMTP id 21027-07 for ; Tue, 7 Oct 2008 12:13:04 -0700 (PDT) Received: from [137.106.1.175] (mx.outputservices.com [72.54.228.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jankyj@unfs.us) by morbid.purplehat.org (Postfix) with ESMTPSA id 0AE79153486 for ; Tue, 7 Oct 2008 12:13:03 -0700 (PDT) Message-ID: <48EBB487.3090706@unfs.us> Date: Tue, 07 Oct 2008 13:12:07 -0600 From: "Janky Jay, III" User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <20081007082129.GA32825@holstein.holy.cow> <48EB6635.6040707@gwdg.de> In-Reply-To: <48EB6635.6040707@gwdg.de> X-Enigmail-Version: 0.95.0 OpenPGP: id=46C9667E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: portupgrade fails - how to fix? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 19:29:27 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Not sure how well this work as a 'workaround', but, being as I use ZSH as my shell, I always wrap anything I'm specifically upgrading using portupgrade with single quotes. IE: portupgrade -rR 'some-port-2.4.1_1' 'some-other-port-1.0.5_1,3' I haven't had any issues with this at all. Can anyone confirm if specifying the complete port name wrapped in single quotes allows portupgrade to finish successfully? Regards, Janky Jay, III Rainer Hurling wrote: > I have the same trouble with portupgrade some times: > > Am 07.10.2008 10:21 (UTC+1) schrieb Parv: >> Mind that I am looking at the problem purely from a programmer's >> perspective. I am a rather light user of portupgrade (mainly "pkgbd >> -F") & don't upgrade the port itself much. >> >> With that out of the way ... >> >> in message , >> wrote Torfinn Ingolfsen thusly... >>> And here portupgrade fails again, on another machine: >> >> Is your version of portupgrade is the latest in the ports? (So that >> I can install the same & investigate.) >> >> >>> root@kg-work2# portupgrade -R nasm pcre xterm mplayer gscan2pdf >>> ImageMagick >> >> What are the exact names of the ports|packages installed? Many ways >> to list; here is a simple one ... >> >> sh >> pkg_info -Qox nasm pcre xterm mplayer gscan2pdf ImageMagick \ >> | sed -e 's/:/ /' >> # Type exit to exit /bin/sh session; missing here as it might >> # actually exit your actual shell session. >> >> >>> /usr/local/lib/ruby/site_ruby/1.8/pkginfo.rb:74:in `initialize': : Not >>> in due form: - (ArgumentError) >>> from /usr/local/sbin/portupgrade:614:in `new' >> >> Seems like portupgrade is dying when a port name-version format does >> not match the expected regular expression. Or, the program >> encounters a non-port string. > > I think, Parv is right here. For example in some cases portupgrade > fails, when the port name is not clear enough. I just saw that > 'portupgrade -R gimp' failed, when there are 'gimp-app' and 'gimp' > installed and portupgrade had to find the right port. > > Rainer > > >>> As always, a single port as the argument to portupgrade doesn't >>> fail. >> >> If portupgrade is indeed successful individually for all the above >> listed ports, then the second scenario is more likely (the "non-port >> thing" one). >> >> >> - Parv > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFI67SGGK3MsUbJZn4RAjNYAJ0ZNy67xbtOLr5z2RI9LewLWHH8fQCeKMeH uptpup+aiMAI+qXqjiDfhsw= =+MDn -----END PGP SIGNATURE----- From owner-freebsd-ports@FreeBSD.ORG Tue Oct 7 21:22:43 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF8DF1065698 for ; Tue, 7 Oct 2008 21:22:43 +0000 (UTC) (envelope-from kono@kth.se) Received: from smtp-2.sys.kth.se (smtp-2.sys.kth.se [130.237.32.160]) by mx1.freebsd.org (Postfix) with ESMTP id 816AA8FC17 for ; Tue, 7 Oct 2008 21:22:43 +0000 (UTC) (envelope-from kono@kth.se) Received: from localhost (localhost [127.0.0.1]) by smtp-2.sys.kth.se (Postfix) with ESMTP id A59E714E471 for ; Tue, 7 Oct 2008 23:03:54 +0200 (CEST) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-2.sys.kth.se ([127.0.0.1]) by localhost (smtp-2.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 9khxyibBtPSg for ; Tue, 7 Oct 2008 23:03:51 +0200 (CEST) Received: from monster (76.58.227.87.static.ang.siw.siwnet.net [87.227.58.76]) by smtp-2.sys.kth.se (Postfix) with ESMTP id 4BACD14C144 for ; Tue, 7 Oct 2008 23:03:51 +0200 (CEST) From: Alexander Konovalenko To: freebsd-ports@freebsd.org Date: Tue, 7 Oct 2008 23:03:26 +0200 User-Agent: KMail/1.9.9 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810072303.26671@3667> Subject: petsc compilation error X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kono@kth.se List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 21:22:44 -0000 Hi, tried to compile petsc port and got an error: ... ===> Applying FreeBSD patches for petsc-mpich-2.3.3.p0_1,1 ===> petsc-mpich-2.3.3.p0_1,1 depends on file: /usr/local/bin/python2.5 - found ===> petsc-mpich-2.3.3.p0_1,1 depends on file: /usr/local/mpich2/bin/mpicc - found ===> petsc-mpich-2.3.3.p0_1,1 depends on file: /usr/local/lib/libBS95.a - found ===> petsc-mpich-2.3.3.p0_1,1 depends on file: /usr/local/lib/parmetis/libparmetis.a - found ===> petsc-mpich-2.3.3.p0_1,1 depends on executable: svn - found ===> petsc-mpich-2.3.3.p0_1,1 depends on executable: gfortran42 - found ===> petsc-mpich-2.3.3.p0_1,1 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> petsc-mpich-2.3.3.p0_1,1 depends on shared library: umfpack.1 - found ===> petsc-mpich-2.3.3.p0_1,1 depends on shared library: atlas.2 - found ===> Configuring for petsc-mpich-2.3.3.p0_1,1 /usr/bin/sed -i.bak -e "s|AMD/Include|include/AMD|" -e "s| AMD/Lib|/usr/local/lib|" /usr/ports/math/petsc-mpich/work/petsc-2.3.3-p0/python/PETSc/packages/UMFPACK.py /usr/bin/sed -i.bak -e "s|/bin/ksh|/usr/local/bin/ksh|" /usr/ports/math/petsc-mpich/work/petsc-2.3.3-p0/bin/popup /usr/bin/sed -i.bak -e "s| %%PACKAGE%%||" /usr/ports/math/petsc-mpich/work/petsc-2.3.3-p0/makefile /usr/ports/math/petsc-mpich/work/petsc-2.3.3-p0/config/configure.py ================================================================================= Configuring PETSc to compile on your system ================================================================================= ================================================================================= *** Do not run configure as root, or using sudo. *** *** Use the --with-sudo=sudo option to have *** *** installs of external packages done with sudo *** *** use only with --prefix= when installing in *** *** system directories *** ================================================================================= ===> Script "config/configure.py" failed unexpectedly. Please report the problem to ports@FreeBSD.org [maintainer] and attach the "/usr/ports/math/petsc-mpich/work/petsc-2.3.3-p0/configure.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/math/petsc-mpich. Any ideas? Also, I want to compile petsc with option --with-clanguage=C++, have anybody tried this? /Alexander Konovalenko +46-8-5537-8143 (office) +46-7-3752-2116 http://daemon.nanophys.kth.se/~kono Royal Institute of Technology (KTH) Nanostructure Physics Department, Albanova Roslagstullsbacken 21 10691 Stockholm Sweden From owner-freebsd-ports@FreeBSD.ORG Tue Oct 7 21:30:09 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 131E9106564A for ; Tue, 7 Oct 2008 21:30:09 +0000 (UTC) (envelope-from tingox@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id BB3048FC13 for ; Tue, 7 Oct 2008 21:30:08 +0000 (UTC) (envelope-from tingox@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so855215qwb.7 for ; Tue, 07 Oct 2008 14:30:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=x5Tnywj5ot5Qz7hFkPHH26B3x7sGCfmauqOVLgh9v9A=; b=QL5bDpa6KEEOhATDLrq1fyKyn9NjV3FCHBZHryReGBf3lhXtp35SF2TIaaly86x/ua h8njrVQ/LQu1gNY03alKfw2xW5k03x6SeQIKwSnwPRlUJUYQhA93jCv6U3cmTOm+KvmU VtvtoRkoDP81Z/VRFW58XNBHJH7tHNWy1SEkE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=qokJdd24+QnjQdpobeTlVwCyzH7cd1N82/TE+2d2CUTjSSBJAT9OuhdaKoAB0fL3O9 erAjIgqp5CsHJeJLMpLRM0kK8fPO5UIKeohPV3/Xt4DkfRBDxtKAoDVK7SaAklad1VnM Vy+U2wGMYH61lq02tsMQWEtc0FX6NsODplmas= Received: by 10.214.43.18 with SMTP id q18mr8956545qaq.12.1223415006968; Tue, 07 Oct 2008 14:30:06 -0700 (PDT) Received: by 10.214.25.9 with HTTP; Tue, 7 Oct 2008 14:30:06 -0700 (PDT) Message-ID: Date: Tue, 7 Oct 2008 23:30:06 +0200 From: "Torfinn Ingolfsen" To: freebsd-ports@freebsd.org In-Reply-To: <20081007082129.GA32825@holstein.holy.cow> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081007082129.GA32825@holstein.holy.cow> Subject: Re: portupgrade fails - how to fix? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 21:30:09 -0000 Hello, On Tue, Oct 7, 2008 at 10:21 AM, Parv wrote: > Is your version of portupgrade is the latest in the ports? (So that > I can install the same & investigate.) Yes - always. I think I even stated in my first message that the ports tree was updated. >> root@kg-work2# portupgrade -R nasm pcre xterm mplayer gscan2pdf ImageMagick > > What are the exact names of the ports|packages installed? Many ways > to list; here is a simple one ... You mean with the version numbers? Any port names listed above or in my initial message re non-ambiguous. FWIW, I use /bin/sh as myt shell. Always. > Seems like portupgrade is dying when a port name-version format does > not match the expected regular expression. Or, the program > encounters a non-port string. It might be, but where does it encounter that problem? I have done 'pkgdb -F' - it didn't find any problems. And why doesn't portupgrade find the same problem with any individual port when I try portupgrade on them one-by-one? > If portupgrade is indeed successful individually for all the above > listed ports, then the second scenario is more likely (the "non-port > thing" one). Well, I can't understand where portupgrade picks up that from, unless there is a flaw / error in portupgrade itself. I am a quite experienced user of portupgrade (I have used it for many years), so let me put a few notes here: 1) ambiguous names - if given, portupgrade will ask which ones you want (eg. 'firefox') 2) non-existent names - portupgrade will skip those, like so: root@kg-quiet# portupgrade -R nonexistant [Exclude up-to-date packages done] 3) portupgrade used to have no problems with the way I am using it, ie. portupgrade -R port1 port2 port3 port4 ... Hope this helps. -- Regards, Torfinn Ingolfsen From owner-freebsd-ports@FreeBSD.ORG Tue Oct 7 21:31:17 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40CD4106569A for ; Tue, 7 Oct 2008 21:31:17 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id EEC0D8FC0A for ; Tue, 7 Oct 2008 21:31:16 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so616947yxb.13 for ; Tue, 07 Oct 2008 14:31:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :sender:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition:x-google-sender-auth; bh=UnBbS2kLqiOWHr6OUdgGjiAm+b41kUsaJTbddI9uQqI=; b=eVzRPSkxzflpPxSyskGl4LP2iHXAalz/RWMdVkxXoaKSNcMWtrEaKQv8E7M5EOYEzR f1tE+O7cnUGUBzVTqGvXc6kqr85VMfuByXCxqRNCf+NEjW/FkeksASUzpdP91g670liJ 2ZzMQVSfat5ckhQ6LOGazI65dsKp4RHgfG76A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:sender:to:subject:mime-version :content-type:content-transfer-encoding:content-disposition :x-google-sender-auth; b=JlLxZfy1Tsm94oOGNMp00S3qMRkS1PB4xrH15mUbLZf0zEHVDfQkwQPbUK9RyHUAl9 gktYU5ISy3JjJfrhnAWzXya4Xm7g4U1E2BtrzMI6tuUu5tNCj0YxQJtDysQlJq8JUfSy s/DWoPE1ByHTG2cM+eOzdkKGI3K3kIRdhwtNM= Received: by 10.142.212.19 with SMTP id k19mr2981938wfg.13.1223413668929; Tue, 07 Oct 2008 14:07:48 -0700 (PDT) Received: by 10.142.44.17 with HTTP; Tue, 7 Oct 2008 14:07:48 -0700 (PDT) Message-ID: <539c60b90810071407t76ae801fo8f89ca8a65f6b3b4@mail.gmail.com> Date: Tue, 7 Oct 2008 14:07:48 -0700 From: "Steve Franks" Sender: bahamasfranks@gmail.com To: ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 81fc2dade14313d0 Cc: Subject: textproc/flex (/usr/local/bin/flex) shadowed by /usr/bin/flex after install X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: stevefranks@ieee.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 21:31:17 -0000 In maintaining devel/urjtag, I've added a dependancy to textproc/flex. On some systems, however, I've found that when textproc/flex gets installed, it lands in /usr/local/bin, as expected, but there's a /usr/bin/flex which precedes it in the path - is there a canonical way to resolve this? I've just been mv'ing my /usr/bin/flex, but clearly, I can't add a patch to a port to do that to other people's systems... Steve From owner-freebsd-ports@FreeBSD.ORG Tue Oct 7 21:45:11 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E470106568E for ; Tue, 7 Oct 2008 21:45:11 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.delphij.net (delphij-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:2c9::2]) by mx1.freebsd.org (Postfix) with ESMTP id 00F708FC08 for ; Tue, 7 Oct 2008 21:45:11 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [211.166.10.233]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.delphij.net (Postfix) with ESMTPS id ECEE628449 for ; Wed, 8 Oct 2008 05:45:09 +0800 (CST) Received: from localhost (tarsier.geekcn.org [211.166.10.233]) by tarsier.geekcn.org (Postfix) with ESMTP id AB5F7101C6CC; Wed, 8 Oct 2008 05:45:09 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([211.166.10.233]) by localhost (mail.geekcn.org [211.166.10.233]) (amavisd-new, port 10024) with ESMTP id HiXTjQNP6Ixb; Wed, 8 Oct 2008 05:45:05 +0800 (CST) Received: from charlie.delphij.net (71.5.7.139.ptr.us.xo.net [71.5.7.139]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id 41ECD101C6C9; Wed, 8 Oct 2008 05:45:03 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=aIh9JC5T/45Ob/Pv+iVwvPLGDFP/eNSrEf0tFb7q0/ZjVKh/u13JEp5Eu4iWYpViJ O/QJu1e6adV6ZiJCbcfrg== Message-ID: <48EBD85C.6070901@delphij.net> Date: Tue, 07 Oct 2008 14:45:00 -0700 From: Xin LI Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.17 (X11/20080928) MIME-Version: 1.0 To: stevefranks@ieee.org References: <539c60b90810071407t76ae801fo8f89ca8a65f6b3b4@mail.gmail.com> In-Reply-To: <539c60b90810071407t76ae801fo8f89ca8a65f6b3b4@mail.gmail.com> X-Enigmail-Version: 0.95.7 OpenPGP: id=18EDEBA0; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org Subject: Re: textproc/flex (/usr/local/bin/flex) shadowed by /usr/bin/flex after install X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 21:45:11 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Steve Franks wrote: > In maintaining devel/urjtag, I've added a dependancy to textproc/flex. > On some systems, however, I've found that when textproc/flex gets > installed, it lands in /usr/local/bin, as expected, but there's a > /usr/bin/flex which precedes it in the path - is there a canonical way > to resolve this? I've just been mv'ing my /usr/bin/flex, but clearly, > I can't add a patch to a port to do that to other people's systems... Ah... I feel astonished that flex lives in textproc/ as bison lived in devel/... I think what you have to do is: BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex and do a post-patch action of @${REINPLACE_CMD} -e 's, flex, ${LOCALBASE}/bin/flex,g' or similar where necessary... Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjr2FwACgkQi+vbBBjt66DZsgCfYR0gtZuLNMHiKA4DWz4FuRbb 0M0AmwbnyP6yAPW9YeU/CMWNS1uCx/Ds =WDK4 -----END PGP SIGNATURE----- From owner-freebsd-ports@FreeBSD.ORG Tue Feb 19 07:19:36 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B81A616A468 for ; Tue, 19 Feb 2008 07:19:36 +0000 (UTC) (envelope-from yakutatsu_hayato@yahoo.co.jp) Received: from s326.xrea.com (s326.xrea.com [210.196.169.198]) by mx1.freebsd.org (Postfix) with SMTP id 24A6113C45A for ; Tue, 19 Feb 2008 07:19:35 +0000 (UTC) (envelope-from yakutatsu_hayato@yahoo.co.jp) Received: (qmail 13363 invoked by uid 10402); 19 Feb 2008 16:08:42 +0900 Message-ID: <20080219070842.13362.qmail@s326.xrea.com> From: =?iso-2022-jp?B?GyRCJCpMciRLTikkQSReJDkbKEouY29t?= To: ports@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Mailer: (222.227.142.101:) Cc: Subject: (no subject) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yakutatsu_hayato@yahoo.co.jp List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Tue, 19 Feb 2008 07:19:36 -0000 X-Original-Date: 19 Feb 2008 16:08:42 +0900 X-List-Received-Date: Tue, 19 Feb 2008 07:19:36 -0000 $B%$%s%?!<%M%C%H$G#5F|4V$G#2#0#0#0K|1_0J>e!"2T$$$@?M$,$$$^$9!#(B $B$=$NJ}K!$,L5NA%l%]!<%H$K$J$j$^$7$?!#(B http://my.formman.com/form/pc/vgjMlvJhHyJXzwmI/ $BL5NA$G%N%&%O%&$, Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54DB91065691 for ; Wed, 8 Oct 2008 04:39:22 +0000 (UTC) (envelope-from bigboss1964@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id 0F1128FC23 for ; Wed, 8 Oct 2008 04:39:21 +0000 (UTC) (envelope-from bigboss1964@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so906292qwb.7 for ; Tue, 07 Oct 2008 21:39:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:cc:mime-version:content-type:content-transfer-encoding :content-disposition; bh=0XNrBDy4ePdqD2Q8IM8QCsx6oWVuiFIJf6dUPItgL+Q=; b=pClCRqjCWhwWsyrBABJo17k8SypMbM4c9xTAnbv/30F7xQt00JL3KZBiQ/YrRIYkBn o89+saxy/1wqnwTi/su9DcXYPOPSc/CzWa/BXZ/95s7xEMNLV5LSpjpslI09/FTraTyY wLMQ7MIMB6Vm7upuqf9yCadQoTLFvojk3OncI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:mime-version :content-type:content-transfer-encoding:content-disposition; b=b920mQ6g3ctopaD292EPZg2dZ24VjAIZLEgIHBtR3jgCfVWdH4d75SpQF+saPH8J8V EkdVTQnB5H5k0n/jt01IkZXoOGOmcS+3FTjAYGzoRxZPxhf5ye090oC7XSwgYPC/SjFN Acb3bS3F3OxgaOs/HFAyZXobApaRFxUmrsj/Y= Received: by 10.214.26.13 with SMTP id 13mr9559431qaz.56.1223439526181; Tue, 07 Oct 2008 21:18:46 -0700 (PDT) Received: by 10.214.149.18 with HTTP; Tue, 7 Oct 2008 21:18:46 -0700 (PDT) Message-ID: <6cd75f040810072118u7b67f14dx83aaf702f0934959@mail.gmail.com> Date: Wed, 8 Oct 2008 04:18:46 +0000 From: "Terry Poulin" To: netchild@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: ports@FreeBSD.org Subject: FreeBSD Port: claws-mail-3.5.0_1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: BigBoss64@ippimail.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 04:39:22 -0000 Hi, just a heads up -- claws-mail 3.6.0 was released on 2008-10-03, approximately 5 days ago. The current version for mail/claws-mail is 3.5.0, released back in June. Cheers -- [SAS]_Spidey01 Warrant Officer Class 1 22nd Special Air Service EVR From owner-freebsd-ports@FreeBSD.ORG Wed Oct 8 05:30:16 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE97210656A8 for ; Wed, 8 Oct 2008 05:30:16 +0000 (UTC) (envelope-from eveready@tpg.com.au) Received: from mail9.tpgi.com.au (smtp-out9.tpgi.com.au [220.244.226.119]) by mx1.freebsd.org (Postfix) with ESMTP id 12E4B8FC2B for ; Wed, 8 Oct 2008 05:30:15 +0000 (UTC) (envelope-from eveready@tpg.com.au) X-TPG-Antivirus: Passed Received: from [10.1.1.67] (60-242-108-45.static.tpgi.com.au [60.242.108.45]) (authenticated bits=0) by mail9.tpgi.com.au (envelope-from eveready@tpg.com.au) (8.14.3/8.14.3) with ESMTP id m985F4J8027635 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 8 Oct 2008 16:15:07 +1100 Message-ID: <48ECCE81.3070808@tpg.com.au> Date: Wed, 08 Oct 2008 15:15:13 +0000 From: JHutchinson Organization: HUTCHY User-Agent: Thunderbird 2.0.0.17 (X11/20080928) MIME-Version: 1.0 To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: /sys/conf/kern.mk", line 114: Malformed conditional X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: LatterDaySaint@live.com.au List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 05:30:16 -0000 [Gathering depends for x11/nvidia-driver ..................................................................................... done] [Exclude up-to-date packages ...................................... done] ---> Checking for the latest package of 'x11/nvidia-driver' ---> Fetching the package(s) for 'nvidia-driver-173.14.12' (x11/nvidia-driver) ---> Fetching nvidia-driver-173.14.12 fetch: ftp://packageftp.desktopbsd.net/pub/FreeBSD/ports/i386/packages-6-stable/All/nvidia-driver-173.14.12.tbz: File unavailable (e.g., file not found, no access) ** The command returned a non-zero exit status: 1 ** Failed to fetch ftp://packageftp.desktopbsd.net/pub/FreeBSD/ports/i386/packages-6-stable/All/nvidia-driver-173.14.12.tbz fetch: ftp://packageftp.desktopbsd.net/pub/FreeBSD/ports/i386/packages-6-stable/All/nvidia-driver-173.14.12.tgz: File unavailable (e.g., file not found, no access) ** The command returned a non-zero exit status: 1 ** Failed to fetch ftp://packageftp.desktopbsd.net/pub/FreeBSD/ports/i386/packages-6-stable/All/nvidia-driver-173.14.12.tgz ** Failed to fetch nvidia-driver-173.14.12 ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! nvidia-driver-173.14.12 (fetch error) ** Could not find the latest version (173.14.12) ---> Using the port instead of a package ---> Upgrading 'nvidia-driver-100.14.19' to 'nvidia-driver-173.14.12' (x11/nvidia-driver) ---> Building '/usr/ports/x11/nvidia-driver' ===> Cleaning for nvidia-driver-173.14.12 ===> Found saved configuration for nvidia-driver-100.14.19 => NVIDIA-FreeBSD-x86-173.14.12.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from http://jp.download.nvidia.com/freebsd/173.14.12/. NVIDIA-FreeBSD-x86-173.14.12.tar.gz 100% of 15 MB 1360 kBps 00m00s ===> Extracting for nvidia-driver-173.14.12 => MD5 Checksum OK for NVIDIA-FreeBSD-x86-173.14.12.tar.gz. => SHA256 Checksum OK for NVIDIA-FreeBSD-x86-173.14.12.tar.gz. ===> Patching for nvidia-driver-173.14.12 ===> Applying FreeBSD patches for nvidia-driver-173.14.12 ===> nvidia-driver-173.14.12 depends on shared library: m.3 - found ===> nvidia-driver-173.14.12 depends on shared library: GL.1 - found ===> Configuring for nvidia-driver-173.14.12 ===> Building for nvidia-driver-173.14.12 ===> src (all) "/sys/conf/kern.mk", line 114: Malformed conditional (${MK_SSP} != "no" && ${CC} != "icc" && ${MACHINE_ARCH} != "ia64" && ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips") "/sys/conf/kern.mk", line 116: if-less endif make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-173.14.12. *** Error code 1 Stop in /usr/ports/x11/nvidia-driver. *** Error code 1 Stop in /usr/ports/x11/nvidia-driver. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.53018.0 env DIALOG=/usr/local/bin/kdialog-ports-wrapper UPGRADE_TOOL=portupgrade UPGRADE_PORT=nvidia-driver-100.14.19 UPGRADE_PORT_VER=100.14.19 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! x11/nvidia-driver (nvidia-driver-100.14.19) (unknown build error) ################################### Hi, I have been having this Problem for a fair while now & it is happening when I try to upgrade certain ports, So I am using Nvidia as an example even though there are other ports complaining with same issue which has mad me believe its not a port issue but maybe I have a badly edited file somewhere that may need editing to fix it ,but not sure as I am also kind of a Novice. AnyWay here are my Details etc.. # Disable VuXML checks, vulnerable ports are marked FORBIDDEN anyway and # this prevents installing with non-vulnerable options (see win32-codecs) DISABLE_VULNERABILITIES=yes # Compile with cups support WITH_CUPS=yes # Makes cups shadow printing support in the base system CUPS_OVERWRITE_BASE=yes # Use Firefox's gecko engine since it's preinstalled WITH_MOZILLA=firefox WITH_GECKO=firefox Also my "uname -a" FreeBSD jasons-braain 6.3-RC2 FreeBSD 6.3-RC2 #30: Sun Jan 6 01:30:27 UTC 2008 root@tinderbox.3c-consulting.lokal:/usr/obj/usr/src/sys/GENERIC i386 And -This says I am using GCC version 3.4.6 but I had 2 others including GCC4.4.0 Which I have now uninstalled but had installed in the hope of installing the latest Nvidia because Nvidia wouldnt compile with earlier version of GCC. jasons-braain# printf '0:\n\t${CC} -v' | make -sf- Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.4.6 [FreeBSD] 20060305 Intel Pentium4 CPU 2.66 GHz AnyWay Any Ideas would be gratefull as it happens with other pkgs I try to install as well but not all. From owner-freebsd-ports@FreeBSD.ORG Wed Oct 8 05:34:28 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3CBF1065690 for ; Wed, 8 Oct 2008 05:34:27 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA07.westchester.pa.mail.comcast.net (qmta07.westchester.pa.mail.comcast.net [76.96.62.64]) by mx1.freebsd.org (Postfix) with ESMTP id 9E5998FC13 for ; Wed, 8 Oct 2008 05:34:27 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA01.westchester.pa.mail.comcast.net ([76.96.62.11]) by QMTA07.westchester.pa.mail.comcast.net with comcast id Q5Js1a0040EZKEL575aSWB; Wed, 08 Oct 2008 05:34:26 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA01.westchester.pa.mail.comcast.net with comcast id Q5aR1a00B2P6wsM3M5aSr9; Wed, 08 Oct 2008 05:34:26 +0000 X-Authority-Analysis: v=1.0 c=1 a=vP5yb_uZMzAA:10 a=tGsugx7iC5MA:10 a=QycZ5dHgAAAA:8 a=7snYG7WAd7s65YeDKYkA:9 a=Renv-qEmHa7upP9K_nIA:7 a=JlfleVljx2B8v0-qIfA7Mq_0cLwA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 82ED1C9419; Tue, 7 Oct 2008 22:34:25 -0700 (PDT) Date: Tue, 7 Oct 2008 22:34:25 -0700 From: Jeremy Chadwick To: LatterDaySaint@live.com.au Message-ID: <20081008053425.GA67782@icarus.home.lan> References: <48ECCE81.3070808@tpg.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48ECCE81.3070808@tpg.com.au> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-ports@freebsd.org Subject: Re: /sys/conf/kern.mk", line 114: Malformed conditional X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 05:34:28 -0000 On Wed, Oct 08, 2008 at 03:15:13PM +0000, JHutchinson wrote: > ===> Building for nvidia-driver-173.14.12 > ===> src (all) > "/sys/conf/kern.mk", line 114: Malformed conditional (${MK_SSP} != "no" > && ${CC} != "icc" && ${MACHINE_ARCH} != "ia64" && ${MACHINE_ARCH} != > "arm" && ${MACHINE_ARCH} != "mips") > "/sys/conf/kern.mk", line 116: if-less endif > make: fatal errors encountered -- cannot continue > *** Error code 1 Does this error go away if you update (via csup or cvsup) your src tree? -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-ports@FreeBSD.ORG Wed Oct 8 07:05:42 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 392881065687 for ; Wed, 8 Oct 2008 07:05:42 +0000 (UTC) (envelope-from Laurent.Cligny@Isobox.fr) Received: from smtp1.synbra.com (smtp1.synbra.com [212.108.2.62]) by mx1.freebsd.org (Postfix) with ESMTP id A32D28FC2B for ; Wed, 8 Oct 2008 07:05:41 +0000 (UTC) (envelope-from Laurent.Cligny@Isobox.fr) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp1.synbra.com (Postfix) with ESMTP id DB71373815; Wed, 8 Oct 2008 09:05:35 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.4.2 (20060627) (Debian) at synbra.com Received: from smtp1.synbra.com ([127.0.0.1]) by localhost (smtp1.synbra.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JKQKmfmWt+7v; Wed, 8 Oct 2008 09:05:35 +0200 (CEST) Received: from mail.synbra.com (wyc210.sbra.grp.local [192.168.1.210]) by smtp1.synbra.com (Postfix) with ESMTP id BBABE73813; Wed, 8 Oct 2008 09:05:35 +0200 (CEST) Received: from ban204.SBRA.GRP.LOCAL ([192.168.61.204]) by mail.synbra.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 8 Oct 2008 09:05:35 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4325 Date: Wed, 8 Oct 2008 09:05:34 +0200 Message-ID: In-Reply-To: <20081007202153.V43714@godot> X-MS-Has-Attach: Importance: normal Priority: normal X-MS-TNEF-Correlator: Thread-Topic: FreeBSD Port: open-vm-tools-nox11-102166_4 Thread-Index: AckoqaWAY2o27WFDSq+YoRTNCUnZJQAaWVOg References: <20081007202153.V43714@godot> From: "Cligny, Laurent" To: "Martin Blapp" X-OriginalArrivalTime: 08 Oct 2008 07:05:36.0105 (UTC) FILETIME=[433EE590:01C92914] Cc: ports@FreeBSD.org Subject: RE: FreeBSD Port: open-vm-tools-nox11-102166_4 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 07:05:42 -0000 [snip my problem] > Should be fixed. > Martin Hello Martin, It works well now, thanks for your work. Thanks also to Scot Hetzel for his response. The FreeBSD community is responsive and helpful has always. Cheers, Laurent Cligny ISOBOX Technologies - SAS au capital de 4 575 000 Euros RCS Paris 348 914 300 - APE 2222 Z - N? TVA FR 04348914300 *************************************************************************= *************************** This e-mail and any attachment is confidential and may be legally = privileged or otherwise protected from disclosure. If you are not the intended recipient, please notify = the sender immediately by returning this e-mail. Sender is not responsible for the improper or = incomplete transmission of any e-mail, or for any delay in its receipt. *************************************************************************= *************************** From owner-freebsd-ports@FreeBSD.ORG Wed Oct 8 08:46:19 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54D831065696 for ; Wed, 8 Oct 2008 08:46:19 +0000 (UTC) (envelope-from netchild@freebsd.org) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 086178FC18 for ; Wed, 8 Oct 2008 08:46:18 +0000 (UTC) (envelope-from netchild@freebsd.org) Received: from outgoing.leidinger.net (pD9E2F246.dip.t-dialin.net [217.226.242.70]) by redbull.bpaserver.net (Postfix) with ESMTP id BDE8F2E0F8; Wed, 8 Oct 2008 10:26:25 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id A1E4966880; Wed, 8 Oct 2008 10:26:03 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.14.2/8.13.8/Submit) id m988Q2ue094551; Wed, 8 Oct 2008 10:26:02 +0200 (CEST) (envelope-from netchild@FreeBSD.org) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Wed, 08 Oct 2008 10:26:02 +0200 Message-ID: <20081008102602.12232nonkqhd3rgg@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Wed, 08 Oct 2008 10:26:02 +0200 From: Alexander Leidinger To: BigBoss64@ippimail.com, Terry Poulin References: <6cd75f040810072118u7b67f14dx83aaf702f0934959@mail.gmail.com> In-Reply-To: <6cd75f040810072118u7b67f14dx83aaf702f0934959@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: BDE8F2E0F8.851DC X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-14.8, required 6, BAYES_00 -15.00, RDNS_DYNAMIC 0.10, SARE_FROM_SPAM_WORD3 0.10) X-BPAnet-MailScanner-From: netchild@freebsd.org X-Spam-Status: No X-Mailman-Approved-At: Wed, 08 Oct 2008 11:29:50 +0000 Cc: ports@FreeBSD.org Subject: Re: FreeBSD Port: claws-mail-3.5.0_1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 08:46:19 -0000 Quoting Terry Poulin (from Wed, 8 Oct 2008 04:18:46 +0000): > Hi, just a heads up -- claws-mail 3.6.0 was released on 2008-10-03, > approximately 5 days ago. The current version for mail/claws-mail is > 3.5.0, released back in June. And miwi@ has the ports ready, but as the ports tree is in a semi-freeze until 6.4 and 7.1 are released, this is not committed yet (too much changes). Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 Bender: I finally meet a nice girl with a pair of legs that don't quite unexpectedly... From owner-freebsd-ports@FreeBSD.ORG Wed Oct 8 18:28:09 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 932C81065697 for ; Wed, 8 Oct 2008 18:28:09 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp104.prem.mail.ac4.yahoo.com (smtp104.prem.mail.ac4.yahoo.com [76.13.13.43]) by mx1.freebsd.org (Postfix) with SMTP id 2FF868FC1B for ; Wed, 8 Oct 2008 18:28:08 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: (qmail 60000 invoked from network); 8 Oct 2008 18:28:08 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:X-Face:Mime-Version:Content-Type; b=imfM0Cun8rpPwTbaRAzFZ07VFROJuphuiH8JBXqoNjsrhP+8oyFvNzCKw6RXM96Q84Z8oSXZoJ6KlAwcN3Ar3vIe+vroN+jn/xaZ5Vs7jtfrdZQFG4qFBuc/gvHtlY/uWsEbVWOvBgsTtJMdeSCHl9fvD0tuikzBqYGMGm/61RY= ; Received: from unknown (HELO scorpio) (gesbbb@67.189.233.182 with login) by smtp104.prem.mail.ac4.yahoo.com with SMTP; 8 Oct 2008 18:28:08 -0000 X-YMail-OSG: WBFLUsIVM1kylBFE7Af3fEtUeoxhUU5drF4Laj4QCKVdDVKFoNSEyZq7Pmyxnis2ZPgvZ_muGPMbS1Hm.AuptvBhXo2q6kFEBpzfjnxZiM1_.i.sIX0U6CvS1Qz884zYGS0CfRzBtEuxcPfs7JkDq4_2A_JFMiUdbGOZlDgp2OXwYoIbZBAxGPT0dg-- X-Yahoo-Newman-Property: ymail-3 Date: Wed, 8 Oct 2008 14:27:57 -0400 From: Jerry To: freebsd-ports@freebsd.org Message-ID: <20081008142757.06250dce@scorpio> In-Reply-To: <20081008102602.12232nonkqhd3rgg@webmail.leidinger.net> References: <6cd75f040810072118u7b67f14dx83aaf702f0934959@mail.gmail.com> <20081008102602.12232nonkqhd3rgg@webmail.leidinger.net> Organization: seibercom.net X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd6.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/PePr3A6/ReKFVh+9SZ0YR9O"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Re: FreeBSD Port: claws-mail-3.5.0_1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-ports@freebsd.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 18:28:09 -0000 --Sig_/PePr3A6/ReKFVh+9SZ0YR9O Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 08 Oct 2008 10:26:02 +0200 Alexander Leidinger wrote: >Quoting Terry Poulin (from Wed, 8 Oct 2008 =20 >04:18:46 +0000): > >> Hi, just a heads up -- claws-mail 3.6.0 was released on 2008-10-03, >> approximately 5 days ago. The current version for mail/claws-mail is >> 3.5.0, released back in June. > >And miwi@ has the ports ready, but as the ports tree is in a =20 >semi-freeze until 6.4 and 7.1 are released, this is not committed yet =20 >(too much changes). The CM crew has all ready fixed a few bugs in the latest version. Giving them a few days to get a better version released is not going to do any harm. --=20 Jerry gesbbb@yahoo.com To the best of my recollection, Senator, I can't recall. --Sig_/PePr3A6/ReKFVh+9SZ0YR9O Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjs+7UACgkQBvaKIJWWCO3xzwCfWVNYjYgc8LJHAwfF+P3mIrt6 RswAn2XUoi43IUP6p3xQJLhHaDFqNwAP =qOfY -----END PGP SIGNATURE----- --Sig_/PePr3A6/ReKFVh+9SZ0YR9O-- From owner-freebsd-ports@FreeBSD.ORG Wed Oct 8 20:56:51 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 933DF1065698 for ; Wed, 8 Oct 2008 20:56:51 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.184]) by mx1.freebsd.org (Postfix) with ESMTP id D51D68FC1B for ; Wed, 8 Oct 2008 20:56:50 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: by ti-out-0910.google.com with SMTP id d27so2740226tid.3 for ; Wed, 08 Oct 2008 13:56:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mime-version:content-type:content-disposition:x-face :x-attribution:x-os-kernel:x-os-version:x-os-architecture:x-uptime :x-url:x-mail-morse:x-openpgp-fingerprint:x-openpgp-id:face :organization:user-agent:sender; bh=BnDPZZQ0E+2lolW32jqL4u2HOHhLgCZRWT5F9U8n3zg=; b=w5cpAJvX7JoIo4FECZ06RDfb5TTyiTXe+QxsONebwfNxoZSZvkW28aUAWzJWZRUKE/ 9cb/r+EASpH0nAS2NaI/iJ6Fw7ULDIWHQziVy4DvhZQMcjlKbRFfcHpwn7TdsotFOytE oeqv2t+yitH/MrU3uHyj/jMrFGqeiZzKJ0m84= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:x-face:x-attribution:x-os-kernel:x-os-version :x-os-architecture:x-uptime:x-url:x-mail-morse:x-openpgp-fingerprint :x-openpgp-id:face:organization:user-agent:sender; b=CRRIIyZuTk34BYQ2+JMrZVvaf1AdxFjf2d5acBJMq8oQ+TkbeZtWaHp1eO37XIJAzF wUnTYfbixagL7j5ExO7NGQs1d+RPh59NqFwhxRXuPyxdEAxxOOBwgxJKhYEazwWQ072q VJh8RrQVltDbqeXAqp61gmcr/55ZMgvRUfvjQ= Received: by 10.110.69.5 with SMTP id r5mr9970094tia.17.1223499409178; Wed, 08 Oct 2008 13:56:49 -0700 (PDT) Received: from chateau.d.lf ([122.163.146.34]) by mx.google.com with ESMTPS id w5sm2291782tib.14.2008.10.08.13.56.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 08 Oct 2008 13:56:47 -0700 (PDT) Date: Thu, 9 Oct 2008 02:27:17 +0530 From: =?utf-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksg==?= Ashish Shukla To: freebsd-ports@freebsd.org, freebsd-questions@freebsd.org Message-ID: <20081008205717.GA51954@chateau.d.lf> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP" Content-Disposition: inline X-Face: )vGQ9yK7Y$Flebu1C>(B\gYBm)[$zfKM+p&TT[[JWl6:]S>cc$%-z7-`46Zf0B*syL.C ]oCq[upTG~zuS0.$"_%)|Q@$hA=9{3l{%u^h3jJ^Zl;t7 X-Attribution: =?utf-8?B?4KSG4KS24KWA4KS3?= X-OS-Kernel: FreeBSD X-OS-Version: 7.0-RELEASE-p5 X-OS-Architecture: amd64 X-Uptime: 2:08AM up 12:29, 8 users, load averages: 0.19, 0.23, 0.20 X-URL: http://wahjava.wordpress.com/ X-Mail-Morse: .-- .- .... .--- .- ...- .- .--.-. --. -- .- .. .-.. .-.-.- -.-. --- -- X-OpenPGP-Fingerprint: 1E00 4679 77E4 F8EE 2E4B 56F2 1F2F 8410 762E 5E74 X-OpenPGP-ID: 762E5E74 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEWpqambm5uHh4d7e3 ttbW1jY2Pe3t4dHR28vLygoKCenp6SkpJOTk7////9/f35+flcgqXsAAACiUlEQVQ4jX XTz0sUURwA8NlOrkS5ZqIzUO6sCTaBMKuYrVCsM7cgyJ066EUMC5KVgnoEHlY7uJTYbn loBilH6TBvL40a5goZqexl/gWHjl72O+hh8dJub1ydH5t9L4/5fvjOe9/H+1J7/wnqZD UBKnYAQNEHYJWeUPLHsUq5BqzSeWTHnQk/QGlhctKw42fZC6Y1jgxDkiTDKHQBeKBUsN N2FJ6Xi0UXDo1dSagCugIeGCd5Esfw0gXT6pGkhC0JaRhN/nH2MI92SH4lygtiYhihid MK0zyMsTqm6jNrIqlAPxyA8TjGmbp06pwgigV0zwFr5heNM+l0OiiIkg/Wh6pArZLdCx 7oHcJVUMjxjC4HKndjWhXkb6TPLbeiJxxSMoGvqSA9Lw6yVx04QGFlyb5zGc8LGysdDu yjF9o6Qr1IUZeHci0N7q+mHza81tmNL3p26daHVJvb4Myrtjc0GsnjrKq/D9x0r+Txs7 5gDgUWZczk2bcP3IpHnJ4JyhRFyY3hzqduHzCbyNalyGVR2VWe3066sMDRVch18/x3cE +13IkpAqn6iBDbfOcCTF2nszLZIxARoh3gwt5IH8PkNTmY3eyO3va8Kzjgd+IaxgoOtf dveWG/J65jEprafu2TB8ySOJCnbWGiaxe8T7RyY3BAVwg08pfmvGA1FXZ3WzFWV7kmH8 Aoy3YeF+Qv+8D8neAUTWMiHG5M+sfgvoJVJsLroRbffABM6yEmEuVa6c++iTJhlGcjAk erarJmBg/JU+dJk83Fk4QznFPdA2HS+lwtQOVIitE4l6wFMrfDcVpZLP8De1b/dp5uhj NgdlvXLp7mvXDUHm4tnwFQGRubcPIeINMAYDpffwFxLwHEb6QJ2wAAAABJRU5ErkJggg == Organization: /\/0/\/3 User-Agent: Mutt/1.5.18 (2008-05-17) Sender: =?UTF-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksiBBc2hpc2ggU2h1a2xh?= Cc: Subject: Ekiga segfaulting with stack overflow X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 20:56:51 -0000 --jRHKVT23PllUwdXP Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all, I'm experiencing following issue with ekiga-2.0.11_4 package. ----8<----8<----- % gdb `which ekiga` GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... (gdb) run Starting program: /usr/local/bin/ekiga=20 [New LWP 100218] [New Thread 0x80a701120 (LWP 100218)] [New Thread 0x80a701400 (LWP 100257)] [New Thread 0x80a701570 (LWP 100258)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x80a701120 (LWP 100218)] 0x0000000808fc4a82 in __opendir2 (name=3D0x80c5ade40 "/dev/ext2fs/", flags= =3D3) at /usr/src/lib/libc/gen/opendir.c:77 77 if (stat(name, &statb) !=3D 0) Current language: auto; currently c (gdb) bt #0 0x0000000808fc4a82 in __opendir2 (name=3D0x80c5ade40 "/dev/ext2fs/", fl= ags=3D3) at /usr/src/lib/libc/gen/opendir.c:77 #1 0x0000000807ca8f27 in PDirectory::Open (this=3D0x7fffffc007b0, ScanMask= =3D511) at osutil.cxx:546 #2 0x000000080aa18b7c in CollectSoundDevices (devdir=3D@0x7fffffc007b0, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:347 #3 0x000000080aa18c4c in CollectSoundDevices (devdir=3D@0x7fffffc00b70, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:354 #4 0x000000080aa18c4c in CollectSoundDevices (devdir=3D@0x7fffffc00f30, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:354 #5 0x000000080aa18c4c in CollectSoundDevices (devdir=3D@0x7fffffc012f0, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:354 #6 0x000000080aa18c4c in CollectSoundDevices (devdir=3D@0x7fffffc016b0, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:354 #7 0x000000080aa18c4c in CollectSoundDevices (devdir=3D@0x7fffffc01a70, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:354 #8 0x000000080aa18c4c in CollectSoundDevices (devdir=3D@0x7fffffc01e30, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:354 #9 0x000000080aa18c4c in CollectSoundDevices (devdir=3D@0x7fffffc021f0, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:354 #10 0x000000080aa18c4c in CollectSoundDevices (devdir=3D@0x7fffffc025b0, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:354 #11 0x000000080aa18c4c in CollectSoundDevices (devdir=3D@0x7fffffc02970, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:354 #12 0x000000080aa18c4c in CollectSoundDevices (devdir=3D@0x7fffffc02d30, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:354 #13 0x000000080aa18c4c in CollectSoundDevices (devdir=3D@0x7fffffc030f0, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:354 #14 0x000000080aa18c4c in CollectSoundDevices (devdir=3D@0x7fffffc034b0, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:354 #15 0x000000080aa18c4c in CollectSoundDevices (devdir=3D@0x7fffffc03870, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:354 #16 0x000000080aa18c4c in CollectSoundDevices (devdir=3D@0x7fffffc03c30, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:354 #17 0x000000080aa18c4c in CollectSoundDevices (devdir=3D@0x7fffffc03ff0, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:354 #18 0x000000080aa18c4c in CollectSoundDevices (devdir=3D@0x7fffffc043b0, ds= p=3D@0x7fffffffe0b0,=20 mixer=3D@0x7fffffffe090, collect_with_names=3D1) at sound_oss.cxx:354 =2E... (gdb) print name $1 =3D 0x80c5addf0 "/dev/ext2fs/" (gdb) print statb $2 =3D {st_dev =3D 0, st_ino =3D 0, st_mode =3D 0, st_nlink =3D 0, st_uid = =3D 0, st_gid =3D 0, st_rdev =3D 0,=20 st_atimespec =3D {tv_sec =3D 0, tv_nsec =3D 0}, st_mtimespec =3D {tv_sec= =3D 0, tv_nsec =3D 0},=20 st_ctimespec =3D {tv_sec =3D 0, tv_nsec =3D 0}, st_size =3D 0, st_blocks= =3D 0, st_blksize =3D 0,=20 st_flags =3D 0, st_gen =3D 0, st_lspare =3D 0, st_birthtimespec =3D {tv_= sec =3D 0, tv_nsec =3D 0}} % ls -l /dev/ext2fs ls: : No such file or directory total 0 crw-r----- 1 root operator 0, 105 Oct 8 13:39 archives crw-r----- 1 root operator 0, 104 Oct 8 13:39 lectures % find /dev/ext2fs/ /dev/ext2fs/ find: /dev/ext2fs/: No such file or directory /dev/ext2fs/lectures /dev/ext2fs/archives % stat /dev/ext2fs 67174144 120 dr-xr-xr-x 3 root wheel 4294967295 512 "Oct 8 13:39:34 2008" = "Oct 8 13:39:34 2008" "Oct 8 13:39:34 2008" "Jan 1 05:29:59 1970" 4096 1= 0 /dev/ext2fs ---->8---->8---- I've also installed Gentoo GNU/Linux on the same box with ext3 partitions. = The=20 partitions which are displayed above are only two of them, other ext3 parti= tions=20 aren't showing up in that directory. And as you can see, there is some inva= lid=20 file also present in that directory which ekiga is not able to figure out. = Any=20 ideas how to fix this issue. Since, I've posted it to both freebsd-questions and freebsd-ports, please= =20 post followups where you think is appropriate place for this. Thanks Ashish Shukla --=20 =C2=B7-- =C2=B7- =C2=B7=C2=B7=C2=B7=C2=B7 =C2=B7--- =C2=B7- =C2=B7=C2=B7=C2= =B7- =C2=B7- =C2=B7--=C2=B7-=C2=B7 --=C2=B7 -- =C2=B7- =C2=B7=C2=B7 =C2=B7-= =C2=B7=C2=B7 =C2=B7-=C2=B7-=C2=B7- -=C2=B7-=C2=B7 --- -- () ascii ribbon campaign - against HTML e-mail /\ www.asciiribbon.org - against proprietary attachments --jRHKVT23PllUwdXP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjtHqsACgkQHy+EEHYuXnR0JwCghzlYLPEYevp+/fmsRF/zAoyq Kr4AnRhzWCD0HKMhMuFYweNhJe6gA65T =9iD8 -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP-- From owner-freebsd-ports@FreeBSD.ORG Wed Oct 8 21:04:53 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 916FE106569D for ; Wed, 8 Oct 2008 21:04:53 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp103.prem.mail.ac4.yahoo.com (smtp103.prem.mail.ac4.yahoo.com [76.13.13.42]) by mx1.freebsd.org (Postfix) with SMTP id 27D0A8FC0C for ; Wed, 8 Oct 2008 21:04:53 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: (qmail 234 invoked from network); 8 Oct 2008 21:04:52 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Date:From:To:Subject:Message-ID:Reply-To:Organization:X-Mailer:Face:X-Face:Mime-Version:Content-Type; b=sp4BfqwW1Cgi/+3KlCoSmw/jOjPa6bMEA14bN6o0Xom2sUmaZD8fKj6mtIw/d1/tKL+H0Yzl6UKDpZFy1fVfqxN6pYFGZY4cIcNEWjGiRzK5qneXzQILRFWxF3cMC9jRchNACfrBl/tOiey7PjKunvMtdY50oNTMGDIKZvc8TZE= ; Received: from unknown (HELO scorpio) (gesbbb@67.189.233.182 with login) by smtp103.prem.mail.ac4.yahoo.com with SMTP; 8 Oct 2008 21:04:52 -0000 X-YMail-OSG: r724I_oVM1kyMZpqR3C4U_9K1oz6Dg8ueP3ncJuLBNwghGk1rMx6yx6icqZ6ydrt2B2o3x4sZDzElEefiOIO8OFDlXiaT2t7LkdxPBXg7Tfs_ksS0ID6U4PKxgvf28mUqNphycMD3R2K5U8EUTebAFQCACju3pNx39wm2vyP5nu5xaTuoA0nlG6XLQ-- X-Yahoo-Newman-Property: ymail-3 Date: Wed, 8 Oct 2008 17:04:40 -0400 From: Jerry To: freebsd-ports@freebsd.org Message-ID: <20081008170440.3e25d8a6@scorpio> Organization: seibercom.net X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd6.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/fw1SW4rqis=O9B.gV6+mhmP"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Perl-5.8.10 release date? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-ports@freebsd.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 21:04:53 -0000 --Sig_/fw1SW4rqis=O9B.gV6+mhmP Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I am assuming that Perl-5.8.10 is not going to be in the soon to be released FBSD-7.1; however, is there any word as to when it might actually be released? Unless I am mistaken, this version of Perl was released on Dec. 18, 2007. I realize that porting Perl to FBSD is no trivial task; all I was inquiring about is when it might get into the ports system. --=20 Jerry gesbbb@yahoo.com Removing the straw that broke the camel's back does not necessarily allow the camel to walk again. --Sig_/fw1SW4rqis=O9B.gV6+mhmP Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjtIHEACgkQBvaKIJWWCO3bmgCdF+TcKJRj850AyaoDBLJpidpQ dEoAmwXnCHn1pl8YKEH0I/H5y97YnZ+1 =u7MY -----END PGP SIGNATURE----- --Sig_/fw1SW4rqis=O9B.gV6+mhmP-- From owner-freebsd-ports@FreeBSD.ORG Wed Oct 8 21:26:41 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD1CB1065696 for ; Wed, 8 Oct 2008 21:26:41 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.delphij.net (unknown [IPv6:2001:470:1f03:2c9::2]) by mx1.freebsd.org (Postfix) with ESMTP id 74C968FC23 for ; Wed, 8 Oct 2008 21:26:41 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [211.166.10.233]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.delphij.net (Postfix) with ESMTPS id A221428449 for ; Thu, 9 Oct 2008 05:26:40 +0800 (CST) Received: from localhost (tarsier.geekcn.org [211.166.10.233]) by tarsier.geekcn.org (Postfix) with ESMTP id 51C00101CBB6; Thu, 9 Oct 2008 05:26:40 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([211.166.10.233]) by localhost (mail.geekcn.org [211.166.10.233]) (amavisd-new, port 10024) with ESMTP id PKUwkxQwuOxp; Thu, 9 Oct 2008 05:26:35 +0800 (CST) Received: from charlie.delphij.net (71.5.7.139.ptr.us.xo.net [71.5.7.139]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id CBF51F667F9; Thu, 9 Oct 2008 05:26:34 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:subject:references:in-reply-to:x-enigmail-version:openpgp: content-type:content-transfer-encoding; b=JaV9rc3QNNYTkET+osfOtTkZ+LSlX4jwsMnXlivrk+E7Nd9mS3KRJkPZ6xaHz5M6P Es4yuzmnAZs783Y7CHV1g== Message-ID: <48ED2586.3000904@delphij.net> Date: Wed, 08 Oct 2008 14:26:30 -0700 From: Xin LI Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.17 (X11/20080928) MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <20081008170440.3e25d8a6@scorpio> In-Reply-To: <20081008170440.3e25d8a6@scorpio> X-Enigmail-Version: 0.95.7 OpenPGP: id=18EDEBA0; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: Perl-5.8.10 release date? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 21:26:41 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Jerry, Jerry wrote: > I am assuming that Perl-5.8.10 is not going to be in the soon to be > released FBSD-7.1; however, is there any word as to when it might > actually be released? Unless I am mistaken, this version of Perl was > released on Dec. 18, 2007. I realize that porting Perl to FBSD is no > trivial task; all I was inquiring about is when it might get into the > ports system. Currently the ports tree is under a 'slush' state. For this case I think the most likely case is that we will not ship Perl 5.8.10 with FreeBSD 7.1, but if someone would get a patch by that moment and gets tested against the current ports collection, it would have its way into 7.2-RELEASE. The most important thing is that "someone" :) do the porting work and submit it to portmgr@ for a pointyhat twist. Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjtJYYACgkQi+vbBBjt66AhsQCfbe/V3mbGT5dN4nlKnsKkSwih GQYAn2BJPefBwMn+fUVC9H4MUIsVrF9R =TwNX -----END PGP SIGNATURE----- From owner-freebsd-ports@FreeBSD.ORG Wed Oct 8 21:46:29 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0AE11065855 for ; Wed, 8 Oct 2008 21:46:29 +0000 (UTC) (envelope-from freebsd-ports@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 7B05E8FC08 for ; Wed, 8 Oct 2008 21:46:29 +0000 (UTC) (envelope-from freebsd-ports@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KngrS-0008QD-Bs for freebsd-ports@freebsd.org; Wed, 08 Oct 2008 21:46:26 +0000 Received: from 78-0-85-121.adsl.net.t-com.hr ([78.0.85.121]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Oct 2008 21:46:26 +0000 Received: from ivoras by 78-0-85-121.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Oct 2008 21:46:26 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-ports@freebsd.org From: Ivan Voras Date: Wed, 08 Oct 2008 23:46:02 +0200 Lines: 160 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig91F57FB4CDC8B34F8F00CB01" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 78-0-85-121.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) X-Enigmail-Version: 0.95.7 Sender: news Subject: pkg_trans progress X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 21:46:30 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig91F57FB4CDC8B34F8F00CB01 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, Some time ago I've written about an idea to extend the standard ports/package infrastructure with "transactions". Here are some notes on = it: http://wiki.freebsd.org/IvanVoras/PkgTransProposal I've been working on it, and the code itself appears to have severely bad karma, being twice almost completely lost in hardware or software failures, so I'm publishing it now so it doesn't get lost again :) The build tree is at http://people.freebsd.org/~ivoras/big/pkg_install.tgz To use it: * Extract it somewhere * Run make in the created directory * su to root * Run make install Now you have a new utility, pkg_trans, and additions to existing pkg_add and pkg_delete utilities. It's highly recommended you also add pkg_trans_save_deleted_packages=3D"YES" to /etc/rc.conf (suggestions for better placement of this configurable is welcome). To undo this, run make install from the normal build tree (at /usr/src/usr.sbin/pkg_install) and manually remove the pkg_trans utility.= The additional pkg_trans utility is called by patched pkg_add and pkg_delete, to isolate transaction functionality and minimize changes to pkg_add and pkg_delete. It also serves to query transactions and undo the= m. The man pages are not yet updated, but the wiki page above has simple descriptions of new options. Here's what currently works: * Recording pkg_add and pkg_delete transactions (one invocation of pkg_add/pkg_delete is one transaction, no matter how many packages it touches). * Backing up of packages in pkg_delete transactions * Undoing those transactions * Querying transaction records. The transaction records are installed in /var/db/pkgtrans and /usr/ports/pkgtrans . For illustration, here's a sample console session with the new utilities. Note that sqlcached requires sqlite as a dependancy. Arguments to pkg_trans do the following: -l : list all recorded transactions, -i : show info about a particular transaction, -u : undo a transaction. The rest should be self-explanatory. ---- v8:/home/ivoras/temp# ll total 1 -rw-r--r-- 1 root ivoras 14896 Aug 1 10:17 sqlcached-r4.tbz -rw-r--r-- 1 root ivoras 639829 Aug 1 07:26 sqlite-2.8.17_1.tbz v8:/home/ivoras/temp# pkg_info|grep sql v8:/home/ivoras/temp# pkg_trans -l 0 transaction records found. v8:/home/ivoras/temp# pkg_add sqlcached-r4.tbz pkg_add: warning: package 'sqlite-2.8.17_1' requires 'pkg-config-0.23_1', but 'pkg-config-0.22_1' is installed pkg_add: warning: package 'sqlcached-r4' requires 'pkg-config-0.23_1', but 'pkg-config-0.22_1' is installed v8:/home/ivoras/temp# pkg_trans -l 000000001 (2 pkgs added) Wed Oct 8 23:07:04 2008 1 transaction records found. v8:/home/ivoras/temp# pkg_trans -i -z 1 Transaction 000000001, started on Wed Oct 8 23:07:16 2008 ADD sqlcached-r4 ADD sqlite-2.8.17_1 v8:/home/ivoras/temp# pkg_delete sqlcached-r4 sqlite-2.8.17_1 v8:/home/ivoras/temp# pkg_trans -l 000000001 (2 pkgs added) Wed Oct 8 23:07:04 2008 000000002 (2 pkgs removed) (2 pkgs backed up) Wed Oct 8 23:07:40 2008 2 transaction records found. v8:/home/ivoras/temp# pkg_trans -i -z 2 Transaction 000000002, started on Wed Oct 8 23:07:55 2008 DEL,B sqlite-2.8.17_1 DEL,B sqlcached-r4 v8:/home/ivoras/temp# pkg_info|grep sql v8:/home/ivoras/temp# pkg_trans -u -z 2 pkg_add: warning: package 'sqlite-2.8.17_1' requires 'pkg-config-0.23_1', but 'pkg-config-0.22_1' is installed pkg_add: warning: package 'sqlcached-r4' requires 'pkg-config-0.23_1', but 'pkg-config-0.22_1' is installed v8:/home/ivoras/temp# pkg_info | grep sql sqlcached-r4 A cache daemon using SQL for data manipulation sqlite-2.8.17_1 An SQL database engine in a C library w/ Tcl wrapper v8:/home/ivoras/temp# pkg_trans -l 000000001 (2 pkgs added) Wed Oct 8 23:07:04 2008 1 transaction records found. v8:/home/ivoras/temp# pkg_trans -u -z 1 v8:/home/ivoras/temp# pkg_trans -l 0 transaction records found. v8:/home/ivoras/temp# pkg_info|grep sql v8:/home/ivoras/temp# ---- In addition, the utilities now create a file called +USER_INSTALLED in the install package database for all packages explicitely installed by the user (i.e. not pulled in as a dependancy). At least this is how it should work, I'm not sure I tracked down all cases when dependancies are pulled. There's currently little "smart" behaviour WRT undoing transactions depending on other transactions, etc. This is planned but seeing how I'm little short on time, patches are also welcome. Also, to make this truly usable, the "make install" infrastructure will have to be aware of this, and also the utilities like portupgrade. As I've said before, I cannot work on these so I'm hereby officially requesting help for those parts. Testers are welcome for this work, please report back even if it works well :) --------------enig91F57FB4CDC8B34F8F00CB01 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkjtKiEACgkQldnAQVacBcgzfwCg9F7R7Ue68SDlp0k5rvpxAW1W 8pcAn3tfwtaXySH430/nB5hWcMNoH65t =lh2a -----END PGP SIGNATURE----- --------------enig91F57FB4CDC8B34F8F00CB01-- From owner-freebsd-ports@FreeBSD.ORG Thu Oct 9 12:28:43 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67E3B1065688 for ; Thu, 9 Oct 2008 12:28:43 +0000 (UTC) (envelope-from talon@lpthe.jussieu.fr) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by mx1.freebsd.org (Postfix) with ESMTP id EDD158FC1A for ; Thu, 9 Oct 2008 12:28:42 +0000 (UTC) (envelope-from talon@lpthe.jussieu.fr) Received: from parthe.lpthe.jussieu.fr (parthe.lpthe.jussieu.fr [134.157.10.1]) by shiva.jussieu.fr (8.14.3/jtpda-5.4) with ESMTP id m99CSeUn093760 for ; Thu, 9 Oct 2008 14:28:41 +0200 (CEST) X-Ids: 168 Received: from niobe.lpthe.jussieu.fr (niobe.lpthe.jussieu.fr [134.157.10.41]) by parthe.lpthe.jussieu.fr (Postfix) with ESMTP id 915DC89C58 for ; Thu, 9 Oct 2008 14:28:39 +0200 (CEST) Received: by niobe.lpthe.jussieu.fr (Postfix, from userid 2005) id 7765110A; Thu, 9 Oct 2008 14:28:39 +0200 (CEST) Date: Thu, 9 Oct 2008 14:28:39 +0200 From: Michel Talon To: freebsd-ports@freebsd.org Message-ID: <20081009122839.GA58927@lpthe.jussieu.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (shiva.jussieu.fr [134.157.0.168]); Thu, 09 Oct 2008 14:28:41 +0200 (CEST) X-Virus-Scanned: ClamAV 0.93.3/8398/Thu Oct 9 05:58:03 2008 on shiva.jussieu.fr X-Virus-Status: Clean X-Miltered: at jchkmail.jussieu.fr with ID 48EDF8F8.014 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 48EDF8F8.014/134.157.10.1/parthe.lpthe.jussieu.fr/parthe.lpthe.jussieu.fr/ X-j-chkmail-Score: MSGID : 48EDF8F8.014 on jchkmail.jussieu.fr : j-chkmail score : . : R=. U=. O=. B=0.020 -> S=0.020 X-j-chkmail-Status: Ham Subject: multimedia/xvid X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 12:28:43 -0000 Trying to encode with mencoder and the xvid codec(*), i discovered that it is awfully slow (around 3 frames/s on my P4 machine). So i played a little bit with the options in the Makefile without any success. Finally i understood that the cause was that the build system requires nasm, but doesn't use it! There are several assembly files in the xvid codec which are not used due to that. The solution i have found by looking at the configure script is to install the yasm port. Then the build system picks the yasm dependency and compiles the assembly files, which enables SSE instructions. The net result is that, without any other tweak, i now encode the same stuff at 11 frames/s. So to be short, multimedia/xvid should require a dependency on yasm. (*) in find that the end result is better (less artifacts at the same bitrate) with xvid than with lavc. -- Michel TALON From owner-freebsd-ports@FreeBSD.ORG Fri Oct 10 13:27:06 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52AC9106569D for ; Fri, 10 Oct 2008 13:27:06 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp104.prem.mail.ac4.yahoo.com (smtp104.prem.mail.ac4.yahoo.com [76.13.13.43]) by mx1.freebsd.org (Postfix) with SMTP id ED3018FC19 for ; Fri, 10 Oct 2008 13:27:05 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: (qmail 92900 invoked from network); 10 Oct 2008 13:27:05 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:X-Face:Mime-Version:Content-Type; b=gvuNUNQDH5FfWWsUVvrN0Pyw8jXrvltBzjITri9VN5G8k8VdCws/nCZFVkNXzo49gCIRvAKVCV0s8Y2cQerrBWcBtDyp5HLwxkk8gKuesAKnteeHUauY1HgmL3F9MCoQ2AJ9//Hfho67TpqI1hyp+w2MQBjDNzbZO8kKf921BCc= ; Received: from unknown (HELO scorpio) (gesbbb@67.189.233.182 with login) by smtp104.prem.mail.ac4.yahoo.com with SMTP; 10 Oct 2008 13:27:04 -0000 X-YMail-OSG: wXWIf1EVM1mDmZOlumtKP0TTvtOKU6O8AX9lDBNzHAqHW5tXaz5G3NLxSFfy.ah8b.5xh4aNZ7BmLtuDEn7R9unNU9_fj1MFQD57qWVCmrZEzimU.PJuZn701XGFUMU1jqPrPYDyECDrsASuVI1GP06PFbW69O39TGv4tpp31vLvG87ADPU8E_NxKw-- X-Yahoo-Newman-Property: ymail-3 Date: Fri, 10 Oct 2008 09:26:51 -0400 From: Jerry To: freebsd-ports@freebsd.org Message-ID: <20081010092651.235c40f7@scorpio> In-Reply-To: <20081008142757.06250dce@scorpio> References: <6cd75f040810072118u7b67f14dx83aaf702f0934959@mail.gmail.com> <20081008102602.12232nonkqhd3rgg@webmail.leidinger.net> <20081008142757.06250dce@scorpio> Organization: seibercom.net X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd6.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/COaZ_Ac4H=IiObG1IKF31yZ"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Re: FreeBSD Port: claws-mail-3.5.0_1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-ports@freebsd.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 13:27:06 -0000 --Sig_/COaZ_Ac4H=IiObG1IKF31yZ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 8 Oct 2008 14:27:57 -0400 Jerry wrote: >On Wed, 08 Oct 2008 10:26:02 +0200 >Alexander Leidinger wrote: > >>Quoting Terry Poulin (from Wed, 8 Oct 2008 =20 >>04:18:46 +0000): >> >>> Hi, just a heads up -- claws-mail 3.6.0 was released on 2008-10-03, >>> approximately 5 days ago. The current version for mail/claws-mail >>> is 3.5.0, released back in June. >> >>And miwi@ has the ports ready, but as the ports tree is in a =20 >>semi-freeze until 6.4 and 7.1 are released, this is not committed >>yet (too much changes). > >The CM crew has all ready fixed a few bugs in the latest version. >Giving them a few days to get a better version released is not going to >do any harm. UPDATE: claws-mail-3.6.1 has now been released. Waiting a few days before releasing the initial 3.6.x version seems to have been a good idea. Several annoying bugs apparently were squashed. --=20 Jerry gesbbb@yahoo.com Pohl's law: Nothing is so good that somebody, somewhere, will not hate it. --Sig_/COaZ_Ac4H=IiObG1IKF31yZ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjvWCYACgkQBvaKIJWWCO1c3wCfZo9qLZrFUrFVdEfRAfnt+c9A u6wAoKPs8TBll0WAJs1YfsP/EypAnZxC =yKbY -----END PGP SIGNATURE----- --Sig_/COaZ_Ac4H=IiObG1IKF31yZ-- From owner-freebsd-ports@FreeBSD.ORG Fri Oct 10 16:26:22 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF27C1065687 for ; Fri, 10 Oct 2008 16:26:22 +0000 (UTC) (envelope-from jos@catnook.com) Received: from lizzy.dyndns.org (209-204-188-132.dsl.static.sonic.net [209.204.188.132]) by mx1.freebsd.org (Postfix) with SMTP id 28A6C8FC16 for ; Fri, 10 Oct 2008 16:26:21 +0000 (UTC) (envelope-from jos@catnook.com) Received: (qmail 66949 invoked by uid 1000); 10 Oct 2008 16:26:42 -0000 Date: Fri, 10 Oct 2008 09:26:42 -0700 From: Jos Backus To: freebsd-ports@freebsd.org Message-ID: <20081010162642.GA66905@lizzy.catnook.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Subject: www/firefox3 crash related to use of libc's db functions X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jos@catnook.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 16:26:22 -0000 I'm seeing the following crash on -current: #0 0x2a31656b in thr_kill () at thr_kill.S:2 #1 0x2a2c5736 in pthread_kill () from /lib/libthr.so.3 #2 0x2a2c32c3 in raise () from /lib/libthr.so.3 #3 0x28237381 in XRE_InitEmbedding () from /usr/local/lib/firefox3/libxul.so #4 #5 hash4 (keyarg=0xa8f497a, len=4294956678) at /usr/src/lib/libc/db/hash/hash_func.c:184 #6 0x2a39ab3d in __call_hash (hashp=0x8386800, k=0xa8f497a "S", len=-10618) at /usr/src/lib/libc/db/hash/hash.c:896 #7 0x2a3997fa in __split_page (hashp=0x8386800, obucket=7, nbucket=15) at /usr/src/lib/libc/db/hash/hash_page.c:356 #8 0x2a39ac09 in __expand_table (hashp=0x8386800) at /usr/src/lib/libc/db/hash/hash.c:865 #9 0x2a39922f in __addel (hashp=0x8386800, bufp=0x9d83ca0, key=0xbfbf8ac8, val=0xbfbf8ad0) at /usr/src/lib/libc/db/hash/hash_page.c:454 #10 0x2a39c2e0 in hash_access (hashp=0x8386800, action=HASH_PUT, key=0xbfbf8ac8, val=0xbfbf8ad0) at /usr/src/lib/libc/db/hash/hash.c:680 #11 0x2aa10b9c in ?? () from /usr/local/lib/firefox3/libnssdbm3.so #12 0xbfbf8ad0 in ?? () #13 0xbfbf8ac8 in ?? () #14 0xbfbf8ad0 in ?? () #15 0x00000000 in ?? () #16 0x2a2c3599 in pthread_self () from /lib/libthr.so.3 #17 0x2aa203e4 in legacy_SetCryptFunctions () from /usr/local/lib/firefox3/libnssdbm3.so #18 0x2aa20bb8 in legacy_SetCryptFunctions () from /usr/local/lib/firefox3/libnssdbm3.so #19 0x2aa216ff in legacy_SetCryptFunctions () from /usr/local/lib/firefox3/libnssdbm3.so #20 0x2aa258b2 in legacy_SetCryptFunctions () from /usr/local/lib/firefox3/libnssdbm3.so #21 0x2aa276c9 in legacy_SetCryptFunctions () from /usr/local/lib/firefox3/libnssdbm3.so #22 0x2aa27791 in legacy_SetCryptFunctions () from /usr/local/lib/firefox3/libnssdbm3.so #23 0x2aa18965 in ?? () from /usr/local/lib/firefox3/libnssdbm3.so This suggests that firefox3 is using the non-threadsafe db functions in libc. Is it possible to build firefox3 without them, or replace them with a newer version of Berkeley DB that is threadsafe? -- Jos Backus jos at catnook.com From owner-freebsd-ports@FreeBSD.ORG Fri Oct 10 17:41:53 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BEE521065689 for ; Fri, 10 Oct 2008 17:41:53 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [217.170.79.85]) by mx1.freebsd.org (Postfix) with ESMTP id 79AFC8FC18 for ; Fri, 10 Oct 2008 17:41:52 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1KoLzu-0002nZ-JY; Fri, 10 Oct 2008 21:41:54 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id B7F5E1255A; Fri, 10 Oct 2008 21:41:14 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id D544017031; Fri, 10 Oct 2008 21:42:04 +0400 (MSD) Date: Fri, 10 Oct 2008 21:42:04 +0400 From: Dmitry Marakasov To: freebsd-hackers@FreeBSD.org, freebsd-ports@freebsd.org Message-ID: <20081010174204.GB90757@hades.panopticon> References: <48C52718.5080807@sun.com> <48C8F051.7060107@sun.com> <20080919082719.GH676@e.0x20.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20080919082719.GH676@e.0x20.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Subject: Re: VirtualBox looks for FreeBSD developer X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 17:41:53 -0000 Hi! Little time ago I was misleaded by the certain people and got an idea that VirtualBox actually works on FreeBSD, so I've made a draft port for it. It doesn't actually work, but since I've spent several hours hacking it and made bunch of (likely) useful patches, here it is, feel free to use it for any purpose. I hope someone of kernel hackers will make it work actually ;) Summary: - installation doesn't work - only 7.0 (7.x maybe) / i386 is supported - VM doesn't run - You'll be able to run QT4 GUI and some tests if you're lucky :) See README.txt inside for additional details. http://amdmi3.ru/files/virtualbox-port.tar.gz -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru From owner-freebsd-ports@FreeBSD.ORG Fri Oct 10 19:07:17 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33655106568F for ; Fri, 10 Oct 2008 19:07:17 +0000 (UTC) (envelope-from nikolaj.thygesen@diamondbox.dk) Received: from csmtp3.b-one.net (csmtp3.one.com [195.47.247.213]) by mx1.freebsd.org (Postfix) with ESMTP id 02AFC8FC12 for ; Fri, 10 Oct 2008 19:07:16 +0000 (UTC) (envelope-from nikolaj.thygesen@diamondbox.dk) Received: from diamond.diamondbox.dk (83.74.5.13.ip.tele2adsl.dk [83.74.5.13]) by csmtp3.b-one.net (Postfix) with ESMTP id 4EFBD385F393; Fri, 10 Oct 2008 20:48:13 +0200 (CEST) Message-ID: <48EFA367.8090901@diamondbox.dk> Date: Fri, 10 Oct 2008 20:48:07 +0200 From: Nikolaj Thygesen Organization: diamondbox.dk User-Agent: Thunderbird 2.0.0.17 (X11/20080927) MIME-Version: 1.0 To: freebsd-maintainer@opera.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org Subject: FreeBSD Port: opera-9.60.20081004 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 19:07:17 -0000 When running the new opera 2.60 on fbsd, it will try to launch: /usr/local/share/opera/bin/operapluginwrapper.linux which doesn't exist. Another wrapper: /usr/local/share/opera/bin/operapluginwrapper.freebsd does exist though. I guess this is the one to really call?! br - N :o) From owner-freebsd-ports@FreeBSD.ORG Fri Oct 10 20:13:36 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DD7F1065689 for ; Fri, 10 Oct 2008 20:13:36 +0000 (UTC) (envelope-from freebsd-ports@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 51F0A8FC0A for ; Fri, 10 Oct 2008 20:13:36 +0000 (UTC) (envelope-from freebsd-ports@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KoOMf-0007Bs-Mr for freebsd-ports@freebsd.org; Fri, 10 Oct 2008 20:13:33 +0000 Received: from 91-64-168-90-dynip.superkabel.de ([91.64.168.90]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Oct 2008 20:13:33 +0000 Received: from ino-news by 91-64-168-90-dynip.superkabel.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Oct 2008 20:13:33 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-ports@freebsd.org From: clemens fischer Date: Fri, 10 Oct 2008 22:13:13 +0200 Lines: 15 Message-ID: X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 91-64-168-90-dynip.superkabel.de X-Archive: encrypt=none User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/8.0-CURRENT (i386)) Sender: news Subject: pkg_create: replace files in package? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 20:13:36 -0000 hi, I am packaging up a few ports for a nanobsd based USB stick. Some of the programs are "quite right", but I need to replace or add files. For example, the elinks text browser port version is often lagging, so I build it manually from newer sources and use the resulting binaries instead of the packages'. Since the MD5 checksum of my modified binary doesn't match, nanobsds pkg_add command might fail. What I want to do is find a simple way of using some form of pkg_create invocation as easy as "pkg_create -R -b ...", but at the same time replacing or even adding some files. How can this be done? -c From owner-freebsd-ports@FreeBSD.ORG Sat Oct 11 01:11:37 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 015C3106568A for ; Sat, 11 Oct 2008 01:11:37 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id 81D9C8FC0C for ; Sat, 11 Oct 2008 01:11:36 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so39877uge.39 for ; Fri, 10 Oct 2008 18:11:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=0vLwcKzCFyN+lsQvfpsuSJ210tDxT0hY9H8SaQLUsp4=; b=IHdDJpD/29YwtHpQ27XxJ/OkerDWlNz8gPsw+Hz1PEHrT8zPSEOS6GwyqgoYIXfEaI manVmPrGxWyVsDjDJso6moFw7ZMwleti1epntWJRBJZV3VApfeoZirdBF+k+lMu1rmaU zewf+Lw9q8o+5Z5lD44MwEcM72fVRi+nYv63c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=XRpDRzSQ0Ih5ak+UoWUQgudKVSKuSkF/n3IvPuTehVPvvk+/3jPekUwdJkBHke4cTA S/rvy6u+CH/S59SyH3wyqrg9RGFqO0A0foJdivcpqCyVbrb9pmXYElpZE7BQYzNUgfiF 0fMnj6zmMOljAht8vTAyIBCfuCe4qitcbhqGA= Received: by 10.102.253.6 with SMTP id a6mr1547602mui.92.1223687495190; Fri, 10 Oct 2008 18:11:35 -0700 (PDT) Received: by 10.103.231.14 with HTTP; Fri, 10 Oct 2008 18:11:35 -0700 (PDT) Message-ID: Date: Fri, 10 Oct 2008 22:11:35 -0300 From: "Carlos A. M. dos Santos" To: "Michel Talon" In-Reply-To: <20081009122839.GA58927@lpthe.jussieu.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081009122839.GA58927@lpthe.jussieu.fr> Cc: freebsd-ports@freebsd.org Subject: Re: multimedia/xvid X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2008 01:11:37 -0000 On Thu, Oct 9, 2008 at 9:28 AM, Michel Talon wrote: > Trying to encode with mencoder and the xvid codec(*), i discovered that it > is awfully slow (around 3 frames/s on my P4 machine). So i played a > little bit with the options in the Makefile without any success. Finally > i understood that the cause was that the build system requires nasm, but > doesn't use it! There are several assembly files in the xvid codec which > are not used due to that. The solution i have found by looking at the > configure script is to install the yasm port. Then the build system > picks the yasm dependency and compiles the assembly files, which enables > SSE instructions. The net result is that, without any other tweak, i now > encode the same stuff at 11 frames/s. > > So to be short, multimedia/xvid should require a dependency on yasm. > > (*) in find that the end result is better (less artifacts at the same > bitrate) with xvid than with lavc. Standard questions: 1. O which architectures did you test this? 2. Did you send a PR? 3. The port currently has no maintainer. Would you like to take it? :-) -- cd /usr/ports/sysutils/life make clean From owner-freebsd-ports@FreeBSD.ORG Sat Oct 11 07:37:43 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 618631065687 for ; Sat, 11 Oct 2008 07:37:43 +0000 (UTC) (envelope-from talon@lpthe.jussieu.fr) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by mx1.freebsd.org (Postfix) with ESMTP id E8A228FC15 for ; Sat, 11 Oct 2008 07:37:42 +0000 (UTC) (envelope-from talon@lpthe.jussieu.fr) Received: from parthe.lpthe.jussieu.fr (parthe.lpthe.jussieu.fr [134.157.10.1]) by shiva.jussieu.fr (8.14.3/jtpda-5.4) with ESMTP id m9B7bdHs043041 ; Sat, 11 Oct 2008 09:37:40 +0200 (CEST) X-Ids: 168 Received: from niobe.lpthe.jussieu.fr (niobe.lpthe.jussieu.fr [134.157.10.41]) by parthe.lpthe.jussieu.fr (Postfix) with ESMTP id AFE898A0B2; Sat, 11 Oct 2008 09:37:38 +0200 (CEST) Received: by niobe.lpthe.jussieu.fr (Postfix, from userid 2005) id 9DB7710A; Sat, 11 Oct 2008 09:37:38 +0200 (CEST) Date: Sat, 11 Oct 2008 09:37:38 +0200 From: Michel Talon To: "Carlos A. M. dos Santos" Message-ID: <20081011073738.GA38584@lpthe.jussieu.fr> References: <20081009122839.GA58927@lpthe.jussieu.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (shiva.jussieu.fr [134.157.0.168]); Sat, 11 Oct 2008 09:37:41 +0200 (CEST) X-Virus-Scanned: ClamAV 0.93.3/8411/Sat Oct 11 04:40:28 2008 on shiva.jussieu.fr X-Virus-Status: Clean X-Miltered: at jchkmail.jussieu.fr with ID 48F057C3.010 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 48F057C3.010/134.157.10.1/parthe.lpthe.jussieu.fr/parthe.lpthe.jussieu.fr/ X-j-chkmail-Score: MSGID : 48F057C3.010 on jchkmail.jussieu.fr : j-chkmail score : . : R=. U=. O=. B=0.022 -> S=0.022 X-j-chkmail-Status: Ham Cc: freebsd-ports@freebsd.org Subject: Re: multimedia/xvid X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2008 07:37:43 -0000 On Fri, Oct 10, 2008 at 10:11:35PM -0300, Carlos A. M. dos Santos wrote: > > Standard questions: > > 1. O which architectures did you test this? On a P4 HTT. I can test that on an Athlon T Bird and a Core 2 Duo in 386 mode, but i don't have access to an amd64 machine running FreeBSD, and of course other architectures. The assembly files in question contain MMX,SSE and SSE2 instructions so apply only to such processors. > 2. Did you send a PR? No > 3. The port currently has no maintainer. Would you like to take it? :-) I have no problem taking it, on the other hand the required modification is minimal. I have checked on the xvid site that there is no more recent version. -- Michel TALON From owner-freebsd-ports@FreeBSD.ORG Sat Oct 11 07:58:04 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 061DA106569A for ; Sat, 11 Oct 2008 07:58:04 +0000 (UTC) (envelope-from nullbsd@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.178]) by mx1.freebsd.org (Postfix) with ESMTP id 5F0CD8FC1C for ; Sat, 11 Oct 2008 07:58:03 +0000 (UTC) (envelope-from nullbsd@gmail.com) Received: by ik-out-1112.google.com with SMTP id c29so732642ika.3 for ; Sat, 11 Oct 2008 00:58:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:reply-to:to:subject:date :user-agent:mime-version:content-type:content-transfer-encoding :content-disposition:message-id; bh=S7TKoagZJ9sCjPSHacbjPXtHKjSOt/M5jk7ESIx7G7U=; b=uCWk7Vxo5mCnQa5VYuMUgaT2mpBLKm5HYjv2shIJFEQtnM+3Ak2gCDA0nX7u0QKI4S x9rkvZ6M1+Rr800JZkmj5RjTpD69cJ5IckYko3BPQM7p4TBE7yQlGlrq0a9lRjl8SAQQ iFABCRfHVarTDoW4JwaLAVSibAi5klG18ZJT0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; b=EHi9HSvtTDBzYgWCTiHDZMM/EBldT+Eh6+spN31yxS7ApumIX8IfL8pvXP3V3K11+F 8O4geY2SjLJZMvnT/IshwKd06Kh2v2oVYi7k9U1fp7qcgGklEmmFCFf9SIvCeV9ZnUhy 90EiPNKWlSZ+zBaYfS5OtCHSBgTzQyEehs5M4= Received: by 10.210.114.15 with SMTP id m15mr1603866ebc.43.1223710539494; Sat, 11 Oct 2008 00:35:39 -0700 (PDT) Received: from ?192.168.1.2? (mm-241-254-57-86.leased.line.mgts.by [86.57.254.241]) by mx.google.com with ESMTPS id b30sm2540422ika.9.2008.10.11.00.35.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 11 Oct 2008 00:35:38 -0700 (PDT) From: Sokolov Alexey To: ports@freebsd.org Date: Sat, 11 Oct 2008 10:35:44 +0300 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810111035.44555.nullbsd@gmail.com> Cc: Subject: It is illogical layout of ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nullbsd@gmail.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2008 07:58:04 -0000 Hi! The location of some ports contradictory. They need all rank in the categories you want. Examples: 1. misc/k3b-i18n www/firefox-i18n mail/thunderbird-i18n Do: %find / usr / ports *-name "* i18n"-type d and look at how illogical are some applications. 2. multimedia/xmms-skins x11-themes/audacious-skins multimedia/smplayer-themes 3. x11/gsynaptics sysutils/ksynaptics 4. net-im/echat (irc/echat?) -- http://www.TrueBSD.org From owner-freebsd-ports@FreeBSD.ORG Sat Oct 11 09:00:41 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9093D1065696 for ; Sat, 11 Oct 2008 09:00:41 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from smtp.mel.people.net.au (smtp.mel.people.net.au [218.214.17.98]) by mx1.freebsd.org (Postfix) with SMTP id CB6D18FC08 for ; Sat, 11 Oct 2008 09:00:40 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: (qmail 22320 invoked from network); 11 Oct 2008 08:33:58 -0000 Received: from unknown (HELO blizzard.dnsalias.org) (218.215.138.143) by smtp.mel.people.net.au with SMTP; 11 Oct 2008 08:33:58 -0000 Received: by blizzard.dnsalias.org (Postfix, from userid 1001) id 358F317046; Sat, 11 Oct 2008 19:33:56 +1100 (EST) Date: Sat, 11 Oct 2008 19:33:56 +1100 From: andrew clarke To: Sokolov Alexey Message-ID: <20081011083356.GA29557@ozzmosis.com> References: <200810111035.44555.nullbsd@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200810111035.44555.nullbsd@gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: ports@freebsd.org Subject: Re: It is illogical layout of ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2008 09:00:41 -0000 On Sat 2008-10-11 10:35:44 UTC+0300, Sokolov Alexey (nullbsd@gmail.com) wrote: > The location of some ports contradictory. They need all rank in the > categories you want. For me in most cases the category is superfluous. I will usually just use: cd /usr/ports/*/portname > www/firefox-i18n > mail/thunderbird-i18n Are these in the wrong category? > net-im/echat (irc/echat?) net-im seems correct. I don't think eChat is an IRC client. From owner-freebsd-ports@FreeBSD.ORG Sat Oct 11 11:32:49 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31B9F1065686 for ; Sat, 11 Oct 2008 11:32:49 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 0869B8FC08 for ; Sat, 11 Oct 2008 11:32:48 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from working (pool-72-95-226-5.pitbpa.ftas.verizon.net [72.95.226.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id 00E55EBC09; Sat, 11 Oct 2008 07:15:15 -0400 (EDT) Date: Sat, 11 Oct 2008 07:15:15 -0400 From: Bill Moran To: nullbsd@gmail.com Message-Id: <20081011071515.7e635d81.wmoran@potentialtech.com> In-Reply-To: <200810111035.44555.nullbsd@gmail.com> References: <200810111035.44555.nullbsd@gmail.com> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org Subject: Re: It is illogical layout of ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2008 11:32:49 -0000 Sokolov Alexey wrote: > > Hi! > The location of some ports contradictory. They need all rank in the categories > you want. My goodness, you're right! Quick, stop all other development and have the entire FreeBSD community audit all _18000_ ports to ensure they're all in the appropriate categories! It shouldn't take long. I mean, there's no possibility that there'll be any disagreement among the community as to where each port belongs. There's no possibility that such an audit would be tied up in bikeshed discussions for eons. (Especially since I think most of the ports you complained about are already in the right place.) In all seriousness, what did you expect was going to happen as a result of your email? What did you really hope to accomplish? -- Bill Moran http://www.potentialtech.com From owner-freebsd-ports@FreeBSD.ORG Sat Oct 11 11:35:33 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2AAE8106568F for ; Sat, 11 Oct 2008 11:35:33 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA10.westchester.pa.mail.comcast.net (qmta10.westchester.pa.mail.comcast.net [76.96.62.17]) by mx1.freebsd.org (Postfix) with ESMTP id CCCFB8FC12 for ; Sat, 11 Oct 2008 11:35:32 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA11.westchester.pa.mail.comcast.net ([76.96.62.36]) by QMTA10.westchester.pa.mail.comcast.net with comcast id RPBJ1a0050mv7h05APbXr6; Sat, 11 Oct 2008 11:35:31 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA11.westchester.pa.mail.comcast.net with comcast id RPb01a0022P6wsM3XPb00P; Sat, 11 Oct 2008 11:35:01 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=9vVwDsvujrSaVOeGA_kA:9 a=kZHz9VvUKIxk0UAE0YMAC1BafCsA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 90E09C9419; Sat, 11 Oct 2008 04:35:30 -0700 (PDT) Date: Sat, 11 Oct 2008 04:35:30 -0700 From: Jeremy Chadwick To: Sokolov Alexey Message-ID: <20081011113530.GA61293@icarus.home.lan> References: <200810111035.44555.nullbsd@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200810111035.44555.nullbsd@gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: ports@freebsd.org Subject: Re: It is illogical layout of ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2008 11:35:33 -0000 On Sat, Oct 11, 2008 at 10:35:44AM +0300, Sokolov Alexey wrote: > Hi! > The location of some ports contradictory. They need all rank in the categories > you want. There's a grey area with some that you need to keep in mind. I'll give you a perfect example: irc/bitlbee. bitlbee is an IM-to-IRC gateway. It acts as a stand-alone IRC server, but it bridges Windows Live/MSN, ICQ, AIM, Yahoo!, and Jabber to IRC so that you can talk with IM contacts using an IRC client. So -- does this program go under net-im or irc? You can see my point. :-) -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-ports@FreeBSD.ORG Sat Oct 11 12:02:51 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1FA41065688; Sat, 11 Oct 2008 12:02:51 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from k7.mavetju.org (ppp121-44-105-133.lns10.syd6.internode.on.net [121.44.105.133]) by mx1.freebsd.org (Postfix) with ESMTP id 8A66A8FC08; Sat, 11 Oct 2008 12:02:51 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: by k7.mavetju.org (Postfix, from userid 1001) id A1EF145039; Sat, 11 Oct 2008 22:45:57 +1100 (EST) Date: Sat, 11 Oct 2008 22:45:57 +1100 From: Edwin Groothuis To: Dmitry Marakasov Message-ID: <20081011114557.GA71472@mavetju.org> References: <48C52718.5080807@sun.com> <48C8F051.7060107@sun.com> <20080919082719.GH676@e.0x20.net> <20081010174204.GB90757@hades.panopticon> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081010174204.GB90757@hades.panopticon> User-Agent: Mutt/1.4.2.3i Cc: freebsd-hackers@FreeBSD.org, freebsd-ports@freebsd.org Subject: Re: VirtualBox looks for FreeBSD developer X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2008 12:02:51 -0000 On Fri, Oct 10, 2008 at 09:42:04PM +0400, Dmitry Marakasov wrote: > Little time ago I was misleaded by the certain people and got an > idea that VirtualBox actually works on FreeBSD, so I've made a draft > port for it. It doesn't actually work, but since I've spent several > hours hacking it and made bunch of (likely) useful patches, here > it is, feel free to use it for any purpose. I hope someone of kernel > hackers will make it work actually ;) Have a talk with bms@ about it, he had some interesting working code too. Edwin -- Edwin Groothuis Website: http://www.mavetju.org/ edwin@mavetju.org Weblog: http://www.mavetju.org/weblog/ From owner-freebsd-ports@FreeBSD.ORG Sat Oct 11 14:07:50 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DEB2F106568A for ; Sat, 11 Oct 2008 14:07:49 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.184]) by mx1.freebsd.org (Postfix) with ESMTP id 5F8FA8FC08 for ; Sat, 11 Oct 2008 14:07:49 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: by mu-out-0910.google.com with SMTP id i2so887844mue.3 for ; Sat, 11 Oct 2008 07:07:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=VOzWitQ2Gse9kJr1GyitTHqiohHWtCbh6NpRPA5rCnU=; b=oHRZocReOUoWIShXAOgJTEOxw8y7zE91puQnL64FrAmD1jJ0V2Kdld9j03z0XeTd2A FNosIS/rIlAAnrq3phLGz8hMDYuBtCW3bPhMeiQjKl+iVI8K1V5WOTeUjZg/t6MQgNT+ eQevA5kSdsCD4GreJfuh/MMFENZbRqKl8qv1M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=DTMQ0nxUqt/EKSFtWrW+B6HaMbleGlUPYNVX7KnA2L0sIkMpOU7uMelVY4Ff6e3ncw ws2emHm5JqLABH84blLB2LgGUClTfxG02eEGqqdu9cjbdmBStMyibRlnF9fzjyDNnLT8 n6GcKKOpT6JlylItWtOA/nawd25gF0P95MjoM= Received: by 10.103.251.2 with SMTP id d2mr1978700mus.88.1223734068065; Sat, 11 Oct 2008 07:07:48 -0700 (PDT) Received: by 10.103.231.14 with HTTP; Sat, 11 Oct 2008 07:07:47 -0700 (PDT) Message-ID: Date: Sat, 11 Oct 2008 11:07:47 -0300 From: "Carlos A. M. dos Santos" To: "Michel Talon" In-Reply-To: <20081011073738.GA38584@lpthe.jussieu.fr> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_155303_23733363.1223734068052" References: <20081009122839.GA58927@lpthe.jussieu.fr> <20081011073738.GA38584@lpthe.jussieu.fr> Cc: freebsd-ports@freebsd.org Subject: Re: multimedia/xvid X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2008 14:07:50 -0000 ------=_Part_155303_23733363.1223734068052 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Sat, Oct 11, 2008 at 4:37 AM, Michel Talon wrote: > On Fri, Oct 10, 2008 at 10:11:35PM -0300, Carlos A. M. dos Santos wrote: >> >> Standard questions: >> >> 1. O which architectures did you test this? > > On a P4 HTT. I can test that on an Athlon T Bird and a Core 2 Duo > in 386 mode, but i don't have access to an amd64 machine running > FreeBSD, and of course other architectures. The assembly files in > question contain MMX,SSE and SSE2 instructions so apply only to > such processors. > >> 2. Did you send a PR? > > No > >> 3. The port currently has no maintainer. Would you like to take it? :-) > > I have no problem taking it, on the other hand the required modification > is minimal. I have checked on the xvid site that there is no more recent > version. I gave it a try and found that configure needs some help on AMD64 because it expects the architecture name to be "x86_64", not "amd64". Could you please check if the attached Makefile works on i386? I can not test it because I only have 8.0-CURRENT on AMD64 at the moment. -- cd /usr/ports/sysutils/life make clean ------=_Part_155303_23733363.1223734068052 Content-Type: application/octet-stream; name=Makefile Content-Transfer-Encoding: base64 X-Attachment-Id: f_fm6biql10 Content-Disposition: attachment; filename=Makefile IyBOZXcgcG9ydHMgY29sbGVjdGlvbiBtYWtlZmlsZSBmb3I6CXh2aWQKIyBEYXRlIGNyZWF0ZWQ6 CQkwNCBBcHJpbCAyMDAyCiMgV2hvbToJCQlNaWNoYWVsIE5vdHRlYnJvY2sgPG1pY2hhZWxub3R0 ZWJyb2NrQGdteC5uZXQ+IGV0IGFsCiMKIyAkRnJlZUJTRDogcG9ydHMvbXVsdGltZWRpYS94dmlk L01ha2VmaWxlLHYgMS4yOSAyMDA4LzA5LzA3IDAwOjM2OjI1IGxpbmltb24gRXhwICQKIwoKUE9S VE5BTUU9CXh2aWQKUE9SVFZFUlNJT049CTEuMS4zClBPUlRFUE9DSD0JMgpDQVRFR09SSUVTPQlt dWx0aW1lZGlhCk1BU1RFUl9TSVRFUz0JaHR0cDovL2Rvd25sb2Fkcy54dmlkLm9yZy9kb3dubG9h ZHMvCkRJU1ROQU1FPQkke1BPUlROQU1FfWNvcmUtJHtQT1JUVkVSU0lPTn0KCk1BSU5UQUlORVI9 CXBvcnRzQEZyZWVCU0Qub3JnCkNPTU1FTlQ9CUFuIG9wZW5zb3VyY2UgTVBFRy00IGNvZGVjLCBi YXNlZCBvbiBPcGVuRGl2eAoKR05VX0NPTkZJR1VSRT0JeWVzClVTRV9MRENPTkZJRz0JeWVzCgpX UktTUkM9CQkke1dSS0RJUn0vJHtESVNUTkFNRX0vYnVpbGQvZ2VuZXJpYwoKT1BUSU9OUz0JT1BU SU1JWkVEX0NGTEFHUyAiVXNlIFh2aUQncyBkZWZhdWx0IG9wdGltaXphdGlvbnMiIG9mZgoKLmlu Y2x1ZGUgPGJzZC5wb3J0LnByZS5taz4KCi5pZiAke0FSQ0h9ID09ICJhbWQ2NCIKQ09ORklHVVJF X1RBUkdFVD0JeDg2XzY0LXBvcnRibGQtZnJlZWJzZCR7T1NSRUx9Ci5lbmRpZgouaWYgJHtBUkNI fSA9PSAiYW1kNjQiIHx8ICAke0FSQ0h9ID09ICJpMzg2IgpCVUlMRF9ERVBFTkRTPQl5YXNtOiR7 UE9SVFNESVJ9L2RldmVsL3lhc20KLmVuZGlmCgouaWYgZGVmaW5lZChXSVRIX09QVElNSVpFRF9D RkxBR1MpCkNGTEFHUz0JCSMgbGV0IHh2aWQncyBidWlsZCBzeXN0ZW0gZGVjaWRlIGFib3V0IHRo b3NlCi5lbmRpZgoKcG9zdC1pbnN0YWxsOgoJQCAke0xOfSAtc2YgJHtQUkVGSVh9L2xpYi9saWJ4 dmlkY29yZS5zby40ICR7UFJFRklYfS9saWIvbGlieHZpZGNvcmUuc28KCi5pbmNsdWRlIDxic2Qu cG9ydC5wb3N0Lm1rPgo= ------=_Part_155303_23733363.1223734068052-- From owner-freebsd-ports@FreeBSD.ORG Sat Oct 11 14:19:27 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2333C1065688 for ; Sat, 11 Oct 2008 14:19:27 +0000 (UTC) (envelope-from freebsd-ports-local@be-well.ilk.org) Received: from mail6.sea5.speakeasy.net (mail6.sea5.speakeasy.net [69.17.117.8]) by mx1.freebsd.org (Postfix) with ESMTP id F28D28FC19 for ; Sat, 11 Oct 2008 14:19:26 +0000 (UTC) (envelope-from freebsd-ports-local@be-well.ilk.org) Received: (qmail 10094 invoked from network); 11 Oct 2008 13:52:45 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 11 Oct 2008 13:52:45 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id 80D2128449; Sat, 11 Oct 2008 09:52:41 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id B3F6B1CD99; Sat, 11 Oct 2008 09:52:40 -0400 (EDT) To: Jeremy Chadwick References: <200810111035.44555.nullbsd@gmail.com> <20081011113530.GA61293@icarus.home.lan> From: Lowell Gilbert Date: Sat, 11 Oct 2008 09:52:40 -0400 In-Reply-To: <20081011113530.GA61293@icarus.home.lan> (Jeremy Chadwick's message of "Sat\, 11 Oct 2008 04\:35\:30 -0700") Message-ID: <44y70vw85z.fsf@lowell-desk.lan> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: ports@freebsd.org, Sokolov Alexey Subject: Re: It is illogical layout of ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2008 14:19:27 -0000 Jeremy Chadwick writes: > On Sat, Oct 11, 2008 at 10:35:44AM +0300, Sokolov Alexey wrote: >> Hi! >> The location of some ports contradictory. They need all rank in the categories >> you want. > > There's a grey area with some that you need to keep in mind. I'll give > you a perfect example: irc/bitlbee. > > bitlbee is an IM-to-IRC gateway. It acts as a stand-alone IRC server, > but it bridges Windows Live/MSN, ICQ, AIM, Yahoo!, and Jabber to IRC > so that you can talk with IM contacts using an IRC client. > > So -- does this program go under net-im or irc? > > You can see my point. :-) There's also a "virtual categories" concept that allows a port to show up in more than one category. Some of the examples given by the original poster are already using this mechanism. From owner-freebsd-ports@FreeBSD.ORG Sat Oct 11 14:24:58 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B02F106568F for ; Sat, 11 Oct 2008 14:24:58 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [217.170.79.85]) by mx1.freebsd.org (Postfix) with ESMTP id D7B138FC08 for ; Sat, 11 Oct 2008 14:24:57 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1KofOs-0007Q9-Cb; Sat, 11 Oct 2008 18:24:58 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 9C95B12AB1; Sat, 11 Oct 2008 18:24:20 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id BB66617031; Sat, 11 Oct 2008 18:25:08 +0400 (MSD) Date: Sat, 11 Oct 2008 18:25:08 +0400 From: Dmitry Marakasov To: Sokolov Alexey Message-ID: <20081011142508.GA43913@hades.panopticon> References: <200810111035.44555.nullbsd@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <200810111035.44555.nullbsd@gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: ports@freebsd.org Subject: Re: It is illogical layout of ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2008 14:24:58 -0000 As I've said in a followup to the PR: Those are not illogical. I'd say, sometimes inconsistent, but not illogical for sure. > 1. > misc/k3b-i18n > www/firefox-i18n > mail/thunderbird-i18n Why's those illogical? Where would you place them? misc/k3b -> misc/k3b-i18n www/firefox -> www/firefox-i18n mail/thunderbird -> mail/thunderbird-i18n Since we don't have i18n category, those are nowhere better to place to. What I find inconsistent however, is: uk-aspell: /usr/ports/ukrainian/aspell vi-aspell: /usr/ports/vietnamese/aspell , but yi-aspell: /usr/ports/textproc/yi-aspell zu-aspell: /usr/ports/textproc/zu-aspell Still, I don't see better solution. > 2. > multimedia/xmms-skins > x11-themes/audacious-skins > multimedia/smplayer-themes ${PORTNAME}-(skins|themes) logically belongs to both ${PORTNAME}'s category and x11-themes. Arguments for the former: - Be where it's parent reside. So `ls | grep xmms` will show both xmms and all relevant skins/plugins/addons/mods/whatever (that's very weak argument actually, as audio format plugins already belong to audio, video format plugins belong to multimedia/, network plugins belong to net/ etc.) - x11-themes feels more likely for x11 wm or x11 toolkits themes. Arguments for the latter: - ${PORTNAME}'s category is not polluted. Say, xmms-skins have nothing to do with multimedia actually. - All skins are in the same place. And you can ls x11-themes/ | gerp bluecurve to find matchign themes for different apps/toolkits/wm's. I'd say I'm for the latter, as both arguments for the former are pretty weak. Though I'm used to have mplayer-skins beside mplayer. > 3. > x11/gsynaptics > sysutils/ksynaptics Here I agree. Inconsistency again, but ?synaptics belong both to x11 and sysutils. > 4. > net-im/echat (irc/echat?) It's some kind of broadcast LAN chat, not irc. Doesn't quite feels like IM for me as well, as I associate IM with user-to-user chat like ICQ or Jabber. Althrough it fits well into Wikipedia's definition of IM: "Instant messaging (IM) is a form of real-time communication between two or more people based on typed text. The text is conveyed via computers connected over a network such as the Internet." --- As you can see, all those are located in pretty logical places (at least without apparently more suitable places), althrough some subjects may belong to different categories at once. Anyway, I don't think it's good idea to move ports around - specific port will still reside in single category of multiple it probably logically belongs to, so it'll only produce useless noise without any gain. -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru From owner-freebsd-ports@FreeBSD.ORG Sat Oct 11 15:42:43 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BB011065687 for ; Sat, 11 Oct 2008 15:42:43 +0000 (UTC) (envelope-from talon@lpthe.jussieu.fr) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by mx1.freebsd.org (Postfix) with ESMTP id AD4928FC08 for ; Sat, 11 Oct 2008 15:42:42 +0000 (UTC) (envelope-from talon@lpthe.jussieu.fr) Received: from parthe.lpthe.jussieu.fr (parthe.lpthe.jussieu.fr [134.157.10.1]) by shiva.jussieu.fr (8.14.3/jtpda-5.4) with ESMTP id m9BFge31045120 ; Sat, 11 Oct 2008 17:42:41 +0200 (CEST) X-Ids: 165 Received: from niobe.lpthe.jussieu.fr (niobe.lpthe.jussieu.fr [134.157.10.41]) by parthe.lpthe.jussieu.fr (Postfix) with ESMTP id 7D5D58A1FA; Sat, 11 Oct 2008 17:42:39 +0200 (CEST) Received: by niobe.lpthe.jussieu.fr (Postfix, from userid 2005) id 6AAF010A; Sat, 11 Oct 2008 17:42:39 +0200 (CEST) Date: Sat, 11 Oct 2008 17:42:39 +0200 From: Michel Talon To: "Carlos A. M. dos Santos" Message-ID: <20081011154239.GA49461@lpthe.jussieu.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (shiva.jussieu.fr [134.157.0.165]); Sat, 11 Oct 2008 17:42:41 +0200 (CEST) X-Virus-Scanned: ClamAV 0.93.3/8412/Sat Oct 11 14:30:20 2008 on shiva.jussieu.fr X-Virus-Status: Clean X-Miltered: at jchkmail2.jussieu.fr with ID 48F0AD73.00A by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 48F0AD73.00A/134.157.10.1/parthe.lpthe.jussieu.fr/parthe.lpthe.jussieu.fr/ X-j-chkmail-Score: MSGID : 48F0AD73.00A on jchkmail2.jussieu.fr : j-chkmail score : . : R=. U=. O=. B=0.036 -> S=0.036 X-j-chkmail-Status: Ham Cc: freebsd-ports@freebsd.org Subject: Re: multimedia/xvid X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2008 15:42:43 -0000 > I gave it a try and found that configure needs some help on AMD64 > because it expects the architecture name to be "x86_64", not "amd64". > Could you please check if the attached Makefile works on i386? I can > not test it because I only have 8.0-CURRENT on AMD64 at the moment. Your Makefile allows xvid to compile without any problem on x86. I have also checked that xvid builds on a clean machine, without nasm or yasm installed with your Makefile, so it seems to be fine. Thanks for your attention. -- Michel TALON From owner-freebsd-ports@FreeBSD.ORG Sat Oct 11 15:42:58 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07F041065687 for ; Sat, 11 Oct 2008 15:42:58 +0000 (UTC) (envelope-from que_deseja@hotmail.com) Received: from blu0-omc3-s19.blu0.hotmail.com (blu0-omc3-s19.blu0.hotmail.com [65.55.116.94]) by mx1.freebsd.org (Postfix) with ESMTP id CA61B8FC1C for ; Sat, 11 Oct 2008 15:42:57 +0000 (UTC) (envelope-from que_deseja@hotmail.com) Received: from BLU126-W25 ([65.55.116.72]) by blu0-omc3-s19.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 11 Oct 2008 08:30:57 -0700 Message-ID: X-Originating-IP: [98.192.204.41] From: Desmond Chapman To: Date: Sat, 11 Oct 2008 15:30:56 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 11 Oct 2008 15:30:57.0029 (UTC) FILETIME=[5B29FB50:01C92BB6] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: kBuild port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2008 15:42:58 -0000 I'm stepping into this blindly because I want virtualbox to work on freebsd= 7.0 and above amd64. I need help such as tutorials on Makefiles: building and changing them. problems: marked as broken. This needs to be changed and a warning needs to= be issued before installing. Maybe a yes/no prompt added? I also want to help with the vbox kernel mode. I can do the testing environ= ment. _________________________________________________________________ See how Windows connects the people=2C information=2C and fun that are part= of your life. http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/= From owner-freebsd-ports@FreeBSD.ORG Sat Oct 11 15:59:48 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E44C106568B for ; Sat, 11 Oct 2008 15:59:48 +0000 (UTC) (envelope-from talon@lpthe.jussieu.fr) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by mx1.freebsd.org (Postfix) with ESMTP id ACC198FC16 for ; Sat, 11 Oct 2008 15:59:47 +0000 (UTC) (envelope-from talon@lpthe.jussieu.fr) Received: from parthe.lpthe.jussieu.fr (parthe.lpthe.jussieu.fr [134.157.10.1]) by shiva.jussieu.fr (8.14.3/jtpda-5.4) with ESMTP id m9BFxj3a042581 ; Sat, 11 Oct 2008 17:59:46 +0200 (CEST) X-Ids: 164 Received: from niobe.lpthe.jussieu.fr (niobe.lpthe.jussieu.fr [134.157.10.41]) by parthe.lpthe.jussieu.fr (Postfix) with ESMTP id 9FE2A8A084; Sat, 11 Oct 2008 17:59:44 +0200 (CEST) Received: by niobe.lpthe.jussieu.fr (Postfix, from userid 2005) id 75ED710A; Sat, 11 Oct 2008 17:59:44 +0200 (CEST) Date: Sat, 11 Oct 2008 17:59:44 +0200 From: Michel Talon To: Sean Winn Message-ID: <20081011155944.GA54404@lpthe.jussieu.fr> References: <20081009122839.GA58927@lpthe.jussieu.fr> <20081011073738.GA38584@lpthe.jussieu.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (shiva.jussieu.fr [134.157.0.164]); Sat, 11 Oct 2008 17:59:46 +0200 (CEST) X-Virus-Scanned: ClamAV 0.93.3/8412/Sat Oct 11 14:30:20 2008 on shiva.jussieu.fr X-Virus-Status: Clean X-Miltered: at jchkmail2.jussieu.fr with ID 48F0B174.003 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 48F0B174.003/134.157.10.1/parthe.lpthe.jussieu.fr/parthe.lpthe.jussieu.fr/ X-j-chkmail-Score: MSGID : 48F0B174.003 on jchkmail2.jussieu.fr : j-chkmail score : . : R=. U=. O=. B=0.033 -> S=0.033 X-j-chkmail-Status: Ham Cc: freebsd-ports@freebsd.org Subject: Re: multimedia/xvid X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2008 15:59:48 -0000 On Sun, Oct 12, 2008 at 12:42:08AM +1100, Sean Winn wrote: > > Another option is to just fix the configure script so it doesn't break on > nasm > 1 (it's failing on the patch level check) > > The attached file dropped in ports/multimedia/xvid/files/ seems to do the > trick, though I don't use xvid so I can't exactly test that the new version > assembles things properly. > > Something done to configure.in should be sent upstream really. Yes, fixing the configure script should be done upstream, but it seems that the xvid project is somewhat asleep, so better use yasm in the Makefile on which there is control. As you note below, the problem comes because the configure script tries to use the -r option which yasm has but not nasm, so the xvid people had really yasm in view when doing their work. > --- configure.orig 2008-10-11 13:40:34.000000000 +1100 > +++ configure 2008-10-11 13:43:14.000000000 +1100 > @@ -4016,7 +4016,12 @@ > if test "$ac_nasm" = "yes" ; then > echo "$as_me:$LINENO: checking for nasm patch version" >&5 > echo $ECHO_N "checking for nasm patch version... $ECHO_C" >&6 > - nasm_patch=`$nasm_prog -r | cut -d '.' -f 3 | cut -d ' ' -f 1` > + nasm_version=`$nasm_prog -v | cut -d '.' -f 1 | cut -d ' ' -f3` > + if test -n "$nasm_version" -a "$nasm_version" -gt 1; then > + nasm_patch=$minimum_nasm_patch_version > + else > + nasm_patch=`$nasm_prog -r | cut -d '.' -f 3 | cut -d ' ' -f 1` > + fi > if test -z $nasm_patch ; then > nasm_patch=-1 > fi By the way, the performance improvement obtained by using SSE instructions in the assembly files is astounding. I could not beleive what i was seeing, basically an x 4 improvement, that is the code perfectly parallelizes the computations on the 128 bits registers. This is a good illustration of the fact that compilers are not always as smart as people say, and assembly code can crush C code. -- Michel TALON From owner-freebsd-ports@FreeBSD.ORG Sat Oct 11 19:29:39 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3084F1065678 for ; Sat, 11 Oct 2008 19:29:39 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id B80868FC0A for ; Sat, 11 Oct 2008 19:29:38 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so707316fgb.35 for ; Sat, 11 Oct 2008 12:29:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=4pzE2mdnYcVHVqZMu1r+0LVsHUgwmDPIsgWQEj+yrRo=; b=RjuQCRsQ/Cy5eHc191dZO02wEw41tsMKP/8vLGgoHFe3z3SciC2daLhvK1qVJ1+J27 og9DscwibOPwyqh9m25sDqf8hyPNUhbhSGholkXegdNFCXPHXWYbZrSbdje8qfyKCaFY F8Z2bS00Lzuiz7RdRnD8t4EhprjS1JY5xrfIE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=uLNhU/Ghn1oroe06JVtO5zKwkkJ/k8D/qHPBz1/EKdXjFqKE9co+WRI4dOhnVQHxpA UlE5h/5impXhLKEPgEyjZqOwBAWAiRekeh5ZOaMp2yDsiAvU7GKw9a8R+YBvKxQv0BO+ 7HCa7UPdENMSQ3CHawKEGFEoRGc7RUaxDNFqY= Received: by 10.103.168.5 with SMTP id v5mr2218260muo.35.1223753377387; Sat, 11 Oct 2008 12:29:37 -0700 (PDT) Received: by 10.103.231.14 with HTTP; Sat, 11 Oct 2008 12:29:37 -0700 (PDT) Message-ID: Date: Sat, 11 Oct 2008 16:29:37 -0300 From: "Carlos A. M. dos Santos" To: "Michel Talon" In-Reply-To: <20081011154239.GA49461@lpthe.jussieu.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081011154239.GA49461@lpthe.jussieu.fr> Cc: freebsd-ports@freebsd.org Subject: Re: multimedia/xvid X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2008 19:29:39 -0000 On Sat, Oct 11, 2008 at 12:42 PM, Michel Talon wrote: >> I gave it a try and found that configure needs some help on AMD64 >> because it expects the architecture name to be "x86_64", not "amd64". >> Could you please check if the attached Makefile works on i386? I can >> not test it because I only have 8.0-CURRENT on AMD64 at the moment. > > Your Makefile allows xvid to compile without any problem on x86. > I have also checked that xvid builds on a clean machine, without > nasm or yasm installed with your Makefile, so it seems to be fine. > > Thanks for your attention. Nice. Is there anybody in the list able to try the assembly options for IA64 and PPC? I know I'm pushing a little bit, but it would be nice if we could make the port work better on other platforms too. -- cd /usr/ports/sysutils/life make clean From owner-freebsd-ports@FreeBSD.ORG Sat Oct 11 23:34:27 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23112106568A for ; Sat, 11 Oct 2008 23:34:26 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.freebsd.org (Postfix) with ESMTP id 718978FC0A for ; Sat, 11 Oct 2008 23:34:26 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so196284uge.39 for ; Sat, 11 Oct 2008 16:34:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=ryZt4vnoBKikTEQTrUVoTeKdSq8ufLxckeUkkcICURk=; b=o44eEX1SWxnk9SERvDj9rfK8ydoP78sQNpwS9AEJq2zAhwBpj4/jeTTVtGNlJY4HhJ OPvjNLmfK3jKCgGmt3ekICGSZjAOweNsKzn5TCiJq72SqQROcjtmwo/nHrCkRKfgQ4dm j5skqZ7O/dTZpilDw7A/D8zh6h3eC0jTrI9aI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=QluHupqk84rOYFs0alvM1m877N4tkNxU8d8V2QvNCMLLPliQGf4/fP31M5UX4gE3xn CEH9a1VgEH2vULRs22cvtbF5tHvyWUCftcirWtVSm/xz/PtMgiTSLIlhsNQ42eC/6U1b 6j/N07LUWJw8FmqJYEu1/69p0lK3qjGuj5BEA= Received: by 10.66.216.7 with SMTP id o7mr1487733ugg.66.1223768065170; Sat, 11 Oct 2008 16:34:25 -0700 (PDT) Received: by 10.67.123.15 with HTTP; Sat, 11 Oct 2008 16:34:25 -0700 (PDT) Message-ID: <7d6fde3d0810111634q5208736dla111935546e63545@mail.gmail.com> Date: Sat, 11 Oct 2008 16:34:25 -0700 From: "Garrett Cooper" To: nullbsd@gmail.com In-Reply-To: <200810111035.44555.nullbsd@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200810111035.44555.nullbsd@gmail.com> Cc: ports@freebsd.org Subject: Re: It is illogical layout of ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2008 23:34:27 -0000 On Sat, Oct 11, 2008 at 12:35 AM, Sokolov Alexey wrote: > Hi! > The location of some ports contradictory. They need all rank in the categories > you want. > Examples: Please don't complain without providing solutions and suggestions for cleanup. Thanks, -Garrett