From 766e0c5663997a2c61243f11da79bfc5aad64339 Mon Sep 17 00:00:00 2001 From: ananteris Date: Sun, 25 Dec 2016 07:44:00 -0500 Subject: [PATCH] openbazaar: update to 1.1.10 --- srcpkgs/openbazaar/files/void_service.EXAMPLE | 15 +++++++++++++++ srcpkgs/openbazaar/template | 7 ++++--- 2 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/openbazaar/files/void_service.EXAMPLE diff --git a/srcpkgs/openbazaar/files/void_service.EXAMPLE b/srcpkgs/openbazaar/files/void_service.EXAMPLE new file mode 100644 index 00000000000..f2a90287c4e --- /dev/null +++ b/srcpkgs/openbazaar/files/void_service.EXAMPLE @@ -0,0 +1,15 @@ +#!/bin/sh +exec 2>&1 +USER=user +LOG=/var/log/openbazaar.log + +if [ ! -d $LOG ]; +then + touch $LOG + chown $USER:$USER $LOG +fi + +#openbazaard looks for ob.cfg in PWD +cd /etc +exec > $LOG +exec chpst -u$USER:$USER openbazaard start diff --git a/srcpkgs/openbazaar/template b/srcpkgs/openbazaar/template index 5449cfa71ca..e44f5a3ac6f 100644 --- a/srcpkgs/openbazaar/template +++ b/srcpkgs/openbazaar/template @@ -1,6 +1,6 @@ # Template file for 'openbazaar' pkgname=openbazaar -version=1.1.9 +version=1.1.10 revision=1 build_style=fetch short_desc="P2P Distributed marketplace" @@ -14,10 +14,10 @@ repository="nonfree" if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ];then _debarch=amd64 - checksum="448aac63b01bd24f366c92e7aa17cefefa4e89e224914f5fddb81a7f2ae34568" + checksum=0587b37baf4eebc447204883f021372bb6b1e1243f424d15aa13339d82428b47 else _debarch=i386 - checksum="1007cad53157f41c92dae9d704608ecb07f178d80e140b5dbccb81ab099f9f46" + checksum=813a35d6a9c1dd099f172812b6db124cd0ec38732f6dfce324f0f2895b03c53b fi distfiles="https://github.com/OpenBazaar/OpenBazaar-Installer/releases/download/v${version}/${pkgname}_${version}_${_debarch}.deb" @@ -27,4 +27,5 @@ do_install() { vlicense ${DESTDIR}/usr/share/openbazaar/LICENSE vbin ${DESTDIR}/usr/share/openbazaar/resources/OpenBazaar-Server/openbazaard vconf ${DESTDIR}/usr/share/openbazaar/resources/OpenBazaar-Server/ob.cfg + vdoc ${FILESDIR}/void_service.EXAMPLE }