From owner-freebsd-questions@FreeBSD.ORG Wed Sep 3 12:36:38 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C26231065682 for ; Wed, 3 Sep 2008 12:36:38 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 756888FC1A for ; Wed, 3 Sep 2008 12:36:38 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KarbA-0000bd-VS for freebsd-questions@freebsd.org; Wed, 03 Sep 2008 12:36:36 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Sep 2008 12:36:36 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Sep 2008 12:36:36 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Wed, 03 Sep 2008 14:36:33 +0200 Lines: 45 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigEA40B513B3F760FD5A5F50CF" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.16 (X11/20080724) In-Reply-To: X-Enigmail-Version: 0.95.0 Sender: news Subject: Re: pkg_create X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2008 12:36:38 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigEA40B513B3F760FD5A5F50CF Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Matias Surdi wrote: > I've a directory tree structure in /usr/local from wich I'd like to > create a package. >=20 > How are pkg_create arguments supposed to be? >=20 > Where can I find an example? >=20 > I've read the manpage, but an example would be really usefull. >=20 > Thanks for your help again. Though it's theoretically possible, don't use pkg_create on a bunch of files you scattered on the file system to create a package. a) it's hard to do right by hand and b) you'll probably create an incorrect package. What you can do (and this is much easier) is write a port for your application(s), see http://www.freebsd.org/doc/en/books/porters-handbook/ and then create a binary package from that port using "make package". (You do not need to submit the port or your source to anyone but you must have it on your computer to create the package). --------------enigEA40B513B3F760FD5A5F50CF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIvoTRldnAQVacBcgRAlyNAKD3QKPrxu1naA1ChvHMX1K48eErkACgrCwd IxbAZD+fSFmlELU0GmDBgXw= =jhDn -----END PGP SIGNATURE----- --------------enigEA40B513B3F760FD5A5F50CF--