summaryrefslogtreecommitdiff
path: root/mk/buildlink3/TODO
diff options
context:
space:
mode:
authorjlam <jlam>2003-09-02 06:59:37 +0000
committerjlam <jlam>2003-09-02 06:59:37 +0000
commit3f6f13078da4fd2f5726f29aa382366e0377d7d7 (patch)
tree84e91cd88c93c01f847527b25d244510cb5b95db /mk/buildlink3/TODO
parent7b81b9455c31100f783db34020637c6de96c461a (diff)
downloadpkgsrc-3f6f13078da4fd2f5726f29aa382366e0377d7d7.tar.gz
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
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..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
+ <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".