Compare commits
35 commits
main
...
packages/f
Author | SHA1 | Date | |
---|---|---|---|
ebbc6c5bda | |||
c6d1536210 | |||
0d8bd70eb1 | |||
4763d493c9 | |||
ae8213c53f | |||
393c40e1d5 | |||
413b00c196 | |||
e0bc737802 | |||
056498d21a | |||
6413109dc4 | |||
145eb6dfec | |||
93496f9c7f | |||
11bc0efca1 | |||
eba1c23557 | |||
7b650bbfd9 | |||
84003676a8 | |||
461d5a7a51 | |||
38f8363b4d | |||
3ca5bb7dc8 | |||
839c29e22a | |||
8fe6bba7f8 | |||
cf904747d9 | |||
cea596070c | |||
635d63542c | |||
d7b0f56062 | |||
74f9710b01 | |||
f75c16b264 | |||
93ce8e761f | |||
d0cdf4e43b | |||
313a33c639 | |||
13a01485f4 | |||
85b60c75a1 | |||
adb881f525 | |||
0420c2f230 | |||
d615fb661b |
2 changed files with 14 additions and 12 deletions
11
.SRCINFO
11
.SRCINFO
|
@ -1,6 +1,6 @@
|
|||
pkgbase = firefox-syncstorage
|
||||
pkgdesc = Sync storage server with built-in token server for running a self-hosted firefox sync server
|
||||
pkgver = 0.12.4
|
||||
pkgver = 0.18.2
|
||||
pkgrel = 1
|
||||
url = https://github.com/mozilla-services/syncstorage-rs
|
||||
install = firefox-syncstorage.install
|
||||
|
@ -10,7 +10,7 @@ pkgbase = firefox-syncstorage
|
|||
arch = armv6h
|
||||
arch = armv7h
|
||||
arch = aarch64
|
||||
license = MPL2
|
||||
license = MPL-2.0
|
||||
makedepends = rust
|
||||
makedepends = cmake
|
||||
makedepends = pkgconf
|
||||
|
@ -19,10 +19,11 @@ pkgbase = firefox-syncstorage
|
|||
depends = python-fxa
|
||||
depends = python-tokenlib
|
||||
optdepends = mysql: for use with a local database server
|
||||
options = !lto
|
||||
backup = etc/firefox-syncstorage.toml
|
||||
source = https://github.com/mozilla-services/syncstorage-rs/archive/0.12.4.tar.gz
|
||||
source = https://github.com/mozilla-services/syncstorage-rs/archive/0.18.2/syncstorage-rs-0.18.2.tar.gz
|
||||
source = firefox-syncstorage.service
|
||||
sha256sums = 05817b02e74fb4f45a10b1b2583bf353616624a1c776cf72c185f9e89189590b
|
||||
sha256sums = 609e057cd835ea54b06b32b98e210cd946255f652e7754c9160fd7c94379a83d
|
||||
sha512sums = 4689b5eca15a983f020dad13c8290f1eb3d62ea8dc52aa3c5c289e256911090d90255b0f9adf88bf9c3bfaec4f11790ecdb18ba94c67aedcdb9ff1fd85fea480
|
||||
sha512sums = 4c5fbb99160613ba3fb0fedce97f04f63b92699fe79c6edd899d4ec5f297c5a98c0c211df3eb9a6579c12c57f4c63513747ed8944a60fc76e32f1e0c0f5e3a95
|
||||
|
||||
pkgname = firefox-syncstorage
|
||||
|
|
15
PKGBUILD
15
PKGBUILD
|
@ -5,32 +5,33 @@
|
|||
|
||||
pkgname=firefox-syncstorage
|
||||
_pkgname=syncstorage-rs
|
||||
pkgver=0.12.4
|
||||
pkgver=0.18.2
|
||||
pkgrel=1
|
||||
pkgdesc='Sync storage server with built-in token server for running a self-hosted firefox sync server'
|
||||
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
|
||||
url="https://github.com/mozilla-services/${_pkgname}"
|
||||
license=('MPL2')
|
||||
license=('MPL-2.0')
|
||||
depends=('openssl' 'python-fxa' 'python-tokenlib')
|
||||
makedepends=('rust' 'cmake' 'pkgconf' 'mariadb-libs')
|
||||
optdepends=('mysql: for use with a local database server')
|
||||
options=('!lto')
|
||||
install="${pkgname}.install"
|
||||
source=("https://github.com/mozilla-services/${_pkgname}/archive/${pkgver}.tar.gz"
|
||||
source=("https://github.com/mozilla-services/${_pkgname}/archive/${pkgver}/${_pkgname}-${pkgver}.tar.gz"
|
||||
"${pkgname}.service")
|
||||
sha256sums=('05817b02e74fb4f45a10b1b2583bf353616624a1c776cf72c185f9e89189590b'
|
||||
'609e057cd835ea54b06b32b98e210cd946255f652e7754c9160fd7c94379a83d')
|
||||
sha512sums=('4689b5eca15a983f020dad13c8290f1eb3d62ea8dc52aa3c5c289e256911090d90255b0f9adf88bf9c3bfaec4f11790ecdb18ba94c67aedcdb9ff1fd85fea480'
|
||||
'4c5fbb99160613ba3fb0fedce97f04f63b92699fe79c6edd899d4ec5f297c5a98c0c211df3eb9a6579c12c57f4c63513747ed8944a60fc76e32f1e0c0f5e3a95')
|
||||
backup=("etc/${pkgname}.toml")
|
||||
|
||||
build() {
|
||||
cd "${_pkgname}-${pkgver}"
|
||||
cargo build --release --features grpcio/openssl
|
||||
cargo build --release
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${_pkgname}-${pkgver}"
|
||||
|
||||
# Installing manually
|
||||
install -Dm 755 target/release/syncstorage "${pkgdir}"/usr/bin/"${pkgname}"
|
||||
install -Dm 755 target/release/syncserver "${pkgdir}"/usr/bin/"${pkgname}"
|
||||
install -Dm 644 config/local.example.toml "${pkgdir}"/etc/"${pkgname}".toml
|
||||
install -Dm 644 "${srcdir}/${pkgname}".service "${pkgdir}"/usr/lib/systemd/system/"${pkgname}".service
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue