Date: Wed, 20 Nov 2002 20:07:01 -0500 From: The Anarcat <anarcat@anarcat.ath.cx> To: libh@freebsd.org Subject: install(1) proposal Message-ID: <20021121010701.GA2166@lenny.anarcat.ath.cx>
next in thread | raw e-mail | index | archive | help
In examining how pkg_create(1) works, I noticed that there is a -O flag that only does the registration of the package in the database, without actually creating a package. This annoying feature would best belong to pkg_install, in my opinion, but that just me. The point is, wherever it is, it needs to be implemented. Now, I think that since libh packages are really advanced, we could make it a lot nicer. My idea is to make pkg_create -O simply register the package name, version and most metadata *except* the plist. I think the plist should be updated via a modified install(1) command. The way I picture it, install could have an optional flag (-k?) that would register an installed file in the package system. No more messy plists. Just force your ports to use a custom install command and you're done. The install command would compute all the necessary information about the installed file. Is this completely insane? Of course, compatibility bits could be retained, for those poor/masochist maintainers that still want to generate plists by hand. A. -- Imagination is more important than knowledge - Albert Einstein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021121010701.GA2166>