From: Sebastian Werner <sebastian@werner-productions.de>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] Quickpkg - Where to get?
Date: 16 Dec 2001 19:53:31 +0100 [thread overview]
Message-ID: <1008528812.8585.0.camel@wp.smile> (raw)
In-Reply-To: <20011216113130.A3702@enteract.com>
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
prev parent reply other threads:[~2001-12-16 18:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-16 16:09 [gentoo-dev] Quickpkg - Where to get? Sebastian Werner
2001-12-16 17:31 ` Terry Chan
2001-12-16 18:53 ` Sebastian Werner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1008528812.8585.0.camel@wp.smile \
--to=sebastian@werner-productions.de \
--cc=gentoo-dev@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox