From owner-freebsd-ports@FreeBSD.ORG Fri Oct 10 20:13:36 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DD7F1065689 for ; Fri, 10 Oct 2008 20:13:36 +0000 (UTC) (envelope-from freebsd-ports@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 51F0A8FC0A for ; Fri, 10 Oct 2008 20:13:36 +0000 (UTC) (envelope-from freebsd-ports@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KoOMf-0007Bs-Mr for freebsd-ports@freebsd.org; Fri, 10 Oct 2008 20:13:33 +0000 Received: from 91-64-168-90-dynip.superkabel.de ([91.64.168.90]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Oct 2008 20:13:33 +0000 Received: from ino-news by 91-64-168-90-dynip.superkabel.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Oct 2008 20:13:33 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-ports@freebsd.org From: clemens fischer Date: Fri, 10 Oct 2008 22:13:13 +0200 Lines: 15 Message-ID: X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 91-64-168-90-dynip.superkabel.de X-Archive: encrypt=none User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/8.0-CURRENT (i386)) Sender: news Subject: pkg_create: replace files in package? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 20:13:36 -0000 hi, I am packaging up a few ports for a nanobsd based USB stick. Some of the programs are "quite right", but I need to replace or add files. For example, the elinks text browser port version is often lagging, so I build it manually from newer sources and use the resulting binaries instead of the packages'. Since the MD5 checksum of my modified binary doesn't match, nanobsds pkg_add command might fail. What I want to do is find a simple way of using some form of pkg_create invocation as easy as "pkg_create -R -b ...", but at the same time replacing or even adding some files. How can this be done? -c