Package Details: shadowsocks-rust-bin 1.15.3-2

Git Clone URL: https://aur.archlinux.org/shadowsocks-rust-bin.git (read-only, click to copy)
Package Base: shadowsocks-rust-bin
Description: A Rust port of shadowsocks https://shadowsocks.org/ (binary version)
Upstream URL: https://github.com/shadowsocks/shadowsocks-rust
Keywords: censorship evasion tunnel
Licenses: MIT
Conflicts: shadowsocks, shadowsocks-rust, shadowsocks-rust-git
Provides: shadowsocks, shadowsocks-rust
Submitter: 4679
Maintainer: spyophobia (DuckSoft)
Last Packager: spyophobia
Votes: 10
Popularity: 0.000062
First Submitted: 2021-03-19 11:32 (UTC)
Last Updated: 2023-04-21 09:35 (UTC)

Pinned Comments

spyophobia commented on 2023-03-04 06:07 (UTC)

After some user feedback regarding the the specialised unit files this package came with, I have come to agree that using the same unit files as the other two AUR packages (shadowsocks-rust and shadowsocks-rust-git) provides a better UX. Therefore I have reverted the breaking systemd unit changes. Sorry for the inconvenience.

For those who wish to continue using the shadowsocks-rust-local@.service units, you can install shadowsocks-rust-multiprofile-daemon-git alongside any one of shadowsocks-rust, shadowsocks-rust-bin, or shadowsocks-rust-git. The unit names have been slightly changed to prevent conflict with these packages, but everything else remains the same.

Latest Comments

1 2 Next › Last »

lanthora commented on 2023-05-27 14:32 (UTC) (edited on 2023-05-27 14:34 (UTC) by lanthora)

I'm not sure if archlinux has an "arm" architecture, but my 32 bit Raspberry Pi has an "armv7h" architecture.

In addition, the two lines of configuration in the service file are removed. This configuration will cause the startup to fail due to permission issues.

The configuration after removing sensitive information is as follows:

{
    "server": "xxx.xxx.xxx.xxx",
    "server_port": xxx,
    "local_address": "0.0.0.0",
    "local_port": 1080,
    "password": "XXXXXXXXX",
    "timeout": 300,
    "mode": "udp_only",
    "method": "aes-256-gcm",
    "protocol": "redir"
}
diff --git a/PKGBUILD b/PKGBUILD
index 6228335..9d67d3c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ _pkgname=shadowsocks-rust
 pkgver=1.15.3
 pkgrel=2
 pkgdesc='A Rust port of shadowsocks https://shadowsocks.org/ (binary version)'
-arch=('x86_64' 'arm' 'aarch64')
+arch=('x86_64' 'arm' 'armv7h' 'aarch64')
 url='https://github.com/shadowsocks/shadowsocks-rust'
 license=('MIT')
 depends=('gcc-libs')
@@ -22,15 +22,17 @@ source=(
 )
 source_x86_64=("${url}/releases/download/v${pkgver}/shadowsocks-v${pkgver}.x86_64-unknown-linux-gnu.tar.xz")
 source_arm=("${url}/releases/download/v${pkgver}/shadowsocks-v${pkgver}.arm-unknown-linux-gnueabi.tar.xz")
+source_armv7h=("${url}/releases/download/v${pkgver}/shadowsocks-v${pkgver}.armv7-unknown-linux-gnueabihf.tar.xz")
 source_aarch64=("${url}/releases/download/v${pkgver}/shadowsocks-v${pkgver}.aarch64-unknown-linux-gnu.tar.xz")

 sha512sums=('6d7014061bf4014faec823aa1da91f990d034c21005cbee30de7ee62744201fba7d09d58a9e536d8e63bfa6fe951107ee68482b583d887b6e358f3c3eec89b85'
-            '3a79d6958e61e891d208cea17b02ed5fe0318bbecc8d1bda7b8297e6ffdad186a86cf0fc55cb2904ed67bd460856f7136b6550ab493de31435df97285279d47d'
+            '7d759a42e7c2ecff377d19578d384fce4f4361201cb09556b88e661816901c5b70f1f3f7aa4c3daa9cf4cb92247308795eb3bca0fcf7a8f3d2b6f294e691c592'
             '23a33b6e43ac5e91866c0aab8b0166790559ebdb49b3ea91393a977d2636a0c75f99544f559e0a248be1eb54e6bf8ad1cda8887a85d773a9214de16c4f223f1f'
             '9a0b81d82bf897c5461d75d941cd604cbd7f32d00c2bf775f17b37b77fcf5734903d2ec666ba9a6a340e77f31018b5dbbb8ea597797c6a00c6b1f3e2f47127e6'
             '4ac52e6fe04e02543f54d57fccfd863f18b157fd28fb61c9a56ba46269b9dff410a80960943d911afa55b45c3fc42e98d91f8bb75e9103abf3f3dbfffb73a6e0')
 sha512sums_x86_64=('e0a44815ed884f09df337fce30ba2ff85dcede138dfce7e49623fe8766452f7cdb24f4be528fd0eba9d0a761d6cc8843bdf8531854a8273d078b8900f7008712')
 sha512sums_arm=('ad8f6f56378e24789dcba10b02d28d5d0955ca6dc615e1f65b59caabc59c9098a34315c2296e61a2c2f63c679d80b6f44e704f8b5f96152a83c200b1009328b7')
+sha512sums_armv7h=('f42c4e72b6a9ad7ece5067b059d8793fe52701e417c433a550c38f609cc1e1246d1515058d0eea56e3f975e69cf1695e971521681191c2eb693e3a171bc60399')
 sha512sums_aarch64=('67e68e97867e66620d197d75e4224680e9f393092041e56789264ec471394ab029f008e2337e7e68e884a08036265d02fbf130387a961b9b1663af3a5e5ade0d')

 package() {
diff --git a/shadowsocks-rust@.service b/shadowsocks-rust@.service
index e4485af..42d6efd 100644
--- a/shadowsocks-rust@.service
+++ b/shadowsocks-rust@.service
@@ -5,8 +5,6 @@ Wants=network-online.target

 [Service]
 Type=simple
-DynamicUser=yes
-CapabilityBoundingSet=CAP_NET_BIND_SERVICE
 ExecStart=/usr/bin/ssservice local --log-without-time -c /etc/shadowsocks-rust/%i.json

 [Install]

aminvakil commented on 2023-04-21 10:27 (UTC)

@spyophobia Sure, thanks!

spyophobia commented on 2023-04-21 09:34 (UTC)

@aminvakil thanks, updated. I did not declare replaces because it's inappropriate. See docs.

Also, it won't be necessary after 1.16.0 to include shadowsocks in the conflicts array due to deprecation of old binaries. See release notes.

aminvakil commented on 2023-04-20 16:56 (UTC)

error: failed to commit transaction (conflicting files)
shadowsocks-rust-bin: /usr/bin/sslocal exists in filesystem (owned by shadowsocks)
shadowsocks-rust-bin: /usr/bin/ssserver exists in filesystem (owned by shadowsocks)

This should also conflict and replace shadowsocks package.

spyophobia commented on 2023-03-04 06:07 (UTC)

After some user feedback regarding the the specialised unit files this package came with, I have come to agree that using the same unit files as the other two AUR packages (shadowsocks-rust and shadowsocks-rust-git) provides a better UX. Therefore I have reverted the breaking systemd unit changes. Sorry for the inconvenience.

For those who wish to continue using the shadowsocks-rust-local@.service units, you can install shadowsocks-rust-multiprofile-daemon-git alongside any one of shadowsocks-rust, shadowsocks-rust-bin, or shadowsocks-rust-git. The unit names have been slightly changed to prevent conflict with these packages, but everything else remains the same.

spyophobia commented on 2022-10-14 02:21 (UTC)

@suienzan Thanks! Fixed.

suienzan commented on 2022-10-13 03:24 (UTC)

config examples should be install to /etc/shadowsocks-rust/

spyophobia commented on 2022-08-27 07:51 (UTC) (edited on 2022-10-14 02:17 (UTC) by spyophobia)

BREAKING CHANGES:

I have updated the systemd unit files to achieve the following:

  • Unit names are now more descriptive (shadowsocks-rust@.service -> shadowsocks-rust-local@.service)
  • Added user units alongside system units to allow activation per-user (systemctl --user start shadowsocks-rust-local@...)
  • Improved security using systemd's sandboxing features
  • Allow clearer configuration profile management (see unit files)

This unfortunately means that you will have to move/edit your config files to meet the expectations of the new unit files. Please see the comments in *.service files for how config files should now be arranged.

Sorry for the inconvenience and thank you for your understanding.

spyophobia commented on 2022-05-08 18:01 (UTC)

BREAKING CHANGES:

I have restored the installed binaries to their original names to conform to the shadowsocks-rust package (ssserver-rust -> ssserver, sslocal-rust -> sslocal, etc.).

I have also added the ssservice binary, if you prefer this one.

ohmyarch commented on 2021-12-20 13:03 (UTC)

v1.12.5 is out.