From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DMARC_MISSING, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=4.0.0 Received: from smtp-1.enteract.com (smtp-1.enteract.com [207.229.143.33]) by chiba.3jane.net (Postfix) with ESMTP id 1471914903 for ; Sun, 16 Dec 2001 11:30:57 -0600 (CST) Received: from shell-1.enteract.com (shell-1.enteract.com [207.229.143.40]) by smtp-1.enteract.com (Postfix) with ESMTP id 4FBA08B69 for ; Sun, 16 Dec 2001 11:31:31 -0600 (CST) Received: (from tchan@localhost) by shell-1.enteract.com (8.11.6/8.11.2) id fBGHVVI03854 for gentoo-dev@gentoo.org; Sun, 16 Dec 2001 11:31:31 -0600 (CST) (envelope-from tchan) Date: Sun, 16 Dec 2001 11:31:31 -0600 From: Terry Chan To: gentoo-dev@gentoo.org Subject: Re: [gentoo-dev] Quickpkg - Where to get? Message-ID: <20011216113130.A3702@enteract.com> References: <1008518963.18350.0.camel@wp.smile> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="fUYQa+Pmc3FrFX/N" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <1008518963.18350.0.camel@wp.smile>; from sebastian@werner-productions.de on Sun, Dec 16, 2001 at 05:09:22PM +0100 Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Developer discussion list List-Unsubscribe: , List-Archive: X-Archives-Salt: dbbc4e50-942c-4a9b-a7f7-525b2b66c2b4 X-Archives-Hash: 72f7b753357f43c258588cf96be89831 --fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sebastian, The mailing list is archived and quickpkg was posted to gentoo-dev. Here it is again. Terry Chan ----------------------------------------------------------------- On Sun, Dec 16, 2001 at 05:09:22PM +0100, Sebastian Werner wrote: > Hey, > > uupps, i have deleted the nice script quickpkg to create bin-packages > from installed ebuilds. While i setup a new system i have deleted it. > Where could i get this file? > > Thanks > > Sebastian Werner > sebastian@werner-productions.de > --fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=quickpkg #!/bin/bash # This script tries to quickly create a gentoo binary package using the # # /var/db/pkg/class-app/app/* files # # Resulting tbz2 file will be created in /usr/portage/packages/All/ # # Run this script as ROOT # # Comments or questions to tchan@enteract.com # Copyright (C) 2001 - Terry Chan. GNU GPL # if [ -z $1 ]; then echo "QUICKPKG ver 1.0" echo "Example Usage: quickpkg /var/db/pkg/net-www/prozilla-1.3.6/" exit 1 fi PF=`cat $1/PF` MYDIR="/tmp/portage/${PF}" rm -r ${MYDIR}/temp mkdir -p ${MYDIR}/temp cp $1/* ${MYDIR}/temp cut -f 2 -d " " $1/CONTENTS >${MYDIR}/filelist tar cjvf ${MYDIR}/bin.tar.bz2 --files-from=${MYDIR}/filelist --no-recursion rm ${MYDIR}/temp/CONTENTS xpak ${MYDIR}/temp ${MYDIR}/inf.xpak tbz2tool join ${MYDIR}/bin.tar.bz2 ${MYDIR}/inf.xpak ${MYDIR}/${PF}.tbz2 [ -d /usr/portage/packages/All ] || mkdir -p /usr/portage/packages/All mv ${MYDIR}/${PF}.tbz2 /usr/portage/packages/All rm ${MYDIR}/temp/* rm ${MYDIR}/bin.tar.bz2 ${MYDIR}/inf.xpak ${MYDIR}/filelist --fUYQa+Pmc3FrFX/N--