From owner-freebsd-current Mon Jun 3 12:56:33 2002 Delivered-To: freebsd-current@freebsd.org Received: from sdns.kv.ukrtel.net (sdns.kv.ukrtel.net [195.5.27.246]) by hub.freebsd.org (Postfix) with ESMTP id 7C76A37B401; Mon, 3 Jun 2002 12:56:28 -0700 (PDT) Received: from vega.vega.com (195.5.51.243 [195.5.51.243]) by sdns.kv.ukrtel.net with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id LZXW33W5; Mon, 3 Jun 2002 22:58:25 +0300 Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.11.6/8.11.3) with ESMTP id g53JuN303636; Mon, 3 Jun 2002 22:56:23 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Message-ID: <3CFBCA0A.32542302@FreeBSD.org> Date: Mon, 03 Jun 2002 22:56:58 +0300 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en,uk,ru MIME-Version: 1.0 To: current@FreeBSD.org, re@FreeBSD.org, cvs@FreeBSD.org Subject: Updating GNU Tar in the base system Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Folks, As you might know GNU Tar in the base system is way too outdated (it wasn't updated since year 1993). This causes many problems, e.g. inability to extract POSIX.1 tar files, limitation on major/minor device numbers, unability to archive/extract files with names more than 100 chars long etc. I've merged all applicable local bugfixes, new features and hacks into the most recent version (see ports/archives/gtar/files) and ready to import it. However, before proceeding I would like to get an advice with regard to the most appropriate procedure for doing the upgrade. The problem is that old version of tar was just cvs add'ed, not imported, so that it is unclear how to to do it. Main questions: 1. Would it be feasible to use src/contrib/tar for vendor's files, instead of current src/gnu/usr.bin/tar? If yes, would the repo-copy be necessary and how to add new files on top of old ones (cvs add vs cvs import). 2. How to apply local hacks? I have a prototype, which stotes patches as diffs and applies them during build phase, but it looks really ugly. However, as I hope to integrate at least some of them into the official GNU Tar distribution, so that it would be nice to avoid taking files out of vendor branch. Any ideas/hints are appreciated. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message