From owner-freebsd-ports@FreeBSD.ORG Sat Apr 5 07:49: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 3E4B4106564A for ; Sat, 5 Apr 2008 07:49:34 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 9C6B78FC14 for ; Sat, 5 Apr 2008 07:49:33 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.2/8.14.2) with ESMTP id m357nLZo009337; Sat, 5 Apr 2008 08:49:28 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.5.2 smtp.infracaninophile.co.uk m357nLZo009337 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1207381768; bh=R9a2GX9seKNL3S i0jShr+Re0IMMgNmvRHVUv7v5xdBc=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type:Cc:Content-Type: Date:From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Mes sage-ID:=20<47F72EFC.3000808@infracaninophile.co.uk>|Date:=20Sat,=2 005=20Apr=202008=2008:49:16=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.12=20(X11/20080310)|MIME-Version:=201 .0|To:=20Maxim=20Khitrov=20|CC:=20freebsd-ports @freebsd.org|Subject:=20Re:=20FreeBSD=20Custom=20Package=20Server|R eferences:=20<26ddd1750804041811p4bb2c4f5tbab3f9659f88e8bb@mail.gma il.com>|In-Reply-To:=20<26ddd1750804041811p4bb2c4f5tbab3f9659f88e8b b@mail.gmail.com>|X-Enigmail-Version:=200.95.6|X-Enigmail-Version:= 200.95.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha256= 3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A=20bounda ry=3D"------------enig8DC7FB0F43A1B89D7A4D8809"; b=YYgdQFiC0/0fxim5 pKH0R9JaQcRCVpsw7aHDikjMwFhoc0JoguWv2MGA6ts58PoDeLnasnqtT/D3tlk1I5y VK3OpVnJoqJ6DG7WS+qQ2t5Cdnih1qHLfb31q9qsVOUe9tqF3b2ghweeTvCjXxqil9o 10ASlb6YFun30Ucym6SMo= Message-ID: <47F72EFC.3000808@infracaninophile.co.uk> Date: Sat, 05 Apr 2008 08:49:16 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.12 (X11/20080310) MIME-Version: 1.0 To: Maxim Khitrov References: <26ddd1750804041811p4bb2c4f5tbab3f9659f88e8bb@mail.gmail.com> In-Reply-To: <26ddd1750804041811p4bb2c4f5tbab3f9659f88e8bb@mail.gmail.com> X-Enigmail-Version: 0.95.6 X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig8DC7FB0F43A1B89D7A4D8809" X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Sat, 05 Apr 2008 08:49:28 +0100 (BST) X-Virus-Scanned: ClamAV 0.92.1/6613/Sat Apr 5 05:11:11 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-ports@freebsd.org Subject: Re: FreeBSD Custom Package 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: Sat, 05 Apr 2008 07:49:34 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8DC7FB0F43A1B89D7A4D8809 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Maxim Khitrov wrote: > I maintain several FreeBSD servers all of which currently use the > ports system to install and update the needed software. I don't like > using packages since I often need customizations made during the build > process. For instance, my remote VPS has only 2 GB of disk space, so I > need to build everything with the "-Os -s" optimization to make > executables as small as possible. At the same time, some of the > systems are also very limited in memory or processing power, so > rebuilding certain ports (even with the help of ccache) is often a > slow process. >=20 > I'd like to help myself with a deployment of my own package server. It > would work in a similar manner to the official FreeBSD servers, but > there should be a dynamic component to it such that the client could > request any number of customizations to the resulting packages. > Basically, I don't want to sacrifice any of the flexibility of the > ports system, only offload the actual build process to another > dedicated machine. I like this idea. I like it a lot. However I can see that it has the potential to get very complicated and messy unless you have some clearly thought-out architectural principles that you build the system around. Personally, I'd take a leaf out of the package build cluster here: build packages in a tinderbox style jail. Maintain as many different jail setu= ps as you have different environments to build packages for. 'environment' meaning the unique combination of CPU architecture, OS version, compilati= on flags and port build options -- unless you've got a number of homogeneous= systems that's quite likely to equate to maintaining an environment per client host. Even so, the capability to off-load package building onto a separate -- presumably pretty high specification -- machine and to reduce the requ= ired down-time for upgrading the live servers; that would be more than suffici= ent justification for doing this. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig8DC7FB0F43A1B89D7A4D8809 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkf3LwEACgkQ8Mjk52CukIw07wCfeMZwQVypFCc0VK+Nq/DSDImw 7/oAn2qgVLOhcEMm249GKWawkiDB6rsO =k/SP -----END PGP SIGNATURE----- --------------enig8DC7FB0F43A1B89D7A4D8809--