summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarrat2024-06-08 23:17:25 +0200
committerNarrat2024-06-08 23:17:25 +0200
commitd85d4ab03ac7f7f13785116c874952e7f4fba6c1 (patch)
treec32b85ff91345e301f4edeb5c392baea9b4cf444
parent9111989ab372b980942ec9e9e8dbdb78efbb10c2 (diff)
downloadaur-d85d4ab03ac7f7f13785116c874952e7f4fba6c1.tar.gz
mongodb50: update to 5.0.27
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD13
2 files changed, 11 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9f70f477fbf7..6406249067ae 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = mongodb50
pkgdesc = A high-performance, open source, schema-free document-oriented database
- pkgver = 5.0.21
+ pkgver = 5.0.27
pkgrel = 1
url = https://www.mongodb.com/
arch = x86_64
@@ -21,10 +21,10 @@ pkgbase = mongodb50
depends = curl
optdepends = mongodb-tools: mongoimport, mongodump, mongotop, etc
optdepends = mongosh-bin: interactive shell to connect with MongoDB
- provides = mongodb=5.0.21
+ provides = mongodb=5.0.27
conflicts = mongodb
backup = etc/mongodb.conf
- source = https://fastdl.mongodb.org/src/mongodb-src-r5.0.21.tar.gz
+ source = mongodb-5.0.27.tar.gz::https://github.com/mongodb/mongo/archive/refs/tags/r5.0.27.tar.gz
source = mongodb.sysusers
source = mongodb.tmpfiles
source = mongodb-4.4.1-boost.patch
@@ -36,7 +36,7 @@ pkgbase = mongodb50
source = mongodb-5.0.2-boost-1.79.patch
source = mongodb-5.0.5-no-force-lld.patch
source = mongodb-4.4.10-boost-1.81.patch
- sha256sums = 92702a6fa6d3d4aa4ed468b8b0a846db63ad08f84e47734c9a1463520b1e50f3
+ sha256sums = 62a51dee664b6d2722edc8443c2a8d2e1e7400bf48d44ae25b1ad799d3bee5da
sha256sums = 3757d548cfb0e697f59b9104f39a344bb3d15f802608085f838cb2495c065795
sha256sums = b7d18726225cd447e353007f896ff7e4cbedb2f641077bce70ab9d292e8f8d39
sha256sums = d3bc20d0cb4b8662b5326b8a3f2215281df5aed57550fa13de465e05e2044c25
diff --git a/PKGBUILD b/PKGBUILD
index 18dce04922a9..c9f1b62bd009 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=mongodb50
_pkgname=mongodb
# #.<odd number>.# releases are unstable development/testing
-pkgver=5.0.21
+pkgver=5.0.27
pkgrel=1
pkgdesc="A high-performance, open source, schema-free document-oriented database"
arch=("x86_64")
@@ -16,7 +16,8 @@ optdepends=('mongodb-tools: mongoimport, mongodump, mongotop, etc'
backup=("etc/mongodb.conf")
conflicts=(mongodb)
provides=(mongodb="$pkgver")
-source=(https://fastdl.mongodb.org/src/mongodb-src-r$pkgver.tar.gz
+source=(#https://fastdl.mongodb.org/src/mongodb-src-r$pkgver.tar.gz
+ ${_pkgname}-${pkgver}.tar.gz::https://github.com/mongodb/mongo/archive/refs/tags/r${pkgver}.tar.gz
mongodb.sysusers
mongodb.tmpfiles
mongodb-4.4.1-boost.patch
@@ -28,7 +29,7 @@ source=(https://fastdl.mongodb.org/src/mongodb-src-r$pkgver.tar.gz
mongodb-5.0.2-boost-1.79.patch
mongodb-5.0.5-no-force-lld.patch
mongodb-4.4.10-boost-1.81.patch)
-sha256sums=('92702a6fa6d3d4aa4ed468b8b0a846db63ad08f84e47734c9a1463520b1e50f3'
+sha256sums=('62a51dee664b6d2722edc8443c2a8d2e1e7400bf48d44ae25b1ad799d3bee5da'
'3757d548cfb0e697f59b9104f39a344bb3d15f802608085f838cb2495c065795'
'b7d18726225cd447e353007f896ff7e4cbedb2f641077bce70ab9d292e8f8d39'
'd3bc20d0cb4b8662b5326b8a3f2215281df5aed57550fa13de465e05e2044c25'
@@ -87,7 +88,7 @@ filter-flags() {
}
prepare() {
- cd "${srcdir}/${_pkgname}-src-r${pkgver}"
+ cd ${_pkgname//db/}-r${pkgver}
# Keep historical Arch dbPath
sed -i 's|dbPath: /var/lib/mongo|dbPath: /var/lib/mongodb|' rpm/mongod.conf
@@ -124,7 +125,7 @@ prepare() {
}
build() {
- cd "${srcdir}/${_pkgname}-src-r${pkgver}"
+ cd ${_pkgname//db/}-r${pkgver}
if check_option debug n; then
filter-flags '-m*'
@@ -136,7 +137,7 @@ build() {
}
package() {
- cd "${srcdir}/${_pkgname}-src-r${pkgver}"
+ cd ${_pkgname//db/}-r${pkgver}
# Install binaries
install -D build/install/bin/mongo "$pkgdir/usr/bin/mongo"