Date: Thu, 19 Aug 2010 17:24:10 -0400 From: jhell <jhell@DataIX.net> To: Ivan Voras <ivoras@freebsd.org> Cc: bapt@freebsd.org, Florent Thoumie <flz@freebsd.org>, Julien Laffaye <jlaffaye@freebsd.org>, David Forsythe <dforsyth@freebsd.org>, Garrett Cooper <gcooper@freebsd.org>, Tim Kientzle <kientzle@freebsd.org>, freebsd-ports@freebsd.org Subject: Re: what next for the pkg_install rewrite Message-ID: <4C6DA0FA.7080203@DataIX.net> In-Reply-To: <AANLkTimhh2vOtXUb-frzWcZmANWyEC7oPtTgepzvOtSB@mail.gmail.com> References: <20100819143830.GJ35140@azathoth.lan> <AANLkTimY=FJas-oXkWwO07QtaD%2BGrLockgJ_SZQJ7UHM@mail.gmail.com> <AANLkTimhh2vOtXUb-frzWcZmANWyEC7oPtTgepzvOtSB@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------040104070006050800060606 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 08/19/2010 12:50, Ivan Voras wrote: > - Fully specify and separate package name from its version - metadata > should not record "apache-2.2.13" but "apache", "2.2.13" to better > support upgrading and dependancies. > - Debian-like dependancies - the "suggests" variety, as well as > "ranged-dependancies" - package X depends on Y versions W through Z. > - A wrapper for all pkg_ tools to use, implemented with libarchive. > This wrapper would allow preparation of the whole archive layout > in-memory, together with simulating common file system operations > like chmod, chown, rmdir, mkdir, rename, unlink, etc. and would as a > last step offer to serialize this virtual file system to an archive. > - Policy to forbid the lazy-maintainer dances with package names, such > as package names depending on config flags used, etc. - this probably > needs more thinking through. Essentially, I want to avoid things like > what happened to the apr port - names like > "apr-ipv6-devrandom-gdbm-db42-1.4.2.9.3.1_1" Adding to this I would like to see a central database created for packages that have been removed like in Slackware Linux. They keep a file in /var/log/preserved_packages with a flat text format with the file name looking like: ${PORTNAME}-${PORTVERSION}${PORTREVISION}-`date +%Y%m%d%H%M%S` With the contents being that of all the actions that were performed upon package removal & and any output from errors etc. Id like to see that same approach achieved within /var/db/preserved or something similiar for a suggestion. I have attached a copy of removepkg from Slackware 13.1 that appears to be a 1 clause BSD license ;) for reference. As well I would also like to see something done about packages that don't need to be upgraded because they are neither platform or arch dependent but yet they are upgraded due to being listed as a dependent of another port that needs to be upgraded. For example any package that may be type shell script does not need updating due to a major lib version bump of for say libpng. Regards, -- jhell,v --------------040104070006050800060606 Content-Type: text/plain; name="removepkg.asc" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="removepkg.asc" LS0tLS1CRUdJTiBQR1AgU0lHTkVEIE1FU1NBR0UtLS0tLQpIYXNoOiBTSEExCgojIS9iaW4v c2gKIyBTbGFja3dhcmUgcmVtb3ZlIHBhY2thZ2Ugc2NyaXB0CiMKIyBTYXQgQXByIDI1IDIx OjE4OjUzIFVUQyAyMDA5ICgxMi4zNDU2Nzg5MGIpCiMgQ29udmVydGVkIHRvIHVzZSBuZXcg cGtnYmFzZSgpIGZ1bmN0aW9uIHRvIHJlbW92ZSBwYXRobmFtZSBhbmQKIyB2YWxpZCBwYWNr YWdlIGV4dGVuc2lvbnMuCiMKIyBSZXZpc2lvbiAxMi4zNDU2Nzg5MCBTdW4gQXByICA1IDIw OjU5OjMyIENEVCAyMDA5IDx2b2xrZXJkaT4KIyAtIFN1cHBvcnQgcGFja2FnZXMgd2l0aCB0 aGUgZXh0ZW5zaW9uczogLnRneiwgLnRieiwgLnRseiwgLnR4egojCiMgUmV2aXNpb24gMS45 IFdlZCBPY3QgMzEgMTQ6MDQ6MjggQ0RUIDIwMDcgdm9sa2VyZGluZwojIC0gRml4IHByb2Js ZW0gcmVtb3ZpbmcgcGFja2FnZXMgd2l0aCBhIGxhcmdlIG51bWJlciBvZiBmaWVsZHMuCiMg ICBUaGFua3MgdG8gTmlraSBLb3ZhY3MgZm9yIG5vdGljaW5nIHRoaXMsIGFuZCB0byBQaXRl ciBQdW5rCiMgICBmb3IgdGhlIHBhdGNoLgojIC0gVXNlIExDX0FMTD1DIG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UlWSGovUWhTcUJVY0hrQXpI MlJLZFBvbHc1KzZML2tSVDV6N0p5allnMU9GcHZHK2xhREVobjRySGxhdwpyeTNCQ3RmV0dk WHpBWGZUR2VSNkxFMk9rb1c2V09Mb1NUZCt2WXIyN0FNN3UydldSRGlpcFJoNk9BdmlWNWE2 CmNIT3ZqTDJqdE45MWhwN3hObXo3Tk0rV2ZKYkowTGJveFVIQkxSOFJUZU9EdnZtd1psMTVF ODRlZVpETWNZMlcKUFdCazB0L29CdTVmcWQ4OElFYlpwV3pIWEpzUzZXbnFZcnhQYjN2Tkp5 OFIzN3FXZVlDRkpFMjF2YXVNM2dBPQo9dFcxawotLS0tLUVORCBQR1AgU0lHTkFUVVJFLS0t LS0K --------------040104070006050800060606--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C6DA0FA.7080203>