Compare commits
No commits in common. "31dd4337f044dd0c4ad2f0ce989800af5dc3b54e" and "446b7aed8bb34cfbb87886ab8fd3d9d7e64c945a" have entirely different histories.
31dd4337f0
...
446b7aed8b
2 changed files with 19 additions and 34 deletions
18
.SRCINFO
18
.SRCINFO
|
@ -1,23 +1,15 @@
|
|||
pkgbase = mozilla-firefox-sync-server-git
|
||||
pkgdesc = Mozilla Sync Server for built-in Firefox Sync
|
||||
pkgver = 1.9.1.r10.g58b8036
|
||||
pkgrel = 5
|
||||
url = https://mozilla-services.readthedocs.io/en/latest/howtos/run-sync-1.5.html
|
||||
pkgdesc = Mozilla Sync Server for built-in Firefox Sync - 1.5+ version for Firefox 29+
|
||||
pkgver = 1.8.0.r32.gbebd2f3
|
||||
pkgrel = 1
|
||||
url = http://docs.services.mozilla.com/howtos/run-sync-1.5.html
|
||||
install = mozilla-firefox-sync-server-git.install
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
arch = arm
|
||||
arch = armv6h
|
||||
arch = armv7h
|
||||
arch = aarch64
|
||||
license = MPL2
|
||||
license = GPL
|
||||
makedepends = git
|
||||
depends = python2
|
||||
depends = python2-virtualenv
|
||||
optdepends = uwsgi-plugin-python2: Serve the webapp using uwsgi
|
||||
optdepends = mozilla-firefox-account-server: Run your own firefox account server
|
||||
provides = mozilla-firefox-sync-server
|
||||
conflicts = mozilla-firefox-sync-server
|
||||
conflicts = mozilla-firefox-sync-server-hg
|
||||
options = !debug
|
||||
backup = opt/mozilla-firefox-sync-server/syncserver.ini
|
||||
|
|
33
PKGBUILD
33
PKGBUILD
|
@ -2,18 +2,17 @@
|
|||
# Contributor: Timothée Ravier <tim@siosm.fr>
|
||||
|
||||
pkgname=mozilla-firefox-sync-server-git
|
||||
pkgver=1.9.1.r10.g58b8036
|
||||
pkgrel=5
|
||||
pkgdesc='Mozilla Sync Server for built-in Firefox Sync'
|
||||
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
|
||||
url='https://mozilla-services.readthedocs.io/en/latest/howtos/run-sync-1.5.html'
|
||||
license=('MPL2')
|
||||
pkgver=1.8.0.r32.gbebd2f3
|
||||
pkgrel=1
|
||||
pkgdesc="Mozilla Sync Server for built-in Firefox Sync - 1.5+ version for Firefox 29+"
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://docs.services.mozilla.com/howtos/run-sync-1.5.html'
|
||||
license=('GPL')
|
||||
depends=('python2' 'python2-virtualenv')
|
||||
makedepends=('git')
|
||||
options=(!debug)
|
||||
conflicts=('mozilla-firefox-sync-server' 'mozilla-firefox-sync-server-hg')
|
||||
provides=('mozilla-firefox-sync-server')
|
||||
install="${pkgname}.install"
|
||||
conflicts=('mozilla-firefox-sync-server-hg')
|
||||
install=${pkgname}.install
|
||||
source=("${pkgname}::git+https://github.com/mozilla-services/syncserver"
|
||||
'ffsync.service'
|
||||
'ffsync.tmpfiles')
|
||||
|
@ -24,29 +23,23 @@ sha384sums=('SKIP'
|
|||
'a7384b5b55b2377ee4445e45bfd0545435c2a6a19730ff4219340e3c6e8a3b51fcb46e4215093df860f9fa99a0b471ab'
|
||||
'236b285f7e390d31cd13a0ac78c524acfbc8a7325d7b0b114b39f69a5963535d5f1f73bdef575728b2f6e81860c4ea16')
|
||||
backup=('opt/mozilla-firefox-sync-server/syncserver.ini')
|
||||
optdepends=('uwsgi-plugin-python2: Serve the webapp using uwsgi'
|
||||
'mozilla-firefox-account-server: Run your own firefox account server')
|
||||
|
||||
pkgver() {
|
||||
cd "${pkgname}"
|
||||
cd ${pkgname}
|
||||
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd "${pkgname}"
|
||||
cd ${pkgname}
|
||||
|
||||
# Change default sqlite database location
|
||||
sed -i "s|/tmp/syncserver.db|/var/lib/ffsync/sync_storage.db|g" syncserver.ini
|
||||
sed -i "0,/^\#sqluri/s//sqluri/" syncserver.ini
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${pkgname}"
|
||||
cd ${pkgname}
|
||||
make build
|
||||
|
||||
# MySQL support (should already be included)
|
||||
#local/bin/pip install PyMySQL
|
||||
|
||||
# PostgreSQL support
|
||||
# local/bin/pip install psycopg2
|
||||
|
||||
|
@ -63,13 +56,13 @@ build() {
|
|||
}
|
||||
|
||||
check() {
|
||||
cd "${pkgname}"
|
||||
cd ${pkgname}
|
||||
|
||||
#make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}"
|
||||
cd ${pkgname}
|
||||
|
||||
# There is no install target in the Makefile, installing manually
|
||||
install -dm 755 "${pkgdir}"/opt/${pkgname/-git} "${pkgdir}"/var/lib/ffsync
|
||||
|
|
Loading…
Reference in a new issue