summaryrefslogtreecommitdiffstats
path: root/cnf/make.globals
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-03-08 07:43:00 +0000
committerZac Medico <zmedico@gentoo.org>2010-03-08 07:43:00 +0000
commitc3ba2ecd4edc2627969a120ebf92a25a85f87995 (patch)
tree61c83a488d7597d145ea4aba3fc8c008dd8ac8f2 /cnf/make.globals
parent0f666446f855aae626307dcdf34a3a3b2bda6c98 (diff)
downloadportage-c3ba2ecd4edc2627969a120ebf92a25a85f87995.tar.gz
portage-c3ba2ecd4edc2627969a120ebf92a25a85f87995.tar.bz2
portage-c3ba2ecd4edc2627969a120ebf92a25a85f87995.zip
Produce a warning message if the timestamp of the portage tree is more than
30 days old, and make it adjustable via the PORTAGE_SYNC_STALE variable. Thanks to Ned Ludd <solar@g.o> for the most of this code. svn path=/main/trunk/; revision=15756
Diffstat (limited to 'cnf/make.globals')
-rw-r--r--cnf/make.globals4
1 files changed, 4 insertions, 0 deletions
diff --git a/cnf/make.globals b/cnf/make.globals
index 76b48fbf9..b1b2cf49c 100644
--- a/cnf/make.globals
+++ b/cnf/make.globals
@@ -83,6 +83,10 @@ PORTAGE_RSYNC_RETRIES="3"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
+# The number of days after the last `emerge --sync` that a warning
+# message should be produced.
+PORTAGE_SYNC_STALE="30"
+
# Minimal CONFIG_PROTECT
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d"