From owner-freebsd-ports@freebsd.org Fri Jul 17 14:12:40 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D7F199A4A96 for ; Fri, 17 Jul 2015 14:12:40 +0000 (UTC) (envelope-from marko.cupac@mimar.rs) Received: from smtp.mimar.rs (smtp.mimar.rs [193.53.106.135]) by mx1.freebsd.org (Postfix) with ESMTP id 8A76A1CF5 for ; Fri, 17 Jul 2015 14:12:39 +0000 (UTC) (envelope-from marko.cupac@mimar.rs) Received: from vscan.mimar.rs (vscan.mimar.rs [193.53.106.134]) by smtp.mimar.rs (Postfix) with ESMTP id 9EB9E898F4 for ; Fri, 17 Jul 2015 16:04:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mimar.rs; h= content-transfer-encoding:content-type:content-type:mime-version :x-mailer:organization:references:in-reply-to:message-id:subject :subject:from:from:date:date:received:received; s=mimar-0901; t= 1437141843; x=1438956244; bh=68AaWzYXvT9oUghxESezLK+0Nwozdj+S9J7 o11UooGo=; b=u8mmbCEtE7qRRy/6c6jceFGllJZX+2DLELKeKGRES4hLhtCA580 akAbrqcAVzHz6vU8WLAcFAnWsSBnz3GAX8O0YvLgWWnbHPG6F5X2bDQYCNupaPvu Cr2gU+HUYSFP0OPkQ9R9k70YlcM7csTMyQ1zLQ8hOr9GOkZOJp8b71hA= X-Virus-Scanned: amavisd-new at mimar.rs Received: from smtp.mimar.rs ([193.53.106.135]) by vscan.mimar.rs (vscan.mimar.rs [193.53.106.134]) (amavisd-new, port 10026) with ESMTP id fXiJQREYIDBZ for ; Fri, 17 Jul 2015 16:04:03 +0200 (CEST) Received: from efreet (unknown [193.53.106.34]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: marko.cupac@mimar.rs) by smtp.mimar.rs (Postfix) with ESMTPSA id 2063A8947B for ; Fri, 17 Jul 2015 16:04:03 +0200 (CEST) Date: Fri, 17 Jul 2015 16:04:02 +0200 From: Marko =?UTF-8?B?Q3VwYcSH?= To: freebsd-ports@freebsd.org Subject: Re: Building Latest links etc. Message-ID: <20150717160402.6f405190@efreet> In-Reply-To: <20150717141512.4a0a037e@raksha.tavi.co.uk> References: <20150717141512.4a0a037e@raksha.tavi.co.uk> Organization: Mimar X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.23; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jul 2015 14:12:40 -0000 On Fri, 17 Jul 2015 14:15:12 +0100 Bob Eager wrote: > This is the scenario. I build all packages locally (a number have > special configs). This is done on one machine, which is then the > repository for 'pkg install'. >=20 > So far so good. >=20 > I now want to update the ports. I see how to do this using portmaster, > and how to generate packages on the package server. >=20 > But...how do I use portmaster on the 'slave' machines, using the > packages I built? I can ask it to use a local directory, and NFS mount > the main package directory on the package server. But portmaster > requires the Latest directory, symlinks, etc. My manual build didn't > add those originally. >=20 > Is there an easy way of building all the symlinks required by > portmaster? I can see how to regenerate Latest, but portmaster asks > for other stuff according to the manual page. I know portmaster -g > will do this but that won't do the existing packages. >=20 > Is there a script somewhere, or am I over complicating things? >=20 > Thanks If you need to maintain custom packages for more than 5 systems then poudriere is the way to go: https://www.freebsd.org/doc/handbook/ports-poudriere.html I have also written 'works for me' detailed howto (in Sebian though): https://www.mimar.rs/sysadmin/2015/poudriere-na-freebsd-10-1 Regards, --=20 Marko Cupa=C4=87 https://www.mimar.rs/