Update package version to 2.6.10

This commit is contained in:
2025-09-19 13:12:15 +03:00
parent 64e679f8a2
commit 7f68c02982
3 changed files with 15 additions and 2 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
URL="https://www.openldap.org/software/download/"
# Get version number from tag name
VERSION=$(curl -s -L "$URL" | grep -o -E 'OpenLDAP-[0-9]{1,}\.[0-9]{1,}\.[0-9]{1,}')
# Trim prefix
VERSION=${VERSION//OpenLDAP-/}
echo "$VERSION"
+1 -1
View File
@@ -1,6 +1,6 @@
name: openldap name: openldap
description: Open source implementation of the Lightweight Directory Access Protocol description: Open source implementation of the Lightweight Directory Access Protocol
version: 2.6.7 version: 2.6.10
url: https://www.openldap.org/ url: https://www.openldap.org/
license: custom license: custom
architecture: any architecture: any
+3 -1
View File
@@ -10,12 +10,14 @@ FILENAME="${DOWNLOAD##*/}"
prepare() { prepare() {
wget "$DOWNLOAD" wget "$DOWNLOAD"
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
cd "$BPM_SOURCE"
autoreconf -fi
} }
# The build function is executed in the source directory # The build function is executed in the source directory
# This function is used to compile the source code # This function is used to compile the source code
build() { build() {
autoconf
./configure --prefix=/usr --sysconfdir=/etc --disable-static --enable-dynamic --disable-debug --disable-slapd ./configure --prefix=/usr --sysconfdir=/etc --disable-static --enable-dynamic --disable-debug --disable-slapd
make depend make depend
make make