Commit Graph
30 Commits
Author SHA1 Message Date
Max Lv bdc77408cb Rename to shadowsocks-c with libuv, async DNS and CI lint (#3051)
Rename the project to shadowsocks-c while retaining ss-* commands, the embedding ABI, and legacy library/package lookup compatibility.

Replace libev with bundled libuv for IOCP/kqueue event backends, expand asynchronous runtime DNS coverage, and add actionlint/Ruff with strict clang-tidy failure handling. Validate native platforms, static builds, packaging, interoperability, sanitizers, and canonical/legacy consumers.

All 22 hosted checks pass at reviewed head a8493250eb.
2026-09-11 14:18:37 +08:00
Max Lv 201e70c4bd Modernize C builds with offline dependencies and portable runtime helpers (#3050)
Bundle pinned offline dependencies, remove libcork/libipset and submodule requirements, and add portable runtime helpers with relocatable static/shared library installations.

Add Clang static build validation for Linux/musl, macOS and Windows, real TCP/UDP and SIP003 interoperability coverage, and recorded performance tradeoffs. All 21 hosted checks pass at the reviewed PR head 8d504e6218.
2026-09-11 13:42:11 +08:00
mesher2024 2d8af6e56c Update build-depends in debian/control
Replace libpcre3-dev with libpcre2-dev.
2026-02-08 09:59:34 +08:00
Roger Shimizu 0d96da4471 Sync debian/ folder with debian version 3.3.4+ds-3 2020-03-29 17:49:39 +09:00
Roger Shimizu 24ecf4d780 Sync debian/ folder with debian release 3.1.1+ds-1~exp1 2017-11-23 20:06:38 +09:00
Howard Liu 7525d518de Fixed Debian Package Control (#1656)
Removed dependency libudns-dev, added libc-ares-dev
2017-09-01 09:21:23 +08:00
Patrick Li f32ac38c2f Allow the use of pwgen to generate passwords 2017-03-07 16:26:46 +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
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
Roger Shimizu 71d5453f88 Sync debian/ folder with debian version 2.6.2+ds-1
Use asciidoc as Build-Depends, because user may build under Wheezy
or Ubuntu 14.04.
2017-01-22 13:29:12 +08:00
Roger Shimizu cc30c7b6eb debian/shadowsocks-libev.{default,init,service}: Run service as non-root 2017-01-22 12:57:42 +08:00
Roger Shimizu 1ce4bf903d Sync debian/ folder with v2.6.0+ds-2 2017-01-06 05:49:37 -06:00
Zhengjun Zhang 363bf5735e Add capabilities for Debian Linux, so you can run ss-* as non-root. 2016-12-31 20:23:05 -06:00
Roger Shimizu 65773723e4 sync debian/ folder with debian package 2.5.3+ds-1 (#866) 2016-10-04 09:55:42 -05:00
Boyuan Yang c12e450e98 Update Debian dependency and bump library soname (#814)
* debian: add libpcre3-dev as build dependency.

* Bump soname of libshadowsocks-libev.

Soname for libshadowsocks-libev is bumped
from 1:0:0 to 2:0:0 due to ABI breakage
between shadowsocks-libev 2.5.0 and 2.5.1.
2016-09-08 22:35:27 +08:00
Max Lv d8606c53b8 Refine libpcre searching 2016-09-08 22:20:48 +08:00
Boyuan Yang 2ca39faa4b Update debian package script (#709)
* Fix d/control dependency
* Add --disable-ssp in d/rules and depend on dpkg-buildflags
2016-07-06 02:50:46 -05:00
Roger Shimizu 75aeacadd1 Sync debian/ folder (#681)
A few itmes deserve to be mentioned:
 - use apg to generate random password when install.
 - generated password won't get updated when upgrading / reinstall.
 - add more to description to make lintian happy.
 - generated Makefile.am don't need to be listed in debian/copyright.
 - the way of installing systemd service is changed. Thanks to advice
   from Boyuan.
 - multi-arch can be archived without specific setting in debian/rules
 - add debian/watch file
2016-06-19 19:58:52 -05:00
Boyuan Yang 835a50fece Another fix for #668 (#671) 2016-06-10 08:50:05 -05:00
Max Lv 6fc1dccc58 Rename libshadowsocks to libshadowsocks-libev 2016-06-01 18:12:27 +08:00
Roger Shimizu cd736d3e94 A few commit recommend for Debian uploading (#636)
* Add Security Hardening

ref: https://wiki.debian.org/Hardening

* Add debian/source/format

* Remove -dbg package

Debug Package is already generated automatically, as -dbgsym package
ref: https://wiki.debian.org/DebugPackage

* Do not include a duplicated changelog into deb package

* Upgrade to policy version 3.9.8

No change is required, based on:
https://www.debian.org/doc/debian-policy/upgrading-checklist.html

* Update configure not to use local libs at all when choosing so
2016-05-17 20:11:05 +08:00
Boyuan Yang 14c611a337 fix debian packaging 2015-09-29 13:03:06 +08:00
Boyuan Yang 643d579bdf Improve Debian packaging script.
if debuild or dpkg-buildpackage is used, it will generate 4 packages
to fit Debian's packaging policy.
2015-09-22 15:44:39 +08:00
Max Lv 8be933153a fix #225 2015-01-14 20:29:04 +08:00
Max Lv 5f07c23ad1 update URLs 2014-12-28 10:02:56 +08:00
Max Lv d4781f9359 bump version and fix #157 2014-11-17 14:16:18 +08:00
Symeon Huang 50dbeef003 completely rename as shadowsocks-libev.
it's not conflicted with shadowsocks-python now. users can install both python and libev
ports of shaowsocks now. but they should migrate their old configuration file from
/etc/shadowsocks/config.json to /etc/shadowsocks-libev/config.json
2014-11-16 19:56:04 +00:00
Symeon Huang 5432aa1321 change name to shadowsocks-libev.
Note:

Debian/Ubuntu users may have to `sudo rm -f /etc/shadowsocks` before install
the new `shadowsocks-libev` package.

For library user, the pkg-config package is renamed to `shadowsocks-libev` but
the library name is still the `libshadowsocks` (use `-lshadowsocks` to link)
2014-11-15 15:13:06 +00:00
Max lv c97f5bbf9a fix building issues 2013-06-20 21:08:11 -05:00
Max Lv ff08838a19 add debian package description 2013-04-06 18:00:46 +08:00