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=-0.2 required=5.0 tests=DKIM_ADSP_NXDOMAIN, DMARC_MISSING,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=4.0.0 Received: from moutvdom01.kundenserver.de (moutvdom01.kundenserver.de [195.20.224.200]) by chiba.3jane.net (Postfix) with ESMTP id 950B41A4D9 for ; Sun, 16 Dec 2001 12:56:57 -0600 (CST) Received: from [195.20.224.220] (helo=mrvdom04.kundenserver.de) by moutvdom01.kundenserver.de with esmtp (Exim 2.12 #2) id 16FgTX-0005do-00 for gentoo-dev@gentoo.org; Sun, 16 Dec 2001 19:57:27 +0100 Received: from p5082bded.dip.t-dialin.net ([80.130.189.237]) by mrvdom04.kundenserver.de with esmtp (Exim 2.12 #2) id 16FgTW-0002f1-00 for gentoo-dev@gentoo.org; Sun, 16 Dec 2001 19:57:26 +0100 Subject: Re: [gentoo-dev] Quickpkg - Where to get? From: Sebastian Werner To: gentoo-dev@gentoo.org In-Reply-To: <20011216113130.A3702@enteract.com> References: <1008518963.18350.0.camel@wp.smile> <20011216113130.A3702@enteract.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0 (Preview Release) Date: 16 Dec 2001 19:53:31 +0100 Message-Id: <1008528812.8585.0.camel@wp.smile> Mime-Version: 1.0 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: 7214ae08-501d-469f-8503-e99f65f063fe X-Archives-Hash: 9401bc2825bacf5189d9acbad9d48bfc Thanks, i don't know that the archives saves attachments, too. Sebastian Werner On Son, 2001-12-16 at 18:31, Terry Chan wrote: > 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 > > > ---- > > #!/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