From owner-freebsd-questions@FreeBSD.ORG Tue Oct 26 07:45:10 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6864516A4CE for ; Tue, 26 Oct 2004 07:45:10 +0000 (GMT) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id B12F643D41 for ; Tue, 26 Oct 2004 07:45:09 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id i9Q7j8uQ000583 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 26 Oct 2004 00:45:09 -0700 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.10/Submit) id i9Q7j8jK000581 for freebsd-questions@freebsd.org; Tue, 26 Oct 2004 00:45:08 -0700 X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to lorenl@alzatex.com using -f Date: Tue, 26 Oct 2004 00:45:08 -0700 From: "Loren M. Lang" To: FreeBSD Mailing list Message-ID: <20041026074508.GE6513@alzatex.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="y2zxS2PfCDLh6JVG" Content-Disposition: inline User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C Subject: Creating Packages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Oct 2004 07:45:10 -0000 --y2zxS2PfCDLh6JVG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I'm trying to figure out the best way to create a package from an already installed port. Yes, I know about make package, but that seems to rely on files that get deleted after doing a make clean so I can't use it without rebuilding a whole new port, but the port may not even be the same version I have installed. Is there an easy way to just create a package from what's in /var/db/pkg/ ? Recently I decided to upgrade from XFree86-4 to Xorg, but I would have prefered to have a backup package of the currently installed XFree86 in case something went wrong. On gentoo, I had a big problem and had to re-compile Xorg, luckily I was able to reinstall a package of XFree86 I made just before the upgrade. I looked through the makefiles to see how ports does the package creation. It looks like it compiles pkg_create with a very long list of arguments including references to file in /var/db/pkg, but it also references files created in the work directory when it built the port, but that's already been deleted so I can't use that. Also, I would like to be able to build a package from a compiled port without installing it first, is that possible or easy? --=20 I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C =20 --y2zxS2PfCDLh6JVG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBfgCE+vN6RuSjKAwRAgVQAJ9yfUNWQZXJdqbEGh4270n5AU9N+wCbBYJW je7rHoo2vbnGRbJv6MVmn3g= =Iq/q -----END PGP SIGNATURE----- --y2zxS2PfCDLh6JVG--