diff options
Diffstat (limited to 'core/modules/redsocks')
-rw-r--r-- | core/modules/redsocks/module.build | 12 | ||||
-rw-r--r-- | core/modules/redsocks/module.conf | 3 |
2 files changed, 3 insertions, 12 deletions
diff --git a/core/modules/redsocks/module.build b/core/modules/redsocks/module.build index b1298c9d..a905d736 100644 --- a/core/modules/redsocks/module.build +++ b/core/modules/redsocks/module.build @@ -1,16 +1,8 @@ #!/bin/bash -#tool/distro specific functions for fetching, building and installing dependencies - fetch_source () { - mkdir -p src - cde src - if [ ! -d "redsocks" ]; then - git clone "$REQUIRED_GIT" "redsocks" || perror "Could not clone redoscks from github" - fi - cde redsocks - git checkout "$REQUIRED_REVISION" || perror "Could not checkout revision $REQUIRED_REVISION" -} + autoclone +} build () { cde "$MODULE_WORK_DIR/src/redsocks" diff --git a/core/modules/redsocks/module.conf b/core/modules/redsocks/module.conf index a9093160..56ac3a41 100644 --- a/core/modules/redsocks/module.conf +++ b/core/modules/redsocks/module.conf @@ -1,6 +1,5 @@ #!/bin/bash -REQUIRED_GIT="git://github.com/darkk/redsocks.git" -REQUIRED_REVISION="2e3f648809e27cc19cb7a8702f19b553a7ef9a81" +REQUIRED_GIT="git://github.com/darkk/redsocks.git||2e3f648809e27cc19cb7a8702f19b553a7ef9a81" REQUIRED_BINARIES=" redsocks " |