mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 23:42:37 +03:00
iptables srclib
This commit is contained in:
parent
7a26a5dbf9
commit
2ec7334048
1 changed files with 7 additions and 0 deletions
|
@ -1586,6 +1586,13 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False):
|
||||||
vcs.gotorevision(ref)
|
vcs.gotorevision(ref)
|
||||||
return sdir
|
return sdir
|
||||||
|
|
||||||
|
if name == 'iptables':
|
||||||
|
sdir = os.path.join(extlib_dir, 'iptables')
|
||||||
|
vcs = getvcs('git',
|
||||||
|
'https://android.googlesource.com/platform/external/iptables', sdir, sdk_path)
|
||||||
|
vcs.gotorevision(ref)
|
||||||
|
return sdir
|
||||||
|
|
||||||
raise BuildException('Unknown srclib ' + name)
|
raise BuildException('Unknown srclib ' + name)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue