Estimated read time: 1 minutes
Estimated read time: 1 minutes
Estimated read time: 1 minutes
Estimated read time: 1 minutes
Estimated read time: 1 minutes
Estimated read time: 1 minutes
smartctl -a /dev/hdc|grep Celsius|sed 's/.* \([0-9]*\)$/\1/'
Estimated read time: 1 minutes
till now the download code was in pacman's code which was meant that every frontend had to have its own downlaad code - causing a big code duplication. today i've pushed 15 patches to the pacman darcs repo which moved this functionality finally to the library :)
the patches:
- new event: PM_TRANS_EVT_RETRIEVE_LOCAL
- pm_dlfnm can be a simple char *
- pre-register databases to avoid code duplication
- pacman: use the libalpm downloader code, drop our own
- util: link to libftp, too
- _alpm_sync_commit(): download the packages, too
- alpm_db_getinfo(): strip the newlines from the end of lines
- alpm_db_getinfo(): added a PM_DB_FIRSTSERVER property
- alpm_db_update() now handles downloading, too
- libalpm: moved in _alpm_db_setlastupdate() and _alpm_db_getlastupdate()
- _alpm_fetch_pkgurl(): added the usual _alpm prefix
- _alpm_handle_set_option() more error handling for proxyhost and xfercommand
- handle_free() memleak fixes
- libalpm: new function: alpm_fetch_pkgurl()
- libalpm: moved in the download code
Estimated read time: 1 minutes
i was hired to create a vpn between 2 frugal machines, alwas i was asked to share the results. so here they came.
NOTE: i'm not a vpn genious, nor want to write yet another "the best" howto. just the brief story of the vpn setup under Frugalware
you can reach it here, feel free to improve it :)
Estimated read time: 1 minutes
#!/bin/bashfoo() { true }
if declare -f foo >/dev/null; then echo "foo() declared" else echo "foo() is not declared" fi
Estimated read time: 1 minutes
that's all from the user's point of view, internally the whole package-to-sqldb script is redesigned and the sql db itself, too.
examples: reverse deps, browse by group
the new db updater here