summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-10-22 07:26:48 +0000
committerZac Medico <zmedico@gentoo.org>2006-10-22 07:26:48 +0000
commit6d7fefc073c6182ff3734ee8ec0a2e528e1cc6ef (patch)
tree71984485c17479390f49e6bbdbeeef9542f27347 /bin/repoman
parentDo put empty incrementals in the environment if they are already set. (diff)
downloadportage-multirepo-6d7fefc073c6182ff3734ee8ec0a2e528e1cc6ef.tar.gz
portage-multirepo-6d7fefc073c6182ff3734ee8ec0a2e528e1cc6ef.tar.bz2
portage-multirepo-6d7fefc073c6182ff3734ee8ec0a2e528e1cc6ef.zip
Add support for masking of packages via ACCEPT_LICENSE and /etc/portage/package.license. Thanks to Jason Stubbs for the initial patch from bug #17367.
svn path=/main/trunk/; revision=4792
Diffstat (limited to 'bin/repoman')
-rwxr-xr-xbin/repoman1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/repoman b/bin/repoman
index 7b0a0fe6..ba4e6241 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -474,6 +474,7 @@ if quiet < 2:
print "PORTDIR_OVERLAY = \""+os.environ["PORTDIR_OVERLAY"]+"\""
# Now that PORTDIR_OVERLAY is properly overridden, create the portdb.
+os.environ["ACCEPT_LICENSE"] = "*"
repoman_settings = portage.config(local_config=False,
config_incrementals=portage_const.INCREMENTALS)
trees = portage.create_trees()