Commit Graph
1558 Commits
Author SHA1 Message Date
Roger Shimizu 94a9924a78 Update deb build script
Now build script is able to auto detect system and choose libraries
necessary to build.

Also update the README accordingly.
2017-03-16 13:06:06 +08:00
Max Lv dc216391b9 Update README.md 2017-03-16 13:06:05 +08:00
Max Lv a0fd7a1186 Detect get_current_dir_name in configure 2017-03-16 13:06:05 +08:00
Max Lv f9fe9bccf5 Fix build on non-GPU targets 2017-03-16 13:06:05 +08:00
Max Lv bf23fb6ec4 Fix a memory leak 2017-03-16 13:06:05 +08:00
Roger Shimizu d20117481c Add xenial-backports repository
Because user may upgrade from previous LTS version, xenial-backports
is better to be added by us for safety.

And use debhelper 10 for shadowsocks-libev only.
2017-03-16 13:06:05 +08:00
Roger Shimizu 4c0f33e33d Update trusty build script
- Move Build-Depends dh-autoreconf dh-systemd to debian/control
- Also change debian/compat to 9 (debhelper 9)
2017-03-16 13:06:05 +08:00
Roger Shimizu 825e83534b fix of PATH_MAX for GNU/Hurd
Info:
 - https://www.gnu.org/software/hurd/community/gsoc/project_ideas/maxpath.html
 - https://www.gnu.org/software/hurd/hurd/porting/guidelines.html#PATH_MAX_tt_MAX_PATH_tt_MAXPATHL
2017-03-16 13:06:04 +08:00
wener 734092e348 Build shared and static shadowsock-libev and executable. 2017-02-20 00:04:28 +08:00
wener 0cabdccd9a Remove confuse comment in config.h.in;Move config.h.in to cmake. 2017-02-18 13:03:22 +08:00
wener 95a8a4db50 Add missing ss-redir install; Remove cmake build success echo. 2017-02-18 02:43:30 +08:00
wener 47acac3b8c Add cmake to ci 2017-02-18 02:23:32 +08:00
wener 00bf648f77 Allowed to build static linked executable, default ON
To build shared executable

   cmake -DBUILD_STATIC=OFF . && make
2017-02-18 01:41:24 +08:00
wener 111041731f link libcork instead cork to ss-redir 2017-02-18 00:10:32 +08:00
wener c5ac1316aa Use cmake to generate config.h 2017-02-17 18:58:32 +08:00
wener 5446408f4d Add a compile-able CMakeLists, but still need to generate config.h 2017-02-17 15:31:43 +08:00
Roger Shimizu 91643523c4 Bump debhelper 10
debhelper 10 is available in the following Debian/Ubuntu releases:
 - Debian 8.x Jessie (jessie-backports)
 - Debian 9.x Stretch / unstable
 - Ubuntu 16.04 Xenial (xenial-backports)
 - Ubuntu 16.10 Yakkety

debhelper supports dh-autoreconf and dh-systemd by default, so we can
safely remove a few Build-Depends and dh params.

We also sync a few other files under debian/ folder with Debian release
3.0.2+ds-1~exp1.
2017-02-16 20:38:08 +08:00
Roger Shimizu fc84654420 README: Install build dependencies by mk-build-deps cmd
mk-build-deps is provided by devscripts package, and also relies on
equivs package.
2017-02-16 20:37:41 +08:00
Neal Feng 0437e05aa8 iperf.sh: wait one second before killing processes 2017-02-16 12:33:40 +08:00
Roger Shimizu 1d589900fb Add Ubuntu 14.04/16.04 build instruction to README 2017-02-15 21:32:10 +08:00
Roger Shimizu 7467f07984 Add CAP_NET_ADMIN capability to ss-redir in postinst script
Fix #1252
2017-02-15 08:01:00 +08:00
Roger Shimizu d12a7b911e Add more cleanup pkg to trusty script
For xenial script, it's clean enough so far.
2017-02-15 08:00:43 +08:00
Syrone Wong 80ca9469e6 Output error log when repeat IV/salt detected
This is useful when checking connection issues, and can be used to
check broken random number generator and replay attacks.

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
2017-02-14 19:41:46 +08:00
Max Lv 504a3f7813 Refine MAX_FRAG 2017-02-14 10:38:39 +08:00
Max Lv 422eaa5024 Add back fragmentation detection 2017-02-14 10:02:36 +08:00
Roger Shimizu 0553da0692 dh-systemd dependency should be removed for debhelper >=10
For trusty, debhelper is 9, so need to add the Build-Depends
for the build script.

With a few other fixes for trusty script.
2017-02-14 09:37:24 +08:00
Roger Shimizu e7e4291f03 Add deb build script for ubuntu xenial 16.04 2017-02-13 22:31:16 +08:00
Max Lv 72f6041a7c Add USE_SYSTEM_SHARED_LIB check in configure 2017-02-13 21:32:46 +08:00
Roger Shimizu 14a79b5500 Add deb build script for ubuntu trusty 14.04 2017-02-13 20:55:37 +08:00
Max Lv 2a9b9c7358 Revert "Fix server buffer #1245"
This reverts commit 9716eede20.
2017-02-13 19:03:28 +08:00
Max Lv 9716eede20 Fix server buffer #1245 2017-02-13 18:54:37 +08:00
Max Lv 8a34b3ea0b Rename DEBUG to SS_DEBUG 2017-02-13 13:16:57 +08:00
Max Lv 889079e69b Replace the URL for libsodium 2017-02-13 10:50:40 +08:00
Max Lv 46fa5de9e4 Bump version v3.0.2 2017-02-13 09:13:16 +08:00
Max Lv 6520f340bb Fix #1240 2017-02-12 20:15:22 +08:00
Max Lv 6c62647a66 Add session key following SIP007 2017-02-12 16:34:42 +08:00
Max Lv c422272ed3 Update libcork 2017-02-11 09:12:32 +08:00
Max Lv d1018e4ca5 Ignore empty payload 2017-02-11 09:12:02 +08:00
Boyuan Yang 3f789cd0a7 Clarify port_password usage in docs (#1229) 2017-02-10 16:04:31 +08:00
Max Lv 0b9b8d65ce Update config.json docs 2017-02-10 15:54:58 +08:00
Max Lv 0cff5503f6 Add default manager-address 2017-02-10 15:38:38 +08:00
Cokebar Chi 88037fc2b3 Update README.md (#1225)
Install libmbedtls in `/usr` instead of `/usr/local`
2017-02-09 17:02:45 +08:00
Boyuan Yang b09c2bec36 README.md: update words about building and packaging. 2017-02-08 17:18:25 +08:00
Boyuan Yang 4f88092311 debian: Update packaging instructions (Fix #1198)
This commit will fix .deb packaging instructions for Ubuntu 16.04.
Meanwhile, .deb packaging for Debian/Ubuntu is now only suitable
for Ubuntu 16.04 LTS or higher, Debian 9 or higher.

Debian 8 users won't be able to build from source too because this
project now requires libsodium >= 1.0.8. Jessie-packports is needed
to build on Debian 8.
2017-02-08 17:18:25 +08:00
Max Lv f4b1641636 Fix #1217 2017-02-08 09:58:04 +08:00
Max Lv fdb1f190f8 Bump version v3.0.1 2017-02-07 13:30:18 +08:00
Simon Shi a0d38b3d91 Fix typo (#1210)
* Fix doc

* Update ss-redir.asciidoc

* Update ss-server.asciidoc
2017-02-07 08:47:34 +08:00
Max Lv c5c8389a8d Fix data len 2017-02-06 18:03:05 +08:00
Max Lv c9d7ff16d6 Fix a typo 2017-02-06 17:26:58 +08:00
钟晓仕 1e1792b580 Update README.md (#1208)
I found that `automake` must be installed because we will use the `aclocal` command later, which is included in `automake`.
2017-02-06 17:05:27 +08:00