Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge recent submits #29

Open
wants to merge 1,700 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1700 commits
Select commit Hold shift + click to select a range
6315f6c
MinGW: get console only once
linusyang Mar 22, 2018
af9dc10
MinGW: speed up docker build
linusyang Mar 22, 2018
e02ad6b
MinGW: Override gai_strerror
linusyang Mar 22, 2018
f2ccc5d
Merge pull request #1997 from linusyang92/mingw-color
madeye Mar 23, 2018
20332eb
Fix #1999
madeye Mar 27, 2018
fdb6b6b
Docker: optimize image size
leesah Mar 27, 2018
d70bba2
Docker: Dockerfile improvements
leesah Mar 27, 2018
0e9b87e
Merge pull request #2003 from leesah/master
madeye Mar 28, 2018
66ed595
Add back the SNI addr reconstructor
madeye Mar 30, 2018
7e414bb
Disable SNI when DNS forwarding enabled
madeye Apr 1, 2018
cd72e28
Add missing option
madeye Apr 2, 2018
3e7c852
Fix a crash
madeye Apr 2, 2018
a8681c2
fix cmake syntax.
feng-ye Apr 3, 2018
404c798
Merge pull request #2010 from feng-ye/master
madeye Apr 3, 2018
68f885c
Fix plugin on Android
madeye Apr 4, 2018
a4c9059
Fix all routing not working in Android
Mygod Apr 5, 2018
a98587f
scripts/build_deb.sh: Update URL in script
Apr 7, 2018
aa6557b
Merge pull request #2016 from rogers0/PR/fix_script2
madeye Apr 7, 2018
5d17c04
Ignore SIGCHLD for library usage
christyweinstein Apr 8, 2018
d4298f7
Refine the code structure
madeye Apr 9, 2018
2c2063a
Fix a warning on Android
madeye Apr 9, 2018
c377dca
Merge pull request #2017 from rallet/master
madeye Apr 9, 2018
dada99c
Fix the SNI issue
madeye Apr 9, 2018
a9d5651
Update libcork
madeye Apr 10, 2018
540f090
scripts/build_deb.sh: Update libsodium build due to debhelper 11
Apr 8, 2018
c19f0ed
Add scripts/chroot_build.sh to call build_deb.sh in a chrooted env
Apr 11, 2018
710f747
Merge pull request #2020 from rogers0/PR/fix_script3
madeye Apr 13, 2018
cb109a4
Optimize Dockerfile, add SERVER_PORT back
zhuzeitou Apr 15, 2018
eb53d54
Merge pull request #2022 from zhuzeitou/master
madeye Apr 20, 2018
c3db67b
fixed docker -p flag syntax
dariushalipour May 1, 2018
662b6db
Fix Build Fail with GCC8
ShigureMoe May 3, 2018
a16826b
Merge pull request #2037 from FlyingheartCN/master
madeye May 4, 2018
a12cafa
Merge pull request #2034 from poonzah/patch-1
madeye May 4, 2018
c61736e
Set the minimum resolv timeout to be one second
madeye May 4, 2018
395515d
Create srpm and rpm targets to the Autotools build
vfreex May 4, 2018
68e53dd
Merge pull request #2039 from vfreex/automake-srpm-target
madeye May 6, 2018
204037b
Simplify the handshake part
madeye May 6, 2018
320668e
Merge branch 'master' of github.com:shadowsocks/shadowsocks-libev
madeye May 6, 2018
8d3ce8b
Make sure ev_io_stop before ev_io_set
madeye May 7, 2018
3ef7f70
Update docker ignore
madeye May 8, 2018
a4f4043
Revert "Update docker ignore"
madeye May 8, 2018
380cb81
Revert "Create srpm and rpm targets to the Autotools build"
madeye May 8, 2018
a5db5ef
Fix DNS timeouts
xnoreq May 8, 2018
14b6261
Optimize resolv timer
xnoreq May 9, 2018
a0a56e7
Merge pull request #2045 from xnoreq/master
madeye May 10, 2018
999e055
Fedora COPR support
mcspr May 10, 2018
3c10661
Use correct outdir
mcspr May 14, 2018
21fb6e6
Merge pull request #2049 from mcspr/rpm-copr
madeye May 15, 2018
a0ef456
Fix #2051
madeye May 24, 2018
6ddbecc
update image value.
wogong May 27, 2018
262c6d4
Merge pull request #2064 from wogong/patch-1
madeye May 28, 2018
8c98bde
Bump version
madeye May 29, 2018
873a577
Add winsock.h to dist target
madeye May 29, 2018
8fd83e2
Use chacha20-ietf as a default cipher instead of rc4-md5 (#2080)
Jun 7, 2018
44c557c
Update config under tests/ folder
Jun 9, 2018
4a4531d
skip tests if an upstream HTTP proxy is set
cjwatson Feb 1, 2018
64100a1
Docker: speed up MinGW build by parallel make
linusyang Jun 9, 2018
c24b11f
Merge pull request #2088 from linusyang92/docker-speed
madeye Jun 9, 2018
167b510
Merge pull request #2087 from rogers0/PR/fix_tests
madeye Jun 9, 2018
d88345f
Fix of PATH_MAX for GNU/Hurd
Jun 16, 2018
0a8d194
Merge pull request #2097 from rogers0/PR/fix_hurd
madeye Jun 16, 2018
11a0d8d
Reset timer in server_stream as well
madeye Jul 2, 2018
0035451
Multipe nameservers support
honwen Jul 7, 2018
38f72a1
Merge pull request #2118 from chenhw2/master
madeye Jul 7, 2018
52ee4c7
update url
fanck0605 Jul 9, 2018
cab3057
Delete unnecessary code
hangim Jul 11, 2018
e29f5ce
Merge pull request #2122 from hangim/master
madeye Jul 12, 2018
3806f8e
Merge pull request #2120 from fanck0605/master
madeye Jul 19, 2018
cda5126
Update README.md
xuminready Jul 19, 2018
dc5f295
Merge pull request #2125 from xuminready/master
madeye Jul 20, 2018
09fbae1
Refine .gitignore
Mygod Jul 30, 2018
4a97acd
Refine local server_handshake
Mygod Jul 30, 2018
78aa652
Bugfix
Mygod Jul 30, 2018
9a56155
Refine ip initialization
madeye Jul 30, 2018
fad3ca5
Revert "Refine ip initialization"
madeye Jul 30, 2018
9387267
Merge pull request #2132 from Mygod/master
madeye Jul 30, 2018
d107f9e
More bugfix
Mygod Jul 30, 2018
9e7a993
Update utils.h
sxyoxygen Aug 7, 2018
95c1dba
Update utils.c
sxyoxygen Aug 7, 2018
8356d8a
Update server.c
sxyoxygen Aug 7, 2018
059780f
Update local.c
sxyoxygen Aug 7, 2018
46e2b28
Update utils.h
sxyoxygen Aug 8, 2018
ded41f2
Merge pull request #2140 from sxyoxygen/patch-1
madeye Aug 8, 2018
307088e
Support hostname resolving in VPN mode
Mygod Aug 24, 2018
b7f3e22
TCP Fast Open support for ss-tunnel (#2150)
oakaigh Aug 28, 2018
cd98427
Add missing fast open headers
madeye Aug 29, 2018
1dcfe68
Fix #2162
madeye Sep 2, 2018
dd5e954
Clean up
madeye Sep 3, 2018
46ff0a8
Refine #2162
madeye Sep 3, 2018
57e74ea
Fix a bug in bypassing
madeye Sep 8, 2018
09762ed
Docker: Support for IPv6 host, set default encryption method to GCM.
Sep 10, 2018
79592a8
Use libsodium for `aes-256-gcm` when available.
Sep 11, 2018
761e66a
Implement AES256-GCM with precomputation.
Sep 11, 2018
8a4b9d0
debian: Remove debian/*.symbols file (#2177)
hosiet Sep 11, 2018
eb37201
Merge pull request #2175 from edsgerlin/docker
madeye Sep 11, 2018
a7877c5
Merge pull request #2176 from edsgerlin/sodium-gcm
madeye Sep 11, 2018
ed7c1e6
Fix a compilation issue for GCC < 5.0
madeye Sep 13, 2018
a87b490
Add `gcc` back to travis.
Sep 14, 2018
d5d2858
Add `CAP_NET_BIND_SERVICE` to `shadowsocks-libev.service`
Sep 14, 2018
0496416
Add AmbientCapabilities for all.
Sep 15, 2018
ced2350
Merge pull request #2181 from edsgerlin/travis
madeye Sep 15, 2018
52e2368
Merge pull request #2182 from edsgerlin/fix-systemd
madeye Sep 15, 2018
929f177
Update for shadowsocks/libcork#6.
DDoSolitary Sep 16, 2018
ce6989a
Merge pull request #2184 from DDoSolitary/fix-clearenv-libcork
madeye Sep 16, 2018
1acdb19
Fix #2194
madeye Oct 15, 2018
482040a
Fix a potential stackoverflow issue
madeye Oct 19, 2018
92cab35
Add check for reusing server's nonce/salt
madeye Oct 19, 2018
20166e5
Merge pull request #2 from shadowsocks/master
Camelsvest Oct 19, 2018
b9ed8da
Bump version
madeye Nov 8, 2018
1d83944
Fix typos
madeye Nov 8, 2018
fefe623
updatelLibsodium to 1.0.16
mysqto Nov 10, 2018
92f8d4e
Merge pull request #2213 from mysqto/master
madeye Nov 12, 2018
569570c
Fix #2215
madeye Nov 13, 2018
519776c
Relax the nonce check in clients
madeye Nov 13, 2018
3ed53a7
update the document about ss-manager
plbin97 Nov 16, 2018
cbd3985
Merge pull request #2218 from plbin97/document-update
madeye Nov 16, 2018
4a51c28
Fix udp relay when tcp only (e.g. for use with kcptun)
xzn Nov 19, 2018
c2f15a5
Merge pull request #2223 from xzn/master
madeye Nov 19, 2018
910e29a
Make local address 0.0.0.0 work with udp relay
xzn Nov 21, 2018
6a3d651
Merge pull request #2227 from xzn/master
madeye Nov 21, 2018
92fabda
configure: Fix --disable-connmarktos option behaviour
sduponch Nov 21, 2018
2e7d7a6
Merge pull request #2228 from sduponch/configure
madeye Nov 21, 2018
1dbeeaa
resolve domains in ss-nat
Ptomerty Nov 26, 2018
84b157e
add server port in log file
gyteng Nov 26, 2018
d6aed35
Merge pull request #2231 from gyteng/master
madeye Nov 26, 2018
c8ea784
Bump version
madeye Nov 27, 2018
1c1570b
Ensure 16-byte alignment. Fix #2233
madeye Nov 28, 2018
545c041
Bump version
madeye Nov 28, 2018
f9cc909
check if dig exists first
Ptomerty Nov 30, 2018
d05970f
Use existing IP regex
Ptomerty Nov 30, 2018
9545ce2
Merge pull request #2230 from Ptomerty/patch-1
madeye Dec 3, 2018
3969596
Update libcork
madeye Dec 24, 2018
9122276
Update libcork
madeye Dec 25, 2018
f268b27
Test homedir for ss-manager
simonsmh Jan 4, 2019
e5d8476
Update docs
simonsmh Jan 4, 2019
0c2bda9
Rename variable
simonsmh Jan 5, 2019
bbc4206
Merge pull request #2259 from simonsmh/master
madeye Jan 5, 2019
7fc05dc
Specify stat_path on Android
Mygod Jan 12, 2019
6fb8f83
Merge pull request #2264 from Mygod/stat-path
madeye Jan 12, 2019
641e4ed
Refine passing plugin args
Mygod Jan 16, 2019
e7c244a
Merge pull request #2268 from Mygod/master
madeye Jan 17, 2019
dc298c4
Allow long direct TCP connections
Mygod Jan 17, 2019
7947e3c
Merge pull request #2269 from Mygod/master
madeye Jan 17, 2019
7ad2df9
Remove all connection timeout from local clients
madeye Jan 17, 2019
9b4aebc
configure.ac: fix static build with netfilter_conntrack
ffontaine Jan 18, 2019
829b384
Merge pull request #2270 from ffontaine/master
madeye Jan 19, 2019
c33cf3e
Fix #2267
madeye Jan 21, 2019
d6b21da
Refine ACL log
madeye Jan 21, 2019
d7fe31e
Refine ss_align for MinGW32
madeye Jan 21, 2019
250297b
Add an example ACL for blocking private addresses
madeye Jan 21, 2019
ba930dc
Fix a compiler warning
madeye Jan 22, 2019
4fb34de
Use _aligned_malloc instead
madeye Jan 22, 2019
fbb311e
Use _aligned_free for MinGW
madeye Jan 22, 2019
782311a
Refine ss_align interfaces
madeye Jan 22, 2019
85b1903
Fix the ss_free macros
madeye Jan 22, 2019
333e98d
Redirect standard fd to /dev/null by default
madeye Jan 28, 2019
afeceea
Switch user before starting plugin server
poplite Feb 3, 2019
c1fe046
Merge pull request #2274 from poplite/fix-su
madeye Feb 3, 2019
d217209
Revert "Switch user before starting plugin server" (#2275)
madeye Feb 4, 2019
6a2f970
Update README.md
madeye Feb 13, 2019
ed67a1a
Update README.md
madeye Feb 13, 2019
b430124
Refine is_remote_dns defination
madeye Feb 13, 2019
404ec62
Fix #2285
madeye Feb 18, 2019
c9159fc
Bump version
madeye Feb 26, 2019
0f55830
Remove default IPv6 and fast-open option in the dockerfile
madeye Feb 26, 2019
1441387
Refine ipv6 only handling. #2300
madeye Feb 28, 2019
6734e12
ss-nat: fix hostname lookup bugs introduced in #2230
isjerryxiao Mar 2, 2019
1d5f250
ss-nat: use ping to lookup dns A records
isjerryxiao Mar 2, 2019
2ee1235
Merge pull request #2304 from isjerryxiao/master
madeye Mar 2, 2019
3c1f68c
Update README.md
tdh8316 Mar 3, 2019
90a99cd
Merge pull request #2305 from tdh8316/patch-1
madeye Mar 3, 2019
3a64195
let check_include_files() can find pcre installed by homebrew on macOS
ideal Mar 4, 2019
b020179
fix cmake build error on macOS: find libsodium header files
ideal Mar 4, 2019
c8ebaeb
Merge pull request #2307 from ideal/master
madeye Mar 4, 2019
14dd820
Refine json config handling. #2308
madeye Mar 5, 2019
a67e330
cmake: keep execute permission of files in bin directory (e.g. ss-loc…
ideal Mar 6, 2019
8fa8670
Merge pull request #2310 from ideal/master
madeye Mar 6, 2019
f5a25c2
Merge pull request #1 from shadowsocks/master
rampageX Mar 7, 2019
0401d0e
dont overrides mbedtls's CFLAGS
rampageX Mar 7, 2019
831c2c0
Merge pull request #2311 from rampageX/master
madeye Mar 7, 2019
b0c6ba4
Bump version
madeye Mar 9, 2019
1a77023
Fix #2314
madeye Mar 9, 2019
3fa9e57
Refine ipv6only handling
madeye Mar 9, 2019
4913978
cmake: put pkgconfig file into lib/pkgconfig
ideal Mar 10, 2019
55647ce
define USE_SYSTEM_SHARED_LIB in config.h when cmake with -DWITH_EMBED…
ideal Mar 10, 2019
5c0b8d2
cmake: let version available in config.h
ideal Mar 10, 2019
57231ce
Merge pull request #2316 from ideal/master
madeye Mar 10, 2019
a326574
fix typo in comment
ideal Mar 11, 2019
56e805c
cmake: installing man and doc files compliant to distribution standard
ideal Mar 11, 2019
2254851
Merge pull request #2318 from ideal/master
madeye Mar 11, 2019
e64f918
cmake: change to absolute path to avoid command running every time to…
ideal Mar 14, 2019
3590860
Merge pull request #2323 from ideal/master
madeye Mar 18, 2019
7bd3820
bump copyright year
chinsyo Mar 21, 2019
71cc0fb
Merge pull request #2331 from chinsyo/master
madeye Mar 21, 2019
f35c162
Reduce size of UDP remote context
madeye Mar 25, 2019
e509a19
doc: refine document for argument `-b`, fix #2353
amphineko Apr 21, 2019
dc2c1e1
Merge pull request #2358 from amphineko/master
madeye Apr 21, 2019
c96e284
Fix an issue of IPv6 NAT
madeye Apr 26, 2019
49526d8
Fix ss-nat's log
madeye Apr 26, 2019
a7291ea
Enlarge the socket buffer size to 16KB.
madeye Apr 30, 2019
38e83d6
Make sure socket buffer size no larger than max chunk size
madeye Apr 30, 2019
c8fcec1
remove -u arguments by default
aieu May 2, 2019
34450e8
Merge pull request #2365 from zgist/patch-1
madeye May 4, 2019
9c935f7
Fix #2366
madeye May 6, 2019
850473a
Add snapcraft.yml
madeye May 7, 2019
c2337fe
Update README.md
madeye May 8, 2019
4a42da6
Allow bind to local IPv4/v6 addresses. Fix #2372
madeye May 9, 2019
3c44139
Clean up
madeye May 16, 2019
1b37c77
Create FUNDING.yml
madeye May 24, 2019
fd22043
Update FUNDING.yml
madeye May 24, 2019
ec36ae6
Update FUNDING.yml
madeye May 24, 2019
b8e75b5
Update FUNDING.yml
madeye May 24, 2019
5e65dc0
change from bzero(3) to memset(3) for better compatibility. (#2383)
papadave66 May 31, 2019
a99c39c
Simplify the server auto blocking mechanism
madeye Jun 1, 2019
8d8b1cd
Refine TCP related headers. #2387
madeye Jun 1, 2019
dc4742b
Update mingw build scripts
madeye Jun 2, 2019
63a991c
ss-local: improve verbose logging; print hit of missing option
Low-power Jun 4, 2019
e3e0f2a
Merge pull request #2390 from rivoreo/ss-local-verbose
madeye Jun 4, 2019
ffad914
Bump version
madeye Jun 8, 2019
94dc47d
Add echo for stat API
Lensual Jun 10, 2019
1b30010
Clean up
madeye Jun 14, 2019
37ca683
Refine #2402
madeye Jun 18, 2019
09df834
Merge pull request #2398 from Lensual/master
madeye Jun 20, 2019
a161265
Reduce the verbosity on plugin terminating error
madeye Jun 21, 2019
c04e6df
Change from network.target to network-online.target in systemd servic…
Jun 26, 2019
42d4cb1
Merge pull request #2411 from liangsuilong/master
madeye Jun 26, 2019
6c28add
Enable -Wcas-align for #2412
madeye Jun 30, 2019
ab9764d
Fix building issues on Linux
madeye Jun 30, 2019
f0205e7
Refine the helper function
madeye Jun 30, 2019
d0285d6
Specify the alignment of all structs
madeye Jul 1, 2019
59417b9
Revert "Specify the alignment of all structs"
madeye Jul 1, 2019
9aa46cb
Remove -Wcast-align
madeye Jul 1, 2019
ebdf279
Allow long idle connections in server
Mygod Jul 4, 2019
5e08034
Merge pull request #2421 from Mygod/idle
madeye Jul 4, 2019
a5daf4d
Fix #2427
madeye Jul 11, 2019
70d8951
Update build badge
madeye Jul 16, 2019
64b97cd
Clean up
madeye Jul 17, 2019
05f4fe7
Refine #2402
madeye Jul 24, 2019
f5e8519
Fix #2438
madeye Jul 26, 2019
e3c6c80
Fix #2443
madeye Jul 30, 2019
1c4ddd3
Fix #2449
madeye Aug 9, 2019
615588b
Bump version
madeye Aug 9, 2019
21fc899
Remove PPA and recommend installing from snap
madeye Aug 9, 2019
a1b691c
Update README.md
madeye Aug 9, 2019
3a46907
Update README.md
madeye Aug 9, 2019
3e8a577
Update README.md
madeye Aug 19, 2019
7a428d0
Clean up
madeye Aug 27, 2019
b4cda9d
Add option '--long-idle' for server
lixingcong Aug 31, 2019
11c9a02
Merge pull request #2463 from lixingcong/long-idle
madeye Aug 31, 2019
de0cc71
Merge pull request #3 from shadowsocks/master
Camelsvest Sep 1, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
19 changes: 19 additions & 0 deletions .copr/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
.PHONY: deps srpm
.DEFAULT_GOAL := srpm

DOT_COPR := $(dir $(firstword $(MAKEFILE_LIST)))
TOP_DIR := $(realpath $(DOT_COPR)/../)

RPM_DIR := $(TOP_DIR)/rpm
outdir ?= $(RPM_DIR)/SRPMS

HAS_GIT := $(shell command -v git 2> /dev/null)
ifndef HAS_GIT
deps:
dnf -y install git
else
deps:
endif

srpm: deps
$(TOP_DIR)/rpm/genrpm.sh -o $(outdir)
27 changes: 27 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# General
.dockerignore
.git
.gitmodules
.gitignore
.github
AUTHORS
Changes
COPYING
INSTALL
LICENSE
README.md

# Code formatting
.uncrustify.cfg
code-format.bat
code-format.sh

# CI & CD
.travis.yml
tests

# OS-specific packaging, etc.
debian
scripts/build_deb.sh
rpm
completions
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: [madeye]
22 changes: 22 additions & 0 deletions .github/issue_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Please answer these questions before submitting your issue. Thanks!

(Please mention that if the issue you filed is solved, you may wish to close it by yourself. Thanks again.)

(PS, you can remove 3 lines above, including this one, before post your issue.)

### What version of shadowsocks-libev are you using?


### What operating system are you using?


### What did you do?


### What did you expect to see?


### What did you see instead?


### What is your config in detail (with all sensitive info masked)?
52 changes: 48 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,34 +1,72 @@
# Ignore files generated by autoconf
/Makefile.in
/aclocal.m4
/auto/
/config.h.in
/configure
/doc/Makefile.in
/m4/libtool.m4
/m4/ltoptions.m4
/m4/ltsugar.m4
/m4/ltversion.m4
/m4/lt~obsolete.m4
/src/Makefile.in
/src/config.h

# Ignore files generated by configure
build/
.deps/
/Makefile
src/Makefile
libev/Makefile
libasyncns/Makefile
libudns/Makefile
libcork/Makefile
libipset/Makefile
doc/Makefile
autom4te.cache/
/config.h
config.log
config.status
libtool
pid
ss*
src/ss-*
!src/ss-nat
stamp-h1
.libs
.pc
debian/shadowsocks/
debian/shadowsocks-libev/
debian/patches/
debian/files
debian/shadowsocks.substvars
debian/shadowsocks-libev.substvars
debian/*.debhelper*
.dirstamp
shadowsocks-libev.pc
debian/libshadowsocks-libev*.symbols
libsodium/src/libsodium/include/sodium/version.h
rpm/SPECS/shadowsocks-libev.spec
rpm/SRPMS/
rpm/RPMS/
rpm/BUILD/
rpm/BUILDROOT/
*.rpm
*.deb

# Ignore per-project vim config
.vimrc

# Ignore garbage of OS X
*.DS_Store

# Ignore vim cache
*.swp

# Documentation files
doc/*.1
doc/*.8
doc/*.gz
doc/*.xml
doc/*.html

# Do not edit the following section
# Edit Compile Debug Document Distribute
*~
Expand All @@ -50,6 +88,12 @@ debian/*.debhelper*
*.so
*.pcf.gz
*.pdb
*.tar
*.tar.bz2
*.tar.gz
*.tgz
*.snap
#

# Visual Studio Code
.vscode/*
12 changes: 12 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[submodule "libcork"]
path = libcork
url = https://github.com/shadowsocks/libcork.git
ignore = dirty
[submodule "libipset"]
path = libipset
url = https://github.com/shadowsocks/ipset.git
ignore = dirty
[submodule "libbloom"]
path = libbloom
url = https://github.com/shadowsocks/libbloom.git
ignore = dirty
53 changes: 51 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,57 @@
sudo: required
language: c
dist : trusty
compiler:
- gcc
- clang
script: "sudo apt-get install libev-dev && ./configure && make"
- gcc
os:
- linux
- osx
env:
global:
- LIBSODIUM_VER=1.0.12
- MBEDTLS_VER=2.4.0
before_install:
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
# All dependencies for macOS build. Some packages has been installed by travis so use reinstall.
brew reinstall autoconf automake xmlto c-ares libev mbedtls libsodium asciidoc >> /dev/null 2>&1;
else
wget https://github.com/jedisct1/libsodium/releases/download/$LIBSODIUM_VER/libsodium-$LIBSODIUM_VER.tar.gz;
tar xvf libsodium-$LIBSODIUM_VER.tar.gz;
pushd libsodium-$LIBSODIUM_VER;
./configure --prefix=/usr && make;
sudo make install;
popd;
wget https://tls.mbed.org/download/mbedtls-$MBEDTLS_VER-gpl.tgz;
tar xvf mbedtls-$MBEDTLS_VER-gpl.tgz;
pushd mbedtls-$MBEDTLS_VER;
make SHARED=1;
sudo make install;
popd;
# Load cached docker images
if [[ -d $HOME/docker ]]; then
ls $HOME/docker/*.tar.gz | xargs -I {file} sh -c "zcat {file} | docker load";
fi
fi
addons:
apt:
sources:
- george-edison55-precise-backports # cmake 3.2.3 / doxygen 1.8.3
packages:
- libc-ares-dev
- libev-dev
- asciidoc
- xmlto
script:
- ./autogen.sh
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
./configure --disable-documentation --with-mbedtls=/usr/local/opt/mbedtls --with-sodium=/usr/local/opt/libsodium;
else
./configure;
fi
- make
- cd build && cmake ../ && make
branches:
only:
- master
Expand Down
Loading