ソースを参照

Include letsencrypt within trove

Bob Mottram 9 年 前
コミット
8f86b556c7
共有4 個のファイルを変更した8 個の追加5 個の削除を含む
  1. 3
    0
      src/freedombone
  2. 2
    2
      src/freedombone-addcert
  3. 1
    1
      src/freedombone-client
  4. 2
    2
      src/freedombone-mesh

+ 3
- 0
src/freedombone ファイルの表示

@@ -95,6 +95,9 @@ FRIENDS_TROVE_PASSWORD=
95 95
 FRIENDS_TROVE_SERVER=
96 96
 FRIENDS_TROVE_SSH_PORT=2222
97 97
 
98
+# This isn't used here, but is included for trove creation purposes
99
+LETSENCRYPT_REPO="https://github.com/letsencrypt/letsencrypt"
100
+
98 101
 # An optional password to log into IRC. This applies to all users
99 102
 IRC_PASSWORD=
100 103
 

+ 2
- 2
src/freedombone-addcert ファイルの表示

@@ -48,7 +48,7 @@ NODH=
48 48
 DH_KEYLENGTH=2048
49 49
 INSTALL_DIR=/root/build
50 50
 LETSENCRYPT_SERVER='https://acme-v01.api.letsencrypt.org/directory'
51
-LETSENCRYPT_REPO='https://github.com/letsencrypt/letsencrypt'
51
+LETSENCRYPT_REPO="https://github.com/letsencrypt/letsencrypt"
52 52
 MY_EMAIL_ADDRESS=
53 53
 
54 54
 function show_help {
@@ -184,7 +184,7 @@ function add_cert_letsencrypt {
184 184
 
185 185
     # obtain the repo
186 186
     if [ ! -d ${INSTALL_DIR}/letsencrypt ]; then
187
-        git clone $LETSENCRYPT_REPO
187
+        git clone $LETSENCRYPT_REPO ${INSTALL_DIR}/letsencrypt
188 188
         if [ ! -d ${INSTALL_DIR}/letsencrypt ]; then
189 189
             exit 76283
190 190
         fi

+ 1
- 1
src/freedombone-client ファイルの表示

@@ -130,7 +130,7 @@ function mesh_babel {
130 130
               mkdir ~/develop
131 131
           fi
132 132
           cd ~/develop
133
-          git clone $TOXID_REPO
133
+          git clone $TOXID_REPO ~/develop/toxid
134 134
       fi
135 135
       cd ~/develop/toxid
136 136
       sudo make install

+ 2
- 2
src/freedombone-mesh ファイルの表示

@@ -65,7 +65,7 @@ function install_toxcore {
65 65
         mkdir ~/develop
66 66
     fi
67 67
     cd ~/develop
68
-    git clone $TOXCORE_REPO
68
+    git clone $TOXCORE_REPO ~/develop/toxcore
69 69
     cd ~/develop/toxcore
70 70
     autoreconf -i
71 71
     ./configure --enable-daemon
@@ -144,7 +144,7 @@ function install_toxid {
144 144
         return
145 145
     fi
146 146
     cd ~/develop
147
-    git clone $TOXID_REPO
147
+    git clone $TOXID_REPO ~/develop/toxid
148 148
     cd ~/develop/toxid
149 149
     make
150 150
     sudo make install