Hi all,
apologize for bringing up this so late, I simply forgot it,
but Johannes' blackbox email reminds me ;-)
* I'd suggest to replace core/slocate by mlocate for CRUX 2.5
why:
slocate is maintained by debian, but there's no activity for a
long time, so I'd call it unmaintained.
mlocate:
is a drop-in replacement for slocate maintained by RH, but
much faster in the second run because it merge-in new files
instead of rebuilding all from scratch. [1] [2]
Unfortunately the switch is not fully painless, because mlocate
needs a new system-group 'mlocate' and cannot co-exist with
slocate because of conflicting file names.
To test mlocate I've added a ports to my private repo [3].
Greetings
Juergen
PS:
if you are using the current version of pkgmk you have to download
the source-file by hand, because of a failed certificate check,
pkgmk in git already has a fix for that [4]. A new pkgutils release
for 2.5 would be nice.
[1] http://carolina.mff.cuni.cz/~trmac/blog/mlocate/
[2] http://www.redhat.com/archives/rhl-devel-list/2006-February/msg01047.html
[3] httpup sync http://jue.li/crux/ports/#mlocate mlocate
[4] http://crux.nu/bugs/index.php?do=details&task_id=241
--
Juergen Daubert | mailto:jue@jue.li
Korb, Germany | http://jue.li/crux
Hi all,
currently all options for wget are hardcoded in pkgmk, which is very
inflexible and doesn't allow user-specific settings. See [1] [2].
Unfortunately wget has not command-line option to read in an
alternative configuration file, other than the default /etc/wgetrc
and ~/.wgetrc.
I'd propose a solution similar to that I've done for the pure-ftpd,
which includes a custom configuration file via some bash tasks.
It might look like that in pkgmk:
WGET_CONF=/etc/pkgmk_wget.conf
WGET_ARGS=$(sed '/^#/d' $WGET_CONF)
WGET="/usr/bin/wget $WGET_ARGS"
and pkgmk_wget.conf:
# wget configuration for pkgmk
--no-check-certificate
--no-cache
# End of file
Sounds this interesting?
best regards
Juergen
PS: curl has a nice -K/--config option ;-)
[1] http://crux.nu/bugs/index.php?do=details&task_id=241
[2] http://crux.nu/bugs/index.php?do=details&task_id=347
--
Juergen Daubert | mailto:jue@jue.li
Korb, Germany | http://jue.li/crux