2001-May-17
Created a /var/www/disabled/index.html that says "Please contact website hosting provider."
Disabled a non-paying account (first notice in February, second notice last week with deadline yesterday); changed user name by adding "X", removed from mail domains local list, and modified httpd config to use disabled webpage (or it would default to my pilchuck page). Now to disable DNS -- so I guess my httpd fix is not needed :)
My thoughts from yesterday on "smart-update" were from a posting about how to handle the updates as indicated by "lintpkgsrc -i" (which shows version mismatches). Because when you do an update of each, you may end up doing the same packages multiple times -- this seems inefficient.
My wording yesterday is unclear; it should be that packages that depend on it shouldn't be deleted if not necessary. But this would be unclean. This task doesn't seem easy with make.
"lintpkgsrc -d" tries to show DEPENDS errors like version mismatches, but its Makefile parsing has problems so it shows many "Unknown package" messages. (The manual page says it may have problems.)
Using the patch the Feyrer sent me on May 3, I am now testing "make DEPENDS_TARGET=bin-install" under xpaint. (Version mismatch: 'xpaint' 2.5.6 vs 2.6.1.) But it fetched the source (xpaint-2.6.1.tar.gz) without trying to grab the NetBSD binary package. It did properly grab and install the required "rman" package.
Okay, so I forgot the target for the current pkg: "make bin-install DEPENDS_TARGET=bin-install". And it looked for the binary. But I already had older xpaint installed, but it kept trying (and then built from source):
Trying ftp://ftp.netbsd.org/pub/NetBSD/packages/1.5/i386/All pkg_add: other version 'xpaint-2.5.6' already installed Trying ftp://ftp.de.netbsd.org/pub/NetBSD/packages/1.5/i386/All pkg_add: other version 'xpaint-2.5.6' already installed Trying ftp://smaug.fh-regensburg.de/pub/NetBSD/packages/i386/All pkg_add: other version 'xpaint-2.5.6' already installed Installing from source
I made "BIN_INSTALL_FLAGS=-v" so I could have more verbose information. After deleting old xpaint package, it worked perfect! I also removed suse_*, netscape and realplayer and upgraded with the bin-install target. And also with lynx, but then: "Shared object "libslang.so.1" not found". I tried making a new symlink, but it didn't work. I fixed my problem by updating my libslang package. I send-pr'd this (pkg/12972), because it looks like lynx should want a newer libslang. I didn't test, because I didn't want to work on installing older libslang and lynx again.
*It would be a good idea to have an option to save the fetched binary packages to /usr/pkgsrc/packages.