Ignore:
Timestamp:
2011-08-28T14:08:25+02:00 (5 years ago)
Author:
florian
Message:

[package] openvpn: update to 2.2.1, reorganize makefile

Upgrade to new version, add menu, refresh patches and reorganize
Makefile.

Signed-off-by: Luka Perkov <openwrt@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/openvpn/patches/001-easy_rsa.patch

    r17731 r28098  
    11--- a/easy-rsa/2.0/build-ca 
    22+++ b/easy-rsa/2.0/build-ca 
    3 @@ -1,8 +1,8 @@ 
    4 -#!/bin/bash 
    5 +#!/bin/sh 
    6   
    7  # 
    8  # Build a root certificate 
     3@@ -5,4 +5,4 @@ 
    94 # 
    105  
     
    149--- a/easy-rsa/2.0/build-dh 
    1510+++ b/easy-rsa/2.0/build-dh 
    16 @@ -1,4 +1,6 @@ 
    17 -#!/bin/bash 
    18 +#!/bin/sh 
     11@@ -1,5 +1,7 @@ 
     12 #!/bin/sh 
     13  
     14+. /etc/easy-rsa/vars 
    1915+ 
    20 +. /etc/easy-rsa/vars 
    21   
    2216 # Build Diffie-Hellman parameters for the server side 
    2317 # of an SSL/TLS connection. 
     18  
    2419--- a/easy-rsa/2.0/build-inter 
    2520+++ b/easy-rsa/2.0/build-inter 
    26 @@ -1,7 +1,7 @@ 
    27 -#!/bin/bash 
    28 +#!/bin/sh 
    29   
    30  # Make an intermediate CA certificate/private key pair using a locally generated 
     21@@ -4,4 +4,4 @@ 
    3122 # root certificate. 
    3223  
     
    3627--- a/easy-rsa/2.0/build-key 
    3728+++ b/easy-rsa/2.0/build-key 
    38 @@ -1,7 +1,7 @@ 
    39 -#!/bin/bash 
    40 +#!/bin/sh 
    41   
    42  # Make a certificate/private key pair using a locally generated 
     29@@ -4,4 +4,4 @@ 
    4330 # root certificate. 
    4431  
     
    4835--- a/easy-rsa/2.0/build-key-pass 
    4936+++ b/easy-rsa/2.0/build-key-pass 
    50 @@ -1,7 +1,7 @@ 
    51 -#!/bin/bash 
    52 +#!/bin/sh 
    53   
    54  # Similar to build-key, but protect the private key 
     37@@ -4,4 +4,4 @@ 
    5538 # with a password. 
    5639  
     
    6043--- a/easy-rsa/2.0/build-key-pkcs12 
    6144+++ b/easy-rsa/2.0/build-key-pkcs12 
    62 @@ -1,8 +1,8 @@ 
    63 -#!/bin/bash 
    64 +#!/bin/sh 
    65   
    66  # Make a certificate/private key pair using a locally generated 
    67  # root certificate and convert it to a PKCS #12 file including the 
     45@@ -5,4 +5,4 @@ 
    6846 # the CA certificate as well. 
    6947  
     
    7351--- a/easy-rsa/2.0/build-key-server 
    7452+++ b/easy-rsa/2.0/build-key-server 
    75 @@ -1,4 +1,4 @@ 
    76 -#!/bin/bash 
    77 +#!/bin/sh 
    78   
    79  # Make a certificate/private key pair using a locally generated 
    80  # root certificate. 
    8153@@ -7,4 +7,4 @@ 
    8254 # extension in the openssl.cnf file. 
     
    8759--- a/easy-rsa/2.0/build-req 
    8860+++ b/easy-rsa/2.0/build-req 
    89 @@ -1,7 +1,7 @@ 
    90 -#!/bin/bash 
    91 +#!/bin/sh 
    92   
    93  # Build a certificate signing request and private key.  Use this 
     61@@ -4,4 +4,4 @@ 
    9462 # when your root certificate and key is not available locally. 
    9563  
     
    9967--- a/easy-rsa/2.0/build-req-pass 
    10068+++ b/easy-rsa/2.0/build-req-pass 
    101 @@ -1,7 +1,7 @@ 
    102 -#!/bin/bash 
    103 +#!/bin/sh 
    104   
    105  # Like build-req, but protect your private key 
     69@@ -4,4 +4,4 @@ 
    10670 # with a password. 
    10771  
     
    11175--- a/easy-rsa/2.0/clean-all 
    11276+++ b/easy-rsa/2.0/clean-all 
    113 @@ -1,4 +1,6 @@ 
    114 -#!/bin/bash 
    115 +#!/bin/sh 
     77@@ -1,5 +1,7 @@ 
     78 #!/bin/sh 
     79  
     80+. /etc/easy-rsa/vars 
    11681+ 
    117 +. /etc/easy-rsa/vars 
    118   
    11982 # Initialize the $KEY_DIR directory. 
    12083 # Note that this script does a 
     84 # rm -rf on $KEY_DIR so be careful! 
    12185--- a/easy-rsa/2.0/inherit-inter 
    12286+++ b/easy-rsa/2.0/inherit-inter 
    123 @@ -1,4 +1,6 @@ 
    124 -#!/bin/bash 
    125 +#!/bin/sh 
     87@@ -1,5 +1,7 @@ 
     88 #!/bin/sh 
     89  
     90+. /etc/easy-rsa/vars 
    12691+ 
    127 +. /etc/easy-rsa/vars 
    128   
    12992 # Build a new PKI which is rooted on an intermediate certificate generated 
    13093 # by ./build-inter or ./pkitool --inter from a parent PKI.  The new PKI should 
     94 # have independent vars settings, and must use a different KEY_DIR directory 
    13195--- a/easy-rsa/2.0/list-crl 
    13296+++ b/easy-rsa/2.0/list-crl 
    133 @@ -1,4 +1,6 @@ 
    134 -#!/bin/bash 
    135 +#!/bin/sh 
     97@@ -1,5 +1,7 @@ 
     98 #!/bin/sh 
     99  
     100+. /etc/easy-rsa/vars 
    136101+ 
    137 +. /etc/easy-rsa/vars 
    138   
    139102 # list revoked certificates 
    140103  
     104 CRL="${1:-crl.pem}" 
    141105--- a/easy-rsa/2.0/pkitool 
    142106+++ b/easy-rsa/2.0/pkitool 
     
    151115--- a/easy-rsa/2.0/revoke-full 
    152116+++ b/easy-rsa/2.0/revoke-full 
    153 @@ -1,4 +1,6 @@ 
    154 -#!/bin/bash 
    155 +#!/bin/sh 
     117@@ -1,5 +1,7 @@ 
     118 #!/bin/sh 
     119  
     120+. /etc/easy-rsa/vars 
    156121+ 
    157 +. /etc/easy-rsa/vars 
    158   
    159122 # revoke a certificate, regenerate CRL, 
    160123 # and verify revocation 
     124  
    161125--- a/easy-rsa/2.0/sign-req 
    162126+++ b/easy-rsa/2.0/sign-req 
    163 @@ -1,7 +1,7 @@ 
    164 -#!/bin/bash 
    165 +#!/bin/sh 
    166   
    167  # Sign a certificate signing request (a .csr file) 
     127@@ -4,4 +4,4 @@ 
    168128 # with a local root certificate and key. 
    169129  
Note: See TracChangeset for help on using the changeset viewer.