summaryrefslogtreecommitdiff
path: root/mk/buildlink3/TODO
diff options
context:
space:
mode:
Diffstat (limited to 'mk/buildlink3/TODO')
-rw-r--r--mk/buildlink3/TODO43
1 files changed, 43 insertions, 0 deletions
diff --git a/mk/buildlink3/TODO b/mk/buildlink3/TODO
new file mode 100644
index 00000000000..5b289bfa5a4
--- /dev/null
+++ b/mk/buildlink3/TODO
@@ -0,0 +1,43 @@
+$NetBSD: TODO,v 1.1.2.1 2003/08/31 09:46:14 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
+ <deppkg_dir>/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".