From owner-freebsd-ports@FreeBSD.ORG Mon Mar 29 21:27:42 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 D7A231065677 for ; Mon, 29 Mar 2010 21:27:42 +0000 (UTC) (envelope-from eirnym@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id 6E0918FC0C for ; Mon, 29 Mar 2010 21:27:41 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id d23so3183631fga.13 for ; Mon, 29 Mar 2010 14:27:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=xCS72TQDO2JDl2JIIk6wE9zBNz/43avWxuH3pzph5/k=; b=TdVYi5oDj08hLL4bb3VgDM9rUv/HGW5YClOrNLA3rjdziaSsICFKGUPRQUbdx5k20c RCicKuHV+r+DkPVNXEoEvAlzwFkrh5g/Xgz4wzJC408s+Ka+uHqIrQMlqVIva4wkudWH +GCxFBovyHtJYdvxzWe7PFzrR8wLgODhP2I6o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=fSSNZe2jY0aLWksq85yyoAkzYZva+pnqTXq2ht8znCnsfON3kmmnw8t+0P3JPpIN5z REPkdoOLnS0i64M+TF/tmL1WommWYWja7MloyGgC1soKuCItoZ8u2jlKVW7rPQnvi0UU 8kU4Nod5aND9z/p+jM2xL6U/OrGfWpN2zTFYA= MIME-Version: 1.0 Received: by 10.86.54.3 with HTTP; Mon, 29 Mar 2010 14:05:39 -0700 (PDT) Date: Tue, 30 Mar 2010 01:05:39 +0400 Received: by 10.86.6.15 with SMTP id 15mr7234780fgf.42.1269896739165; Mon, 29 Mar 2010 14:05:39 -0700 (PDT) Message-ID: From: Eir Nym To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: 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: Mon, 29 Mar 2010 21:27:42 -0000 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. 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.