summaryrefslogtreecommitdiffstats
path: root/bin/repoman
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
parent28862b628c4a83b648319be51d45a60c45d316af (diff)
downloadportage-6d7fefc073c6182ff3734ee8ec0a2e528e1cc6ef.tar.gz
portage-6d7fefc073c6182ff3734ee8ec0a2e528e1cc6ef.tar.bz2
portage-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 7b0a0fe67..ba4e62415 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()