Tag Archives: portage

gentoo: portage sqlite cache

Pass from the storage port directory cache as a file to the database sqlite:

#emerge -q pysqlite
#edit /etc/portage/modules
portdbapi.auxdbmodule = cache.sqlite.database
#vim make.conf
FEATURES="${FEATURES} metadata-transfer"
#rm -rf /var/cache/edb/dep
#emerge --metadata
if you see problem with pysqlite2, run:
#/usr/sbin/python-updater
#edit /etc/eixrc
PORTDIR_CACHE_METHOD='sqlite'
OVERLAY_CACHE_METHOD='sqlite'
#eix-update

FreeBSD: update portage tree

Create config for update portage tree via csup

[root@shell]# cat >> /etc/csup/ports-all < < END
*default host=cvsup5.ru.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
*default compress ports-all
END

run update:

[root@shell]# csup /etc/csup/ports-all

add this command to /etc/crontab for daily update

next, update system and kernel sources:

Continue reading FreeBSD: update portage tree