-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
unify anon.conf, revert source_conf method
- Loading branch information
Showing
16 changed files
with
80 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/usr/bin/dh-exec | ||
|
||
etc/onionjuggler/conf.d/* | ||
etc/onionjuggler/conf.d/ | ||
etc/onionjuggler/debian.conf => etc/onionjuggler/onionjuggler.conf | ||
etc/onionjuggler/dialogrc | ||
usr/share/onionjuggler/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
onionjuggler-lib: initial-upload-closes-no-bugs | ||
onionjuggler-lib: script-not-executable etc/onionjuggler/onionjuggler.conf |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
#!/usr/bin/env sh | ||
## Configuration file for OnionJuggler | ||
## | ||
## DO NOT EDIT THIS FILE!! | ||
## | ||
## This file defines the default service selection as shipped in a | ||
## release. Upgrades of OnionJuggler will modify this file. | ||
## | ||
## To select the service options you desire, please override these | ||
## options in the file /etc/onionjuggler/conf.d/*.conf | ||
## | ||
## DO NOT EDIT THIS FILE!! | ||
## | ||
## Lines that begin with "## " try to explain what's going on. Lines | ||
## that begin with just "#" are disabled commands: you can enable them | ||
## by removing the "#" symbol. | ||
## | ||
## If the variable is empty (var=""), will use the default option. | ||
## Double quote to prevent globbing and word splitting. | ||
## variable="value" | ||
## | ||
# shellcheck disable=SC2034 | ||
|
||
if test -f /usr/share/anon-gw-base-files/gateway; then | ||
## Gateway | ||
########## System ########## | ||
operating_system="anon-gateway" | ||
## web: should be on the workstation | ||
onionjuggler_plugin="auth-server,auth-client" | ||
pkg_mngr_install="apt install -y" | ||
openssl_cmd="openssl" | ||
dialog_box="whiptail" | ||
## this variable not used on the debian package | ||
requirements="tor grep sed openssl basez qrencode ${dialog_box}" | ||
|
||
########## tor daemon ########## | ||
daemon_control="systemctl" | ||
tor_daemon="tor@default" | ||
tor_user="debian-tor" | ||
tor_conf_user_group="root:root" | ||
## included tor configuration folder, specifically files matching '*.conf' | ||
tor_conf_dir="/usr/local/etc/torrc.d" | ||
## manage its own unique torrc to avoid user manual modification | ||
tor_conf="${tor_conf_dir}/40_onionjuggler.conf" | ||
tor_data_dir="/var/lib/tor" | ||
## pre-confiured ClientOnionAuthDir | ||
tor_data_dir_auth="${tor_data_dir}/authdir" | ||
|
||
elif test -f /usr/share/anon-ws-base-files/workstation; then | ||
## Workstation | ||
########## System ########## | ||
operating_system="anon-workstation" | ||
## web is the only usable plugin for Workstations | ||
onionjuggler_plugin="web" | ||
pkg_mngr_install="apt install -y" | ||
webserver="nginx" | ||
dialog_box="whiptail" | ||
requirements="grep sed qrencode ${dialog_box} ${webserver}" | ||
|
||
elif ! test -f /usr/share/anon-dist/marker; then | ||
error_msg "anon.conf chosen but this is not an anon dist" | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/usr/bin/env sh | ||
## Configuration file for OnionJuggler | ||
## | ||
## DO NOT EDIT THIS FILE!! | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/usr/bin/env sh | ||
## Configuration file for OnionJuggler | ||
## | ||
## DO NOT EDIT THIS FILE!! | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/usr/bin/env sh | ||
## Configuration file for OnionJuggler | ||
## | ||
## DO NOT EDIT THIS FILE!! | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/usr/bin/env sh | ||
## Configuration file for OnionJuggler | ||
## | ||
## DO NOT EDIT THIS FILE!! | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/usr/bin/env sh | ||
## Configuration file for OnionJuggler | ||
## | ||
## DO NOT EDIT THIS FILE!! | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/usr/bin/env sh | ||
## Configuration file for OnionJuggler | ||
## | ||
## DO NOT EDIT THIS FILE!! | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/usr/bin/env sh | ||
## Configuration file for OnionJuggler | ||
## | ||
## DO NOT EDIT THIS FILE!! | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/usr/bin/env sh | ||
## Configuration file for OnionJuggler on VoidLinux systems | ||
## | ||
## DO NOT EDIT THIS FILE!! | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters