Patches for aports can be sent to this list

5 4

[alpine-aports] [PATCH] community/mongodb: expunge nonfree software

Details
Message ID
<20190306205813.12658-1-sir@cmpwn.com>
Sender timestamp
1551905893
DKIM signature
missing
Download raw message
Patch: +0 -1021
Upstream has switched to a nonfree license.
---
 community/mongodb-tools/APKBUILD              |  38 -------
 community/mongodb-tools/fix-build.patch       |  13 ---
 community/mongodb/APKBUILD                    | 100 ------------------
 community/mongodb/fix-backtrace.patch         |  12 ---
 community/mongodb/fix-default-stacksize.patch |  20 ----
 community/mongodb/fix-elf-native-class.patch  |  12 ---
 community/mongodb/fix-processinfo_linux.patch |  35 ------
 community/mongodb/fix-resolv.patch            |  17 ---
 community/mongodb/fix-strerror_r.patch        |  13 ---
 community/mongodb/mongodb.confd               |  14 ---
 community/mongodb/mongodb.initd               |  41 -------
 community/mongodb/mongodb.logrotate           |  13 ---
 community/mongodb/mongodb.pre-install         |   6 --
 community/mongodb/mongos.confd                |  16 ---
 community/mongodb/mongos.initd                |  45 --------
 community/mongodb/wiredtiger.patch            |  11 --
 community/php7-pecl-mongodb/APKBUILD          |  35 ------
 .../wiredtiger/10-fix-code-generator.patch    |  11 --
 community/wiredtiger/APKBUILD                 |  56 ----------
 .../makemake-remove-libtool-version.patch     |  11 --
 non-free/unifi/APKBUILD                       |  95 -----------------
 non-free/unifi/mongo_prune.js                 |  87 ---------------
 non-free/unifi/unifi.confd                    |   2 -
 non-free/unifi/unifi.initd                    |  17 ---
 non-free/unifi/unifi.logrotated               |   8 --
 non-free/unifi/unifi.pre-install              |   6 --
 non-free/unifi/unifi_db_prune.cron            |   2 -
 testing/mongo-c-driver/APKBUILD               |  61 -----------
 .../mongo-c-driver/generate_uninstall.patch   |  13 ---
 testing/mongo-php7-library/APKBUILD           |  33 ------
 testing/py-flask-mongoengine/APKBUILD         |  41 -------
 testing/py-flask-pymongo/APKBUILD             |  41 -------
 testing/py-flask-views/APKBUILD               |  41 -------
 testing/py-mongo/APKBUILD                     |  55 ----------
 34 files changed, 1021 deletions(-)
 delete mode 100644 community/mongodb-tools/APKBUILD
 delete mode 100644 community/mongodb-tools/fix-build.patch
 delete mode 100644 community/mongodb/APKBUILD
 delete mode 100644 community/mongodb/fix-backtrace.patch
 delete mode 100644 community/mongodb/fix-default-stacksize.patch
 delete mode 100644 community/mongodb/fix-elf-native-class.patch
 delete mode 100644 community/mongodb/fix-processinfo_linux.patch
 delete mode 100644 community/mongodb/fix-resolv.patch
 delete mode 100644 community/mongodb/fix-strerror_r.patch
 delete mode 100644 community/mongodb/mongodb.confd
 delete mode 100644 community/mongodb/mongodb.initd
 delete mode 100644 community/mongodb/mongodb.logrotate
 delete mode 100644 community/mongodb/mongodb.pre-install
 delete mode 100644 community/mongodb/mongos.confd
 delete mode 100644 community/mongodb/mongos.initd
 delete mode 100644 community/mongodb/wiredtiger.patch
 delete mode 100644 community/php7-pecl-mongodb/APKBUILD
 delete mode 100644 community/wiredtiger/10-fix-code-generator.patch
 delete mode 100644 community/wiredtiger/APKBUILD
 delete mode 100644 community/wiredtiger/makemake-remove-libtool-version.patch
 delete mode 100644 non-free/unifi/APKBUILD
 delete mode 100644 non-free/unifi/mongo_prune.js
 delete mode 100644 non-free/unifi/unifi.confd
 delete mode 100644 non-free/unifi/unifi.initd
 delete mode 100644 non-free/unifi/unifi.logrotated
 delete mode 100644 non-free/unifi/unifi.pre-install
 delete mode 100755 non-free/unifi/unifi_db_prune.cron
 delete mode 100644 testing/mongo-c-driver/APKBUILD
 delete mode 100644 testing/mongo-c-driver/generate_uninstall.patch
 delete mode 100644 testing/mongo-php7-library/APKBUILD
 delete mode 100644 testing/py-flask-mongoengine/APKBUILD
 delete mode 100644 testing/py-flask-pymongo/APKBUILD
 delete mode 100644 testing/py-flask-views/APKBUILD
 delete mode 100644 testing/py-mongo/APKBUILD

diff --git a/community/mongodb-tools/APKBUILD b/community/mongodb-tools/APKBUILD
deleted file mode 100644
index a9b93677b7..0000000000
--- a/community/mongodb-tools/APKBUILD
@@ -1,38 +0,0 @@
-# Contributor: Marc Vertes <mvertes@free.fr>
-# Maintainer: Marc Vertes <mvertes@free.fr>
-pkgname=mongodb-tools
-pkgver=4.0.6
-pkgrel=0
-pkgdesc="The MongoDB tools provide import, export, and diagnostic capabilities."
-url="https://github.com/mongodb/mongo-tools"
-arch="all !s390x !aarch64"
-license="Apache"
-makedepends="$depends_dev go cyrus-sasl-dev openssl-dev libpcap-dev bash perl"
-options="!check"
-source="$pkgname-$pkgver.tar.gz::https://github.com/mongodb/mongo-tools/archive/r$pkgver.tar.gz
-	fix-build.patch
-	"
-builddir="$srcdir/src/github.com/mongodb/mongo-tools"
-
-prepare() {
-	mkdir -p "${builddir%/*}"
-	mv "$srcdir"/mongo-tools-r$pkgver "$builddir"
-	default_prepare
-}
-
-build() {
-	cd "$builddir"
-	GOROOT=/usr/lib/go GOPATH="$srcdir" ./build.sh sasl ssl
-}
-
-package() {
-	cd "$builddir/bin"
-	local bindir="$pkgdir/usr/bin"
-	mkdir -p "$bindir"
-	cp bsondump mongostat mongofiles mongoexport mongoimport \
-		mongorestore mongodump mongotop mongoreplay \
-		"$bindir"
-}
-
-sha512sums="d6185d7442a593d29db78889c55aba53e070bedd522d78d8c0bf52bb27f26c5fee6d010457f65774ea36a2e6d5280f38c95433ff76ed53ed9d74b1c811198cb7  mongodb-tools-4.0.6.tar.gz
-74e432b354fd75209b87461e54f79a173ba0d647a2e45a48d520ee9342236b6a50ef1c634312f4804402578b8534d59ebf10973ce90cae2bbe76407102f2b404  fix-build.patch"
diff --git a/community/mongodb-tools/fix-build.patch b/community/mongodb-tools/fix-build.patch
deleted file mode 100644
index 4913d8caa6..0000000000
--- a/community/mongodb-tools/fix-build.patch
@@ -1,13 +0,0 @@
---- mongo-tools-r3.4.3/build.sh.orig
-+++ mongo-tools-r3.4.3/build.sh
-@@ -7,8 +7,8 @@
- fi
- 
- # make sure we're in the directory where the script lives
--SCRIPT_DIR="$(cd "$(dirname ${BASH_SOURCE[0]})" && pwd)"
--cd $SCRIPT_DIR
-+#SCRIPT_DIR="$(cd "$(dirname ${BASH_SOURCE[0]})" && pwd)"
-+#cd $SCRIPT_DIR
- 
- sed -i.bak -e "s/built-without-version-string/$(git describe)/" \
-            -e "s/built-without-git-spec/$(git rev-parse HEAD)/" \
diff --git a/community/mongodb/APKBUILD b/community/mongodb/APKBUILD
deleted file mode 100644
index db763654f4..0000000000
--- a/community/mongodb/APKBUILD
@@ -1,100 +0,0 @@
-# Maintainer: Marc Vertes <mvertes@free.fr>
-# Contributor: Filipp Andronov <filipp.andronov@gmail.com>
-pkgname=mongodb
-pkgver=4.0.6
-pkgrel=0
-pkgdesc="A high-performance, open source, schema-free document-oriented database"
-url="http://www.mongodb.org"
-arch="x86_64 ppc64le aarch64"
-options="!check" # out of disk space (>35GB)
-license='AGPL3'
-pkgusers="mongodb"
-pkggroups="mongodb"
-makedepends="scons py-setuptools py2-cheetah py2-typing py2-yaml paxmark
-	openssl-dev pcre-dev snappy-dev boost-dev asio-dev libpcap-dev
-	snowball-dev zlib-dev cyrus-sasl-dev yaml-cpp-dev curl-dev"
-install="$pkgname.pre-install"
-source="http://downloads.mongodb.org/src/mongodb-src-r${pkgver}.tar.gz
-	fix-backtrace.patch
-	fix-default-stacksize.patch
-	fix-elf-native-class.patch
-	fix-processinfo_linux.patch
-	fix-resolv.patch
-	fix-strerror_r.patch
-	wiredtiger.patch
-
-	mongodb.confd
-	mongodb.initd
-	mongodb.logrotate
-	mongos.confd
-	mongos.initd
-	"
-
-builddir="$srcdir"/$pkgname-src-r$pkgver
-_buildopts="
-	--allocator=system \
-	--disable-warnings-as-errors \
-	--use-system-boost \
-	--use-system-pcre \
-	--use-system-stemmer \
-	--use-system-snappy \
-	--use-system-zlib \
-	--use-system-yaml \
-	--use-sasl-client \
-	--ssl \
-	"
-
-case $CARCH in
-	aarch64) _buildopts="$_buildopts CCFLAGS=-march=armv8-a+crc" ;;
-esac
-
-build() {
-	cd "$builddir"
-	export SCONSFLAGS="$MAKEFLAGS"
-	scons $_buildopts --prefix=$pkgdir/usr core
-}
-
-check() {
-	cd "$builddir"
-
-	export SCONSFLAGS="$MAKEFLAGS"
-	scons $_buildopts unittests
-	python buildscripts/resmoke.py --suites=unittests --jobs=2
-}
-
-package() {
-	cd "$builddir"
-
-	# install mongo targets
-	export SCONSFLAGS="$MAKEFLAGS"
-	scons $_buildopts --prefix=$pkgdir/usr install
-
-	# java jit requires paxmark
-	paxmark -m "$pkgdir"/usr/bin/mongo*
-
-	# install alpine specific files
-	install -dm700 "$pkgdir/var/lib/mongodb"
-	install -dm755 "$pkgdir/var/log/mongodb"
-	chown mongodb:mongodb "$pkgdir/var/lib/mongodb" "$pkgdir/var/log/mongodb"
-
-	install -Dm755 "$srcdir/mongodb.initd" "$pkgdir/etc/init.d/mongodb"
-	install -Dm644 "$srcdir/mongodb.confd" "$pkgdir/etc/conf.d/mongodb"
-	install -Dm644 "$srcdir/mongodb.logrotate" "$pkgdir/etc/logrotate.d/mongodb"
-
-	install -Dm755 "$srcdir/mongos.initd" "$pkgdir/etc/init.d/mongos"
-	install -Dm644 "$srcdir/mongos.confd" "$pkgdir/etc/conf.d/mongos"
-}
-
-sha512sums="72e04154cf221833522bb0c2cc99acc2a86d20e2dcbf1f8c6ff0a870edf7b2529a55b6821c664805c00c12a311ae374a276ef1e3ccea1ed84fb125bb8726906a  mongodb-src-r4.0.6.tar.gz
-05c4331d028eb396e6cf52d96cdaa2af7199a03522e1a8211df2d36cb053ec093a51e9abf83c4dc00c09a0b1fa119a79bcc719fbc81a48f50ca1527c26613cf0  fix-backtrace.patch
-1492137b0e3456d90a79617c1cd5ead5c71b1cfaae9ee41c75d56cd25f404ec73a690f95ce0d8c064c0a14206daca8070aa769b7cdfa904a338a425b52c293fa  fix-default-stacksize.patch
-56db8f43afc94713ac65b174189e2dd903b5e1eff0b65f1bdac159e52ad4de6606c449865d73bd47bffad6a8fc339777e2b11395596e9a476867d94a219c7925  fix-elf-native-class.patch
-4b72d659eb6cf8c5b303bd91fe28d4cebeefda97be5b93df12a3e265283b4057ff299e14763a0b9f4b6eaae8da1725af35038b3aba578c66dd950f1703c28d42  fix-processinfo_linux.patch
-aac12cffc452f1dc365c65944a015476c2011b0975144879d28938c690fe6e77b6bd672e040b4c04c02cb002224e24d6f13adb083324f424ef4cdb79a3a71f6b  fix-resolv.patch
-92cf2c55c68b975408ed2f7fde65da6b238b617dfaa0737a1c51ce19344dba11dd96c0a99f7671c1b7464f5114b3e820a32a25b1600d1c8217262b60fe0364ea  fix-strerror_r.patch
-ecbe6cb579b33dd4888096712f150772db06fd38219ca2a7679b1dc1ee73b0c3f5ee498af12ecd0265b5231a9fe6b7c12b2c1d606ed04caa6aa00c3ad3fe925a  wiredtiger.patch
-9bcd870742c31bf25f34188ddc3c414de1103e9860dea9f54eee276b89bc2cf1226abab1749c5cda6a6fb0880e541373754e5e83d63cc7189d4b9c274fd555c3  mongodb.confd
-74009794d566dd9d70ec93ffd95c830ee4696165574ecf87398165637fb40799b38d182ef54c50fd0772d589be94ade7f7a49247f3d31c1f012cb4e44cc9f5df  mongodb.initd
-8c089b1a11f494e4148fb4646265964c925bf937633a65e395ee1361d42facf837871dd493a9a2e0f480ae0e0829dbd3ed60794c5334e2716332e131fc5c2c51  mongodb.logrotate
-61d8734cef644187eeadc821c89e63a3fbf61860fe2db6e74557b1c6760fe83ba7549cb04f9e3aacea4d8e7e4d81a3b1bc0d5e29715eca33c4761adb17ea9ab7  mongos.confd
-13aad7247b848ac58b2bc0b40a0d30d909e950380abd0c83fab0e2a394a42dc268a66dac53cf9feec6971739977470082cc4339cca827f41044cfe43803ef3f7  mongos.initd"
diff --git a/community/mongodb/fix-backtrace.patch b/community/mongodb/fix-backtrace.patch
deleted file mode 100644
index 67cb7ca422..0000000000
--- a/community/mongodb/fix-backtrace.patch
@@ -1,12 +0,0 @@
---- mongodb-src-r3.6.1/SConstruct.orig
-+++ mongodb-src-r3.6.1/SConstruct
-@@ -2896,7 +2896,8 @@
-     if (conf.CheckCXXHeader( "execinfo.h" ) and
-         conf.CheckDeclaration('backtrace', includes='#include <execinfo.h>') and
-         conf.CheckDeclaration('backtrace_symbols', includes='#include <execinfo.h>') and
--        conf.CheckDeclaration('backtrace_symbols_fd', includes='#include <execinfo.h>')):
-+        conf.CheckDeclaration('backtrace_symbols_fd', includes='#include <execinfo.h>') and
-+	conf.CheckFunc('backtrace')):
- 
-         conf.env.SetConfigHeaderDefine("MONGO_CONFIG_HAVE_EXECINFO_BACKTRACE")
- 
diff --git a/community/mongodb/fix-default-stacksize.patch b/community/mongodb/fix-default-stacksize.patch
deleted file mode 100644
index d40a2d4b6e..0000000000
--- a/community/mongodb/fix-default-stacksize.patch
@@ -1,20 +0,0 @@
-diff -ru mongodb-src-r3.2.10.orig/src/mongo/platform/stack_locator_pthread_getattr_np.cpp mongodb-src-r3.2.10/src/mongo/platform/stack_locator_pthread_getattr_np.cpp
---- mongodb-src-r3.2.10.orig/src/mongo/platform/stack_locator_pthread_getattr_np.cpp	2016-09-26 15:10:04.000000000 +0300
-+++ mongodb-src-r3.2.10/src/mongo/platform/stack_locator_pthread_getattr_np.cpp	2016-11-01 10:47:31.062284560 +0200
-@@ -35,6 +35,16 @@
- #include "mongo/util/assert_util.h"
- #include "mongo/util/scopeguard.h"
- 
-+__attribute__((constructor))
-+static void set_default_stack_size(void)
-+{
-+    pthread_attr_t attr;
-+    invariant(pthread_attr_init(&attr) == 0);
-+    invariant(pthread_attr_setstacksize(&attr, 256*1024) == 0);
-+    pthread_setattr_default_np(&attr);
-+    invariant(pthread_attr_destroy(&attr) == 0);
-+}
-+
- namespace mongo {
- 
- StackLocator::StackLocator() {
diff --git a/community/mongodb/fix-elf-native-class.patch b/community/mongodb/fix-elf-native-class.patch
deleted file mode 100644
index badb712d8e..0000000000
--- a/community/mongodb/fix-elf-native-class.patch
@@ -1,12 +0,0 @@
---- orig/mongodb-src-r3.0.2/src/mongo/util/stacktrace_posix.cpp
-+++ mongodb-src-r3.0.2/src/mongo/util/stacktrace_posix.cpp
-@@ -209,6 +209,9 @@
- #include <elf.h>
- #include <link.h>
- 
-+// AlpineTODO: Better option??
-+#define __ELF_NATIVE_CLASS 64
-+
- namespace mongo {
- namespace {
- 
diff --git a/community/mongodb/fix-processinfo_linux.patch b/community/mongodb/fix-processinfo_linux.patch
deleted file mode 100644
index a5411371a3..0000000000
--- a/community/mongodb/fix-processinfo_linux.patch
@@ -1,35 +0,0 @@
---- mongodb-src-r4.0.0/src/mongo/util/processinfo_linux.cpp.orig
-+++ mongodb-src-r4.0.0/src/mongo/util/processinfo_linux.cpp
-@@ -42,13 +42,7 @@
- #include <sys/time.h>
- #include <sys/utsname.h>
- #include <unistd.h>
--#ifdef __BIONIC__
--#include <android/api-level.h>
--#elif __UCLIBC__
- #include <features.h>
--#else
--#include <gnu/libc-version.h>
--#endif
- 
- #include <boost/filesystem.hpp>
- #include <boost/none.hpp>
-@@ -495,17 +489,9 @@
- 
-     BSONObjBuilder bExtra;
-     bExtra.append("versionString", LinuxSysHelper::readLineFromFile("/proc/version"));
--#ifdef __BIONIC__
-     stringstream ss;
--    ss << "bionic (android api " << __ANDROID_API__ << ")";
-+    ss << "musl-1.1.19";
-     bExtra.append("libcVersion", ss.str());
--#elif __UCLIBC__
--    stringstream ss;
--    ss << "uClibc-" << __UCLIBC_MAJOR__ << "." << __UCLIBC_MINOR__ << "." << __UCLIBC_SUBLEVEL__;
--    bExtra.append("libcVersion", ss.str());
--#else
--    bExtra.append("libcVersion", gnu_get_libc_version());
--#endif
-     if (!verSig.empty())
-         // optional
-         bExtra.append("versionSignature", verSig);
diff --git a/community/mongodb/fix-resolv.patch b/community/mongodb/fix-resolv.patch
deleted file mode 100644
index 09bda7b643..0000000000
--- a/community/mongodb/fix-resolv.patch
@@ -1,17 +0,0 @@
---- mongodb-src-r3.6.1/src/mongo/util/dns_query_posix-impl.h.orig
-+++ mongodb-src-r3.6.1/src/mongo/util/dns_query_posix-impl.h
-@@ -38,6 +38,14 @@
- #include <resolv.h>
- // clang-format on
- 
-+// Support deprecated resolver, as in musl libc
-+#ifndef res_ninit
-+#define res_nclose(arg)
-+#define res_ninit(arg)    res_init()
-+#define res_nsearch(sta, nam, clas, typ, ans, alen)  res_search(nam, clas, typ, ans, alen)
-+#endif
-+
-+
- #include <stdio.h>
- 
- #include <iostream>
diff --git a/community/mongodb/fix-strerror_r.patch b/community/mongodb/fix-strerror_r.patch
deleted file mode 100644
index 172c7fefac..0000000000
--- a/community/mongodb/fix-strerror_r.patch
@@ -1,13 +0,0 @@
---- mongodb-src-r4.0.0/src/mongo/util/errno_util.cpp.orig
-+++ mongodb-src-r4.0.0/src/mongo/util/errno_util.cpp
-@@ -58,9 +58,7 @@
-     char buf[kBuflen];
-     char* msg{nullptr};
- 
--#if defined(__GNUC__) && defined(_GNU_SOURCE) && (__ANDROID_API__ > 22)
--    msg = strerror_r(errNumber, buf, kBuflen);
--#elif defined(_WIN32)
-+#if defined(_WIN32)
- 
-     LPWSTR errorText = nullptr;
-     FormatMessageW(FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_ALLOCATE_BUFFER |
diff --git a/community/mongodb/mongodb.confd b/community/mongodb/mongodb.confd
deleted file mode 100644
index 4f76c5a79f..0000000000
--- a/community/mongodb/mongodb.confd
@@ -1,14 +0,0 @@
-# Mongodb essentials
-MONGODB_EXEC="/usr/bin/mongod"
-MONGODB_RUN="/var/run/mongodb"
-MONGODB_DATA="/var/lib/mongodb"
-MONGODB_USER="mongodb"
-
-# Listen to specified IP, comment this to listen to all
-MONGODB_IP="127.0.0.1"
-
-# Listen to specified port
-MONGODB_PORT="27017"
-
-# Set extra options here, such as disabling the admin web server
-MONGODB_OPTIONS="--journal"
diff --git a/community/mongodb/mongodb.initd b/community/mongodb/mongodb.initd
deleted file mode 100644
index fede8f683c..0000000000
--- a/community/mongodb/mongodb.initd
@@ -1,41 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/files/mongodb.initd,v 1.5 2013/01/18 11:19:27 ultrabug Exp $
-
-depend() {
-	need net
-	after firewall
-}
-
-start() {
-	checkpath -d -m 0750 -o "${MONGODB_USER}":mongodb "${MONGODB_RUN}"
-
-	# Listen to MONGODB_IP if configured
-	[ -z "${MONGODB_IP}" ] || MONGODB_OPTIONS="--bind_ip ${MONGODB_IP} ${MONGODB_OPTIONS}"
-
-	# Baselayout-1 user should use --chuid instead of --user
-	local USEROPT="--user"
-	if [ ! -f /etc/init.d/sysfs ]; then
-		USEROPT="--chuid"
-	fi
-
-	ebegin "Starting ${SVCNAME}"
-	start-stop-daemon --background --start --make-pidfile \
-		--pidfile ${MONGODB_RUN:-/var/run/mongodb}/${SVCNAME}.pid \
-		${USEROPT} ${MONGODB_USER:-mongodb} \
-		--exec ${MONGODB_EXEC:-/usr/bin/mongod} \
-		-- \
-		--port ${MONGODB_PORT:-27017} \
-		--dbpath ${MONGODB_DATA:-/var/lib/mongodb} \
-		--unixSocketPrefix ${MONGODB_RUN:-/var/run/mongodb} \
-		--logappend --logpath /var/log/mongodb/${SVCNAME}.log \
-		${MONGODB_OPTIONS}
-	eend $?
-}
-
-stop() {
-	ebegin "Stopping ${SVCNAME}"
-	start-stop-daemon --stop --pidfile ${MONGODB_RUN:-/var/run/mongodb}/${SVCNAME}.pid
-	eend $?
-}
diff --git a/community/mongodb/mongodb.logrotate b/community/mongodb/mongodb.logrotate
deleted file mode 100644
index f95a438b5b..0000000000
--- a/community/mongodb/mongodb.logrotate
@@ -1,13 +0,0 @@
-# Default log rotation / compression keeps 1 year of logs.
-/var/log/mongodb/*.log {
-	daily
-	rotate 365
-	dateext
-	copytruncate
-	delaycompress
-	compress
-	notifempty
-	extension gz
-	sharedscripts
-	missingok
-}
diff --git a/community/mongodb/mongodb.pre-install b/community/mongodb/mongodb.pre-install
deleted file mode 100644
index 1ed56eb7f4..0000000000
--- a/community/mongodb/mongodb.pre-install
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-addgroup -S mongodb 2>/dev/null
-adduser -S -D -h /var/lib/mongodb -s /sbin/nologin -G mongodb -g mongodb mongodb 2>/dev/null
-
-exit 0
diff --git a/community/mongodb/mongos.confd b/community/mongodb/mongos.confd
deleted file mode 100644
index 644cd0a252..0000000000
--- a/community/mongodb/mongos.confd
@@ -1,16 +0,0 @@
-# Mongos essentials
-MONGOS_EXEC="/usr/bin/mongos"
-MONGOS_RUN="/var/run/mongodb"
-MONGOS_USER="mongodb"
-
-# Listen to specified IP, comment this to listen to all
-MONGOS_IP="127.0.0.1"
-
-# Listen to specified port
-MONGOS_PORT="27018"
-
-# 1 to 3 comma separated config servers (mandatory)
-MONGOS_CONFIGDB=""
-
-# Set extra options here
-MONGOS_OPTIONS=""
diff --git a/community/mongodb/mongos.initd b/community/mongodb/mongos.initd
deleted file mode 100644
index a38fc50569..0000000000
--- a/community/mongodb/mongos.initd
@@ -1,45 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/files/mongos.initd,v 1.3 2013/01/18 11:19:27 ultrabug Exp $
-
-depend() {
-	need net
-}
-
-checkconfig() {
-	if [ -z "${MONGOS_CONFIGDB}" ]; then
-		eerror "MONGOS_CONFIGDB is not defined, check your configuration file !"
-		return 1
-	fi
-	return 0
-}
-
-start() {
-	checkconfig || return 1
-
-	checkpath -d -m 0750 -o "${MONGOS_USER}":mongodb "${MONGOS_RUN}"
-
-	# Listen to MONGOS_IP if configured
-	[ -z "${MONGOS_IP}" ] || MONGOS_OPTIONS="--bind_ip ${MONGOS_IP} ${MONGOS_OPTIONS}"
-
-	local USEROPT="--user"
-	ebegin "Starting ${SVCNAME}"
-	start-stop-daemon --background --start --make-pidfile \
-		--pidfile ${MONGOS_RUN:-/var/run/mongodb}/${SVCNAME}.pid \
-		${USEROPT} ${MONGOS_USER:-mongodb} \
-		--exec ${MONGOS_EXEC:-/usr/bin/mongos} \
-		-- \
-		--port ${MONGOS_PORT:-27018} \
-		--unixSocketPrefix ${MONGOS_RUN:-/var/run/mongodb} \
-		--logappend --logpath /var/log/mongodb/${SVCNAME}.log \
-		--configdb ${MONGOS_CONFIGDB} \
-		${MONGOS_OPTIONS}
-	eend $?
-}
-
-stop() {
-	ebegin "Stopping ${SVCNAME}"
-	start-stop-daemon --stop --pidfile ${MONGOS_RUN:-/var/run/mongodb}/${SVCNAME}.pid
-	eend $?
-}
diff --git a/community/mongodb/wiredtiger.patch b/community/mongodb/wiredtiger.patch
deleted file mode 100644
index 37d9fedabe..0000000000
--- a/community/mongodb/wiredtiger.patch
@@ -1,11 +0,0 @@
---- ./src/third_party/wiredtiger/build_linux/wiredtiger_config.h.orig
-+++ ./src/third_party/wiredtiger/build_linux/wiredtiger_config.h
-@@ -104,7 +104,7 @@
- #define HAVE_STRING_H 1
- 
- /* Define to 1 if you have the `strtouq' function. */
--#define HAVE_STRTOUQ 1
-+/* #define HAVE_STRTOUQ 1 */
- 
- /* Define to 1 if you have the `sync_file_range' function. */
- /* #undef HAVE_SYNC_FILE_RANGE */
diff --git a/community/php7-pecl-mongodb/APKBUILD b/community/php7-pecl-mongodb/APKBUILD
deleted file mode 100644
index 8080476daf..0000000000
--- a/community/php7-pecl-mongodb/APKBUILD
@@ -1,35 +0,0 @@
-# Contributor: Fabio Ribeiro <fabiorphp@gmail.com>
-# Maintainer: Fabio Ribeiro <fabiorphp@gmail.com>
-pkgname=php7-pecl-mongodb
-_pkgreal=mongodb
-pkgver=1.5.3
-_pkgver=${pkgver/_rc/RC}
-pkgrel=2
-pkgdesc="PHP7 MongoDB driver"
-url="https://pecl.php.net/package/mongodb"
-arch="all"
-license="Apache-2.0"
-depends="php7-json"
-makedepends="openssl-dev pcre-dev php7-dev autoconf"
-source="https://pecl.php.net/get/$_pkgreal-$_pkgver.tgz"
-options="!check"  # tests requires additional dependencies (vagrant)
-builddir="$srcdir"/$_pkgreal-$_pkgver
-provides="php7-mongodb=$pkgver-r$pkgrel" # for backward compatibility
-replaces="php7-mongodb" # for backward compatibility
-
-build() {
-	cd "$builddir"
-	phpize7
-	./configure --prefix=/usr \
-		--with-php-config=/usr/bin/php-config7
-	make
-}
-
-package() {
-	cd "$builddir"
-	make INSTALL_ROOT="$pkgdir/" install
-	install -d "$pkgdir"/etc/php7/conf.d
-	echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php7/conf.d/$_pkgreal.ini
-}
-
-sha512sums="35704e75bd7867a436d953c00c7560c9a08a4fa8f3555d7cc00aeda34e87c6c7aa7ecc1d7f674747e34f4f8dac35d320f6317e60229528ea9782bbe669bafec0  mongodb-1.5.3.tgz"
diff --git a/community/wiredtiger/10-fix-code-generator.patch b/community/wiredtiger/10-fix-code-generator.patch
deleted file mode 100644
index 618106f511..0000000000
--- a/community/wiredtiger/10-fix-code-generator.patch
@@ -1,11 +0,0 @@
---- orig/wiredtiger-2.6.0/dist/s_typedef
-+++ wiredtiger-2.6.0/dist/s_typedef
-@@ -21,7 +21,7 @@
- 	l=`ls ../src/include/*.[hi] ../src/include/*.in |
- 	    sed -e '/wiredtiger.*/d' -e '/queue.h/d'`
- 	egrep -h \
--	    '^[	 ]*(((struct|union)[	 ].*__wt_.*{)|WT_PACKED_STRUCT_BEGIN)' \
-+	    '^[	 ]*(((struct|union)[	 ].*__wt_.*\{)|WT_PACKED_STRUCT_BEGIN)' \
- 	    $l |
- 	    sed -e 's/WT_PACKED_STRUCT_BEGIN(\(.*\))/struct \1 {/' \
- 	        -e 's/WT_COMPILER_TYPE_ALIGN(.*)[ ]*//' \
diff --git a/community/wiredtiger/APKBUILD b/community/wiredtiger/APKBUILD
deleted file mode 100644
index 25c4eb05ff..0000000000
--- a/community/wiredtiger/APKBUILD
@@ -1,56 +0,0 @@
-# Maintainer: Philipp Andronov <filipp.andronov@gmail.com>
-# Contributor: Marc Vertes <mvertes@free.fr>
-
-pkgname=wiredtiger
-mongodb_version=3.6.3
-pkgver=3.0.0.$mongodb_version
-pkgrel=1
-pkgdesc="High performance, scalable, production quality, NoSQL, Open Source extensible platform for data management"
-url="http://www.wiredtiger.com"
-arch="x86_64"
-license="(GPL-2.0 or GPL-3.0) and MIT and BSD"
-depends=""
-depends_dev="autoconf automake libtool linux-headers"
-makedepends="$depends_dev lz4-dev zlib-dev snappy-dev libexecinfo-dev"
-
-options=""
-subpackages="$pkgname-doc $pkgname-dev $pkgname-libs"
-
-install=""
-source="$pkgname-$pkgver-mongodb-$mongodb_version.tar.gz::https://github.com/wiredtiger/wiredtiger/archive/mongodb-$mongodb_version.tar.gz
-	makemake-remove-libtool-version.patch
-	10-fix-code-generator.patch
-	"
-
-_builddir="$srcdir"/$pkgname-mongodb-$mongodb_version
-prepare() {
-	local i
-
-	cd "$_builddir"
-	for i in $source; do
-		case $i in
-		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
-		esac
-	done
-	sh autogen.sh || return 1
-}
-
-build() {
-	cd "$_builddir"
-	./configure --prefix=/usr \
-		--disable-static \
-		--enable-verbose \
-		--enable-lz4 \
-		--with-builtins=zlib,snappy \
-		|| return 1
-	make || return 1
-}
-
-package() {
-	cd "$_builddir"
-	make DESTDIR="$pkgdir" install
-	install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-sha512sums="051342439eea7bfb65dddbd42eab646bc007e9768d8bb82aeab6245cefcc99f9c3acae66a4caf60304256fd2cd55ceeba8b09b91743756b36ec6f367281070ca  wiredtiger-3.0.0.3.6.3-mongodb-3.6.3.tar.gz
-9eb56a81cbf0b8c695ab86d5c6aa319aee8e6ffc4d4ac94c5ecb17a639cab352f83fdf15db467d3f2961cd05fd00c2b96c3cc357daa32972dd07fb3dfa95852f  makemake-remove-libtool-version.patch
-a24360c18a8dd677a1942fc66ecdfdb8bc514af6de3e19be822293fdc83c051c43f3270f91eaa4524f30b5bc82c6ecad5162ce5b3f5ff470bab4e1a5d9eb79ec  10-fix-code-generator.patch"
diff --git a/community/wiredtiger/makemake-remove-libtool-version.patch b/community/wiredtiger/makemake-remove-libtool-version.patch
deleted file mode 100644
index f401e85b91..0000000000
--- a/community/wiredtiger/makemake-remove-libtool-version.patch
@@ -1,11 +0,0 @@
---- ./build_posix/makemake.orig
-+++ ./build_posix/makemake
-@@ -25,7 +25,7 @@
- 
- # Write the list of sources.
- echo
--echo "libwiredtiger_la_LDFLAGS = -release @VERSION@"
-+echo "libwiredtiger_la_LDFLAGS ="
- echo "libwiredtiger_la_SOURCES ="
- sed -e '/^[a-z]/!d' < ../dist/filelist | while read file cond; do
- 	if test -n "$cond"; then
diff --git a/non-free/unifi/APKBUILD b/non-free/unifi/APKBUILD
deleted file mode 100644
index 2a5d85716e..0000000000
--- a/non-free/unifi/APKBUILD
@@ -1,95 +0,0 @@
-# Maintainer: TBK <alpine@jjtc.eu>
-# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
-# Contributor: AdamRushad <2429990+adamrushad@users.noreply.github.com>
-pkgname=unifi
-_pkgname=UniFi
-pkgver=5.10.17
-pkgrel=0
-pkgdesc="The Ubiquiti UniFi SDN controller"
-url="http://wiki.ubnt.com/UniFi_FAQ"
-arch="noarch"
-license="UniFi-EULA"
-depends="openjdk8-jre-base java-snappy mongodb"
-install="$pkgname.pre-install"
-pkgusers="$pkgname"
-pkggroups="$pkgname"
-options="!check" # No test suite
-subpackages="$pkgname-doc $pkgname-openrc"
-source="$pkgname-$pkgver.zip::https://dl.ubnt.com/unifi/$pkgver/$_pkgname.unix.zip
-	$pkgname.initd
-	$pkgname.confd
-	$pkgname.logrotated
-	mongo_prune.js
-	unifi_db_prune.cron
-	"
-builddir="$srcdir/$_pkgname"
-
-prepare() {
-	default_prepare
-	# removing libubnt_webrtc_jni.so which disables rtc support
-	# which disabled cloud features (afaik)
-	rm -rf "$builddir"/lib/native
-}
-
-package() {
-	cd "$builddir"
-	# unifi wants everything in a base directory but we dont
-	local basedir="$pkgdir/usr/lib/$pkgname"
-	local datadir="$pkgdir/var/lib/$pkgname"
-	local webapps="$pkgdir/usr/share/webapps"
-	
-	mkdir -p $basedir/bin $datadir $webapps
-
-	install -Dm644 "$srcdir"/$pkgname.logrotated \
-		"$pkgdir"/etc/logrotate.d/$pkgname
-	install -Dm755 "$srcdir"/$pkgname.initd \
-		"$pkgdir"/etc/init.d/$pkgname
-	install -Dm644 "$srcdir"/$pkgname.confd \
-		"$pkgdir"/etc/conf.d/$pkgname
-	install -Dm644 readme.txt \
-		"$pkgdir"/usr/share/doc/$pkgname/readme.txt
-
-	cp -r webapps $webapps/$pkgname
-
-	local dir; for dir in dl lib conf; do
-		cp -r $dir "$basedir"/
-	done
-	
-	local dir; for dir in work data; do
-		install -dm 755 -o $pkgname -g $pkgname "$datadir/$dir"
-	done
-
-	# link things back to basedir
-	ln -sf /usr/bin/mongod $basedir/bin/mongod
-	ln -sf /var/log/$pkgname $basedir/logs
-	ln -sf /run/$pkgname $basedir/run
-	ln -sf /usr/share/webapps/$pkgname $basedir/webapps
-	ln -sf /var/lib/$pkgname/data $basedir/data
-	ln -sf /var/lib/$pkgname/work $basedir/work
-	
-	# overwrite with local snappy but
-	# first we got to figure out the version
-	local file=$(ls lib/ | grep snappy-java)
-	local name=${file%.*}
-	local version=${name##*-}
-	# the java-snappy pkg has a symlink so we use that
-	ln -sf /usr/share/java/snappy-java.jar \
-		"$basedir"/lib/snappy-java-$version.jar
-	
-	# make sure datadir is writable by our user
-	chown -R $pkgname:$pkgname $datadir
-
-	# tell search engines to do not index
-	echo -e "User-Agent:*\nDisallow:/" > "$webapps"/$pkgname/ROOT/robots.txt
-
-	# install purging DB job (disabled by default)
-	install -Dm644 "$srcdir"/mongo_prune.js "$pkgdir"/etc/unifi/mongo_prune.js
-	install -Dm755 "$srcdir"/unifi_db_prune.cron "$pkgdir"/etc/periodic/weekly/unifi_db_prune
-}
-
-sha512sums="ebc0ba24ff8542691c3bc228a2d9a16dc6f54fa570e72f6c8985942cf6d023e5e1b5a0fb0912dbda1a1f43709ba56dbfefeded69c0f2d92b772dfe250808502c  unifi-5.10.17.zip
-b19a7d684ef2ec7c4159417c21185ccd8ce498da25405b69014fdb32e346a0077f7edc5dfc994481d12936aa8dbf22e6baf29571fd0003aaad19609d24c549f4  unifi.initd
-d339555a91de7488badbedf8a4c85cff878e7d0720a8cf6a8340f51f3666dcf4878b47a1fff4c9c2846d7af140d11e48e898f8c4dba1f81c1004b76a81f0821e  unifi.confd
-9e54d9e1c720b8e50c9af9363105f6ea9ff2cffff7dc67477a7701aacf21ba977424fe9fbaba6a00d5f64310a2e2517e9328a7acb91a4bc06ed237139a8e0d9b  unifi.logrotated
-3eec528077af9b32aa065610b4ffc50537a1c851c84624eaa63287787d853c0f8c953a97bd58bc6c2cab7f9f26eaff8c8b2815a84454169f7e0d96b94dfc91ee  mongo_prune.js
-25d66b144403676bcb6142f4942b62c6f969a6b359ccb4dd4fcb826b1e57f902179d01182369704970b2d6094b8b3789fd375c17cec908cac53f7abf01fb2e1b  unifi_db_prune.cron"
diff --git a/non-free/unifi/mongo_prune.js b/non-free/unifi/mongo_prune.js
deleted file mode 100644
index 421c3f1438..0000000000
--- a/non-free/unifi/mongo_prune.js
@@ -1,87 +0,0 @@
-// keep N-day worth of data
-var days=14;
-
-// change to false to have the script to really exclude old records
-// from the database. While true, no change at all will be made to the DB
-var dryrun=true;
-
-var now = new Date().getTime(),
-	time_criteria = now - days * 86400 * 1000,
-	time_criteria_in_seconds = time_criteria / 1000;
-
-print((dryrun ? "[dryrun] " : "") + "pruning data older than " + days + " days (" + time_criteria + ")... ");
-
-use ace;
-var collectionNames = db.getCollectionNames();
-for (i=0; i<collectionNames.length; i++) {
-	var name = collectionNames[i];
-	var query = null;
-
-	if (name === 'event' || name === 'alarm') {
-		query = {time: {$lt:time_criteria}};
-	}
-
-	// rogue ap
-	if (name === 'rogue') {
-		query = {last_seen: {$lt:time_criteria_in_seconds}};
-	}
-
-	// removes vouchers expired more than '$days' ago
-	// active and unused vouchers are NOT touched
-	if (name === 'voucher') {
-		query = {end_time: {$lt:time_criteria_in_seconds}};
-	}
-
-	// guest authorization
-	if (name === 'guest') {
-		query = {end: {$lt:time_criteria_in_seconds}};
-	}
-
-	// if an user was only seen ONCE, $last_seen will not be defined
-	// so, if $last_seen not defined, lets use $first_seen instead
-	// also check if $blocked or $use_fixedip is set. If true, do NOT purge the
-	// entry no matter how old it is. We want blocked/fixed_ip users to continue
-	// blocked/fixed_ip
-	if (name === 'user') {
-		query = { blocked: { $ne: true}, use_fixedip: { $ne: true}, $or: [
-				{last_seen: {$lt:time_criteria_in_seconds} },
-				{last_seen: {$exists: false}, first_seen: {$lt:time_criteria_in_seconds} }
-			]
-		};
-	}
-
-	if (query) {
-		count1 = db.getCollection(name).count();
-		count2 = db.getCollection(name).find(query).count();
-		print((dryrun ? "[dryrun] " : "") + "pruning " + count2 + " entries (total " + count1 + ") from " + name + "... ");
-		if (!dryrun) {
-			db.getCollection(name).remove(query);
-			db.runCommand({ compact: name });
-		}
-	}
-}
-
-use ace_stat;
-var collectionNames = db.getCollectionNames();
-for (i=0; i<collectionNames.length; i++) {
-	var name = collectionNames[i];
-	var query = null;
-
-	// historical stats (stat.*)
-	if (name.indexOf('stat')==0) {
-		query = {time: {$lt:time_criteria}};
-	}
-
-	if (query) {
-		count1 = db.getCollection(name).count();
-		count2 = db.getCollection(name).find(query).count();
-		print((dryrun ? "[dryrun] " : "") + "pruning " + count2 + " entries (total " + count1 + ") from " + name + "... ");
-		if (!dryrun) {
-			db.getCollection(name).remove(query);
-			db.runCommand({ compact: name });
-		}
-	}
-}
-
-if (!dryrun) db.repairDatabase();
-
diff --git a/non-free/unifi/unifi.confd b/non-free/unifi/unifi.confd
deleted file mode 100644
index 7c90a6fb80..0000000000
--- a/non-free/unifi/unifi.confd
@@ -1,2 +0,0 @@
-# Additional cmdline options to pass to java interpreter
-# OPTS="-debug"
diff --git a/non-free/unifi/unifi.initd b/non-free/unifi/unifi.initd
deleted file mode 100644
index 802f85b7b7..0000000000
--- a/non-free/unifi/unifi.initd
@@ -1,17 +0,0 @@
-#!/sbin/openrc-run
-
-name="Unifi Controller"
-supervisor=supervise-daemon
-command=/usr/bin/java
-command_args="-jar lib/ace.jar start ${OPTS}"
-: ${command_user="unifi"}
-pidfile=/run/unifi/${RC_SVCNAME}.pid
-command_background=yes
-supervise_daemon_args="--chdir /usr/lib/unifi \
-	--stdout /var/log/unifi/${RC_SVCNAME}.log \
-	--stderr /var/log/unifi/${RC_SVCNAME}.log"
-
-start_pre() {
-        checkpath --directory --owner $command_user --mode 0775 \
-                /run/unifi /var/log/unifi
-}
diff --git a/non-free/unifi/unifi.logrotated b/non-free/unifi/unifi.logrotated
deleted file mode 100644
index 28cc9ad437..0000000000
--- a/non-free/unifi/unifi.logrotated
@@ -1,8 +0,0 @@
-/var/log/unifi/*.log {
-    weekly
-    rotate 5
-    missingok
-    notifempty
-    compress
-    copytruncate
-}
diff --git a/non-free/unifi/unifi.pre-install b/non-free/unifi/unifi.pre-install
deleted file mode 100644
index 382c3ca863..0000000000
--- a/non-free/unifi/unifi.pre-install
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-addgroup -S unifi 2>/dev/null
-adduser -S -D -H -h /var/lib/unifi -s /sbin/nologin -G unifi -g unifi unifi 2>/dev/null
-
-exit 0
diff --git a/non-free/unifi/unifi_db_prune.cron b/non-free/unifi/unifi_db_prune.cron
deleted file mode 100755
index d5338835a5..0000000000
--- a/non-free/unifi/unifi_db_prune.cron
@@ -1,2 +0,0 @@
-#!/bin/sh
-mongo --port 27117 < /etc/unifi/mongo_prune.js
diff --git a/testing/mongo-c-driver/APKBUILD b/testing/mongo-c-driver/APKBUILD
deleted file mode 100644
index 1bc9626d0c..0000000000
--- a/testing/mongo-c-driver/APKBUILD
@@ -1,61 +0,0 @@
-# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
-pkgname=mongo-c-driver
-pkgver=1.13.0
-pkgrel=0
-pkgdesc="Client library written in C for MongoDB"
-url="https://github.com/mongodb/mongo-c-driver"
-arch="all !x86 !armhf !armv7" # testsuite fails on x86 and armhf
-license="Apache-2.0"
-makedepends="openssl-dev snappy-dev zlib-dev libtool py3-sphinx cmake"
-subpackages="$pkgname-dev $pkgname-doc libbson"
-source="https://github.com/mongodb/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz
-	generate_uninstall.patch
-	"
-builddir="$srcdir/$pkgname-$pkgver"
-
-case "$CARCH" in
-	# FIXME: Tests hang on aarch64.
-	aarch64) options="!check";;
-esac
-
-build() {
-	mkdir -p "$srcdir"/build
-	cd "$srcdir"/build
-	cmake \
-		-DCMAKE_BUILD_TYPE=Release \
-		-DCMAKE_INSTALL_PREFIX=/usr \
-		-DCMAKE_INSTALL_LIBDIR=lib \
-		-DENABLE_BSON:STRING=ON \
-		-DENABLE_MONGOC:BOOL=ON \
-		-DENABLE_SSL:STRING=OPENSSL \
-		-DENABLE_AUTOMATIC_INIT_AND_CLEANUP:BOOL=OFF \
-		-DENABLE_MAN_PAGES:BOOL=ON \
-		-DENABLE_TESTS:BOOL=ON \
-		-DENABLE_EXAMPLES:BOOL=OFF \
-		-DSPHINX_EXECUTABLE:STRING=/usr/bin/sphinx-build-3 \
-		-DCMAKE_SKIP_RPATH=ON \
-		"$builddir"
-	make
-}
-
-check() {
-	cd "$srcdir"/build
-	export MONGOC_TEST_SKIP_MOCK=on
-	export MONGOC_TEST_SKIP_SLOW=on
-	export MONGOC_TEST_SKIP_LIVE=on
-	make check
-}
-
-package() {
-	cd "$srcdir"/build
-	make DESTDIR="$pkgdir" install
-}
-
-libbson() {
-	pkgdesc="Building, parsing, and iterating BSON documents"
-	mkdir -p "$subpkgdir"/usr/lib
-	mv "$pkgdir"/usr/lib/libbson-* "$subpkgdir"/usr/lib/
-}
-
-sha512sums="01b17857a1cb843b133975594772c094edecb6c149d8628eaa42de1855152185114186d0e8d829e99c9106c133018b1242e34e3ac511a36b2b7a38baea5f5aba  mongo-c-driver-1.13.0.tar.gz
-494800bb53585f2b911b672263d32e2af1ce818bbff55623fde8c06477429010e9ca31b905175a08d1554499c497af6514f74c9071f4f9d9b2d82077d6ddad4f  generate_uninstall.patch"
diff --git a/testing/mongo-c-driver/generate_uninstall.patch b/testing/mongo-c-driver/generate_uninstall.patch
deleted file mode 100644
index 1434ae4283..0000000000
--- a/testing/mongo-c-driver/generate_uninstall.patch
@@ -1,13 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index f7a0dfe..d63b93e 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -347,7 +347,7 @@ set (UNINSTALL_PROG_DIR "${CMAKE_INSTALL_FULL_DATADIR}/mongo-c-driver")
- #
- # This needs to be last (after all other add_subdirectory calls) to ensure that
- # the generated uninstall program is complete and correct
--add_subdirectory (generate_uninstall)
-+# add_subdirectory (generate_uninstall)
- 
- add_custom_target (uninstall
-    COMMAND "${UNINSTALL_PROG_DIR}/${UNINSTALL_PROG}"
diff --git a/testing/mongo-php7-library/APKBUILD b/testing/mongo-php7-library/APKBUILD
deleted file mode 100644
index f419e643d1..0000000000
--- a/testing/mongo-php7-library/APKBUILD
@@ -1,33 +0,0 @@
-# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
-
-_php=php7
-pkgname=mongo-${_php}-library
-_realname=mongo-php-library
-pkgver=1.4.2
-pkgrel=0
-pkgdesc="High-level abstraction around the lower-level drivers for PHP"
-url="https://github.com/mongodb/mongo-php-library"
-arch="noarch"
-license="Apache-2.0"
-makedepends="$depends_dev ${_php}-mongodb"
-subpackages="$pkgname-doc"
-options="!check" # require mongodb server
-source="$_realname-$pkgver.tar.gz::https://github.com/mongodb/$_realname/archive/$pkgver.tar.gz"
-builddir="$srcdir"/$_realname-$pkgver
-
-build() {
-	cd "$builddir"
-	return 0
-}
-
-package() {
-	cd "$builddir"
-	mkdir -p "$pkgdir"/usr/share/doc/mongo-${_php}-library/docs
-	mkdir -p "$pkgdir"/usr/lib/${_php}/vendor/mongodb/mongodb
-	mv src/* "$pkgdir"/usr/lib/${_php}/vendor/mongodb/mongodb
-	mv tests "$pkgdir"/usr/lib/${_php}/vendor/mongodb/mongodb/
-	mv docs/* "$pkgdir"/usr/share/doc/mongo-${_php}-library/docs
-	mv LICENSE README.md "$pkgdir"/usr/share/doc/mongo-${_php}-library
-}
-
-sha512sums="c473b85f60fd942f591c712187d68744b95472f11450af5bcd1768d79fb0e3ffe08c486fad72898fe5fd3002e865ea79959767b80830db92bd92d87f52877f33  mongo-php-library-1.4.2.tar.gz"
diff --git a/testing/py-flask-mongoengine/APKBUILD b/testing/py-flask-mongoengine/APKBUILD
deleted file mode 100644
index f722bae3e5..0000000000
--- a/testing/py-flask-mongoengine/APKBUILD
@@ -1,41 +0,0 @@
-# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
-# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
-pkgname=py-flask-mongoengine
-_pkgname=flask-mongoengine
-pkgver=0.7.0
-pkgrel=0
-pkgdesc="Flask mongoDB interface"
-url="https://pypi.python.org/pypi/flask-mongoengine"
-arch="noarch"
-license="BSD"
-depends="python2 py-flask py-flask-wtf py-mongo"
-depends_dev=""
-makedepends="python2-dev py-setuptools"
-install=""
-subpackages=""
-source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
-
-_builddir="$srcdir"/$_pkgname-$pkgver
-prepare() {
-	local i
-	cd "$_builddir"
-	for i in $source; do
-		case $i in
-		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
-		esac
-	done
-}
-
-build() {
-	cd "$_builddir"
-	python2 setup.py build || return 1
-}
-
-package() {
-	cd "$_builddir"
-	python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
-}
-
-md5sums="9219a08bb4ca7503904bb941084fee52  flask-mongoengine-0.7.0.tar.gz"
-sha256sums="e5031d1f812181699b10fec76d7c9c6633f19f8b686dcee48371e9216884f2b4  flask-mongoengine-0.7.0.tar.gz"
-sha512sums="3a9ce923b5d391e4fbdacc87d32e6cd8e0ada592c9fce585cf6dc38b8c116966cd70c83c2f2b77f580348722351c129ef38d7788f9ae2bd27d043de0d5487493  flask-mongoengine-0.7.0.tar.gz"
diff --git a/testing/py-flask-pymongo/APKBUILD b/testing/py-flask-pymongo/APKBUILD
deleted file mode 100644
index db749208e8..0000000000
--- a/testing/py-flask-pymongo/APKBUILD
@@ -1,41 +0,0 @@
-# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
-# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
-pkgname=py-flask-pymongo
-_pkgname=Flask-PyMongo
-pkgver=0.3.0
-pkgrel=0
-pkgdesc="Flask PyMongo extension"
-url="https://pypi.python.org/pypi/Flask-PyMongo"
-arch="noarch"
-license="BSD"
-depends="python2 py-flask py-mongo"
-depends_dev=""
-makedepends="python2-dev py-setuptools"
-install=""
-subpackages=""
-source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
-
-_builddir="$srcdir"/$_pkgname-$pkgver
-prepare() {
-	local i
-	cd "$_builddir"
-	for i in $source; do
-		case $i in
-		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
-		esac
-	done
-}
-
-build() {
-	cd "$_builddir"
-	python2 setup.py build || return 1
-}
-
-package() {
-	cd "$_builddir"
-	python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
-}
-
-md5sums="594fcb7df267f8312aa5243118fe3886  Flask-PyMongo-0.3.0.tar.gz"
-sha256sums="0b01adc037994587c21b617160f6ad9f6ab12b547f518c65da4eafb035b9d617  Flask-PyMongo-0.3.0.tar.gz"
-sha512sums="f6cee603de9a8a1cd08f3ff2e400c16268dfc63754198ffddd9500784066d2b9ec63e002e38da061541b8aa8304b9376c214a3219990fd73b4caf09518df711e  Flask-PyMongo-0.3.0.tar.gz"
diff --git a/testing/py-flask-views/APKBUILD b/testing/py-flask-views/APKBUILD
deleted file mode 100644
index 2c8bbb38c3..0000000000
--- a/testing/py-flask-views/APKBUILD
@@ -1,41 +0,0 @@
-# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
-# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
-pkgname=py-flask-views
-_pkgname=Flask-Views
-pkgver=0.2.1
-pkgrel=0
-pkgdesc="Flask class based views extension"
-url="https://pypi.python.org/pypi/Flask-Views"
-arch="noarch"
-license="BSD"
-depends="python2 py-flask py-flask-mongoengine"
-depends_dev=""
-makedepends="python2-dev py-setuptools"
-install=""
-subpackages=""
-source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
-
-_builddir="$srcdir"/$_pkgname-$pkgver
-prepare() {
-	local i
-	cd "$_builddir"
-	for i in $source; do
-		case $i in
-		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
-		esac
-	done
-}
-
-build() {
-	cd "$_builddir"
-	python2 setup.py build || return 1
-}
-
-package() {
-	cd "$_builddir"
-	python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
-}
-
-md5sums="89fd9c04d6721e8b04c42b999170e74a  Flask-Views-0.2.1.tar.gz"
-sha256sums="4aa75c8fb0cd9c07a30ab288774de710fda1136eb6ff18404b2f72513894d384  Flask-Views-0.2.1.tar.gz"
-sha512sums="cd70caebffb1427d18d58a06e196e404c426616345b487ebf08f936afeac37ba46a4757e526cb910bd4451456788766a0cb17eb58f3af55553fc0fd3f0984db7  Flask-Views-0.2.1.tar.gz"
diff --git a/testing/py-mongo/APKBUILD b/testing/py-mongo/APKBUILD
deleted file mode 100644
index d85f4ce849..0000000000
--- a/testing/py-mongo/APKBUILD
@@ -1,55 +0,0 @@
-# Contributor: Danilo Falcão <danilo@falcao.org>
-# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
-pkgname=py-mongo
-_pkgname=pymongo
-pkgver=3.7.2
-pkgrel=0
-pkgdesc="A Python driver for MongoDB"
-url="https://github.com/mongodb/mongo-python-driver"
-arch="all"
-license="Apache-2.0"
-depends=""
-makedepends="python2-dev python3-dev py-setuptools"
-install=""
-subpackages="py2-$_pkgname:_py2 py3-$_pkgname:_py3"
-source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
-builddir="$srcdir"/$_pkgname-$pkgver
-
-build() {
-	cd "$builddir"
-	python2 setup.py build
-	python3 setup.py build
-}
-
-
-package() {
-	mkdir -p "$pkgdir"
-}
-
-
-check() {
-	cd "$builddir"
-	python2 setup.py test
-	python3 setup.py test
-}
-
-_py2() {
-	replaces="$pkgname"
-	_py python2
-}
-
-_py3() {
-	_py python3
-}
-
-_py() {
-	local python="$1"
-	pkgdesc="$pkgdesc (for $python)"
-	depends="$depends $python"
-	install_if="$pkgname=$pkgver-r$pkgrel $python"
-
-	cd "$builddir"
-	$python setup.py install --prefix=/usr --root="$subpkgdir"
-}
-
-sha512sums="4d1dfe03d94f381f27cfb5c8dd4f75ecbab90567fdc4dd594b880031e68825eda6285c8b261a4c9d76fb7ccc92c91e27ae2f696525f7732b1f0084794042a33d  pymongo-3.7.2.tar.gz"
-- 
2.21.0



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---

[alpine-aports] Re: [PATCH] community/mongodb: expunge nonfree software

Details
Message ID
<20190307151730.GA2388@cirno.localdomain>
In-Reply-To
<CAGG_d8DzEvaiQofOtM8CwF8Pfvc=SKX3owm7d7bh0zeb8zJ3nQ@mail.gmail.com> (view parent)
Sender timestamp
1551971850
DKIM signature
missing
Download raw message
On 2019-03-07 , Leonardo Arena wrote:
> AFAIU the new license does not force you to publish your code if you
> aren't proving services to third parties and we might have people
> using it and perfectly fine with the new license.

Many people are perfectly fine with using nonfree software in general,
but Alpine Linux is a free-as-in-freedom Linux distribution.

IMO we should consider the upstream unmaintained at this point, keep up
maintenance with versions shipped in Alpine stable releases (hopefully
they get security patches backported, but I'm not holding my breath),
and drop it from edge and Alpine 3.10. We should bring it back when they
sort out their licensing issues (i.e. get FSF or OSI approval), but not
before.


---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---

[alpine-aports] Re: [PATCH] community/mongodb: expunge nonfree software

Leonardo Arena
Details
Message ID
<CAGG_d8DzEvaiQofOtM8CwF8Pfvc=SKX3owm7d7bh0zeb8zJ3nQ@mail.gmail.com>
In-Reply-To
<20190306205813.12658-1-sir@cmpwn.com> (view parent)
Sender timestamp
1551955891
DKIM signature
missing
Download raw message
Hi

On Wed, Mar 6, 2019 at 9:58 PM Drew DeVault <sir@cmpwn.com> wrote:

> Upstream has switched to a nonfree license.
>

true, as well as that some major distros have taken the same approach.
However I vote not to be hasty in removing it. AFAIU the new license does
not force you to publish your code if you aren't proving services to third
parties and we might have people using it and perfectly fine with the new
license.

Thanks

/eo

[alpine-aports] Re: [PATCH] community/mongodb: expunge nonfree software

Marc Vertes
Details
Message ID
<D002E226-A8CB-4B63-8838-37975D18093C@free.fr>
In-Reply-To
<20190307151730.GA2388@cirno.localdomain> (view parent)
Sender timestamp
1551979638
DKIM signature
missing
Download raw message

> Le 7 mars 2019 à 16:17, Drew DeVault <sir@cmpwn.com> a écrit :
> 
> On 2019-03-07 , Leonardo Arena wrote:
>> AFAIU the new license does not force you to publish your code if you
>> aren't proving services to third parties and we might have people
>> using it and perfectly fine with the new license.
> 
> Many people are perfectly fine with using nonfree software in general,
> but Alpine Linux is a free-as-in-freedom Linux distribution.
> 
> IMO we should consider the upstream unmaintained at this point, keep up
> maintenance with versions shipped in Alpine stable releases (hopefully
> they get security patches backported, but I'm not holding my breath),
> and drop it from edge and Alpine 3.10. We should bring it back when they
> sort out their licensing issues (i.e. get FSF or OSI approval), but not
> before.

I'm the maintainer of this package. Mongodb probably deserves to be moved from community to non-free due to their licensing issue. I will then retire from my maintainer role, as I have no interest myself to contribute on non-free software (and I'm not affiliated whatsoever with mongodb). For info, my alpine mongodb docker image has been downloaded more than 5 million times (whatever it means) from docker hub, no counting forks and so on. but it's Mongodb choice.

Marc

---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Natanael Copa
Details
Message ID
<20190311100957.749cfc4e@ncopa-desktop.copa.dup.pw>
In-Reply-To
<20190306205813.12658-1-sir@cmpwn.com> (view parent)
Sender timestamp
1552295397
DKIM signature
missing
Download raw message
On Wed,  6 Mar 2019 13:58:13 -0700
Drew DeVault <sir@cmpwn.com> wrote:

> Upstream has switched to a nonfree license.
> ---
>  community/mongodb-tools/APKBUILD              |  38 -------
>  community/mongodb-tools/fix-build.patch       |  13 ---
>  community/mongodb/APKBUILD                    | 100 ------------------
>  community/mongodb/fix-backtrace.patch         |  12 ---
>  community/mongodb/fix-default-stacksize.patch |  20 ----
>  community/mongodb/fix-elf-native-class.patch  |  12 ---
>  community/mongodb/fix-processinfo_linux.patch |  35 ------
>  community/mongodb/fix-resolv.patch            |  17 ---
>  community/mongodb/fix-strerror_r.patch        |  13 ---
>  community/mongodb/mongodb.confd               |  14 ---
>  community/mongodb/mongodb.initd               |  41 -------
>  community/mongodb/mongodb.logrotate           |  13 ---
>  community/mongodb/mongodb.pre-install         |   6 --
>  community/mongodb/mongos.confd                |  16 ---
>  community/mongodb/mongos.initd                |  45 --------
>  community/mongodb/wiredtiger.patch            |  11 --
>  community/php7-pecl-mongodb/APKBUILD          |  35 ------
>  .../wiredtiger/10-fix-code-generator.patch    |  11 --
>  community/wiredtiger/APKBUILD                 |  56 ----------
>  .../makemake-remove-libtool-version.patch     |  11 --
>  non-free/unifi/APKBUILD                       |  95 -----------------
>  non-free/unifi/mongo_prune.js                 |  87 ---------------
>  non-free/unifi/unifi.confd                    |   2 -
>  non-free/unifi/unifi.initd                    |  17 ---
>  non-free/unifi/unifi.logrotated               |   8 --
>  non-free/unifi/unifi.pre-install              |   6 --
>  non-free/unifi/unifi_db_prune.cron            |   2 -
>  testing/mongo-c-driver/APKBUILD               |  61 -----------
>  .../mongo-c-driver/generate_uninstall.patch   |  13 ---
>  testing/mongo-php7-library/APKBUILD           |  33 ------
>  testing/py-flask-mongoengine/APKBUILD         |  41 -------
>  testing/py-flask-pymongo/APKBUILD             |  41 -------
>  testing/py-flask-views/APKBUILD               |  41 -------
>  testing/py-mongo/APKBUILD                     |  55 ----------
>  34 files changed, 1021 deletions(-)
>  delete mode 100644 community/mongodb-tools/APKBUILD
>  delete mode 100644 community/mongodb-tools/fix-build.patch
>  delete mode 100644 community/mongodb/APKBUILD
>  delete mode 100644 community/mongodb/fix-backtrace.patch
>  delete mode 100644 community/mongodb/fix-default-stacksize.patch
>  delete mode 100644 community/mongodb/fix-elf-native-class.patch
>  delete mode 100644 community/mongodb/fix-processinfo_linux.patch
>  delete mode 100644 community/mongodb/fix-resolv.patch
>  delete mode 100644 community/mongodb/fix-strerror_r.patch
>  delete mode 100644 community/mongodb/mongodb.confd
>  delete mode 100644 community/mongodb/mongodb.initd
>  delete mode 100644 community/mongodb/mongodb.logrotate
>  delete mode 100644 community/mongodb/mongodb.pre-install
>  delete mode 100644 community/mongodb/mongos.confd
>  delete mode 100644 community/mongodb/mongos.initd
>  delete mode 100644 community/mongodb/wiredtiger.patch
>  delete mode 100644 community/php7-pecl-mongodb/APKBUILD
>  delete mode 100644 community/wiredtiger/10-fix-code-generator.patch
>  delete mode 100644 community/wiredtiger/APKBUILD
>  delete mode 100644 community/wiredtiger/makemake-remove-libtool-version.patch
>  delete mode 100644 non-free/unifi/APKBUILD
>  delete mode 100644 non-free/unifi/mongo_prune.js
>  delete mode 100644 non-free/unifi/unifi.confd
>  delete mode 100644 non-free/unifi/unifi.initd
>  delete mode 100644 non-free/unifi/unifi.logrotated
>  delete mode 100644 non-free/unifi/unifi.pre-install
>  delete mode 100755 non-free/unifi/unifi_db_prune.cron
>  delete mode 100644 testing/mongo-c-driver/APKBUILD
>  delete mode 100644 testing/mongo-c-driver/generate_uninstall.patch
>  delete mode 100644 testing/mongo-php7-library/APKBUILD
>  delete mode 100644 testing/py-flask-mongoengine/APKBUILD
>  delete mode 100644 testing/py-flask-pymongo/APKBUILD
>  delete mode 100644 testing/py-flask-views/APKBUILD
>  delete mode 100644 testing/py-mongo/APKBUILD
> 


Wouldn't it be better to move those to non-free, rather than just delete?

So people who still need them can build it themselves, til they have
found new solution.

-nc


---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Details
Message ID
<20190311152820.GB11876@homura.localdomain>
In-Reply-To
<20190311100957.749cfc4e@ncopa-desktop.copa.dup.pw> (view parent)
Sender timestamp
1552318101
DKIM signature
missing
Download raw message
On 2019-03-11 10:09 AM, Natanael Copa wrote:
> Wouldn't it be better to move those to non-free, rather than just delete?
> 
> So people who still need them can build it themselves, til they have
> found new solution.

Sure, can do.


---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---