[crux-devel] [RFC] pkgmk and wget configuration
jue at jue.li
Fri Oct 31 10:27:14 UTC 2008
currently all options for wget are hardcoded in pkgmk, which is very
inflexible and doesn't allow user-specific settings. See  .
Unfortunately wget has not command-line option to read in an
alternative configuration file, other than the default /etc/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_ARGS=$(sed '/^#/d' $WGET_CONF)
# wget configuration for pkgmk
# End of file
Sounds this interesting?
PS: curl has a nice -K/--config option ;-)
Juergen Daubert | mailto:jue at jue.li
Korb, Germany | http://jue.li/crux
More information about the crux-devel