From owner-freebsd-bugs Tue Apr 29 10:20:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA26968 for bugs-outgoing; Tue, 29 Apr 1997 10:20:05 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA26934; Tue, 29 Apr 1997 10:20:03 -0700 (PDT) Resent-Date: Tue, 29 Apr 1997 10:20:03 -0700 (PDT) Resent-Message-Id: <199704291720.KAA26934@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.ORG, pst@jnx.com Received: from red.jnx.com (red.jnx.com [208.197.169.254]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA26604; Tue, 29 Apr 1997 10:13:59 -0700 (PDT) Received: from base.jnx.com (base.jnx.com [208.197.169.238]) by red.jnx.com (8.8.5/8.8.5) with ESMTP id KAA08558; Tue, 29 Apr 1997 10:13:28 -0700 (PDT) Received: (from pst@localhost) by base.jnx.com (8.8.5/8.7.3) id KAA17508; Tue, 29 Apr 1997 10:13:28 -0700 (PDT) Message-Id: <199704291713.KAA17508@base.jnx.com> Date: Tue, 29 Apr 1997 10:13:28 -0700 (PDT) From: Paul Traina Reply-To: pst@jnx.com To: FreeBSD-gnats-submit@freebsd.org Cc: jkh@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/3418: pkg_create doesn't always create gzip'ed tarball Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 3418 >Category: bin >Synopsis: pkg_create doesn't always create gzip'ed tarball >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Apr 29 10:20:01 PDT 1997 >Last-Modified: >Originator: Paul Traina >Organization: Juniper Networks >Release: FreeBSD 2.2-STABLE i386 >Environment: 2.2 stable post 2.2.1 >Description: If I create a package with the name foo-beta-1.0 using the pkg_add command: pkg_create -v -f pkg/PLIST -c pkg/COMMENT -d pkg/DESC \ foo-beta_1.0 I end up with a file called "foo-beta_1.0" that is in .tar format, even though I get the message "creating gzip'ed tarball in ...". If I do the same command, with a different name: pkg_create -v -f pkg/PLIST -c pkg/COMMENT -d pkg/DESC \ foo-beta_1_0 a file called foo-beta_1_0.tgz is created which /is/ a gzipped tarball. My half-assed guess w/o looking at the source code is that someone's trying to do some suffix stripping. >How-To-Repeat: >Fix: I don't care if the final product says .tgz or not, but it should be consistent on gzipping the tarball, and this behavior needs to be documented. Ideally, it should always create a .tgz file, so there's no need to change the documentation. :-) >Audit-Trail: >Unformatted: