Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Aug 2002 12:58:41 +0900
From:      "Akinori MUSHA" <knu@iDaemons.org>
To:        David O'Brien <obrien@FreeBSD.org>, Akinori MUSHA <knu@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/pkg_install/create perform.c pkg_create.1
Message-ID:  <863ctaji4u.wl@daemon.musha.org>
In-Reply-To: <20020820031418.GA24096@dragon.nuxi.com>
References:  <200208042120.g74LK9PK024068@freefall.freebsd.org> <20020820031418.GA24096@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At Mon, 19 Aug 2002 20:14:18 -0700,
o`brien wrote:
> On Sun, Aug 04, 2002 at 02:20:09PM -0700, Akinori MUSHA wrote:
> > knu         2002/08/04 14:20:09 PDT
> > 
> >   Modified files:
> >     usr.sbin/pkg_install/create perform.c pkg_create.1 
> >   Log:
> >   Drop support for the .tbz2 suffix.  One would not want pkg_create(1)
> >   to create "pkgname.tbz" when one specifies "pkgname.tbz2".
> 
> I totally do not understand the reason for this change.  Can you please

As given in the commit messsage.  pkg_create insists on using the .tbz
suffix even if user specifies .tbz2 as the suffix and pkg_create
pretends to obey that:

$ pkg_create -c /var/db/pkg/lv-4.49.4/+COMMENT \
    -d /var/db/pkg/lv-4.49.4/+DESC -v -f /tmp/+CONTENTS.95356 \
    -p /usr/local -P /data/tmp/lv-4.49.4.tbz2
                                        ^^^^^
Creating package /data/tmp/lv-4.49.4.tbz2
                                    ^^^^^
Registering depends:.
Creating bzip'd tar ball in '/data/tmp/lv-4.49.4.tbz'
                                                ^^^^

This looked like something against what we commonly expect and I
thought I should fix it.  Feel free to re-fix it another way.

> explain?  Also as the author of that code, I would have preferred that
> you run this commit by me.

OK, I'll do next time.

-- 
                     /
                    /__  __            Akinori.org / MUSHA.org
                   / )  )  ) )  /     FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ /  ( (__(  @ iDaemons.org / and.or.jp

"When I leave I don't know what I'm hoping to find
              When I leave I don't know what I'm leaving behind.."

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?863ctaji4u.wl>