Commit Graph

2 Commits

Author SHA1 Message Date
jwise 6851e437d5 Separate various parts of sushi(8) from the *-sysutil-* packages into new
*-sushi-* packages.

Suggested by Allen Barret in PR misc/16900:

>$ grep base-sysutil distrib/sets/lists/base/mi | grep sushi | wc -l
>     288
>$ grep base-sysutil distrib/sets/lists/base/mi | grep -v sushi | wc -l
>     136
>
>In a future where syspkgs are useful, it seems likely that some
>people will want to avoid installing sushi, while others will want to
>be able to upgrade sushi without upgrading the entire system.  Several
>small subsystems, including cron and lpr, have their own syspkg sets,
>and it seems reasonable to do the same for the sushi subsystem.
2002-05-20 19:36:00 +00:00
jwise 1ca5c1b281 Import NetBSD System Package (syspkg) sypport for the base, comp, etc, games,
man, misc, and text sets (i.e. all non-X11 sets).

This support currently allows two make(1) targets to be executed from
src/distrib/syspkg/sets:

  a.) `make register' will register the existing system as packages.
      This willl allow the version of software on the current system
      to be queried with

	PKG_DBDIR=/var/db/syspkg pkg_info

      and individual packages to be deleted with

	PKG_DBDIR=/var/db/syspkg pkg_delete <pkgname>

  b.) `make package' will create binary packages from the existing
      system (or from the contents of ${DESTDIR}, if ${DESTDIR} is
      set).  These packages can be taken to another system, and
      installed with

	PKG_DBDIR=/var/db/syspkg pkg_add <pkgname>

      to update or install specific packages.

The need to explicitly specify the syspkg PKG_DBDIR will be replaced with a
flag for the various pkg tools in the next few days.
2002-01-21 15:45:36 +00:00