Skip to content

Instantly share code, notes, and snippets.

@lassebm
Created August 9, 2018 20:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lassebm/4e08ea2cea28654b9a38870ddc83ce7c to your computer and use it in GitHub Desktop.
Save lassebm/4e08ea2cea28654b9a38870ddc83ce7c to your computer and use it in GitHub Desktop.
diff -Naur rslsync.orig/PKGBUILD rslsync/PKGBUILD
--- rslsync.orig/PKGBUILD 2018-07-26 21:25:46.000000000 +0200
+++ rslsync/PKGBUILD 2018-08-09 22:50:50.885538568 +0200
@@ -18,18 +18,18 @@
source_arm=("rslsync_arm-${pkgver}.tar.gz::https://download-cdn.resilio.com/stable/linux-arm/resilio-sync_arm.tar.gz")
source_armv6h=("rslsync_arm-${pkgver}.tar.gz::https://download-cdn.resilio.com/stable/linux-arm/resilio-sync_arm.tar.gz")
source_armv7h=("rslsync_armhf-${pkgver}.tar.gz::https://download-cdn.resilio.com/stable/linux-armhf/resilio-sync_armhf.tar.gz")
-source_aarch64=("rslsync_armhf-${pkgver}.tar.gz::https://download-cdn.resilio.com/stable/linux-armhf/resilio-sync_armhf.tar.gz")
+source_aarch64=("rslsync_arm64-${pkgver}.tar.gz::https://download-cdn.resilio.com/stable/linux-arm64/resilio-sync_arm64.tar.gz")
source_i686=("rslsync_i386-${pkgver}.tar.gz::https://download-cdn.resilio.com/stable/linux-i386/resilio-sync_i386.tar.gz")
source_x86_64=("rslsync_x64-${pkgver}.tar.gz::https://download-cdn.resilio.com/stable/linux-x64/resilio-sync_x64.tar.gz")
sha256sums=('4483cbe3fff81281666d8fbe8c9b8d7d27c38ba7a3d3752a865f1ab8c1f212db'
'ba4b0ee3303027122e67345d4bf852f911a56f213f98c9eaa198c69d903fd8a1'
- '56a0523cdde9b6c1c469bbb29805d260972e8e1fc831e82863fd35d9e2f6c734')
+ '150408a99eea8082b1df115c2c836f4e8e68a85eba7cd56b5885ebd4e07dceda')
sha256sums_i686=('1ab6eb8bc0dfed1b702aad75ac5c02de124ca6ba6f3c8162fa4119472e3523ab')
sha256sums_x86_64=('5f73bfefeedf8e042d483d00aa4af93f09a5b7cbd1efaedcbc3a2b9662578100')
sha256sums_arm=('e66a6f4380db09b2ea08d7e0f3722c0587317fac9c13558817af837a4c5bba7f')
sha256sums_armv6h=('e66a6f4380db09b2ea08d7e0f3722c0587317fac9c13558817af837a4c5bba7f')
sha256sums_armv7h=('7b03aad7abe69d02674297f70ce9b1fde87387feb5e873f1b8b3b75d92ec976a')
-sha256sums_aarch64=('7b03aad7abe69d02674297f70ce9b1fde87387feb5e873f1b8b3b75d92ec976a')
+sha256sums_aarch64=('8866b11bc90c0248a1d7d98fbaaad167f9af385a9d6dd3949ca60a425b03e0ae')
package() {
@@ -42,7 +42,7 @@
| sed 's:/home/user/\.sync:/var/lib/rslsync:' \
| sed 's:\/\/ "pid_file": "pid_file":' \
| sed 's:\/\/ "storage_path": "storage_path":' \
- | sed 's/\/var\/run\/resilio\/resilio.pid/\/var\/run\/resilio\/resilio.pid/g' \
+ | sed 's/\/var\/run\/resilio/\/run\/resilio/g' \
> "${pkgdir}"/etc/rslsync.conf
chmod 644 "${pkgdir}"/etc/rslsync.conf
diff -Naur rslsync.orig/rslsync.conf rslsync/rslsync.conf
--- rslsync.orig/rslsync.conf 2018-07-26 21:25:46.000000000 +0200
+++ rslsync/rslsync.conf 2018-08-09 22:50:56.855520951 +0200
@@ -1 +1 @@
-D /var/run/resilio 0755 rslsync rslsync -
+D /run/resilio 0755 rslsync rslsync -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment