From 3f6f13078da4fd2f5726f29aa382366e0377d7d7 Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 2 Sep 2003 06:59:37 +0000 Subject: Merge pkgviews-mk branch into the HEAD by running: cd pkgsrc/mk cvs update -Pd -A cvs update -Pd -j pkgviews-mk-base -j pkgviews-mk --- mk/buildlink3/TODO | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 mk/buildlink3/TODO (limited to 'mk/buildlink3/TODO') diff --git a/mk/buildlink3/TODO b/mk/buildlink3/TODO new file mode 100644 index 00000000000..c613311c298 --- /dev/null +++ b/mk/buildlink3/TODO @@ -0,0 +1,43 @@ +$NetBSD: TODO,v 1.2 2003/09/02 06:59:53 jlam Exp $ + +Package views integration plan: +============================== + +(1) Modify pkgsrc internals (bsd.pkg.mk & friends) to build and + install depoted packages if PKG_INSTALLATION_TYPE is set to + "pkgviews" in the package Makefile, and to add the depoted + package to the default view. The depoted package will include + all of it's metadata files in the depot directory, and we rely + on pkg_view to copy the metadata files into /var/db/pkg as + part of adding the package to the default view. We only + support the default view. Depoted packages will install into + ${LOCALBASE}/packages and the default view will be through + ${LOCALBASE} for all packages. + +Using this infrastructure, depoted packages that have been added to +the default view should look and feel like a non-depoted package in +all respects, down to what you find in /var/db/pkg/${PKGNAME}, so +non-depoted packages can depend on depoted packages without change. + +(2) Migrate non-USE_X11BASE and non-USE_IMAKE packages to set + PKG_INSTALLATION_TYPE to "pkgviews". Depoted packages can only + depend on other depoted packages. A depoted package will have + /lib and ${LOCALBASE}/lib in the run-time library + search path (-Wl,-R*) so that wildcard dependencies on library + packages will still work (so long as the major number of the shlib + hasn't increased). + +At this point, all packages in pkgsrc except for those that define +USE_X11BASE or USE_IMAKE will be depoted. + +(3) Make xpkgwedge the default for pkgsrc. It would be nice to + enhance xpkgwedge in some way so that a package could be compiled + with the correct defaults for finding app-defaults files without + having the user fiddle with environment variables. + +This is a flag day change and will require bumping the PKGREVISIONs +for every single USE_X11BASE and USE_IMAKE package and all packages +that depend on them. + +(4) Migrate the USE_X11BASE and USE_IMAKE packages to set + PKG_INSTALLATION_TYPE to "pkgviews". -- cgit v1.2.3