Bug 699905 - Add update_nssckbi to client.py; r=bsmith r=wtc

This commit is contained in:
Kai Engert 2012-02-19 11:58:23 +00:00
parent 60272806aa
commit 3cd992d9cc

View File

@ -5,6 +5,7 @@ NSS_DIRS = (('dbm', 'mozilla/dbm'),
('security/nss', 'mozilla/security/nss'), ('security/nss', 'mozilla/security/nss'),
('security/coreconf', 'mozilla/security/coreconf'), ('security/coreconf', 'mozilla/security/coreconf'),
('security/dbm', 'mozilla/security/dbm')) ('security/dbm', 'mozilla/security/dbm'))
NSSCKBI_DIRS = (('security/nss/lib/ckfw/builtins', 'mozilla/security/nss/lib/ckfw/builtins'),)
LIBFFI_DIRS = (('js/ctypes/libffi', 'libffi'),) LIBFFI_DIRS = (('js/ctypes/libffi', 'libffi'),)
CVSROOT_MOZILLA = ':pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot' CVSROOT_MOZILLA = ':pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot'
@ -91,6 +92,13 @@ elif action in ('update_nss'):
options.cvsroot = os.environ.get('CVSROOT', CVSROOT_MOZILLA) options.cvsroot = os.environ.get('CVSROOT', CVSROOT_MOZILLA)
do_cvs_export(NSS_DIRS, tag, options.cvsroot, options.cvs) do_cvs_export(NSS_DIRS, tag, options.cvsroot, options.cvs)
print >>file("security/nss/TAG-INFO", "w"), tag print >>file("security/nss/TAG-INFO", "w"), tag
print >>file("security/nss/TAG-INFO-CKBI", "w"), tag
elif action in ('update_nssckbi'):
tag, = args[1:]
if not options.cvsroot:
options.cvsroot = os.environ.get('CVSROOT', CVSROOT_MOZILLA)
do_cvs_export(NSSCKBI_DIRS, tag, options.cvsroot, options.cvs)
print >>file("security/nss/TAG-INFO-CKBI", "w"), tag
elif action in ('update_libffi'): elif action in ('update_libffi'):
tag, = args[1:] tag, = args[1:]
if not options.cvsroot: if not options.cvsroot: