From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <2051df4fe9c0f1c80a0d1c09de546a1c@e271.net> To: 9fans@cse.psu.edu Subject: Re: [9fans] contrib(1) (was: opera under linuxemu) Date: Thu, 3 Jan 2008 23:08:16 -0500 From: marina@e271.net In-Reply-To: <2ae4819257562c8664d11069cd86d3d1@yourdomain.dom> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-oszqhaujnnslxztscyojpmveha" Topicbox-Message-UUID: 2692d43c-ead3-11e9-9d60-3106f5b1d025 This is a multi-part message in MIME format. --upas-oszqhaujnnslxztscyojpmveha Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Have you looked at the FreeBSD and OpenBSD ports system ? Is this what you are trying to emulate ? --- Marina Brown --upas-oszqhaujnnslxztscyojpmveha Content-Type: message/rfc822 Content-Disposition: inline Return-Path: <9fans-bounces+marina=surferz.net@cse.psu.edu> X-Original-To: marina@surferz.net Delivered-To: marina@surferz.net Received: from localhost (localhost [127.0.0.1]) by mail.surferz.net (Postfix) with ESMTP id 3E3D28B36E0 for ; Thu, 3 Jan 2008 17:52:27 -0500 (EST) Received: from mail.surferz.net ([127.0.0.1]) by localhost (mail.surferz.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02973-02-46 for ; Thu, 3 Jan 2008 17:52:21 -0500 (EST) Received: from mail.cse.psu.edu (psuvax1.cse.psu.edu [130.203.4.6]) by mail.surferz.net (Postfix) with ESMTP id A526F8B36CB for ; Thu, 3 Jan 2008 17:52:11 -0500 (EST) Received: from psuvax1.cse.psu.edu (localhost [127.0.0.1]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 45D7B1177A for ; Thu, 3 Jan 2008 17:51:32 -0500 (EST) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: from localhost (localhost [127.0.0.1]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 77B1B5C191 for <9fans@cse.psu.edu>; Thu, 3 Jan 2008 17:50:19 -0500 (EST) Received: from mail.cse.psu.edu ([127.0.0.1]) by localhost (psuvax1 [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19870-01-41 for <9fans@cse.psu.edu>; Thu, 3 Jan 2008 17:50:15 -0500 (EST) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.235]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id AEAD05BCE6 for <9fans@cse.psu.edu>; Thu, 3 Jan 2008 17:50:14 -0500 (EST) Received: by wx-out-0506.google.com with SMTP id h30so1922284wxd.21 for <9fans@cse.psu.edu>; Thu, 03 Jan 2008 14:50:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:to:subject:from:date:in-reply-to:mime-version:content-type:content-transfer-encoding; bh=A5m5e2Uf0eIMX5NJBgfdpHz6QAW5nAop4VxqfOEvhaA=; b=Nk0xQVLfWLsk0Bv0dhUBt2o/g5ybXc8ZtVtpK+niFfiVSCrcVB6344tlrCawG39qgm1DNLvN6XJCGSQu9SPUuvRZxX9fDR8t2mtee9/5CN3XD6Nmk++oetmX55d5Q/h5l7asNX44uLoz4UcWcf5xxk1r7YVVX4+5YzHCb735tAc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:to:subject:from:date:in-reply-to:mime-version:content-type:content-transfer-encoding; b=A1hIIZHG6opPf4ns/UvHCxZrwqiF3GIIaFKEKAWWQn/3hhcUlRtP14ZuQnnFoEDrhdeNT/yNzmdERg9wXYWBcGPO57PMt4a0UGoB06pwrAM9EOfETdazIpEgqpD+u+tUnAVxdlou9jJs2Ciueqr0VTkI9csupAp4oT2znJZCrPk= Received: by 10.70.110.20 with SMTP id i20mr11346726wxc.5.1199400614404; Thu, 03 Jan 2008 14:50:14 -0800 (PST) Received: from EXAMPLE.localdomain ( [190.19.96.31]) by mx.google.com with ESMTPS id i34sm18450050wxd.9.2008.01.03.14.50.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 03 Jan 2008 14:50:12 -0800 (PST) Message-ID: <2ae4819257562c8664d11069cd86d3d1@yourdomain.dom> To: 9fans@cse.psu.edu From: "Federico G. Benavento" Date: Thu, 3 Jan 2008 19:50:05 -0300 In-Reply-To: <8ccc8ba40801031443s5af391c3o7722cccf7030b111@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at cse.psu.edu Subject: [9fans] contrib(1) (was: opera under linuxemu) X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: 9fans-bounces+marina=surferz.net@cse.psu.edu Errors-To: 9fans-bounces+marina=surferz.net@cse.psu.edu X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at surferz.net hola, > What about a > contrib/386 contrib/src > so that we could pull most/all of contribs just at a go? we (me and steve) have been playing and testing some tools to help with this: CONTRIB(1) CONTRIB(1) NAME create, install, pull, push, remove - trivial package management SYNOPSIS contrib/create [ -d dependency ] [ -r root ] [ -u user ] [ -x exclude ] name proto contrib/install [ -f ] [ -r root ] user/name contrib/list [ -v ] [ user | user/name ] contrib/pull [ -c file ] [ -s file ] name contrib/push name contrib/remove name DESCRIPTION Contrib is a simple package management system based on replica(1). It can be used to create, install, upgrade and remove software packages in the sources repository. To cre- ate a package and become its maintainer it is necessary to have an authenticated sources account and a contrib direc- tory /n/sources/contrib/$user. Contrib/create Create builds a new package name, and performs an ini- tial push to sources. The file structure is defined by proto. Dependencies can be specified with the -d name option. If the package is staged away from its final destination a root directory for the published package may be specified with -r root. If the user has a dif- ferent name for their sources account from their cur- rent user account then this may be specified with the -u user option. Use the -x option to exclude the exclude files from the synchronization. When create runs it puts the current window into hold mode and reads text describing the package. The first line of this text is printed by contrib/list and should be a short summary of the package's contents. Contrib/install Install the package name maintained by the user user to the local file system. The -f option forces the instal- lation to continue irrespective of missing dependent packages. Packages are normally installed at / however an alternative root directory may be specified with -r root. Contrib/list List the available packages and a one line description of each. The -v option produces a more verbose multi- line form. Contrib/pull Update the local package name from sources. Locally modified files cause a warning and are not overwritten unless the -c or -s options are used - as described in replica(1). Contrib/push Used by the package maintainer to update the package name on sources from the local system. Contrib/remove Print the commands necessary to remove the package name, this allows the commands to be edited before they are sent to the shell. The commands printed for files which have been modified with respect to the repository are commented out. EXAMPLE Install the abaco web browser. % contrib/install fgb/abaco FILES /usr/$user/lib/replica databases of packages cre- ated locally. /dist/replica/* databases of packages installed locally. /n/sources/contrib/rob/replica database of rob's packages. /n/sources/contrib/rob/root files representing in rob's packages. SOURCE /rc/bin/contrib SEE ALSO proto(2), replica(1), replica(8) BUGS Send bug reports to benavento@gmail.com --- it's working quite well, for instance I can do lotte% contrib/list fgb fgb/4th: 4tH 3.5b - Forth-like interpreter. fgb/abaco: Abaco: lame web browser for Plan 9, eternally a work in progress. fgb/breakout: Breakout - breakout/arkanoid clone. fgb/bz2: BZ2 library for APE fgb/contrib: Contrib - Trivial Package Management fgb/curses: PDCurses 3.0 library for APE. ... to install it you do: % 9fs sources; /n/sources/contrib/fgb/root/rc/bin/contrib/install fgb/contrib Federico G. Benavento --- /bin/fortune: If you think before you speak the other guy gets his joke in first. --upas-oszqhaujnnslxztscyojpmveha--