From owner-freebsd-ports@FreeBSD.ORG Tue Mar 30 19:14:22 2010 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 30D391065672 for ; Tue, 30 Mar 2010 19:14:22 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (mailrelay.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id DAF898FC0C for ; Tue, 30 Mar 2010 19:14:21 +0000 (UTC) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id EBFFD5ACD0; Tue, 30 Mar 2010 21:14:17 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id E9BAB5ACCB; Tue, 30 Mar 2010 21:14:17 +0200 (CEST) X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id C8FA45CC98; Tue, 30 Mar 2010 21:14:17 +0200 (CEST) Received: from wep4035 ([132.187.37.35]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.5.1FP1) with ESMTP id 2010033021141584-41082 ; Tue, 30 Mar 2010 21:14:15 +0200 Received: by wep4035 (sSMTP sendmail emulation); Tue, 30 Mar 2010 21:14:16 +0200 Date: Tue, 30 Mar 2010 21:14:16 +0200 From: Alexey Shuvaev To: Eir Nym Message-ID: <20100330191416.GB98488@wep4035.physik.uni-wuerzburg.de> References: MIME-Version: 1.0 In-Reply-To: Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.20 (2009-06-14) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.5.1FP1|January 05, 2010) at 03/30/2010 09:14:16 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.5.1FP1|January 05, 2010) at 03/30/2010 09:14:16 PM, Serialize complete at 03/30/2010 09:14:16 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Cc: freebsd-ports@freebsd.org Subject: Re: Old ports bugs analyzis 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, 30 Mar 2010 19:14:22 -0000 On Tue, Mar 30, 2010 at 01:05:39AM +0400, Eir Nym wrote: > I work on creating system for system and ports autobuilder with custom > settings for my FreeBSD machines. I know about many programs, which do > same, but I don't like strange depends, which are not controlled by > OPTIONS and some another > > I've analyse ports tree and want to say about. > There're lot problems with ports to create per-port PRs > manually.Common types of problems are listed here: > > 0) Main part of problems in tons of ports, which has hidden options > (WITH & WITHOUT checking), but not using OPTIONS for them. > 1) There many libraries added with BUILD&RUN dependencies, not as LIB-DEPENDS. > 2) Some ports has only BUILD depends to libraries, but links them dynamicly. > 3) All(?) samba33 slaves define dependency as "samba33", and make > warning me about master target redefinition when do something on them. > 4) many ports define dependencies as > "${.CURDIR}/../..//" > 5) And some adds trailing slash. > > I want fix these problems, but I have no much time to fix several > thousands of ports. This work (include PR sending) needs about is 1-2 > month per 8-10 hours a day. > If the problems are so common, maybe there are not so many problems at all? :) > I put my analysys in several work files: > I've removed ${PORTSDIR} from paths for readability in index files. > > http://freebsd.eroese.org/bsd.local.mk - different describe target > (clean and simple) > http://freebsd.eroese.org/portInfo.py - py-IDX maker. old, but enough version. > > http://freebsd.eroese.org/tag - portsnap(8) tag > http://freebsd.eroese.org/IDX - special maked IDX > http://freebsd.eroese.org/py-IDX - human readable format of IDX, see > py program for comments about types. > I have tried to understand what is in these files but have not managed it completely. The file py-IDX lists 2 of my ports, devel/slglade and x11-toolkits/gtkdatabox as being fixed: fix devel/slglade fix x11-toolkits/gtkdatabox Could you elaborate more what was 'fixed' in these 2 examples? Thanks, Alexey.