| 
				
			 | 
			
			
				@@ -283,6 +283,7 @@ XMPP_DIRECTORY="/var/lib/prosody" 
			 | 
		
	
		
			
			| 
				283
			 | 
			
				283
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				284
			 | 
			
				284
			 | 
			
			
				 # port used for xmpp as an onion service 
			 | 
		
	
		
			
			| 
				285
			 | 
			
				285
			 | 
			
			
				 XMPP_ONION_PORT=8091 
			 | 
		
	
		
			
			| 
				
			 | 
			
				286
			 | 
			
			
				+XMPP_ONION_PORT2=8092 
			 | 
		
	
		
			
			| 
				286
			 | 
			
				287
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				287
			 | 
			
				288
			 | 
			
			
				 # file containing a list of remote locations to backup to 
			 | 
		
	
		
			
			| 
				288
			 | 
			
				289
			 | 
			
			
				 # Format: [username@friendsdomain//home/username] [ssh_password] 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -6728,7 +6729,7 @@ function install_xmpp { 
			 | 
		
	
		
			
			| 
				6728
			 | 
			
				6729
			 | 
			
			
				     if grep -Fxq "install_xmpp" $COMPLETION_FILE; then 
			 | 
		
	
		
			
			| 
				6729
			 | 
			
				6730
			 | 
			
			
				         return 
			 | 
		
	
		
			
			| 
				6730
			 | 
			
				6731
			 | 
			
			
				     fi 
			 | 
		
	
		
			
			| 
				6731
			 | 
			
				
			 | 
			
			
				-    apt-get -y install lua-sec 
			 | 
		
	
		
			
			| 
				
			 | 
			
				6732
			 | 
			
			
				+    apt-get -y install lua-sec lua-bitop 
			 | 
		
	
		
			
			| 
				6732
			 | 
			
				6733
			 | 
			
			
				     apt-get -y install prosody prosody-modules mercurial 
			 | 
		
	
		
			
			| 
				6733
			 | 
			
				6734
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				6734
			 | 
			
				6735
			 | 
			
			
				     if [ ! -d /etc/prosody ]; then 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -6837,6 +6838,7 @@ function install_xmpp { 
			 | 
		
	
		
			
			| 
				6837
			 | 
			
				6838
			 | 
			
			
				     if ! grep -q "hidden_service_xmpp" /etc/tor/torrc; then 
			 | 
		
	
		
			
			| 
				6838
			 | 
			
				6839
			 | 
			
			
				         echo 'HiddenServiceDir /var/lib/tor/hidden_service_xmpp/' >> /etc/tor/torrc 
			 | 
		
	
		
			
			| 
				6839
			 | 
			
				6840
			 | 
			
			
				         echo "HiddenServicePort 5222 127.0.0.1:${XMPP_ONION_PORT}" >> /etc/tor/torrc 
			 | 
		
	
		
			
			| 
				
			 | 
			
				6841
			 | 
			
			
				+        echo "HiddenServicePort 5269 127.0.0.1:${XMPP_ONION_PORT2}" >> /etc/tor/torrc 
			 | 
		
	
		
			
			| 
				6840
			 | 
			
				6842
			 | 
			
			
				         echo $'Added onion site for XMPP chat' 
			 | 
		
	
		
			
			| 
				6841
			 | 
			
				6843
			 | 
			
			
				     fi 
			 | 
		
	
		
			
			| 
				6842
			 | 
			
				6844
			 | 
			
			
				  
			 |