Update package version to 2.6.10
This commit is contained in:
@@ -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,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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user