Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Aug 2007 13:42:55 +0200
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        FreeBSD Ports <ports@freebsd.org>
Subject:   HEADSUP: Ports DESTDIR functionality reworked
Message-ID:  <46B4663F.9040807@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------090507070402010408080609
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

FYI, the overcomplicated and nearly useless DESTDIR functionality has 
been rewritten as my SoC 2007 project and the new implementation has 
been committed into CVS. This one does not require individual ports to 
be modified, so it is much simpler to use. It utilizes chroot(1) and 
mount_nullfs(1) to build packages for a jail. It is implemented in a new 
Makefile, called bsd.destdir.mk. You can refer to the header of this 
file if you need a documentation.
At the same time, another new Makefile has been introcuded: 
bsd.commands.mk. All the variable definitions that cover the command 
line tools, e.g. MKDIR has been extracted, because it simplifies the 
structure of the infrastructure Makefiles and it can be reused later 
within the infrastructure.
Thanks goes to Andrew Pantyukhin (sat@) for providing important and 
useful suggestions and a lot of support as my SoC mentor.

Regards,

-- 
Gabor Kovesdan
FreeBSD Volunteer

EMAIL: gabor@FreeBSD.org .:|:. gabor@kovesdan.org
WEB:   http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org


--------------090507070402010408080609
Content-Type: message/rfc822;
	name="cvs commit: ports CHANGES UPDATING ports/Mk bsd.commands.mk
	bsd.destdir.mkbsd.emacs.mk bsd.gnome.mk bsd.mail.mk
	bsd.openssl.mk bsd.port.mkbsd.port.subdir.mk bsd.python.mk
	bsd.ruby.mk ports/Tools/scriptssecurity-check.awk.eml"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
	filename*0="cvs commit: ports CHANGES UPDATING ports/Mk bsd.commands.mk
	"; 
	filename*1=" bsd.destdir.mk bsd.emacs.mk bsd.gnome.mk bsd.mail.mk";
	filename*2=" bsd.openssl.mk bsd.port.mk bsd.port.subdir.mk bsd.p";
	filename*3="ython.mk bsd.ruby.mk ports/Tools/scripts security-ch";
	filename*4="eck.awk.eml"

Return-Path: <owner-ports-committers@FreeBSD.org>
X-Original-To: gabor@t-hosting.hu
Delivered-To: gabor@t-hosting.hu
Received: from localhost (localhost [127.0.0.1])
	by server.t-hosting.hu (Postfix) with ESMTP id C5C59A49CFD
	for <gabor@t-hosting.hu>; Sat,  4 Aug 2007 13:37:32 +0200 (CEST)
X-Virus-Scanned: amavisd-new at t-hosting.hu
Received: from server.t-hosting.hu ([127.0.0.1])
	by localhost (server.t-hosting.hu [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id iC+45kbxyTon for <gabor@t-hosting.hu>;
	Sat,  4 Aug 2007 13:37:28 +0200 (CEST)
Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53])
	by server.t-hosting.hu (Postfix) with ESMTP id 02A9FA49CEA
	for <gabor@kovesdan.org>; Sat,  4 Aug 2007 13:37:27 +0200 (CEST)
Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36])
	by mx2.freebsd.org (Postfix) with ESMTP id B26D67696
	for <gabor@kovesdan.org>; Sat,  4 Aug 2007 11:37:26 +0000 (UTC)
	(envelope-from owner-ports-committers@FreeBSD.org)
Received: by hub.freebsd.org (Postfix)
	id 4EDAE16A4C0; Sat,  4 Aug 2007 11:37:26 +0000 (UTC)
Delivered-To: gabor@freebsd.org
Received: by hub.freebsd.org (Postfix, from userid 538)
	id 2D7AE16A41B; Sat,  4 Aug 2007 11:37:26 +0000 (UTC)
Delivered-To: ports-committers@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 2AA9A16A417;
	Sat,  4 Aug 2007 11:37:25 +0000 (UTC)
	(envelope-from gabor@FreeBSD.org)
Received: from repoman.freebsd.org (repoman.freebsd.org
	[IPv6:2001:4f8:fff6::29])
	by mx1.freebsd.org (Postfix) with ESMTP id 310C213C469;
	Sat,  4 Aug 2007 11:37:25 +0000 (UTC)
	(envelope-from gabor@FreeBSD.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
	by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l74BbPYA084094;
	Sat, 4 Aug 2007 11:37:25 GMT
	(envelope-from gabor@repoman.freebsd.org)
Received: (from gabor@localhost)
	by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l74BbP9F084093;
	Sat, 4 Aug 2007 11:37:25 GMT (envelope-from gabor)
Message-Id: <200708041137.l74BbP9F084093@repoman.freebsd.org>
From: Gabor Kovesdan <gabor@FreeBSD.org>
Date: Sat, 4 Aug 2007 11:37:24 +0000 (UTC)
To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org
Subject: cvs commit: ports CHANGES UPDATING ports/Mk bsd.commands.mk
	bsd.destdir.mk bsd.emacs.mk bsd.gnome.mk bsd.mail.mk
	bsd.openssl.mk bsd.port.mk bsd.port.subdir.mk bsd.python.mk
	bsd.ruby.mk ports/Tools/scripts security-check.awk
X-FreeBSD-CVS-Branch: HEAD
Sender: owner-ports-committers@FreeBSD.org
Precedence: bulk
X-Loop: FreeBSD.ORG

gabor       2007-08-04 11:37:24 UTC

  FreeBSD ports repository

  Modified files:
    .                    CHANGES UPDATING 
    Mk                   bsd.emacs.mk bsd.gnome.mk bsd.mail.mk 
                         bsd.openssl.mk bsd.port.mk 
                         bsd.port.subdir.mk bsd.python.mk 
                         bsd.ruby.mk 
    Tools/scripts        security-check.awk 
  Added files:
    Mk                   bsd.commands.mk bsd.destdir.mk 
  Log:
  - Extract command variable definitions from bsd.port.mk, they are now stored in
    bsd.commands.mk and can be easily reused within the infrastructure.
  - Revert old DESTDIR implementation.
  - Add a new, fully chrooted DESTDIR implementation as bsd.destdir.mk.
  
  Sponsored by:   Google Summer of Code 2007
  Approved by:    portmgr (pav)
  
  Revision  Changes    Path
  1.77      +17 -1     ports/CHANGES
  1.1       +99 -0     ports/Mk/bsd.commands.mk (new)
  1.1       +222 -0    ports/Mk/bsd.destdir.mk (new)
  1.68      +3 -3      ports/Mk/bsd.emacs.mk
  1.143     +8 -8      ports/Mk/bsd.gnome.mk
  1.3       +3 -3      ports/Mk/bsd.mail.mk
  1.35      +7 -7      ports/Mk/bsd.openssl.mk
  1.578     +168 -450  ports/Mk/bsd.port.mk
  1.71      +35 -40    ports/Mk/bsd.port.subdir.mk
  1.99      +2 -2      ports/Mk/bsd.python.mk
  1.163     +3 -3      ports/Mk/bsd.ruby.mk
  1.3       +10 -40    ports/Tools/scripts/security-check.awk
  1.532     +18 -1     ports/UPDATING

--------------090507070402010408080609--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46B4663F.9040807>