zsh-users
 help / color / mirror / code / Atom feed
From: Phil Pennock <Phil.Pennock@globnix.org>
To: zsh-users@sunsite.dk
Subject: Re: Proposed changes to _bsd_pkg -- request for comments
Date: Fri, 3 Jan 2003 11:19:50 +0100	[thread overview]
Message-ID: <20030103111950.A31382@globnix.org> (raw)
In-Reply-To: <20030103083927.GB17651@gulag.guild.uwa.edu.au>; from j-devenish@users.sourceforge.net on Fri, Jan 03, 2003 at 04:39:27PM +0800

On 2003-01-03 at 16:39 +0800, James Devenish wrote:
>                          I am working with OpenBSD but would really
> appreciate some feedback from someone using _bsd_pkg under FreeBSD.

I can't help with that part, since I've not yet migrated away from
compctl bindings ...

It's also worth noting that all the *BSDs have online man-pages.

> I like the "new" behaviour. Basically, the selection list is much more
> readable and can understand packages subdirectories (to help jog one's
> memory). So far, the latter is in a 'case' construct for OpenBSD since
> I don't know how other BSDs lay out their /usr/ports/packages/*.

OpenBSD:
 /usr/ports/packages/`uname -m`/category/package
where "category" is "All" or one of the categories from /usr/ports, in
which case the contents are symlinks to the All case.

I can't remember how the multi-package situation was resolved, so you
might want to look more closely at the layout for something like the
teTeX packages.  Sorry, the only OpenBSD box which I can currently reach
is 2.9 and predates a lot of the rearrangements.

Under FreeBSD, packages are strictly optional and are built from the
installed files (as opposed to the OpenBSD fake-root install, then
package creation, then real install from packages).  _If_
/usr/ports/packages has been created, then packages will be created
under there; if not, then they'll be created inside the ports directory
and you'll have things like /usr/ports/shells/zsh/zsh-4.0.6.tgz.

Also, FreeBSD is moving steadily towards bzip2 instead of gzip, so
you'll see packages with .tbz2 extensions (or, for a short while, there
were .tbz extensions, still for bzip2).  Which will be created, .tbz2 or
.tgz, depends simply upon how old your ports infrastructure makefiles
are.  My workstation has both, simply because I keep my ports tree
updated, including /usr/ports/Mk/.

FreeBSD skips the `uname -m` directory level, but is otherwise the same.
If memory serves, FreeBSD doesn't have multi-packages, so that issue
doesn't arise.  Nor does FreeBSD have flavored packages; the package
built will have one name, no matter which $USE_* variables were passed
to the make system.

> # OpenBSD compatability for pkg_delete, pkg_info, pkg_create options.

OpenBSD's pkg_info rocks, simply because it doesn't need the version
number of a package if there's one version installed.
"pkg_info -L zsh" is so convenient.


-Phil (the person to blame if you dislike OpenBSD's not including zftp
       unless you explicitly pick that flavo(u)r of zsh.)
-- 
"We've got a patent on the conquering of a country through the use of force.
 We believe in world peace through extortionate license fees." -- Andy Forster


  parent reply	other threads:[~2003-01-03 10:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-02 14:04 Refactoring _bsd_pkg James Devenish
2003-01-02 14:41 ` Oliver Kiddle
2003-01-02 15:37   ` James Devenish
2003-01-03  8:39 ` Proposed changes to _bsd_pkg -- request for comments James Devenish
2003-01-03  9:14   ` Roman Neuhauser
2003-01-03 10:19   ` Phil Pennock [this message]
2003-01-03 10:30     ` James Devenish

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030103111950.A31382@globnix.org \
    --to=phil.pennock@globnix.org \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).