openbazaar: drop package

It's been broken for at least a year and upstream's last commit is 6
years old

closes #35126
This commit is contained in:
RunningDroid 2023-08-02 02:21:33 -04:00 committed by classabbyamp
parent be6cbdd1a4
commit b019186856
3 changed files with 2 additions and 64 deletions

View File

@ -1,15 +0,0 @@
#!/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

View File

@ -1,48 +0,0 @@
# Template file for 'openbazaar'
pkgname=openbazaar
version=1.1.13
revision=2
archs="i686 x86_64"
create_wrksrc=yes
depends="nodejs"
short_desc="P2P Distributed marketplace"
maintainer="ananteris <ananteris@protonmail.ch>"
license="MIT"
homepage="http://openbazaar.org"
python_version=3
nostrip=yes
repository="nonfree"
case "${XBPS_TARGET_MACHINE}" in
x86_64) _debarch=amd64
checksum=34118eecedd15d89052b8cc6d08fb789adba5788d43019ea5c89e52f1f07064a
;;
i686) _debarch=i386
checksum=87c73589aebdb78455e69fe1ccc058440d0ae662404e9ef7d4988e6c574e2add
;;
esac
distfiles="https://github.com/OpenBazaar/OpenBazaar-Installer/releases/download/v${version}/openbazaar_${version}_${_debarch}.deb"
do_install() {
vcopy usr /
vlicense usr/share/openbazaar/LICENSE
vmkdir usr/lib/openbazaar/resources
mv -v ${DESTDIR}/usr/share/openbazaar/resources/OpenBazaar-Server \
${DESTDIR}/usr/lib/openbazaar/resources
ln -frsv ${DESTDIR}/usr/lib/openbazaar/resources/OpenBazaar-Server/openbazaard \
${DESTDIR}/usr/bin/
vconf ${DESTDIR}/usr/lib/openbazaar/resources/OpenBazaar-Server/ob.cfg
mv -v ${DESTDIR}/usr/share/openbazaar/openbazaar \
${DESTDIR}/usr/lib/openbazaar
ln -frsv ${DESTDIR}/usr/lib/openbazaar/openbazaar \
${DESTDIR}/usr/bin/
vdoc ${FILESDIR}/void_service.EXAMPLE
find ${DESTDIR}/usr/share/openbazaar -iname "*.so" -print0 | while read -d "" lib; do
dir="${lib%/*}"
dir="${dir/\/share\//\/lib\/}"
mkdir -p "${dir}"
mv -v "${lib}" "${dir}"
done
}

View File

@ -1,6 +1,6 @@
# Template file for 'removed-packages'
pkgname=removed-packages
version=0.1.20230728
version=0.1.20230805
revision=1
build_style=meta
short_desc="Uninstalls packages removed from repository"
@ -414,6 +414,7 @@ replaces="
oce-devel<=0.18.3_1
oce<=0.18.3_1
onionshare<=2.2_5
openbazaar<=1.1.13_2
opencl-clhpp<=2.0.15_1
openlierox<=0.58.rc5_2
opentmpfiles<=0.3.1_1