diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-03-11 16:04:34 -0600 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2019-04-03 08:49:55 +0000 |
commit | 8a901de31fa055ed591d487e12f8bb9ffcc0df21 (patch) | |
tree | 10bc98c626703819e94ec25bf0c2eaa0f6fe2cc9 /testing/mongo-c-driver | |
parent | fffa6ab6963a4a0045f99432ac487957791685ea (diff) | |
download | aports-8a901de31fa055ed591d487e12f8bb9ffcc0df21.tar.bz2 aports-8a901de31fa055ed591d487e12f8bb9ffcc0df21.tar.xz |
community/mongodb: expunge nonfree software
Upstream has switched to a nonfree license.
Diffstat (limited to 'testing/mongo-c-driver')
-rw-r--r-- | testing/mongo-c-driver/APKBUILD | 61 | ||||
-rw-r--r-- | testing/mongo-c-driver/generate_uninstall.patch | 13 |
2 files changed, 0 insertions, 74 deletions
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 +++ /dev/null @@ -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 +++ /dev/null @@ -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}" |