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:
#edit /etc/eixrc

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

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