Date: Tue, 28 Nov 2000 11:29:29 -0700 From: "Jason R. Mastaler" <jason@mastaler.com> To: freebsd-ports@FreeBSD.ORG Subject: NetBSD package system features Message-ID: <00112811292900.19785@nightshade>
next in thread | raw e-mail | index | archive | help
I've been looking at the NetBSD package system lately to see how it compares to FreeBSD's. It seems to have quite a few additional features. For one thing, it has more "make" targets. Has anyone looked into incorporating these? Here are some noteworthy examples. For more info, see <ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/Packages.txt> * update: This target causes the current package to be updated to the latest version. The package and all depending packages first get deinstalled, then current versions of the corresponding packages get compiled and installed. This is similar to manually noting which packages are currently installed, then performing a series of "make deinstall" and and "make install" (or whatever DEPENDS_TARGET is set to) for these packages. * show-downlevel: This target shows nothing if the package is not installed. If a version of this package is installed, but is not the version provided in this version of pkgsrc, then a warning message is displayed. This target can be used to show which of your installed packages are downlevel, and so the old versions can be deleted, and the current ones added. * show-pkgsrc-dir: This target shows the directory in the pkgsrc hierarchy from which the package can be built and installed. This may not be the same directory as the one from which the package was installed. This target is intended to be used by people who may wish to upgrade many packages on a single host, and can be invoked from the top-level pkgsrc Makefile by using the target "show-host-specific-pkgs" * bulk-package: Used to do bulk builds. If an appropriate binary package already exists, no action is taken. If not, this target will compile, install and package it (and it's depends, if PKG_DEPENDS is set properly, see section 3.2.1). After creating the binary package, the sources, the just-installed package and it's required packages are removed, preserving free disk space. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00112811292900.19785>