Browse Source

Merge branch 'master' of github.com:shadowsocks/shadowsocks-libev

pull/1193/head
Max Lv 7 years ago
parent
commit
d9c2934a63
1 changed files with 7 additions and 7 deletions
  1. 14
      README.md

14
README.md

@ -51,7 +51,7 @@ popd
wget https://tls.mbed.org/download/mbedtls-$MBEDTLS_VER-gpl.tgz wget https://tls.mbed.org/download/mbedtls-$MBEDTLS_VER-gpl.tgz
tar xvf mbedtls-$MBEDTLS_VER-gpl.tgz tar xvf mbedtls-$MBEDTLS_VER-gpl.tgz
pushd mbedtls-$MBEDTLS_VER pushd mbedtls-$MBEDTLS_VER
env CFLAGS="-fPIC" make
make SHARED=1
sudo make install sudo make install
popd popd
``` ```
@ -130,8 +130,8 @@ section below.
``` bash ``` bash
cd shadowsocks-libev cd shadowsocks-libev
sudo apt-get install --no-install-recommends gettext build-essential autoconf libtool \ sudo apt-get install --no-install-recommends gettext build-essential autoconf libtool \
gawk debhelper dh-systemd init-system-helpers pkg-config asciidoc xmlto apg libpcre3-dev libmbedtls-dev \
libev-dev libudns-dev libsodium-dev
gawk debhelper dh-systemd init-system-helpers pkg-config asciidoc xmlto apg libpcre3-dev \
libev-dev libudns-dev dh-autoreconf
./autogen.sh && dpkg-buildpackage -b -us -uc -i ./autogen.sh && dpkg-buildpackage -b -us -uc -i
cd .. cd ..
sudo dpkg -i shadowsocks-libev*.deb sudo dpkg -i shadowsocks-libev*.deb
@ -163,7 +163,7 @@ If you are using CentOS 7, you need to install these prequirement to build from
```bash ```bash
yum install epel-release -y yum install epel-release -y
yum install gcc gettext autoconf libtool automake make pcre-devel asciidoc xmlto udns-devel libev-devel libmbedtls-devel -y
yum install gcc gettext autoconf libtool automake make pcre-devel asciidoc xmlto udns-devel libev-devel -y
``` ```
#### Install from repository #### Install from repository
@ -217,11 +217,11 @@ e.g. Ubuntu, Debian or Linux Mint, you can build the binary like this:
```bash ```bash
# Debian / Ubuntu # Debian / Ubuntu
sudo apt-get install --no-install-recommends gettext build-essential autoconf libtool libpcre3-dev asciidoc xmlto libmbedtls-dev libev-dev libudns-dev libsodium-dev
sudo apt-get install --no-install-recommends gettext build-essential autoconf libtool libpcre3-dev asciidoc xmlto libev-dev libudns-dev
# CentOS / Fedora / RHEL # CentOS / Fedora / RHEL
sudo yum install gettext gcc autoconf libtool automake make libmbedtls-devel asciidoc xmlto udns-devel libev-devel
sudo yum install gettext gcc autoconf libtool automake make asciidoc xmlto udns-devel libev-devel
# Arch # Arch
sudo pacman -S gettext gcc autoconf libtool automake make mbedtls asciidoc xmlto udns libev libsodium
sudo pacman -S gettext gcc autoconf libtool automake make asciidoc xmlto udns libev
./autogen.sh && ./configure && make ./autogen.sh && ./configure && make
sudo make install sudo make install
``` ```

Loading…
Cancel
Save